Search:
Type: Posts; User: coox
Search:
Search took 0.69 seconds.
-
Fantastic - exactly what I was hoping for.
Thank you so much for your help, jmcilhinney.
-
Could someone point me in the right direction for adding the contents of a folder to a listbox but sorting them first by date created, modified, filename etc.?
I've seen suggestions for...
-
-
Works perfectly! Thanks you very much, peterst.
-
When I use My.Computer.FileSystem.RenameFile to rename a file but only changing the case of the filename, e.g lower to upper, I get an error complaining that the file already exists.
Short of...
-
Just in case anyone's ever interested, this is how I solved my problem.
Having followed Google's instructions for getting their widget to display properly on my contact page, I then added the...
-
-
Something up with this forum? There's only one post - a sticky - visible now.
-
I'd really like to use the latest Google reCaptcha in an ASP website but it seems beyond me, and I can't find any really helpful info out there.
I'd like to show the reCaptcha in a page that...
-
Perfect!!! Thanks Paul and everyone else - great stuff.
-
Thanks Paul - that works perfectly. I've ended up with:
lstFilenames.Items.AddRange(New System.IO.DirectoryInfo(strPathOnly).GetFiles)
Could you explain how that other bit should work,...
-
Thanks techgnome!
That works but when I replace Environment.SpecialFolder.MyDocuments with my own folder path I get an error "Conversion from string [the path I'm pointing it at] to type 'Integer'...
-
-
Thanks dday9,
When I paste your code into my project I get this error:
121525
Here is the code that I have working:
For Each myFile In System.IO.Directory.GetFiles(strPathOnly)
-
lstFilenames.Items.AddRange(System.IO.Directory.GetFiles("C:\"))
Trying to be ultra efficient - I'm just wondering if it's possible to do something to the code above in a single line to get the...
-
Thanks! I'm happy with that.
-
Hi,
Yes, the process does disappear when my app terminates - I just thought it should disappear when I set the object to Nothing. So I should just stop worrying?
And you're dead right -...
-
Just starting to muck about with writing to Excel a VB.net app I'm writing and I'm already noticing that the Excel.exe process that is created persists until I actually close my app.
Sub...
-
-
Slightly confused (again) - have a look at this:
Public Const c_strKeyName As String = "HKEY_CURRENT_USER\Software\OnlyMe\MyNewApp\"
frmMain.Top =...
-
-
Why is it I so often find the answer just after I've finally decided to ask here? I've used CType, as below. Is that the best way to do it?
If TypeOf cControl Is ComboBox Then CType(cControl,...
-
Hi all,
I have a very busy form that I need to clear out.
Here's my code so far.
Dim cControl As Control, cSubControl As Control
For Each cControl In Me.Controls
...
-
-
Ok. But what timer method should I use then?
-
The form is never displayed. I've only included it as I wasn't sure how to use the other components (Timer and WebBrowser) without it.
-
Sorry, there IS a form - both the Timer and WebBrowser are there.
-
Hi GBeats. There's only one line of code in the Timer Tick event - "Me.WebBrowser1.Navigate(c_strURL & strUserName)"
Does that answer your questions?
-
Yup, it's a "Windows Form Application" but I've disabled "Enable application framework" so that it starts with a sub in a module instead of opening the form.
Under XP it starts ok but it appears...
-
Hi,
I'm pretty new to all this .net stuff (yeah, I know, I know...)
I've written a very simple little app that reports a PC's IP address by periodically browsing to an asp page that I've also...
-
Right, all sorted now. Just run my app as admin and xxcopy.exe is then shelled as admin too.
-
Ok, it's just down to UAC now. I just totally disabled UAC and restarted and now my app can shell xxcopy.exe with no problems. So... how do I get around UAC without disabling it?
-
Yeah, I'd already found that page and figured out how to use Sysnative to get Dir to work correctly but shelling now just produces an error 5.
-
Ok, here's the thing. XXCopy comes with both 32 and 64 bit installers. The 32bit installer refuses to install on this 64bit OS which must be a good thing. The 64bit installer then correctly puts its...
-
I didn't dump it in there, the installer did. And thanks for calling me lazy...
Anyway, I've searched the entire C: drive and xxcopy.exe only exists in C:\Windows\System32
Any more ideas?
-
Ok, this is just wierd.
Your code works fine and shows that both items exist. However, if I replace cmd.exe with xxcopy.exe it says that file doesn't exist - and yet I can SEE xxcopy.exe in the...
-
Thanks, I'll give that a go.
XXCopy (not xcopy!) is what I use to backup most of the files on customer PCs before reinstalling OS etc. It's good because it doesn't bomb out when it encounters a...
-
Hi,
I use a handy little app called xxcopy (a "fixed" version of MS's xcopy.exe) that installs itself into the the c:\windows\system32 folder. A couple of years back I wrote myself a little...
-
Yes, works perfectly, it's just that subsequent times, until I restart VB, it returns exactly the same thing as the first time...
-
Hi Budreaux,
Actually the page it's reaching is just a bit of asp that I've also written and put on my own website - it doesn't return full html, just a Response.Write of a single line to pass...
|
Click Here to Expand Forum to Full Width
|