Jump to content
Xtreme .Net Talk

kill4

Members
  • Posts

    5
  • Joined

  • Last visited

  • Days Won

    1

kill4 last won the day on January 4 2010

kill4 had the most liked content!

About kill4

  • Birthday 05/06/1981

kill4's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Thanks for the info.. I agree to it can get complicated two programs accessing it at the same time.. At the time it's what the user wanted, but he has since changed his mind.. You reply hasn't been in vain tho.. I learned something new :)
  2. Ok, i have two programs one program writes to a text file on a consistent basis, while the second program is opening this text file on a consistent basis for reading.. Sometimes the programs are accessing the file at the same time and the user keeps getting this error : this process cannot access the file because its already in use.. Is there any class, in system.io that i can use to modify the settings of this text file so both programs can access it at the same time? Any help would be appreciated!
  3. Well I finally got it to work. with the code below Dim myHTML As String = wbNav.Document.Body.InnerHtml Debug.Print(myHTML) Just thought i would post a update i know people come here via google, searching for a answer to this question so :) All i did was change wbNav.DocumentText to wbNav.Document.Body.InnerHtml And all was good.
  4. > Creator.exe!WindowsApplication1.frmCreator.wbNav_DocumentCompleted(Object sender = {System.Windows.Forms.WebBrowser}, System.Windows.Forms.WebBrowserDocumentCompletedEventArgs e = {System.Windows.Forms.WebBrowserDocumentCompletedEventArgs}) Line 47 + 0x18 bytes Basic I'm pretty new to vb.net programming so bare with me :) This was output in the call stack window. Sorry for the late response. I like your avatar meatwad is the man, lol, i actually have a meatwad avatar in another forum i post on. Thanks..
  5. ok, i'm having some problems getting the html source from my webbrowser control. I'm trying to get the source in the DocumentCompleted event of the webbrowser. The code i'm using is this Dim myHTML As String = wbNav.DocumentText Debug.Print(myHTML) When the vb.net hits that line i get this error "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)" it's a FileNotFoundException error. I've searched google, and everyone says to use this code. But it's just not working out for me. Is there another way to get the html? or is something wrong with this code?
×
×
  • Create New...