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 TouchToneTommy 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. BorlandGeek

    Broadcasting String to all applications

    Does anyone know the call to broadcast a string to windows so that another app may grab it and use it to display... I have a service that parses a message from SQL and usually displays it to a physical display through a serial connection.. but i would like to mimic this display with bitmaps...
  2. BorlandGeek

    Service Print

    I think my last post got burried... When i try to find my default printer from a service it tells me I dont have one, but when i try from a normal app it works fine anyone know why?
  3. BorlandGeek

    Default Printer

    I need to find out how to see the name of the Default Printer on my machine from a service... all I need is the name. I think there is a few ways but i dont know what they are? Thanks
  4. BorlandGeek

    Creating Text Files

    I am having difficulty figuring out how to create a text file at this point this is what im doing TFileStream * Comm; try { Comm = new TFileStream("text.txt", fmOpenReadWrite); } catch(...) //if the file does not exist { Comm = new TFileStream("text.txt", fmCreate); } now when i print to...
  5. BorlandGeek

    Init Const Vars in a class

    Does anyone know how you could init const vars in a class I tried this IN CLASS DECLERATION const int var1; IN CONSTRUCTOR const_cast<int>(var1) = 10; but this says it cannot modify const var
  6. BorlandGeek

    TADOTable Delete Help

    I want to delete all my records in a table so i do this Table1->Delete(); //preparing for delete Table1->DeleteRecords(arAll); the last line causes an error saying cannot to this in this context anyone have any ideas??
  7. BorlandGeek

    Exception Problem

    I am upgrading my programs from BDE to ADO and in my old programs i had the line catch(const Exception &EDatabase) { MessageBox(0, EDatabase.Message.c_str(), "Error in SQL", MB_OK); } now that im working in 6 it says that EDatabase doesnt exist does anyone have any ideas
  8. BorlandGeek

    Catching SQL errors

    Is there a way to use a try/catch method to catch SQL errors i have tried and failed to get this to work
  9. BorlandGeek

    Forcing Post in a TBDGrid

    Hi, im writing a program and I need to force a post from the TBDGrid. I know that you need to click else where on the grid to get the change to go the DB but i would need it to go to the DB on a complete exit of the program or tab change and so on....

Part and Inventory Search

Back
Top