Search results for query: *

  1. C

    Rectangle Co-ordinates.

    Drawing Circle. Hi, I am allowing users in my application to draw an elipse by dragging with the mouse. My code is below. The problems are: 1. I want them only to be able to draw a circle(this is for a tool to create HTML imagemaps) 2. I want to get that circle's centre point and radius when I...
  2. C

    Drawiing shapes & getting their co-ordinates?

    Hi. I'm completely new to image editing with vb.net. What I want to do is to create a tool to help the user create imagemaps for HTML pages. So bascally, I want the user to select a shape(square, circle, or polygon) from DropDownList1, and then be able to draw that shape on a picturebox(Pic1)...
  3. C

    Finding element represented by treeview node?

    OK. I have set the .Tag of every node to the HTML Element, so in the above code I use "objNewNode.Tag = objChild". Now is there any way to juuse the webbrowser control to locate that element in the source code(i.e. where the tag begins?) Then it would be a simple matter of setting the...
  4. C

    Finding element represented by treeview node?

    Oh, sorry about forgetting to mention that. I was starting to try, but one thing I don't understand is: I don't understand what you mean by that. What do you mean by a "referece to the html node"?. Also(and I don't mean to insult your idea(it's smarter than my no idea!), but I have often seen...
  5. C

    Finding element represented by treeview node?

    I update it every time the user tries to view this treeview.
  6. C

    Finding element represented by treeview node?

    Basically, I load the HTML, which the user types into a RichTextBox, into WebBrowser1, and then use this code to show all the elements of WebBrowser1 on a TreeView: Private Sub WebBrowser1_DocumentCompleted(ByVal sender As Object, _ ByVal e As...
  7. C

    Problem with MSHTML.

    Actually you're right - I'll re-read that post to refresh my memory & get back to you. But for now, can you work out any reason why the code at that vbCity thread is not working for me? If the WebBrowser control uses MSHTML, and I am trying to get the properties of a WebBrowser element, surely...
  8. C

    Problem with MSHTML.

    Thanks! I tried that, and the person who gave me this code even gave me his entire project via email. But it works on his computer, not mine. if you read the last page or so of that vbCity thread you will see that no conclusion was reached on why this is happening. I was hoping that with the...
  9. C

    Problem with MSHTML.

    Hi. I have been given this code, which should give the properties of a HTML Element, but it WILL NOT WORK for me! Try it. Create a new form, with a webbrowser & a propertygrid, and here is the complete code: Imports System.ComponentModel Public Class Form1 Private Sub Form1_Load(ByVal...
  10. C

    Finding element represented by treeview node?

    Hi, I am making a HTML Editor, and in it I have what I call an "Elements Treeview", which is basically just a TreeView view of your doocument, e.g. there will be a node for the body tag, and then child nodes for all tags inside that, then child nodes for all tags inside those, and so on. Now...
  11. C

    Can someone convert this code(VB6 To VB.NET)?

    Yes, and I will do that, but could someone please convert it anyway? At the very least I could learn & get new ideas from a working sample.
  12. C

    Can someone convert this code(VB6 To VB.NET)?

    Hi, I have already found code for what some of you may have thought impossible - masking characters typed in an inputbox by replacing them with "*" The problem is it's in VB6, and in VB.NET I get errors I don't understand such as "As Any satement is not supported" and I don't understand the code...
  13. C

    Seperate certain items from an array?

    Hi, I am making an application where I want to provide an autocomplete listbox, so if the user types "ab", it will show all strings in my array that start with "ab". I know how to find the first item in an array that begins with a string, but how can I seperate all strings beginning with "ab"...
  14. C

    Password Recovery Email text

    You'll need to use web.config to change password strength rules.
Back
Top