Hi I am using Visual C# on .NET 2005. I have a treeview in which i have implemented drag and drop and it works correctly. Currently I am trying to implement the auto scroll up and down when the user drags a node near the top or the bottom of the tree. Can anyone give me some ideas on how to do...
hi i have an error from my c++ compiler that says
"Invalid combination of type identifiers"
I have no idea what that means and can't seem to get anywhere.
It says the error is at the line of my class declaration
class My_Class <-- fails here
{
public: ...
...
...
}
im using the...
I usually do all my programming research online. However, I want to buy a good solid c++ book for reference. Does anyone have good suggestions for a solid c++ book. Im not looking for a beginner's book. I'm looking for something that is almost like a reference with good sample code. I was...
Hi I am having a problem with the calling of this function:
OnLButtonUp(UINT nFlags, CPoint point)
My GUI has a display area with some controls on it such as buttons, edit boxes etc. I am trying to trap the event when the user clicks the left mouse button and when the user lets go of the left...
Hi in visual c++, how do you find out the hostname of the machine that the code is running on? Also is there a way to mount a network drive through c++? i am on an NT4 sp6a system. Thanks in advance.
Hi all, I am trying to use this concept of memory map IO to write data to disk at fast speeds. My program is time sensitive so it has to write a certain amount of data in a certain amount of time. It has to write a frame of data which is about 128k in less than 60 milliseconds. This has to be...
Hi all, i am having problems making a system call to run notepad.exe. I did
system("notepad.exe");
this runs ok, but it pops up a dos window in the background which i do not know how to disable.
Ive tried using the _exec functions namely _execv and _execl, but they seem to not run...
Hi I used a freeware program called shalom help maker to make a windows help file for my vc++ 6 MFC application. This freeware program created a .hlp file and bunch of other files. Now my question is how do i link this hlp file to my application so my app can use this hlp file? Please help thanks.
Hi does any1 have samples or examples of writing a file out using Memory Map IO? I need to write a file out using very little cpu usage so I heard that Memory Map IO works well. I have some code I tried and it is able to write out a char*. But I cannot write out a file of integers or other...
Hi here is my situation. My application takes a bitmap and displays it to the screen in windowed mode(ie not fullscreen). The display was working fine and video was being updated very fast. However, something happened and my program crashed. Now when i run the program again, the video is being...
Hi my main application is a dialog. I want the form to be automatically maximized when the application starts up. Does any1 know how to do this? I tried putting
m_nCmdShow = SW_SHOWMAXIMIZED;
before the DoModal() call, but that didnt work. Any ideas? Thanks.
Hi does any1 know of a good source for information on displaying bitmap data to the screen? I have data for bitmaps and need to display it to the screen, but i am not sure if there is a mfc class that handles this or are there better means of doing this? please help thanks.
Hi i have two forms, form1 and form2. form1 is my main class. Both form1 and form2 inherits System.Windows.Forms.Form. In order to use the methods and variables in form2, i had to instaniate form2 by doing:
dim frm2 as new form2()
Now in form2 I want to use the variables and methods in form1...
Im new to using vb.net and am having some trouble getting the datagrid control to work the way i want. I have a text file with data that is tab delimited. It looks something like
4-27-02 344 456.90 2345
4-29-02 345 179.90 2000
Its just plain text data. I want to display this...
Hi, I know that if you have an array say @foo, to get the number of elements in that array you can do $#foo.
However, I am having trouble doing this with an array that was passed into a function as a pointer. Something like this:
@foo = ("1","2","3")...
I am getting this error:
" error 429: OLE automation server can't create object"
when i run my code. It fails on the line where i instantiate a file system object. Here is the code:
set fso = CreateObject("Scripting.FileSystemObject")
Does any1 have any ideas on how to...
I am having some trouble getting the file size operator to work right. I have something like:
--------------------------------------
$myfolder = "c:/test";
opendir(DIR, $myfolder) or die "cant open $myfolder $!";
while (defined ($filename = readdir(DIR)))
{...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.