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 Mike Lewis 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: *

  • Users: Ator
  • Order by date
  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 :)
  16. Ator

    Flat Controls (.NET 2.0)

    Hi Does anyone know how to make these controls flat? - TextBox - ComboBox - CheckedListBox - DateTimePicker (ComboBox has a property "FlatStyle", but I can't change the border-color then) Is there any free controls to download? Kind regards
  17. Ator

    Sort column in dataview

    Hello I have a column in a dataview that I want to sort. The datatype is string. The values are like: "0 %" "10.2 %" etc How do I implement sorting on values like those? I can not convert the datatype to int (and skip %). But if I have int's, you sort like "dataview.sort = 'mycolumn DESC'"...
  18. Ator

    Print code in color

    Hello I really need som help. Im using Compaq Visual Fortran 6.1. In the "File->Print Colorized Fortran" you are able to print out the code in color, but you can't set the page-margins, header/footer. Is it possible to do this in CompaqVisualFortran? Or does anyone know another tool that...
  19. Ator

    Catching all exceptions at one place

    I dont mind if the program some times crashes. But if I can store all exceptions, or the most of them, Im happy. If I give away a program of mine to somebody, I want to store these errors as feedback for me. Then, when updating the program, I see the errors and I hopefully can fix them more or...
  20. Ator

    Catching all exceptions at one place

    Hi Is it possible to catch all exceptions in _one_ place? I want to have a error-report system, that catches _all_ exceptions (including the exceptions that have been specially handled). I´ve only come up with: [STAThread] static void Main() { try { Application.Run(new Main()); }...

Part and Inventory Search

Back
Top