|
What's not working?
Check out my previous post....I changed a line...
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
do as mark said, or otherwise, if your application is light weighted, means, no dependencies like database etc,
and if it is in visual c++ 6.0, then mail me i shall see it.
chandu004@yahoo.com.
after mailing please indicate it here.
Suggestion to the members:
prefix your main thread subject with [SOLVED] if it is solved.
chandu.
|
|
|
|
|
I have sent my project files to you. Please have a look. I am using VC++6.0
I really appreciate you help.
|
|
|
|
|
received your source code.
but it is still downloading.
you would have deleted teh debug folder and zipped it.
any way,
i will go through it and come back.
Suggestion to the members:
prefix your main thread subject with [SOLVED] if it is solved.
chandu.
|
|
|
|
|
s196675m wrote: m_dynalist->UpdateData(FALSE);// false true both same effect here
It may be true that it has the same effect in this case but that's not true in general.
First, you should be passing FALSE when calling UpdateData() from OnInitDialog.
Second, CDialog::OnInitDialog() Calls UpdateData(FALSE) for you....it's redundant to call
it again unless you've actually made a modification that effects DDE - you haven't here.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi Mark
If you want I can send you the source file.
Thank you and appreciate your help
|
|
|
|
|
Sure. Without the object code (delete the debug folder)
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Fixed.
I sent back one file - search for "//MARK" to see the changes I made.
One change was the one I modified in my first reply - the DDX_Control() call isn't
necessary since the control is already subclassed.
Second change: LBS_NOTIFY style added to the listbox control so you
get your selchange notifications.
Third change: m_dynalist->UpdateData() call removed. That's useless,
and does nothing
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi mark
Thank you for your big help.
Your three line comment is more than my two days of work.
I appreciate your help.
Thank you again.
-- modified at 17:14 Saturday 13th October, 2007
|
|
|
|
|
s196675m wrote: Thank you
You're welcome
I sent another email in reply to the other topic...
Cheers,
MArk
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
you are very dynamic sir.
by the time i downloaded it, copied it onto other system, and unzipped it, you fired the answer.
hats off.
|
|
|
|
|
Heh. Well (s)he sent me a project that built fist try (after conversion to
VS2005 format) so that made it easy.
Plus there wasn't thousands of lines of code to weed through.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi,
I had developed one file manipulation tool using Visual C++ 6.0.. But the customer wishes, that the same exe, if runs under Linux and Sun Solaris, it could be better. Is there any ways to do this?
Thanks in advance,
With Regards,
Sangeetha.
|
|
|
|
|
There is no way for the same .exe to be loaded and executed by Linux or Solaris.
|
|
|
|
|
Hi mike,
Is there any option to develop the application using VC 6.0 to run in Windows, linux as well as in Solaris?
With Regards,
Sangeetha.
|
|
|
|
|
|
thank u mike. i will search and get back to u
With Regards,
Sangeetha.
|
|
|
|
|
Yes, but you need to compile a separate executable file for each platform. You need compilers for Solaris and Linux (for example GCC[^]), VC6.0 on Windows isn't enough.
|
|
|
|
|
Hi all,
Through my code i want to check that internet conection is there on a machine or not. If anybody knows the api or method to do this please tell me. It would be very helpful.
Thanks in advance
|
|
|
|
|
Does InternetGetConnectedState helpful?
|
|
|
|
|
i am using InternetGetConnectedState like this..
<br />
DWORD dwType;<br />
if (!InternetGetConnectedState(&dwType, 0))<br />
{<br />
AfxMessageBox("cable unplugged");<br />
}<br />
else<br />
AfxMessageBox("connection is there");<br />
if i disable my connection then also it gives connection is there.
|
|
|
|
|
What happend if you run this code
DWORD dwType;
BOOL m_bConnect;
m_bConnect = InternetGetConnectedState ( &dwType, 0 );
if (m_bConnect)
if ( dwType & INTERNET_CONNECTION_OFFLINE )
bConnect = FALSE;
|
|
|
|
|
its giving this error:-
<br />
error C2065: 'INTERNET_CONNECTION_OFFLINE' : undeclared identifier<br />
|
|
|
|
|
Did you include Wininet.h ?
|
|
|
|
|
ya i have. I have also included lib file( Wininet.lib )but still its giving this error
|
|
|
|