Search Results - VBForums

Search:

Type: Posts; User: iamcpc

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. VS 2008 Re: question about why one code works and the other does not

    My jobs run on pc computers so I perfer the readystate loops. The problem is that the readystate loop stops functioning as intenended when I want to handle the IE newwindow event. How can I handle...
  2. VS 2008 Re: question about why one code works and the other does not

    I could write this code on excel in VBA and it would work with the busy loops and application.doevents(). The problem is that I need to interact with a website's popup window. I log into website A...
  3. VS 2008 Re: question about why one code works and the other does not

    Oh and I tried using the document completed event and, it turns out, that the document is completed several times before i'm logged in so my readystate/busy loop will wait but the document completed...
  4. VS 2008 Re: question about why one code works and the other does not

    How can I add an event handler on a com object?
  5. VS 2008 Re: question about why one code works and the other does not

    [QUOTE=Merrion;4621085]Doe sit happen if you omit WithEvents?QUOTE]


    if I change:


    Public IE2 As SHDocVw.InternetExplorer

    IE2 = New SHDocVw.InternetExplorer
  6. VS 2008 Re: question about why one code works and the other does not

    If you read the title of the post it says, and i quote, "question about why one code works and the other does not". I find that, consistantly on these forums, when I have a question the question gets...
  7. VS 2008 question about why one code works and the other does not

    What is the difference between these two? Why is adding an event handler to an Internet explorer window causing the thread to wait for the UI thread?


    Code A:
    -Public WithEvents IE2 As...
  8. Replies
    26
    Views
    646

    Re: Looping on error?

    For me it's not an option to have the webbrowser on a form. What is the difference between a wait for the document completed event and wait for the webpage to load? It's waiting both ways.
  9. Replies
    26
    Views
    646

    Re: Looping on error?

    1. I don't know how to handle the document completed event on an internet explorer object that I have created.
    2. What is the difference between saying Wait for the document completed event and...
  10. Replies
    26
    Views
    646

    Re: Looping on error?

    I agree 100% but I don't know how to handle waiting for an internet explorer webpage to load without these spinning wait loops.


    Do While IE.readystate <> 4
    Loop
    Do : Loop Until IE.busy = False...
  11. Replies
    26
    Views
    646

    Re: Looping on error?

    If you're gettin information from a website i assume that you have some wait loops for waiting for things like the website to finish loading.

    That's not the way that I would do it but it's how...
  12. Replies
    26
    Views
    646

    Re: Looping on error?

    restartloop:
    try
    for x = 1 to 100

    'this is your loop
    next x
    catch
    goto restartloop
    end try
  13. VS 2008 Re: Questions about interacting with printer/page setup when printing a webbrowser wi

    Now is it possible to intercept this print event so I can use the attached code to put the correct header


    My.Computer.Registry.SetValue("HKEY_current_user\software\Microsoft\Internet...
  14. VS 2008 Re: Questions about interacting with printer/page setup when printing a webbrowser wi

    I found this http://www.vbforums.com/showthread.php?552813-web-browser-print which helped the the document which are being printed directly off of the webbrowser. Some documents open in the...
  15. VS 2008 Questions about interacting with printer/page setup when printing a webbrowser window

    Currently we have people who are printing websites for item pricing on invoices. The item pricing and invoice information is only available on several different websites. I have an application that...
  16. VS 2008 Re: Errors working with internet explorer

    I wound up calling this thread that uses the additional frames on the IE document from the UI thread which solved the problem.
  17. Replies
    2
    Views
    316

    VS 2010 Re: How to make this program?

    So you're wanting to use this form to write information into a database and then query that database to compare this week to last week? Depending on how many orders there are you could build the...
  18. Replies
    9
    Views
    295

    VS 2008 Re: Application not working for telecommuters

    Now when your app has a datasource that's on a Microsoft Access database how would the app pull information from it? I guess we would have to transition the data sources to sharepoint or a server?
  19. Replies
    9
    Views
    295

    VS 2008 Re: Application not working for telecommuters

    You're correct. If I explain that my application won't load because VPN makes everything 100 times slower they will say that my application is not supported by the help desk.
  20. Replies
    9
    Views
    295

    VS 2008 Re: Application not working for telecommuters

    I agree but I don't know how I would go about installing something on 50 computers that are spread all over the country. Also If I install a hotfix or an expasion would I then have to do 50...
  21. Replies
    9
    Views
    295

    VS 2008 Re: Application not working for telecommuters

    My home network is faster than my work network. If I have my laptop on wifi at work (which is slower than my home network) It will take me 10 minutes to copy a 1 GB database from the shared drive to...
  22. Replies
    9
    Views
    295

    VS 2008 Application not working for telecommuters

    I have an application and datasource that i've published to a shared network drive.

    End users use the application via a shortcut that's on their desktop.

    We have a team of telecommuters who...
  23. VS 2008 Re: struggling to understand tableadapter/datagridview/bindingsource/dataset

    Here's the code that I got for this to finally work! Thank you so much for the help!


    DataGridView1.DataSource = Me.Lucky7TimelyFilingBindingSource
    'this changed the data that's bound to the...
  24. VS 2008 Re: struggling to understand tableadapter/datagridview/bindingsource/dataset

    This is perfect! There's now one issue that I'm having. I can click a button and fill the datagridview with data from different tables. The lucky 7 timely filing tableadapter has an extra column of...
  25. VS 2008 [RESOLVED] struggling to understand tableadapter/datagridview/bindingsource/dataset

    I read about these things and it does not make any sense to me at all. From my perspective the dataset/tableadapter/bindingsource come togethter to form the datagridview in the same way that the...
  26. VS 2008 Re: Errors working with internet explorer

    Anyone at all have any ideas or can help me understand why starting this code from a non UI thread has problems interacting with an Iframe on a website?
  27. VS 2008 Re: Errors working with internet explorer

    I don't understand what you mean. What does passing a variable to the thread have to do with not being able to interact with an input box?
  28. VS 2008 Re: Errors working with internet explorer

    The difference is that the navigating of IE is happening on the UI thread of the working application. On the application where it does not work the navigation is happening when the UI thread starts...
  29. VS 2008 Re: Errors working with internet explorer

    Yeah I read that but I have no idea what to declare the default property of. I'm wondering why there's two seperate errors.
  30. VS 2008 Re: Errors working with internet explorer

    I put the error in comments in my code. I'll put it again.

    doc.frames(1).document.getelementbyid("username").value = username
    gives this error: Interface 'mshtml.framescollection' cannot be...
  31. VS 2008 [RESOLVED] Errors working with internet explorer

    i have an application that will log into a website and it works on one application. I'm building a job to scrape data off of the website but the code which was working in one application is not...
  32. VS 2008 Re: struggling with error handling when a website does not load

    So I have my timer check to see if IE is busy. If IE is busy is not busy and the timer is beyond a certain number then the timer can look for specific things on the website! It's perfect. Thank you...
  33. VS 2008 Re: struggling with error handling when a website does not load

    I'm using the microsoft internet controls object library and the microsoft html object library. I don't know if it would work because when I navigate to a website that's down it get's stuck on the...
  34. VS 2008 Re: struggling with error handling when a website does not load

    All security and java related pop-ups are accounted for. That's not what i'm asking about. I'm asking about how to I write error handling when the website loads and it says "The webpage cannot...
  35. VS 2008 Re: struggling with error handling when a website does not load

    This application is not controlling a webbrowser on a windows form it's controlling a seperate internet explorer window.
  36. VS 2008 struggling with error handling when a website does not load

    My application is navigating an IE window to a website.


    IE.navigate("https://secure.myhfs.illinois.gov/revs/revsInquiry.do?command=REVS")

    Do : Loop Until IE.readystate = 4
    ...
  37. Replies
    5
    Views
    364

    VS 2008 Re: help filling out an HTML form

    I found out what the problem was finally! The element that i was trying to interact with was on an iframe!

    IE.document.frames(1).document.getelementbyid("username").value = idpa2_user

    worked...
  38. Replies
    5
    Views
    364

    VS 2008 Re: help filling out an HTML form

    IE.document.getelementbyname("password").value = idpa2_pw

    returns:

    "public membmer 'getelementbyname' on type 'htmldocumentclass' not found."
  39. Replies
    5
    Views
    364

    VS 2008 [RESOLVED] help filling out an HTML form

    I'm trying to fill out the username and password form on the website: https://secure.myhfs.illinois.gov/login/AuthenticateUserRoamingEPF.html


    the user name and password html is :


    <td><input...
  40. VS 2008 Re: question about tableadapter/datagridview/bindingsource

    I clicked on my datagrid view and I set my datasource to none. When I set the datasource to none on my datagridview there were no columns to remove. I then reapplied the datasource to my datagrid...
Results 1 to 40 of 103
Page 1 of 3 1 2 3



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.