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 SkipVought 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. dlunday

    DELETE FROM through ODBC

    I'm running the FoxPro ODBC driver from Euphoria and not VB, but this should still work: SQLCmd = "Pack CustTbl" data = execDirectODBC(hconn,SQLCmd) As long as the table "CustTbl" is not open by anyone else, it packs just fine. Note, this isn't documented anywhere on the...
  2. dlunday

    Running Application Dir Path

    here's the answer: string appPath = Application.ExecutablePath;
  3. dlunday

    How do I simulate val(mid(MyString,2,1))?

    Never mind. I answered my own question. I was looking at it backwards. Figured it should be in the String class somewhere. Instead its in the Decimal class.. this works fine. Decimal dc = Decimal.Parse("123"); dc = 123 Ahh, the joys of programming :)
  4. dlunday

    How do I simulate val(mid(MyString,2,1))?

    I think strong typing is gonna drive me nuts :) I have a string, say MyString = "12345" and I want to convert the second character to an int. I VB it was easy: val(mid(MyString,2,1)) = 2 In C# its somewhat tougher, since I can't convert a string OR a char[] to an integer. These...
  5. dlunday

    C# and serial port access

    This one seems to work and be clear on the subject http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=320 I'm going through the same thing, so perhaps we can commisurate here.

Part and Inventory Search

Back
Top