|
Hi,
Without using GetDiskFreeSpaceEx to get the directory space immediately.
(GetDiskFreeSpaceEx - Give Volume space)
is it in registry ??
inbha.
|
|
|
|
|
Hello,
How to select another form using tree view( When I click the icon in the tree a form should display). Please help me.
Thanks
goood
|
|
|
|
|
|
I am using a SpinButton control to let the user select a value. If the user selects a new value then I want a listctrl to immediately repaint itself to show a response to this value change. The repainting only occurs when I scroll down the list control. I am using C++ on Visual Studio 2003 .NET.
My question is how do I force the list control to repaint itself, so that I don't have to scroll up or down to get a repaint? I have tried sending messages to the list ctrl and even invalidating the client area of the list ctrl.
I am the handsome one in the crowd.
|
|
|
|
|
Invalidating only queues up paint events by adding to the accumulating invalid rectangle.
You might want to try the InvalidateRect followed by an UpdateWindow call.
|
|
|
|
|
Hi all,
I want to send packets that contains informations between computers in a local
Network but I haven't IP address of these computers.
How can I do this?
Thabks.
|
|
|
|
|
dSolariuM wrote:
...but I haven't IP address of these computers.
Use gethostbyname() .
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Hi,
How can I programitaclly share a file?
Thanks.
|
|
|
|
|
|
I have tried using a <textarea> on one of the HTML pages in an Application Wizard for Visual Studio 2003 .NET. I use it to obtain multi-line user input.
My problem is that when I press ENTER or CTRL+ENTER to go to the next line in the <textarea> the Application Wizard immediately finishes and starts generating the project but of course crashes with a message that it can't find the root file for the project.
Anybody with ideas or examples?
I am the handsome one in the crowd.
|
|
|
|
|
How does one debug an Application Wizard designed for Visual Studio 2003 .NET?
Mostly I want to debug the JScript part of it. On Internet Explorer I have set the option of "Disable Script debugging" to No. When I open one of the HTML files and I answer yes to the question of wanting to debug the script nothing happens.
I am the handsome one in the crowd.
|
|
|
|
|
Hi,
I want to copy a bitmap from a source rectangle into a destination rectangle,
there are different size.
I use StretchBlt,but it is very slow.
Can anyone tell me how to speedup it?
|
|
|
|
|
|
Check maybe you need to define _WIN32_WINNT to be 0x0500
|
|
|
|
|
Thank you for the reply.
I have defined _WIN32_WINNT, but still it does not compile.
What I notice in my system is that QueueUserWorkItem(...) declaration is present in the "winbase.h" header file found in my [C:\Program Files\Microsoft SDK\include] folder. But the VC++ IDE is including the "winbase.h" from folder [C:\Program Files\Microsoft Visual Studio\VC98\Include] which does not have the declaration for QueueUserWorkItem(...)
Can you figure out what is wrong for my app not to compile?
Regards,
Senthil.
|
|
|
|
|
In the IDE you can change the order in which the Include folders are searched. Make sure the (February '01) SDK version is at the top of the list.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Go to Tools->Options and click on the "Directories" tab.
Change the order in the list.
|
|
|
|
|
Hi guys
I need to get an XML file from internet and parse it to get some values.
I'm newbie in these kind of things.
I've seen XmlViewer class here in CodeProject pretty good (it only read files from HD I think) but to read a file from internet what is supossed that I have to do?
I repeat that I'm newbie working with internet files.
Could you redirect me to an example that shows how to get and open an internet file, maybe with this and with the XmlViewer found here in Codeproject it will be enough to understand and do what I have to do.
Thanks in forwarding
Doc
|
|
|
|
|
|
Thanks a lot
I sure think Believe this will help!!!!
Doc
|
|
|
|
|
|
Hello !
Looking in the MSDN for the documentation about using timeouts with serial ports (using the COMMTIMEOUTS structure), I found this line:
A value of zero for both the ReadTotalTimeoutMultiplier and ReadTotalTimeoutConstant members indicates
that total time-outs are not used for read operations.
But what does 'total time-outs are not used' means ? Does it means that the read operation will return immediately even if no bytes were received or does it wait an infinite amount of time (till all bytes are received) ? It is not really clear...
And the same question for write timeouts.
Any idea ?
Thanks
|
|
|
|
|
I am pretty sure, based on my experiences, that it means the read will WAIT nearly forever.
You really DO want some timeouts, and then just accept what characters you have and accumulate them into your own buffer until you have the desired amount of characters, or consider it an error condition if you have not received enough in the alloted time.
Same for writing. If they don't go out the port right away, in the alloted time frame, then something else is probably wrong, like the modem is off or the serial line is disconnected or something.
I would not recommend writing code that will 'wait forever' in either case if you can help it.
If you don't expect the same amount of data to be read or written constantly, there is the SetCommTimeouts() function you can call prior to each read and write. Use some math to adjust the time frame estimate based upon your current bit rate and the number of characters.
|
|
|
|
|
Need to write a driver(virtual serial port driver) in C/C++ which will fit in between the applications and the USB driver, and will try to expose virtual serial ports which the application can communicate with, and internally will pass on data to the USB layer, which will communicate with the USB end of the connector.
For applications, even though the serial devices are connected through a USB interface in between, the USB interface is transparent – i.e. the applications must behave as if they are communicating with serial devices through COM ports, USB is nowhere in the picture.
Tell Me WHy
|
|
|
|
|
Hello friends,
This is a reminding request, would anybody let me know how can I view a TIFF file in SDK, please, it's urgent, if possible could you send me the code? I will be grateful!!!
Thanks a million,
warm regards,
Software Developer
Sanjay Khapre
|
|
|
|