Search:

Type: Posts; User: TheVader

Page 1 of 13 1 2 3 4

Search: Search took 0.53 seconds.

  1. Replies
    5
    Views
    688

    Computer freezes randomly

    Since a week or two my computer seems to freeze randomly, especially when I've just turned it on. Windows' interfaces are the first to stop responding, then after a few seconds the mouse freezes....
  2. Replies
    1
    Views
    937

    Can't insert special characters

    Hi folks,

    A client who is using an application of mine is having trouble inserting special characters in the documents she makes with it. Any foreign characters she tries to insert (such as or...
  3. Re: Disable javascript function of web page in VB6

    Hi nasreen,

    I think the best way to reenable a JavaScript function is using the attachEvent method (MSDN). In your case, that would be something like this:
    ...
  4. Thread: Testing

    by TheVader
    Replies
    0
    Views
    707

    Testing

    Some files necessary for my signature.
  5. Replies
    4
    Views
    609

    Annoying ad disables user interface

    Hi there,

    Lately a new ad has been added to VBForums, one that contains a large screwdriver and takes up a lot of space. I don't know if it is featured on English systems (because it is a Dutch...
  6. Replies
    63
    Views
    18,860

    Re: Opening a bar - name suggestions

    Try naming it after a typical blues song, either the title or an excerpt from the lyrics. Something like 'Blue Highway', 'Rocks & Gravel', or 'Blues Run the Game'. :)
  7. Replies
    6
    Views
    682

    Re: lot of trouble with FTP in VB!

    I've been using the Chilkat FTP Component; works like a charm. :) In respond to the previous post, I advice against using the Inet control; built an application with it once and brought myself a lot...
  8. Replies
    17
    Views
    842

    Re: Tabbing on a web browser control

    Hi The_Engine,

    The code you show is making use of the HTML Document Object Model (see article in my sig). You can focus on specific elements by looking at attributes in the source of a webpage. If...
  9. Re: "Access is denied" problem getting frames in HTML document

    I think the problem is caused because some frames contain webpages from different domains. The only solution I can think of is to load the frame you want to work with by itself in the Web Browser...
  10. Re: "Access is denied" problem getting frames in HTML document

    I think that's the problem you're encountering; according to this page. :)
  11. Thread: Webbrowser

    by TheVader
    Replies
    9
    Views
    598

    Re: Webbrowser

    That's odd; it should work. :confused: Try this on VBForums.com index page. The msgbox should pop up if the first VBWire link has the focus (is the active element).
    If web.Document.activeElement =...
  12. Thread: Webbrowser

    by TheVader
    Replies
    9
    Views
    598

    Re: [RESOLVED] Webbrowser

    Well, I think this method is quicker to find out which element has the focus. :)
    If WebBrowser1.Document.All.FIELDNAME = WebBrowser1.Document.ActiveElement Then
  13. Replies
    3
    Views
    942

    Re: How to Use HTML DOM Object in VB 6

    Yes, when reading HTML the HTMLDocument object converts it to MSHTML, which is the way IE works with it. The addition of TBODY is caused by this.

    I wouldn't now that, never experienced such...
  14. Replies
    4
    Views
    2,736

    Re: LocationName & LocationURL!

    Arpan, try using the DOM to extract the title :):
    wWeb.Document.title
    or, if that doesn't work:
    wWeb.Document.getElementsByTagName("title").item(0)
  15. Replies
    5
    Views
    465

    Re: WebBrowser control

    You can also use this. :)
    WebBrowser1.Document.getElementById("txtName").value
  16. Re: A lil help with my webbrowser plz

    You can use the CommandStateChange event of the Web Browser control to enable or disable the buttons when they can (not) be used. Like this:
    Private Sub webPage_CommandStateChange(ByVal Command As...
  17. Re: ListView Control - Allow User Editing !??

    You can try using my LabelEdit SubItems code; it uses a textbox to let users edit individual cells. :)
  18. Replies
    16
    Views
    592

    Re: [open html ]

    'To open a page in a Web Browser control:
    WebBrowser1.Document.Navigate2 "http://www.url.com"

    'Wait for the page to load
    Do While WebBrowser1.Document.readyState <> "complete"
    DoEvents
    Loop...
  19. Replies
    6
    Views
    4,936

    Re: Convert XML to INI file

    You could parse the XML file yourself with MSXML and write it to the INI file in the format you want. :)
  20. Replies
    10
    Views
    3,151

    Re: Get XML Full Path

    Looks like it... I couldn't find a property 'path' or 'root' or so. :sick:
  21. Replies
    10
    Views
    3,151

    Re: Get XML Full Path

    Try this. :)
    Dim x As New MSXML2.DOMDocument
    Dim n As IXMLDOMElement
    Dim s As String

    x.Load "c:\file.xml"

    MsgBox x.xml

    Set n = x.selectSingleNode("//bookstore//book//price")
  22. Re: How to make the webbrowser control (and just the webbrowser in my form) offline?

    You could parse the code of all images and check if they refer to servers... do the URL's in the document contain relative adresses as well? :)
  23. Re: How to make the webbrowser control (and just the webbrowser in my form) offline?

    Why don't you just parse the URL in the BeforeNavigate2 event? If you just want to allow local files, you can just block all URL's starting with "http://"; or even all URL's containing '/' instead of...
  24. Re: How can you highlight a link in a webbrowser control?

    I don't know if you really want to add that link to the browser's history or if you just want to imitate it by coloring it? The second option would be something like this: :)
    Dim i As Integer

    For...
  25. Re: WebBrowser Control and XP Visual Style

    Check out the last post in this thread. :)
  26. Replies
    6
    Views
    674

    Re: Anyone help? Working with IE using VB?

    The best way to go is to create a plugin for IE, although that is quite difficult to do. Here is an example of such a toolband, try it out.

    Then, when your app is displayed inside the IE toolbar,...
  27. Re: Compile error: User-defined type not definded

    Go to Project > References and add 'Microsoft HTML Object Library'. :)
  28. Re: Disable No right click for webbrowser component

    I wouldn't use the WebCustomizer if I were you. It caused me some problems with other functions of the browser control.

    Try this. Add "Microsoft HTML Object Library" as a reference. :)
    'Global...
  29. Replies
    3
    Views
    409

    Re: Who can claim the title - FontMaster ?

    Did you try What The Font and similar font search engines? :)
  30. Replies
    10
    Views
    1,240

    Re: WebBrowser Control list box help

    Your code looks correct, for the largest part. You can remove the 'If HTMLTag.tagname = "select"' condition since that selection is already made by the Select Case statement.

    I didn't run your...
  31. Replies
    20
    Views
    27,940

    Re: How control web component in VB6

    Hi Kati,

    I'm glad to tell you I've found the error in your code. Actually your code was correct, but you called it from the wrong document. Let me explain; the whole page consists of a frameset...
  32. Replies
    3
    Views
    479

    Re: WebBrowser Control

    So you want to call that function from within VB? Use the execScript function; call it from WebBrowser1.Document. I don't know by heart how to pass the parameters but I remember doing it before, so...
  33. Re: hmmm MouseMove in webbrowser control

    This is probably the easiest way to go. :)

    Add 'Microsoft HTML Object Library' as a reference.
    Option Explicit

    Dim WithEvents objDocument As HTMLDocument

    Private Sub Form_Load()
    ...
  34. Replies
    16
    Views
    858

    Re: Web Browser - Infinate loop

    Well, apparently the NavigateComplete2 event is never triggered. The browser control should do that when the page has been loaded. It seems the page never finished loading. Try your code with another...
  35. Re: Scrolling an IE window after page finishes loading?

    Using a module-declared boolean; set it to True before navigating to the page and set it to False in the NavigateComplete event. Then use a loop to check for the value.
    Private Sub YourSub()...
  36. Re: Scrolling an IE window after page finishes loading?

    Looks like that should work... are you sure the page has been loaded completely? The readystate property doesn't always work that well. Do you get an error or doesn't anything happen?

    You can try...
  37. Re: how to check if a particular webbrowser exists?

    If Not wb(1) Is Nothing Then
    'Exists
    End If:)
  38. Replies
    10
    Views
    838

    Re: Windows XP Icons

    I remember there being a petition on MSDN several months ago, asking for a new set of 32-bit icons. Many signed it and Microsoft said it would be included with Visual Studio 2005. Perhaps it's...
  39. Replies
    8
    Views
    753

    Re: Webbrowser Access Problem

    Well, the example posted by Microsoft doesn't do much, except for some in-site element parsing. How have you managed to access the other frames? Do you know how to use the frames collection?
    ...
  40. Replies
    5
    Views
    471

    Re: web browser links

    Try this: :)
    Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)
    Dim frmBrowser As Form1
    Set frmBrowser = New Form1

    Set ppDisp = frmBrowser.WebBrowser1.Object...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width