Search:

Type: Posts; User: coox

Page 1 of 13 1 2 3 4

Search: Search took 0.69 seconds.

  1. Re: Add filenames to listbox but sort by date etc.?

    Fantastic - exactly what I was hoping for.

    Thank you so much for your help, jmcilhinney.
  2. [RESOLVED] Add filenames to listbox but sort by date etc.?

    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...
  3. Replies
    4
    Views
    1,985

    Re: [RESOLVED] Rename file - change case

    Thanks!
  4. Replies
    4
    Views
    1,985

    Re: Rename file - change case

    Works perfectly! Thanks you very much, peterst.
  5. Replies
    4
    Views
    1,985

    [RESOLVED] Rename file - change case

    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...
  6. Replies
    4
    Views
    4,431

    Re: Latest Google reCaptcha

    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...
  7. Replies
    4
    Views
    4,431

    Re: Latest Google reCaptcha

    Ohhhh! Thanks!
  8. Replies
    4
    Views
    4,431

    Re: Latest Google reCaptcha

    Something up with this forum? There's only one post - a sticky - visible now.
  9. Replies
    4
    Views
    4,431

    [RESOLVED] Latest Google reCaptcha

    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...
  10. Re: Items.AddRange vs. Directory.GetFiles - Filename without path

    Perfect!!! Thanks Paul and everyone else - great stuff.
  11. Re: Items.AddRange vs. Directory.GetFiles - Filename without path

    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,...
  12. Re: Items.AddRange vs. Directory.GetFiles - Filename without path

    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'...
  13. Re: Items.AddRange vs. Directory.GetFiles - Filename without path

    121529
  14. Re: Items.AddRange vs. Directory.GetFiles - Filename without path

    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)
  15. [RESOLVED] Items.AddRange vs. Directory.GetFiles - Filename without path

    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...
  16. Re: Excel.exe process left in Task Manager

    Thanks! I'm happy with that.
  17. Re: Excel.exe process left in Task Manager

    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 -...
  18. [RESOLVED] Excel.exe process left in Task Manager

    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...
  19. Re: Registry default value where key doesn't yet exist

    Ahhhhh... Thanks!
  20. [RESOLVED] Registry default value where key doesn't yet exist

    Slightly confused (again) - have a look at this:


    Public Const c_strKeyName As String = "HKEY_CURRENT_USER\Software\OnlyMe\MyNewApp\"

    frmMain.Top =...
  21. Replies
    3
    Views
    811

    Re: Resetting busy form

    Thanks Shaggy!
  22. Replies
    3
    Views
    811

    Re: Resetting busy form

    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,...
  23. Replies
    3
    Views
    811

    [RESOLVED] Resetting busy form

    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
    ...
  24. Replies
    15
    Views
    1,559

    VS 2010 Re: Best way to pause loop WITHOUT Timer

    Thanks techgnome!
  25. Replies
    15
    Views
    1,559

    VS 2010 Re: Best way to pause loop WITHOUT Timer

    Ok. But what timer method should I use then?
  26. Replies
    15
    Views
    1,559

    VS 2010 Re: Best way to pause loop WITHOUT Timer

    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.
  27. Replies
    15
    Views
    1,559

    VS 2010 Re: Best way to pause loop WITHOUT Timer

    Sorry, there IS a form - both the Timer and WebBrowser are there.
  28. Replies
    15
    Views
    1,559

    VS 2010 Re: Best way to pause loop WITHOUT Timer

    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?
  29. Replies
    15
    Views
    1,559

    VS 2010 Re: Best way to pause loop WITHOUT Timer

    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...
  30. Replies
    15
    Views
    1,559

    VS 2010 Best way to pause loop WITHOUT Timer

    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...
  31. Re: Windows 7 - Shell file in system32 folder - "File not found"

    Right, all sorted now. Just run my app as admin and xxcopy.exe is then shelled as admin too.
  32. Re: Windows 7 - Shell file in system32 folder - "File not found"

    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?
  33. Re: Windows 7 - Shell file in system32 folder - "File not found"

    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.
  34. Re: Windows 7 - Shell file in system32 folder - "File not found"

    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...
  35. Re: Windows 7 - Shell file in system32 folder - "File not found"

    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?
  36. Re: Windows 7 - Shell file in system32 folder - "File not found"

    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...
  37. Re: Windows 7 - Shell file in system32 folder - "File not found"

    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...
  38. [RESOLVED] Windows 7 - Shell file in system32 folder - "File not found"

    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...
  39. Replies
    5
    Views
    1,898

    Re: MSHTML.HTMLDocument not clearing

    Yes, works perfectly, it's just that subsequent times, until I restart VB, it returns exactly the same thing as the first time...
  40. Replies
    5
    Views
    1,898

    Re: MSHTML.HTMLDocument not clearing

    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...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width