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 SkipVought 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: *

  1. phunugus

    how to get the height of the taskbar

    what i wanna do is place a form in the bottom right corner, but i need the taskbar's height first. api calls? im using dot net. thx
  2. phunugus

    App Performance

    i hate this, i betcha the java framework doesn't do this
  3. phunugus

    im not an artist, but i need icons for my programs,any help?

    the dilemma is that i need custom icons for my prog, but im no artist. please help, thx
  4. phunugus

    Finding out if a directory/folder already exists

    directory.exists(path)
  5. phunugus

    question about explorer

    hey, ya know how you can right click anywhere on the desktop, goto new, and create a new folder, text document, etc... well, i want to add to that list of new documents. how can i do that? thx
  6. phunugus

    confusing net interop with com

    Im writing a com object in VB.NET for VBScript. There is 1 class and 1 enum in the assembly. In my script writing app (PrimalCode), it says that the class's name has a underscore preceding it. Is this the interface? If its the interface, then wheres the class? When im creating this object...
  7. phunugus

    the DoubleClick event fires when right doubleclicked?

    For my listview control, the Doubleclick event fires when a users a left doubleclicks an item. But it also fires when the user right doubleclicks an item... i dont want this to happen. How do i detect left and right doubleclicks?
  8. phunugus

    question about dates

    Im writing this daily/weekly/monthy reminder program, but im stuck on how to implement monthly reminders. I store the first day that the reminder will run. So how would i do this? my only idea has been: if today's date is a multiple of 30, but this is flawed for many reasons... im not that...
  9. phunugus

    DateDiff function

    Familiarize yourself with the TimeSpan class.
  10. phunugus

    NetworkStream doesnt receive all the data in time...

    First off, this code works fine in debug mode, but not in run mode. This loop is only getting some of the data. After NetworkStream.Read is called, there is no more data in the buffer and DataAvailable turns to False, but the server still has data to send to me, it just hasnt sent it to me yet...
  11. phunugus

    Object reference not set to an instance of an object.

    i dont understand what you want it to do...
  12. phunugus

    Dir () search function

    The first thing to do is get all the drives on your computer: IO.Directory.GetLogicalDrives this returns a string array of drives like c:\ d:\ e: So, - Dim drive As String For Each drive In IO.Directory.GetLogicalDrives() Next drive - Next, Send each drive to a recursive subroutine, -...
  13. phunugus

    Object reference not set to an instance of an object.

    Dim lvi As New ListViewItem With lvi .Text = filename .SubItems.Add("otherinfo") End With YourListView.Items.Add(lvi) Does that answer your quandry?
  14. phunugus

    Object reference not set to an instance of an object.

    thats wrong, bro. Use this instead: dim fle As String For Each fle In Directory.GetFiles("yourpath") yourListView.Items.Add(Path.GetFileName(fle)) Next fle
  15. phunugus

    Object reference not set to an instance of an object.

    By the way, you should really use: dim files() As String = IO.Directory.GetFiles(path) if you need additional info on a file, you can use: Dim fi As New IO.FileInfo(path) hope this helps
  16. phunugus

    Object reference not set to an instance of an object.

    Make sure the api declaration is right. Declare Function FindFirstFile Lib "kernel32" Alias "FindFirstFileA" (ByVal lpFileName As String, ByRef lpFindFileData As WIN32_FIND_DATA) As Integer Make sure the WIN32_FIND_DATA is set to an instance by creating a sub new() for it...
  17. phunugus

    Creation of ImageList handle failed???

    Creation of ImageList handle failed This happens when i assign a very big imagelist to my listview, but works fine with a smaller imagelist. I have 512mb of ram, so whats the problem? any help would be appreciated.

Part and Inventory Search

Back
Top