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
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
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...
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 << "Your monthly...
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 "EXEC xp_anything".
Greetings
Remo
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...
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
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...
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
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
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
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
Hi!
This very strong depends on the type of Application you are about to start and how you start it. If you want best controll over the Application, use CreateProcess() to start it. There you have a lot of options to hide the started application. If this app doesnt ignore these Options.
If you...
Hi!
If you dont want to code every field, combine the delete and insert. First delete all updated records on table2 and after this make the insert:
CREATE TRIGGER UPDATE01 ON TABLE1
FOR UPDATE
AS
DELETE FROM TABLE2
SELECT * FROM INSERTED
INSERT INTO TABLE2
SELECT * FROM INSERTED
GO
Greetings...
Hello!
I would use one of 2 ways for this. The simplest way is writing everything into a tab delimited file and call it anything with .xls. Excel is able to open it.
The other way would be: Create a html-file containing a table with all formatting you need. Excel is also able to oben this...
Hi!
If I understand you well, you want to know about the sequence of Function calls. In your App-Class within InitInstance you have code looking somehow like following:
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINFRAME,
RUNTIME_CLASS(CHTMLView2Doc)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.