dcsimg

Search:

Type: Posts; User: RichardG

Search: Search took 0.04 seconds.

  1. Re: [RESOLVED POORLY] Setting a PDF embedded inside a WebBrowser as the ActiveControl

    Thanks for trying, but I get a NullReferenceException on Me.WebBrowser1.Document.All("Text1.Text") no matter what I put inside All("")
  2. Re: Setting a PDF embedded inside a WebBrowser as the ActiveControl

    WebBrowser.Navigate("C:\temp\pdftest.pdf#toolbar=0") works perfectly, my issue was regarding difficulties focusing the WebBrowser component so that users would be able to scroll through the PDF...
  3. Re: Setting a PDF embedded inside a WebBrowser as the ActiveControl

    Okay I have a solution, but it's pretty ugly... I'd certainly welcome any advice on how I could do this in a less..... stupid... way....

    So the first thing I did was add an invisible button in my...
  4. [RESOLVED POORLY] Setting a PDF embedded inside a WebBrowser as the ActiveControl

    Hi all,

    I have a Windows Form with a TabControl, one of the tabs is named Tab_Help, and it contains a WebBrowser control which navigates to a PDF file that I generate.

    My goal is to have the...
  5. Re: Passing "AddressOf SUB" in a variable as a return value of a function

    Thank you very much for your tips, I fixed the typo in my original question, turned on Option Strict, and got the code working.

    I'm not sure why it didn't work for me yesterday, since I was...
  6. [RESOLVED] Passing "AddressOf Sub" in a variable as a return value of a function

    Hi all, I was hoping for some advice with a project of mine which uses multi-threading and command prompts.

    I'm sorry if this seems primitive, i'm self taught and still doing my best to figure out...
  7. Re: Dim t1 As New Threading.Thread(AddressOf VARIABLEHERE)

    Oh wow, thank you very much for the tip dbasnett.

    I googled the differences and I think you're right, task would be a much better idea, as it would save resources compared to thread.

    The only...
  8. Re: Dim t1 As New Threading.Thread(AddressOf VARIABLEHERE)

    Oh wow, thank you so much techgnome! My code just shrank by hundreds of lines, this is clearly superior to the way I've been doing this.

    Okay so here's my new code!


    Private ThreadList As New...
  9. Re: Dim t1 As New Threading.Thread(AddressOf VARIABLEHERE)

    Thank you both for your answers!

    I especially appreciated your post jmcihinney, it answered my question directly and completely, without forcing me to change my approach. I've done some testing...
  10. [RESOLVED] Dim t1 As New Threading.Thread(AddressOf VARIABLEHERE)

    Hi all,

    Apologies if this has been answered before, I suppose it's possible that I've been Googling incorrectly, though I did my best to look around for this information before posting.

    I am...
  11. Re: Question about My.Computer.Network.Ping(ip, timeout)

    Hey again guys,

    I'm not sure if the System.Net.NetworkInformation.Ping Class allows me to tell it to wait for more than one ping response.

    That's pretty rough... I had made my own command...
  12. Re: Question about My.Computer.Network.Ping(ip, timeout)

    Ahhh Inferrd! That looks perfect! Much more functionality to mess with. I don't have any more time for testing today, but I will check that out first thing tomorrow. Thank you very much.

    dbasnett:...
  13. Re: Question about My.Computer.Network.Ping(ip, timeout)

    Hey so I did some testing and tried a 3000 timeout, but it was still failing. The majority of the time it was failing much faster than 3 seconds into the ping. The few times when it did wait the 3...
  14. Re: Question about My.Computer.Network.Ping(ip, timeout)

    I'm using 1000 for my timeout. Maybe I misunderstand how this ping function works behind the scenes. If you don't think that a ping could be confused by an extra unexpected line of text, then that's...
  15. Question about My.Computer.Network.Ping(ip, timeout)

    Gentlemen,

    I am currently in the process of maintaining a project which I created from the ground up. I won't bore you with the nitty-gritty, but suffice to say that it pings workstations with the...
  16. Re: Need code to watch CMD prompt and tell me when it's hanging.

    My apologies, .HasExited does work for this purpose... The problem related to that was based on a faulty loop I had set up.
  17. Need code to watch CMD prompt and tell me when it's hanging.

    Hey everyone,

    Here's my issue:
    [ I have a program that does a quick SC query through a command prompt, and I want to set up a timeout feature. ]

    So, in more detail- I open a cmd window using...
  18. Replies
    9
    Views
    596

    Re: exception handling

    Again, I am the noob in the room.... But I would try this:

    If telephoneTextbox.Text.length < 7 Then
    Msgbox("Your phone number is way too short, dawg.")
    Exit Sub
    Else
    If...
  19. Replies
    9
    Views
    596

    Re: exception handling

    I'm no expert here, but I would probably try to tackle this with a giant If Then statement encompassing your whole computeButton sub. Right after your Dims throw in something like:

    If...
  20. Re: How do I use VB to open a CMD window, give commands, and gather output as a varia

    It's been a few months now and I have fixed my issue. Basically, I was programming in a weird enterprise environment and I didn't have enough permissions to do what I wanted to. So here's my fix: to...
  21. Re: Automate Command Prompt Window (CMD), Redirect Output to Application [2003/2005]

    It's been a few months now and I have fixed my issue. Basically, I was programming in a weird enterprise environment and I didn't have enough permissions to do what I wanted to. So here's my fix: to...
  22. Re: Automate Command Prompt Window (CMD), Redirect Output to Application [2003/2005]

    Hey,

    I still have the same issues with your code. =(

    Basically, the variable is blank no matter what. What does Invoke(Finished) do? That's the only part of your code I haven't used. I just let...
  23. Re: Automate Command Prompt Window (CMD), Redirect Output to Application [2003/2005]

    Hey, I am having the same issue as bvrider1 and Sanjeev467.

    No matter what I do, even when I just download the zip files and run them without changing them at all. I can enter commands into the...
  24. Re: How do I use VB to open a CMD window, give commands, and gather output as a varia

    Hey jmcilhinney, thanks for the reply.

    I searched this forum before posting, and found the post you referenced. I actually found a different thread talking about shell("") where you basically copy...
  25. How do I use VB to open a CMD window, give commands, and gather output as a variable

    Hey all, this would be my first time posting here. And I would generally not ask, but I have been struggling with this for two days now and I would sincerely appreciate any help that I know you...
Results 1 to 25 of 28



Featured


Click Here to Expand Forum to Full Width