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!

Recent content by fleckingerre

  1. fleckingerre

    Kill process in win2000

    Well then, thats bad... I only can give you a hint. I never made it myselfe till now, but look on the internet for "enumerating processes" or something like this. may you will be able to find anything on codeguru.earthweb.com or www.programmersheaven.com. Hope this helps Greetings Remo
  2. fleckingerre

    Needing a little help with simple functions

    Either float or void are wrong for main(). Even if void is accepted, the only real correct return type is int. By the way, where are month and balance defined? And when do they get theyr values? Greetings Remo
  3. fleckingerre

    Kill process in win2000

    If you dont have a user interface, for example a icon in system tray, then i would suggest creating a service out of you application. this can be stopped and started like any other service. if you dont want to do this, then best create a system tray icon, with wich you are able to tell the...
  4. fleckingerre

    Needing a little help with simple functions

    Hi! I dont know what exactly your problem is, but did you ever recognize having the same code in each else if statement? why not writing this like: if ( (month >= 1 || month <= 12) && balance < 500 ) { balance = balance - bService; if (balance < 50.00) outfile << &quot;Your monthly...
  5. fleckingerre

    Calling COM Components...

    You cant call a Stored Procedure DLL directly. Either use SQL-Server API to interact with your SQL-Server, or make a connection like palbano said, with ODBC or anything else and send a Query like &quot;EXEC xp_anything&quot;. Greetings Remo
  6. fleckingerre

    backup

    Hi! If you only want to copy the data to another place, without any special compression, I have written a nice backup tool with support of command line parameters. You could call this in your ExitInstance. If you are interested please send me a mail. Im anyways about to publicise this tool on...
  7. fleckingerre

    Executing Program In Unix From VC++

    Hi! I think this would be a good solution, if you dont need to get back any results from the UNIX Server. I would implement the call of the script with cron, instead of a running script. Greetings Remo
  8. fleckingerre

    Max record size

    Hi again! Normaly yes. You should make some tests to see if everything works for your needs. Greetings Remo
  9. fleckingerre

    Executing Program In Unix From VC++

    Hi! Well, I cant give you a code example, but a hint. At least I know, that there is no standard Windows api. You can use the REXEC Protocoll to execute a command on your UNIX Server. But the RExec command from Windows doesnt work with UNIX. So you have to find a class or Programm, that is able...
  10. fleckingerre

    Max record size

    Hi! The Text Fields data is not directly stored in the Recordset. It stores a pointer to this Data and the Data itself is stored somewhere else. This is handled internally and you dont see this. Greetings Remo
  11. fleckingerre

    retaining focus

    Youre welcome.
  12. fleckingerre

    reading/writing a single bool value to the registry

    Hi! If you use Visual Studio and MFC, for BOOL and bool Data Type you best use the Command WriteProfileInt(). Greetings Remo
  13. fleckingerre

    retaining focus

    If you use VisualStudio Resources Editor you can for Example include an ActiveX into a Dialog. This can be invisible if necessary. But the important part is, VS makes a header File for you, to controll this ActiveX. Its nearly like using any other Class. Greetings Remo
  14. fleckingerre

    How to hide a popup menu?

    Hi! Well, I dont know what Class you use for the Menu, but it either has a DestroyWindow() Memberfunction or you have a handle to this Window. If you need a Version with the Handle, try the Windows Function DestroyWindow(handle) or SendMessage(handle, WM_CLOSE, NULL, NULL). Greetings Remo
  15. fleckingerre

    retaining focus

    Hi again! If you want to run Media Player, why dont you use an ActiveX Controll embedded into one of your resources? Then you have the best controll over everything. Greetings Remo

Part and Inventory Search

Back
Top