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
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...
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?
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...
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...
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,
-...
Dim lvi As New ListViewItem
With lvi
.Text = filename
.SubItems.Add("otherinfo")
End With
YourListView.Items.Add(lvi)
Does that answer your quandry?
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
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.