|
I normally set the program to execute to the ActiveX Control Test Container. In VS.NET 2003, go to Project Properties, Debugging, click in Command (under Action) and use the drop-down list to pick ActiveX Control Test Container.
In VS6, go to Project/Settings, then the Debug tab. Click the right-arrow next to 'Executable for debug session' and pick ActiveX Control Test Container from the list that appears.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Thanks!
_____________________________
...and justice for all
APe
|
|
|
|
|
How to make my program fullscreen initially? i mean, i'd like my program to run with fullscreen mode(not maximized) just when it starts. Should i do something in mainframe::OnCreate?
i don't like a fullsreen toolbar to help me quit from fullsceen mode. so, can i quit from fullsreen mode by pressing 'ESC'? How to?
Need your help. Thanks first!
akeye
|
|
|
|
|
See if the WS_MAXIMIZE style helps. If you can't change the style at creation time, try changing the state to SW_MAXIMIZE at runtime using ShowWindow() .
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
hi all,
I am working on a network program for first time and I want to
Detect all the computers on a local network(IP address);
Please help me,
Thanks.
|
|
|
|
|
|
How about NetServerEnum() ?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Hi,
We are using CXImage library for image processing. We can load the image to the memory using Load() function. But we don't know how to display it on the screen. Please help.
Thanks.
regards,
madhurya
|
|
|
|
|
|
|
Can anybody tell me why some programmers prefer
MessageBox(_T("Hello world !"));
to
MessageBox("Hello World !") ??
What this _T(..) actually does ????
Regards
Giorgi Moniava
|
|
|
|
|
|
Hi all
in my network-module (MSVC 6.0 dll) i send a broadcast message (raw udp socket) to ip address 255.255.255.255 to see, if other modules are online. this works very fine, BUT....
in one laptop there are 2 network adapters
-> 192.168.100.4
-> 192.168.0.1 (WIRELESS)
and the broadcast message everytime goes to the wrong adapter (192.168.100.4)
it does NOT appear on the WIRELESS adapter.
how can i send the broadcast message to the other (WIRELESS) adapter????
|
|
|
|
|
Are these 2 adapters PHYSICALLY connected to the same network??
A router does NOT route broadcast packets!
Don't try it, just do it!
|
|
|
|
|
I want to make use of a <textarea> element in an Application Wizard for Visual Studio .NET 2003 to obtain multiline user information. Does anybody know how I can do this? I have used to following JScript code (placing the <textarea> within a <form> )
document.formname.textareaname.value
to obtain the input but the AppWizard crashes. Does anybody know of any examples?
I am the handsome one in the crowd.
|
|
|
|
|
Hi,
Can anyone give me advice on how to pass a progress bar control to my dll?
In my dll I have the following test function:
extern "C" __declspec(dllexport) void MoveBar(CProgressCtrl *ProgBar)
and in my app I can successfully load the dll and call the function passing the &m_ProgressBar in the calling routine.
The trouble is when I use the following code in my dll:
ProgBar->SetPos(50);
My app crashes with the following error:
Debug Assertion Failed!
...
File afxcmn2.inl
Line:288
Now, I'm obviously doing something wrong but I can't figure out what
Any help please?
|
|
|
|
|
|
[Line 287]_AFXCMN_INLINE int CProgressCtrl::SetPos(int nPos)
[Line 288]{ ASSERT(::IsWindow(m_hWnd)); return (int) ::SendMessage(m_hWnd, PBM_SETPOS, nPos, 0L); }
|
|
|
|
|
Is your progrma AND your DLL built to use the MFC DLL the same way? Like both are built using the SHARED MFC DLL? If not, make them match and try again.
Otherwise, you will have to change your DLL function to acept the HWND of the progress bar and set the position manually. You can avoid passing the MFC control pointers across the DLL boundary altogether.
The progress bar position can be set using the HWND like this:
::SendMessage(hProgressBarWindow, PBM_SETPOS, nPos, 0L);
Sometimes MFC does not share the MFC 'CWnd*' map tables across the DLL boundaries. So passing the 'pointer' to some CWnd derived class across the DLL results in an invalid window handle or invalid window class pointer. You can experience the same thing within a single EXE if you have multiple threads running too.
|
|
|
|
|
Hie,
I have 2 console processes which dont have message loops. I want to transfer data across them.How to do that?
|
|
|
|
|
Network sockets or named pipes could help.
Don't try it, just do it!
|
|
|
|
|
Or you can try memory mapped files or make them use local RPC.
There are examples here on CodeProject how to do this.
|
|
|
|
|
Need help!!
can i know how to write a program about symmetric matrix based on Aij = Aji ??
thank you!!
|
|
|
|
|
u already have!!!!!.....us the condition u have spoecified and based on that wriet the program!!!!.....dont tell me......
thiz is an assignment!
"faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
|
|
|
|
|
u already have!!!!!.....use the condition u have spoecified and based on that wriet the program!!!!.....dont tell me......
thiz is an assignment!
"faith, hope, love remain, these three.....; but the greatest of these is love" -1 Corinthians 13:13
|
|
|
|