Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: oinky
  • Content: Threads
  • Order by date
  1. oinky

    Scrolling in TreeView on drag and drop

    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...
  2. oinky

    weird c++ error

    hi i have an error from my c++ compiler that says &quot;Invalid combination of type identifiers&quot; 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...
  3. oinky

    C++Book suggestions

    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...
  4. oinky

    mouse event functions in vc++

    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...
  5. oinky

    getting host name and mounting drives

    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.
  6. oinky

    Memory Map IO problems

    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...
  7. oinky

    problems making system calls

    Hi all, i am having problems making a system call to run notepad.exe. I did system(&quot;notepad.exe&quot;); 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...
  8. oinky

    Linking windows help file to vc++ app

    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.
  9. oinky

    How to use Memory Map IO

    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...
  10. oinky

    Slow Video Display problem, maybe DDCAPS.dwCaps prob?

    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...
  11. oinky

    maximize a dialog window

    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.
  12. oinky

    displaying bitmaps

    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.
  13. oinky

    class hierarchy

    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...
  14. oinky

    using datagrid control

    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...
  15. oinky

    number of elements in an array

    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 = (&quot;1&quot;,&quot;2&quot;,&quot;3&quot;)...
  16. oinky

    push function

    Does any1 know what this actually does? push (@$foo, $bar); what exactly is @$foo ? thx for the help.
  17. oinky

    ole problems

    I am getting this error: &quot; error 429: OLE automation server can't create object&quot; when i run my code. It fails on the line where i instantiate a file system object. Here is the code: set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;) Does any1 have any ideas on how to...
  18. oinky

    try and catch block

    Does any1 know of anyway to do a try and catch block in basic? something like try do something catch ex as Exception do something end try thx.
  19. oinky

    getting file size

    I am having some trouble getting the file size operator to work right. I have something like: -------------------------------------- $myfolder = &quot;c:/test&quot;; opendir(DIR, $myfolder) or die &quot;cant open $myfolder $!&quot;; while (defined ($filename = readdir(DIR))) {...
  20. oinky

    directory size

    Can someone please tell me how to get the size of a directory. The directory also have subfolders in it. Thanks.

Part and Inventory Search

Back
Top