|
I agreee toxcct CListBox is better than CComboBox for your program of course if you want to show data to user .
|
|
|
|
|
Using HRESULT VarR4FromI2(short sIn, float *pfltOut);
Problems getting it compliled using the header oleauto.h
Using Visual Studio 2005 (C++).
Many thanks,
Andy.
|
|
|
|
|
show how you're using it, and paste the exact error message. thanks
|
|
|
|
|
A cast is not appropriate in your context?
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.
|
|
|
|
|
Andy202 wrote: Problems getting it compliled...
Can you turn your monitor so that it faces the west?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
rotfl !!! never heard of this one
|
|
|
|
|
Dammit - I can't be drinking coffee when I'm reading through these posts!
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
I am using ShellExecute command to open a batch file but I have to capture the display when the batch file is open. Is this possible in VC++.
ShellExecute(m_hWnd,"open","Yamini.bat",NULL,NULL,SW_SHOWNORMAL);
After executing this command I have to capture the display in the screen so that I can use it later in my code
S.Yamini
|
|
|
|
|
yaminisridaran wrote: After executing this command I have to capture the display in the screen so that I can use it later in my code
you mean, using the image, of the text output ?
what exactly are you trying to do here ?
can't you just put a pause at the end of the .bat, and manually select the text to copy if that's what you're after ?
|
|
|
|
|
This is a batch file. I am opening this batch file from VC++ coding using shellexecute command. I have to capture the display in the batch file so that I can use it in my code later
S.Yamini
|
|
|
|
|
thanks for repeating exactly what i read in your question at first... but still you don't answer my post
|
|
|
|
|
Can I know what u did not understand
|
|
|
|
|
|
toxcct wrote: what exactly are you trying to do here ?
He's trying to redirect the output of a console application, much like:
C:> dir > dir.out
will take the output of the dir command and redirect it from standard out to a file instead.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
It comes in the middle of an automated process and no manual interaction is not possible
S.Yamini
|
|
|
|
|
See here.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
hi all,
i am beginner in vc++.
i want to diplay images of the devices dynamically that are registered in to the network.
how to do that..
and can u people suggest me the best ebooks for learning vc++6 with practical xamples and also the best sites for practising vc++ 6.
thanks in advance.
g.r.c
rc
|
|
|
|
|
i want to diplay images of the devices dynamically that are registered in to the network.
Not sure what you are sking for... Maybe you specify more details?
can u people suggest me the best ebooks for learning vc++6 with practical xamples and also the best sites for practising vc++ 6.
You can find free online books from here.
A couple of best sites:
Here
There
--
=====
Arman
|
|
|
|
|
hi,
tnx 4 ur reply.
my question in detail:
i am desiginig a gui related to networks.
in this when pc's comes into the network they shuld get displayed in server...i mean if there are 3 pc's in network then these shuld be displayed in the server UI...similarly if there are "n" pc's then these "n" pc's shuld be displayed in the serever.
|
|
|
|
|
For starters, create a dialog-based project, and add a list control to it. Turn on the control's LVS_REPORT style. Before messing around with images, get your code working such that it will display the various network members. Then, add images to the first column. You'll need to create an image list (see CImageList ) of all the images you plan on using.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi,
tnx for ur reply... and currently i am doing with waht u suggested tnx a lot.
|
|
|
|
|
Reading from USB port.????????
Can anybody help me on how to read the data from USB port.
Thanks In Advance
Ashok.
|
|
|
|
|
You have to open (using CreateFile) the driver that is associated with the device. Then you can use ReadFile and WriteFile to read or write data to the driver.
But it depends also of the kind of device you are using. Can you provide more information ?
|
|
|
|
|
I am very new to this USB communication.
can u please send sample code for this or any links????????
Thanks In Advance
Ashok.
|
|
|
|
|
ashokbngr wrote: can u please send sample code for this or any links????????
No, because I don't have any information to give a piece of code. What device are you trying to communicate with ?
|
|
|
|