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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Ator

  1. Ator

    MySQL 5.0 - How to rename database?

    Ok, thanks TowerBase! I can not understand why they have left out that statement in earlier versions... I think that "feature" is very very basic...
  2. Ator

    MySQL 5.0 - How to rename database?

    Hi folks! I have installed MySQL 5.0 (windows). I also have installed the tool "MySQL Query Browser". Now I want to rename a database in MySQL Query Browser. I've tried with "RENAME DATABASE test2 TO test1", but it does not work. I get the error: "You have an error in your SQL syntax; check...
  3. Ator

    Limit + Function issue

    Hi John Yes, I checked the documentation. It works if I execute the code in "MySQL Command Line Client", but I can't get it to work in MySQL Query Browser.
  4. Ator

    Limit + Function issue

    I still get the same error... :/
  5. Ator

    Limit + Function issue

    Hi hvass! Now I have this: SELECT @n := 3; PREPARE STMT FROM 'SELECT * FROM Cars LIMIT ?'; EXECUTE STMT USING @n; When I execute it, I get this error: "Unknown prepared statement handler (STMT) given to EXECUTE" Im working in "MySQL Query Browser" (win). I tried with a DELIMITER too, but it...
  6. Ator

    Limit + Function issue

    Hi I have a function "MaxCars()" that returns an integer. Then I try to execute this query: "SELECT * FROM Cars LIMIT MaxCars()" I get an error: "You have an error....near MaxCars()" How do I use a function in combination with LIMIT?
  7. Ator

    Array out of bounds problem

    Hi Im working with very old fortran programs (made in 1980s). Now I convert this old code using "Compaq Visual Fortran 6.6". Because the program consists of hundreds of files, there are several bugs (that has been accepted by the compiler at that time). Some of these are "array out of bounds"...
  8. Ator

    XPath query problem

    Hi I have a XML file like below. This XML is loaded into a DataSet, and I then create a XmlDataDocument. (Environment = VS, C#) XmlDataDocument doc = new XmlDataDocument(dataset); Using this document, I create a XPathNavigator: XPathNavigator nav = doc.CreateNavigator(); I now want to...
  9. Ator

    Write text to focused field within another window

    Hello Is it possible to send text to a specific input-field within another window? First I start up my program. This program consists of one area to enter text. When you press a button, this text should be sent to the focused control of another window. Is it possible to preserve the focus of...
  10. Ator

    1 px text border

    Hi Monkey No, it doesn't seem to work properly. But thanks anyway!
  11. Ator

    1 px text border

    No, I dont want to be dependent on an external font. :) You dont know if it is possible to draw a string given in size of pixels?
  12. Ator

    1 px text border

    No, I dont want to use: e.Graphics.DrawString("not a rectangle"); e.Graphics.FillRectangle(Brushes.White, 0,0, 50,10); I want to have 1 pixel border to the text I draw. But if I first draw the white text (the border), and then the black text (the enterior), the problem is that "drawString()"...
  13. Ator

    1 px text border

    Monkey, I dont want any border for a rectangle. It's a text I'm talking about. :) For instance, "Not a rectangle".
  14. Ator

    1 px text border

    Hello Does anyone know how to draw a 1px text-border on a Bitmap? I've created a Bitmap and want to draw a text with "drawString(...)". For instance, I want to have 1px black border with white interior. (This is Windows Forms) Kind regards!
  15. Ator

    Flat Controls (.NET 2.0)

    Sorry, I forgot to say that Im working with Windows Forms, not asp.net :)

Part and Inventory Search

Back
Top