|
I'm not 100% sure, but I think that IShellView will be needed.
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
Hello does anybody have the Wbemuuid.lib library? I do not have it in my SDK.
If you know a link to the source of this library, please hook it up. or if you have it please email it to me.
Kelvin Chikomo
|
|
|
|
|
Microsoft SDK from Feb 2003 has this, or you can download the XP SP2 one.
Incidentally, did everyone see the note that future SDKs will not work with VC++6 ?
They really are serious about getting people to upgrade, aren't they ?
Steve S
Developer for hire
|
|
|
|
|
Thanks let me google XP SP2
Kelvin Chikomo
|
|
|
|
|
I'm using the "Microsoft Development Environment 2003" in order to develop an MFC dialog-based application. I have created a new menu and it was given the ID IDR_MENU1 , by default.
Is it possible to change the name of this ID by the use of some environment interface feature? I would rather avoid to touch the resource files directly...
"quot capita, tot sententiæ"
rechi+
|
|
|
|
|
of course it is possible, and thanksfully, the resource editor exist for that purpose !!!
just go to the menu properties, check the ID property, and rename it to something more descriptive, like IDR_FILE_MENU for example.
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
toxcct wrote: check the ID property
Unfortunately it appears as grayed, displaying the message "ID cannot be edited"
"quot capita, tot sententiæ"
rechi+
|
|
|
|
|
|
toxcct wrote: and don't forget to select the menu before you go across its properties...
Thank you
"quot capita, tot sententiæ"
rechi+
|
|
|
|
|
Hi All!
How can I restart my application by API functions?
|
|
|
|
|
I Think There is no Direct Way.
One Way Is To Execte Program in A Batch File (.bat or .cmd) And Check The Exit Value of App.
if You want To Restart App from Other App.(i.e. A Service)
You can use TerminateProcess() API And spawn() or Other
Execution Function(Execute(), ....)
|
|
|
|
|
And Check The Exit Value of App
How to do this?
please give an example.
|
|
|
|
|
if your app is in console mode, main function returns an
integer value, that is placed in errorlevel variable,
that can be check in a bath file
M.Mehrdad.M
|
|
|
|
|
|
|
|
hi!!!
my problem is that i don't know the code in C language that can save and edit file...............
i hope u will help me in this......please send the code at shazzney@message.com..........i'll wait for ur reply
thank you very much
-- modified at 3:17 Wednesday 25th January, 2006
|
|
|
|
|
this is the code for reading the text file which will help you
char temp1[80];
FILE *f;
if ( ( f = fopen("c:\\Log.txt","r") )==NULL)
{
printf("Unable to open file");
return;
}
while(fgets(f,"%s",temp1)!=EOF)
{
printf("%s",temp1);
}
fclose(f);
Thanks and Regards
Laxman
FAILURE is the first step towards SUCCESS
|
|
|
|
|
thanks for that but can i ask the whole code of the program.
i'll wait for your reply..........
|
|
|
|
|
2 possibilities:
1. You need the complete code, you do not want to give it a try, feel free to send me the description of what you need, and i'll send you an estimation of what it will cost you.
2. You experience problems as every programmer now and then, post what you have already done, explain what the problem is, and we'll help on this forum.
~RaGE();
|
|
|
|
|
shazzney wrote: please send the code at shazzney@message.com
first of all, no way i do that, an i hope nobody will !! we are on this forum to share knowledges, so there is no reason that you get the answer secretly...
well, now, as your question is not very clear, i don't really understand what you're looking for. tell me if this is wrong :
- you code in C (not C++).
- you want to read/write from/into files, but don't know how ?
well, i may be wrong, but did you have a look at the fopen()[^], fclose()[^], fread()[^], fwrite()[^], fscanf()[^], fprintf()[^], fseek()[^] functions ?
there are plenty of them, just have a look on the MSDN...
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
sorry if im to selfish but im thinking that the code is to long so i let u send in my email ad.
the code that i want to know is in C language. That can save, like in a cashier that can edit and save the remaining balance of the student.
i tell you frankly i dont know the code that is why im asking for help
|
|
|
|
|
|
shazzney wrote: my problem is that i don't know the code in C language that can save and edit file...............
Our problem is that you have not provided nearly enough details about the file in question. You're going to have to put forth some effort if you expect any reasonable level of help.
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
On making my appl Unicode compatible(I add a _UNICODE defn among other preprocessor defn) d lpstrFile member of GetOpenFileName function OPENFILENAME param returns me just the selected file name instead of prepending d string with dir path.
How does defining _UNICODE affect the working of this function, and how does one resolve this problem??
Also I would like to hide the n/w btn on the placebar which im not able to inspite of the OFN_NONETWORKBUTTON option. Any suggestions on using this func 2 select multiple files w/o losing d explorer-style file browse dlg & placebar??
|
|
|
|