|
And how do you know that "seagate" is supposed to be returned from that class?
-- Because I know that I am using "Seagate" disk drive. Well whatever it is this class that I am using should return the name of manufacturer like Seagate, Samsung, western digital etc not "standard disk drives".
I made the complete code in VC++ that use WMI classes, and in MSDN it is written that win32_diskdrive class return the manufacturer name of disk drive. I am easily getting other details of disk drive like model, size, interface type bu using the same class.
Now after some googling I got that there is one file Sms_def.mof in server 2003 (follow this link please http://support.microsoft.com/kb/886088) in that file there is a caption property and we have to change this property for getting the manufacturer name of HDD. BUT this file is not found in winXP and in vista.
I think there may be this type of setting in XP and in vista that we have to change.
Thanks
waiting for reply.
|
|
|
|
|
Madan Chauhan wrote: Well whatever it is this class that I am using should return the name of manufacturer like Seagate, Samsung, western digital etc not "standard disk drives".
This is just an assumption. The mfg can put whatever they want in those classes. The name of the field is just a recommendation.
Madan Chauhan wrote: BUT this file is not found in winXP and in vista.
And rightly so, since those OSs are unlikely to be running SMS. There are tons of other .mof files, though.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hello dear friends,
How can I get the current login user of the PC?
ritz1234
|
|
|
|
|
|
Thanks admad,
This works for me.
ritz1234
|
|
|
|
|
But it's the user associated with current thread (might not be the one who logged on the PC)
|
|
|
|
|
Hi everyone,
I am savitri here.I am new to this forum.I am working in VC++ language.
I am doing GSM modem project. In this project i have to do send and receive messages through Gsm modem using AT command.I did designing and opening port and all.But i am not getting how to use AT commands in My project.I am opening port in new file called comport.h and comport.cpp.
But i want to send a sms to particular person selecting from addressbook.
Please give me some ideas that how to write code for AT commands.
Please i am trying from many days but i didnt got any solutions.so please help me.
HELP ME.ITS URGENT.
Thanks In Advance,
Savitri.
|
|
|
|
|
savitri wrote: HELP ME.ITS URGENT.
No doubts about.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Hi everyOne,
I am having doubt in using AT commands.now i am using only AT and i am getting reply as OK.But ia dont know how to use AT+CMGS and AT+CMGR.Shall i write function for using AT commands.If So tell me how shall write.I am not new to this forum.but it is by mistake.Please give me some idea.Sorry for my mistakes.If u all have some ideas then please give.Reply me Soon.
Thanks,
savitri
|
|
|
|
|
Sorry I don't know AT commands. Try to ask more to Sunil, it seems he knows about [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Maybe he needs to Modem commands.
|
|
|
|
|
Maybe.
BTW: Is a lady!
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
I guess maybe (if no so Im sorry )
|
|
|
|
|
Savitri is Indian lady's name, Rajesh told me.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Hi savitri,
When ur able to send AT and receive OK then in the same way u can use other cmds.
Whenever u need to send the msg,
Send it like:
1.send "AT+cmgs="mobileno"\n";[mobile no must be a string]
2.Then u receive '>' charcter as an acknoledgement.
3.Then send the msg u want to "msg".
4.After ur msg sending completed send "Escape" character[I didnt remember the ascii value].
If still any doubt just give an reply.
Regards,
Sunil.
|
|
|
|
|
Hi Sunil,
i am understanding this.please if u have some examples then please send me.I am very thank ful to u.please reply me.
thanku,
savitri
|
|
|
|
|
Sorry, i dont have any examples right now.
But try it,If u have any queries u can mail me.
Regards,
Sunil.
|
|
|
|
|
ok..tell me whether i have to use AT+CMGS in send button directly only or wt..reply me.thanks for giving some idea.
thanks,
savitri
|
|
|
|
|
Yeah you can send , when u click on the send button,ofcourse it depends on ur application.
Regards,
Sunil.
|
|
|
|
|
ok i wil try and i will u the result ok.
thanku...
regards,
savitri
|
|
|
|
|
If your comport is configured correctly, i dont think there is any problem in sending and receiving the AT commands.
e.g for the basic command "AT" you will get an reply like "OK",
So send charactes 'A','T'and '\n'(Enter),
you have to recieve 'O','k'and '\n'.
Remember to check whether the echo is on r not.
If the echo is on, in receive u will get 'A','T','O','k' and '\n'.
Regarding other commands check the AT command set manual.
If you are unable to get this, be specific what exactly u required.
Regards,
Sunil.
|
|
|
|
|
Hi everyOne,
I am having doubt in using AT commands.now i am using only AT and i am getting reply as OK.But ia dont know how to use AT+CMGS and AT+CMGR.Shall i write function for using AT commands.If So tell me how shall write.If u have some ideas tell me.I am trying from so many days.
It is urgent.
Thanku,
Savitri
|
|
|
|
|
savitri wrote: I am new to this forum
I know you since you joined <big>B Cubed</big> (Book Buying Band)
|
|
|
|
|
savitri wrote: HELP ME.ITS URGENT.
Hi Savitri, I can understand it. Don't feel bad about the the disheartening replies. If the query is really urgent, you can post it in Soapbox. You'll get guaranteed overwhelming replies. BTW, keep your entire post in bold (and if possible in UPPER CASE), while posting your query in the soapbox.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Hey man, each time you exploit your misogynous mood, I have to balance the voting down.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|