|
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 ?
|
|
|
|
|
Cedric Moonen wrote: What device are you trying to communicate with ?
Come on, Cedric, it's a universal serial device!
"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
|
|
|
|
|
Cedric Moonen wrote: What device are you trying to communicate with ?
This[^] device!
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
|
|
Still not enough info!
Or yellow...
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Well, that depends on the driver for your specific device.
If your device's USB driver acts like a serial-port then you need the ReadFile() and WriteFile() (just like in a serial port)
Otherwise, you'll have to refer to the documentation/spec of your device ...
|
|
|
|
|
can u please send sample code for this.
Thanks In Advance
Ashok.
|
|
|
|
|
|
hi all,
i am doing a project..and i need to display the informations of a user accounts of the system and the informations about the local groups of the system.i found that the APIs NetUserEnum() and NetLocalGroupEnum() can be used ..but i couldnt display the result..there were a lot of errors..
please..anybody help me.. i want to display it on a button click to a textbox.
|
|
|
|
|
habeesh wrote: there were a lot of errors..
Such as ???
There are a limited amount of mind-readers here at CP, please be more specific.
Exactly what's your problem(s)?
BTW, welcome to CP.
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
kakan wrote: There are a limited amount of mind-readers here at CP...
Are they all busy? The half-pipe in the break room is gonna have to go then.
"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
|
|
|
|
|
Looks like David is in a pretty good mood today.
|
|
|
|
|
Hi every body!
I've got one CString variable with value "Hello world" and now I want to write its value into one text file. what I have to do now? I'm using Visual C++ 2005 and my project type is MFC project. Thank you every much!
Not good at VC++
|
|
|
|
|
what about using std::ofstream ?
|
|
|
|
|
Probably you need WriteString method of CStdioFile , see here
[^].
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.
|
|
|
|
|
thankx you so much..
Not good at C++
|
|
|
|
|
In additional you can use of CFile class
|
|
|
|