|
Please refer this[^].
Hope this will help you.
Regards,
Paresh.
|
|
|
|
|
|
toxcct wrote: The Complete Idiot's Guide to Writing Shell Extensions - Part I[^] by Mike Dunn. don't hesitate to read the other articles of the series
I wonder, if OP's issue addressed in any of them. Where as link given in Paresh's reply(previous to yours) seems to be appropriate.
|
|
|
|
|
why doesn't it ?
Shell Extensions can associate a program to a file type... and that's what the OP's looking for, no ?
|
|
|
|
|
toxcct wrote: why doesn't it ?
I said, I could not find such article in that series.
toxcct wrote: Shell Extensions can associate a program to a file type... and that's what the OP's looking for, no ?
If you look at link given by Paresh(in reply previous to you), I think, this is what he is looking for.
|
|
|
|
|
Hi
Im using ADO and Datagird to add,edit,delete the contents in database.
How to print the values in Data Grid,
If any one knows the sample code link.Pls proivde me..
VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
how to create a tree control. i need a sample program to develop a tree with a parent with three child. how to do this.pls help me
Arise Awake Stop Not Till ur Goal is Reached.
|
|
|
|
|
|
Have you tried to search CP[^] before posting question ?
|
|
|
|
|
VS2005:
CString m_strMessageBox;
.............
void CHelloDialogDlg::OnBnClickedOk()
{
UpdateData(TRUE);
AfxMessageBox(m_strMessageText);
}
No any error,But when I click the button,the MessageBox cannot show the string m_strMessageText.
Thank you for help!
|
|
|
|
|
well i didn't see any value of the m_strMessageText in the code.
|
|
|
|
|
well,It's the variable of a Edit Control,and i input a string into the control
|
|
|
|
|
Does UpdateData() return TRUE?
Have you set a breakpoint in your DoDataExchange() function to check that the string is being set from the edit control?
Have you set a breakpoint before the message box is called to see what the value of the string is?
You should try some basic debugging - it's the best teacher
Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."
|
|
|
|
|
"You should try some basic debugging - it's the best teacher"
that's right!!!!;)
|
|
|
|
|
Have you entered in the message in message map BEGIN_MESSAGE_MAP END_MESSAGE_MAP
Regards,
Paresh.
|
|
|
|
|
call UpdateData(FALSE) instead UpdateData(TRUE)
void CHelloDialogDlg::OnBnClickedOk()<br />
{<br />
UpdateData(FALSE);<br />
AfxMessageBox(m_strMessageText);<br />
}
-- modified at 1:35 Thursday 29th March, 2007
Zo.Naderi-Iran
|
|
|
|
|
zon_cpp wrote: call UpdateData(FALSE) instead UpdateData(TRUE)
To retrieve data from the control we have to pass TRUE, so UpdateData(TRUE) is correct.
Do your Duty and Don't expect the Result Rate this Post, if I helped You
|
|
|
|
|
Yes, i mistook.
excuse me
Zo.Naderi-Iran
|
|
|
|
|
No prob, every body do mistake .
Do your Duty and Don't expect the Result Rate this Post, if I helped You
|
|
|
|
|
Hi! I have a button with a bitmap on it. In Win98/2000, when I try to drag the button, the icon disappears and button becomes blank. It works fine in WinXP.
Any ideas why? Thanks!
|
|
|
|
|
I need to print barcodes using VC++ 2005 Pro on XP network laser printer. I have the barcode on the PC but need to download them to the printer. My program already calls win32 api function CreateFontIndirect(), but the barcode doesn't print, so I assume the font needs to be downloaded.
Thanks
|
|
|
|
|
you mean to tell me that nobody here knows how to do this I can't believe that nobody here has every had to download fonts to a printer. Unbelieveable.
|
|
|
|
|
nah. We've gone paperless - nobody prints anymore
You've created the font object but have you selected it into the printer DC before you render
what you're going to print?
Mark
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
Hi All,
WSAGetLastError returns a Error number, is there a way to get the actual error string instead of just the Error No. Eg 10054(Connection reset by peer).
If my program WSAGetLastError() returns 10054, I need to somehow get "Connection reset by peer" from the error code. Please let me know what function I need to use. Any help greatly appreciated.
Thanks
Turbo.
|
|
|
|
|