|
Hi,
LOL, you should get some work in helpdesk. That would teach you how to not be angry to anyone, ever, lol. It is always better to not respond than being rude. No question should ever be answered like this.
Regards
PS> I agree that for some people, reading forum stickies, about "how to get reply", forum rules, netiquette, etc... should be mandatory "at browser startup".
|
|
|
|
|
Ohhh Mr. Brahama ur very Hopeless guy, leave IT industry, Ur not suitable person to work in IT.If ur not able to understand problem then not to try any suggestion.
aaaa
|
|
|
|
|
I would like to know how to disable the USB device by programming?
Please help!
|
|
|
|
|
|
In fact that I would like to disble only USB jobstick to prevent student to play game with it! Please give me some hints!
|
|
|
|
|
Can we change the Volume Name Programatically?
For example we have NEW VOLUME( F: ) I want change this as KIRAN( F: ) Programatically?
Is it possible ,if then how we change?
|
|
|
|
|
I think you can try this:
SetVolumeLabel(_T("F:\\"), _T("KIRAN"));
I hope this works.
|
|
|
|
|
Can anybody tell me why some VC 6.0 pgms are failing in windows vista?
|
|
|
|
|
What type of failure you are talking about? There are changes/restriction in registry related API's.
There are few other changes. If you take care of this while porting, there should not be any problem.
|
|
|
|
|
Hi All,
I am using InstallShield 12 for a deployment proces.But in that how can we install a newer version of a product over the old version of the same product.The problem is that ,my application having 2 different features.One Installation needs to Install the first feature and other needs to install the second one.But in this situation the previous one exists there in Desktop(shortcut)as well as files too when the installing the second one.
Can any one plz help me to overcome this situation.
Thanks In advance
Jeeva
|
|
|
|
|
Hello Guys,
I have a controller device (RTOS). I connect to it using "telnet".
c:\>telnet ipaddress
When i connect to device through telnet, it will show the menu for configuration of device. For example:
Press 1 to view configuration.
Press 2 to change configuration.
...........
Now I want capture the same and display it on my form.
And also I want to provide buttons for "View Configuration" and
"Change Configuration".
ITS LIKE PROVIDING GUI FOR COMMAND PROMPT.
How can i do it in VC++? Please Help Me.
|
|
|
|
|
It is better to use Windows Pipeline ( for stdioIn and stdioOut ) with the tellnet application. You can read the output ( or write to the input ) of console application to ( or from ) a win32 application through pipelining the stdio file of the console application.
|
|
|
|
|
Thank you so much for the solution.
Will you please give some more information related to Pipeline?
(Like, Which Class in Win32? What is stdio file?)
|
|
|
|
|
As per my knowledge there are no class in MFC for handling pipelineing you have to use windows API like CreatePipe. CreateProcess etc. For extra reference over them please look at allapi.net and search in http://msdn.microsoft.com/library/default.asp
|
|
|
|
|
|
I am trying to sand mail using my smtp server to yahoo or gmail its giving these errors.
554 error :smtp server not ready for data
554 error :Relay denied
i suppose my server requires authentication...
can anybody plss tell me how to do so
or can give me any sample code to do so
thans in advance
|
|
|
|
|
You didin't specified at which section you got the error.
If your server need an authentication then you just have to setup an smtp server in your PC and use zoneedit.com for setting up the MX Records.
|
|
|
|
|
Actually i m not getting ur point
The error comes when i send the DATA command
sTemp = "DATA\r\n";
m_wsSMTPServer.Send( (LPCTSTR)sTemp, sTemp.GetLength() );
if( !get_response( DATA_SUCCESS ) )
{
return FALSE;
}
it returns this error
554:No valid recipients access denied
i m sending a mail on yahoo account
|
|
|
|
|
Did you send MAIL FROM: and RCPT TO: commands succesfully? The error looks like your previous RCPT TO: failed.
|
|
|
|
|
hi,
i have a menu bar item as CLASS
And the subitem as A,B,C
When i click the subitem A i hav to get a dialog box .i have done it using domodal().
in the dialog box i hav a check box.if i check the checkbox i need the subitem A in the menu to be marked with a tick symbol.
can ne body help me??
zari
|
|
|
|
|
I think that a clean solution implies the following steps:
(1) in your Dialog, you add a public method returning the check state (say CDialogA::GetCheck() ).
(2) in the menu handler of the CMainFrame Window (or whatever...) you check the return value of the DoModal call:
(2.1) if it is IDOK , then you call CheckMenuItem , with MF_CHECKED or MF_UNCHECKED according to the return value of CDialogA::GetCheck .
(2.2) else you do nothing.
something such the following:
CDialogA dlgA(this);
if (dlgA.DoModal() == IDOK)
{
CMenu * pMenu = GetMenu();
UINT nCheck = dlgA.GetCheckA() == TRUE ? MF_CHECKED : MF_UNCHECKED;
pMenu->CheckMenuItem(IDM_A, MF_BYCOMMAND | nCheck);
}
hope that helps...
|
|
|
|
|
I create a member function with a CStringArray type variable in the argument list. I got the following error message
" no no copy constructor available for the class 'CStringArray'
Is there are any solutions or workarounds.
Thank you
|
|
|
|
|
You can not use pass an object of a CStringArray since it has no CopyContructor or assignment operator. One thing you can do is to pass a reference to the string array.
eg:
// use
void function( CStringArray& csStringArray_i )
{
}
// instead of
void function ( CStringArray csStringArray_i )
{
}
// One thing is to be noted down is not to pass any local variable of CStringArray to the function it may not work properly, especially playing with multiple threads.
|
|
|
|
|
cy163@hotmail.com wrote: " no no copy constructor available for the class 'CStringArray'
CStringArray does not have a copy constructor. Use a reference instead...
bool PassingCStringArray( CStringArray<code>&</code> csaArray );
|
|
|
|
|
i am using this dll function to insert data in database but it give me following error...how to slove this can anybody there help me
setQuoteToDB(Timestamp,a,Market,Bid,Ask,d);
Error:cannot convert parameter 1 from 'const char *' to 'unsigned short ** '
|
|
|
|