Search results for query: *

  1. W

    Multi Form App in VB.NET

    From my main form, in a combo box, I call a second form like this: dim NewForm as form2 NewForm = new form2 NewForm.show After the user completes their work in form2, I need to get back to form1. How can I do this? If I do this from form2... dim OrigForm as form1 OrigForm = form1 form1.show...
  2. W

    help on forms. loading n calling

    You can do something like this From form1 dim frm as form2 frm = new form2 frm.textbox1.text = "Your Value" 'control on form2 then from form2, the same thing dim frm as form1 frm = new frm1 frm.textbox1.text = "Your Value" 'control on form1 If memory serves, this will NOT 'close' form1...
  3. W

    Outlook email in VB.NET causes error

    Nevermind...figured it out. I had to add the Microsoft.Office.Interop.Outlook assembly to the C:\WINDOWS\ASSEMBLY directory...then it worked.
  4. W

    Outlook email in VB.NET causes error

    When I run this code on my PC, it works fine - I send the email to myself and it works. But when I deploy it to another PC, it gives me some Microsoft.Office.Interop.Outlook dll error. I'm assuming I need to make a setup project for deployment purposes; but what dll/files do I need to add...
  5. W

    Form losing focus stops counter

    Cool, this ought to work! Thanks again...
  6. W

    Form losing focus stops counter

    Hey, thanks for the quick response. After studying that post/code, it looks as though the application will "pause" if it loses focus. Is that true? Is there a way to keep it running? Thoughts... Ben
  7. W

    Form losing focus stops counter

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim i As Integer = 1 For i = 1 To 100000 Me.Label1.Text = Str(i) & " of 100000" Me.Refresh() Next End Sub When I click my Button1 and then...
  8. W

    How can I convert an HTML page to an image file; like a BMP?

    Well I figured out how to capture the Web Browser, scroll down a page, capture again, and continue until I'm at the end. Then I just concatenate all the images together into one. It's "flashy" and a "tad too early 90s", but it works. Anyone have a method of capturing the Web Browser in one...
  9. W

    ASCII to EBCDIC - Dealing with COMP3 fields using VB.NET

    I'm sending data to the mainframe using a CICS buffer in VB.NET and I need to figure out how to send it COMP-3 fields (packed data). Does anyone know how this might be done? Thanks in advance, Ben
  10. W

    Combine Images in VB.NET

    I'm looking for source code in VB.NET on how to concatenate two bitmaps together, top and bottom. I've tried using the BitBlt function but can't quite seem to get it. Thanks in advance, Ben
  11. W

    How can I convert an HTML page to an image file; like a BMP?

    Trouble in Rivercity...still need solution, HELP!
  12. W

    VB.NET - Multi-colored listbox

    I'm programatically adding items to my listbox in vb.net and would like to change the color of a line to red if its an 'important' item. Does anyone have any code snippets on how to change the color of a particular line in a listbox; or upon adding it if there is a way to set the color? Any...
  13. W

    Send keystrokes to webpage

    I’m looking for some code snippets on how to identify and change the value of a text box within a webpage in VB.NET and Internet Explorer. I’m using the axWebBrowser control on my form to display the web page and then do a directcast of my axWebBrowser to get my HTML doc. Dim doc As...
  14. W

    How can I convert an HTML page to an image file; like a BMP?

    I'm actually replying to my own post in hopes of generating a possible solution. Here is the code I have thus far... Dim doc As mshtml.HTMLDocument = DirectCast(Me.AxWebBrowser1.Document, mshtml.HTMLDocument) Dim bodyElement As mshtml.IHTMLElement Dim render2 As IHTMLElementRender...
  15. W

    How can I convert an HTML page to an image file; like a BMP?

    I need to convert an html web page to a document, preferably a tiff. I am able to get a 'screen capture', capture specific images, and capture the raw text on an html page. But I would like to capture the whole HTML page, even if there is more to see upon scrolling down. HTML capture to BMP...
Back
Top