Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. BrasilianGuy

    main Domain to subdomain

    Ok... I feixed the redirection... it was a route problem My htaccess looks like this # Hostmonster.com # .htaccess main domain to subfolder redirect # Copy and paste the following code into the .htaccess file # in the public_html folder of your hosting account # make the changes to the file...
  2. BrasilianGuy

    main Domain to subdomain

    It works but check out what is happening with the url www.lwiclean.com finds the index.html file with the metarefresh then metarerhesh goes to www.lwiclean.com/home but if we click on the links it shows www.lwiclean.com/lwi/home here is my mod_rewrite # Hostmonster.com # .htaccess main...
  3. BrasilianGuy

    main Domain to subdomain

    I still have to make to www.lwiclean.com right?? That is my problem.... www.lwiclean.com ain't working
  4. BrasilianGuy

    main Domain to subdomain

    I have a app hoted on a rails server my application - lwi - is under the rails folder and in the public_html I have lwi folder as well. the only way to access my app right now is through http://lwi.lwiclean.com/home but I want my link to be www.lwiclean.com I assume that i have to do a...
  5. BrasilianGuy

    Find text and change state.

    OHHHHHH....... So close.... StreamWriter writer = new StreamWriter("Numbers.txt"); foreach (Control t in Controls) { if (t.BackColor == Color.FromKnownColor(KnownColor.LightSalmon)) {...
  6. BrasilianGuy

    Find text and change state.

    foreach (Control t in Controls) { if (t.BackColor == Color.FromKnownColor(KnownColor.LightSalmon)) { StreamWriter writer = new StreamWriter("Numbers.txt"); writer.Write(t.ToString()+",")...
  7. BrasilianGuy

    Find text and change state.

    Ok.... I scraped the main idea of saving the states of each textbox one by one and went for a saving button that will read trough the for and save all textboxes with back color lightsalmon into a txt file. here is my code: so I have 25 of these (one for each number of my bingo sheet) public...
  8. BrasilianGuy

    Find text and change state.

    Now... I'm trying to do this.... I'm building a bingo app as my first app. I got it to save the number inside of a text box in a txt file so when we call the app again it will remember the numbers that were clicked last time. The problem is when I click on textboxt 2 it overides the content...
  9. BrasilianGuy

    Find text and change state.

    Sweet.... Thanks for your help....
  10. BrasilianGuy

    Find text and change state.

    HI everybody I'm using the following code to find a especific string in a txt file and then change the properties of the object. the text is there but it's not changing the textbox color as I want it to do. StreamReader tr = new StreamReader("Numbers.txt"); Regex rx = new Regex(tr.ToString())...
  11. BrasilianGuy

    Trouble with query results

    My goals are (in a nutshell): 1. (insert statement) Is to insert the ID entered in the text box into table A. 2. Use the same ID to Search for the OldID in a table B. Now That I've found the oldID I want to UPDATE the oldID with the new ID in the table C. The first piece is working.... I...
  12. BrasilianGuy

    Trouble with query results

    Thanks Alex.... The other thing I'm trying to do is to combine both wuerie into one I'm comming from a Coldfusion background where we are used to use one sql estament to sort the table and one update statement to go trough the results of the SQL statement. That is pretty much what I tried to...
  13. BrasilianGuy

    Trouble with query results

    which one is the no-result-SQL???? the insert or the select??? I though the reader is to execute the query and the reason I commented this line //SqlDataReader ReaderDelete = CommandDelete.ExecuteReader(); is because it was running inside of an open reader SqlDataReader dataReader =...
  14. BrasilianGuy

    Trouble with query results

    It's working but the update statement is not updating the table any ideas private void savenewid() { Connection.Open(); String Newproductid = productid.Text; String SQLStatementInsert = "insert into releasedids (newid) Values ("+...
  15. BrasilianGuy

    Trouble with query results

    wrote this script below to retrieve data from a specific table. private void savenewid() { Connection.Open(); String Newproductid = productid.Text; String SQLStatementInsert = "insert into releasedids (newid) Values ("+ Newproductid+")"...
  16. BrasilianGuy

    Little help with my form

    Thanks.... I was looking at the wrong place. can you halp me with this code here: private void Form1_Load(object sender, EventArgs e) { XmlDocument docXML = new XmlDataDocument(); docXML.Load("employee.xml")...
  17. BrasilianGuy

    Little help with my form

    With my code below I'm trying to accomplish: 1. Change the color of the button for checked and uncheked - Done 2. Save the value of the button into a xml file if button is clicked - Not working 3. delete the value from the xml file if button is uncheked - Not done 4. retrieve the value to...
  18. BrasilianGuy

    Saving info

    how would I do that in a nutshell?? thanks
  19. BrasilianGuy

    Saving info

    In my form I have a text box with some info inside. When user clicks in the text box it changes its color to display that this bos has been picked and user click on it again it goes to the previous mode. here is the code: private void TextBox1_Click(object sender, EventArgs e) {...
  20. BrasilianGuy

    Easy one

    I tried this private void TextBox1_backcolorchanged(object sender, MouseEventArgs e) { this.TextBox1 = SystemColors.Highlight; } still didn't work Thanks Marcus

Part and Inventory Search

Back
Top