Need help with an automating a "Message from webpage" click.

Any help would be appreciated. I guess I would consider myself as a beginner with VB.NET.
Basically - My program launches an internet explorer window. Points to a specific webpage that has records. Finds the "check all" and clicks it, then finds and clicks "delete".
I am stuck at this part. A "Message from webpage" pops up wanting to confirm the deletion of the records. I have 50 records per page and an excess of 14,000 records each day that need to be deleted. I do not have time to click OK on every single
page.
I have tried to sendkey function, which worked for a while but for some odd reason, it quit working. Someone suggested using API, which I know nothing about. Please help me! I am desperate!
Here is my code. I know the "threading.thread.sleep" isn't good to use but I need someway to pause. Like i said, I am a beginner, so please be easy!
Public Class Form1
Dim oInputs As Object
Dim oWShell As Object
Private Sub btndel_Click(sender As Object, e As EventArgs) Handles btndel.Click
With CreateObject("InternetExplorer.Application")
.visible = True
.navigate("WEDPAGE GOES HERE!")
Threading.Thread.Sleep(3000)
oInputs = .document.getElementsbytagname("a")
For Each elm In oInputs
If InStr(elm.innertext, "(Un)Check All") > 0 Then
elm.click()
Exit For
End If
Next
For Each elm In oInputs
If InStr(elm.innertext, "Delete") > 0 Then
elm.click()
Exit For
End If
Next
Do While .busy Or .readystate <> 4
Threading.Thread.Sleep(2000)
Loop
End With
Dim objShell = CreateObject("WScript.Shell")
Dim Success = objShell.AppActivate("Message from webpage")
Do Until Success = True
Threading.Thread.Sleep(1000)
Success = objShell.AppActivate("Message from webpage")
Loop
Application.DoEvents()
AppActivate("Message from webpage")
SendKeys.Send("{ENTER}")
End Sub

Hi msnyder1112,
Thank you for posting in MSDN forum.
Since this issue is related to the VB.NET, so we will move this case to VB forum:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral , you will get better support.
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • I need help with controlling two .swf's from third.

    Hi, thanks for reading!
    I need help with controlling two .swf's from third.
    I have a problem where I need to use a corporate designed
    .swf in a digital signage solution, but have been told by the legal
    department that it can not be modified in any way, I also can't
    have the source file yada yada. I pulled the .swfs from their
    website and I decompiled them to see what I was up against.
    The main swf that I need to control is HCIC.swf and the
    problem is it starts w/ a preloader, which after loading stops on a
    frame that requires user input (button press) on a play button,
    before the movie will proceed and play through.
    What I have done so far is to create a container swf,
    HCIC_container.swf that will act as Target for the HCIC.swf, and
    allow me to send actionscript to the file I'm not allowed to
    modify.
    I managed to get that done with the help of someone on
    another forum. It was my hope that the following script would just
    start HCIC.swf at a frame past the preloader and play button, and
    just play through.
    var container:MovieClip = createEmptyMovieClip("container",
    getNextHighestDepth());
    var mcLoader:MovieClipLoader = new MovieClipLoader();
    mcLoader.addListener(this);
    mcLoader.loadClip("MCIC.swf", container);
    function onLoadInit(mc:MovieClip) {
    mc.gotoAndPlay(14);
    But unfortunately it didn't solve my problem. Because there
    is a media-controller.swf, that is being loaded by HCIC.swf that
    has the controls including the play button to start HCIC.swf.
    Here's a link to a .zip file with all 3 .swf files, and all 3
    .fla files.
    http://www.axiscc.com/temp/HCIC.zip
    What I need to do is automatically start the HCIC.swf file
    bypassing the pre-loader and play button without editing it or the
    media-controller.swf in anyway. So all the scripting needs to be
    done in HCIC_container.swf.
    I know this is confusing, and its difficult to explain, but
    if you look at the files it should make sense.
    ActionScripting is far from my strong point, so I'm
    definitely over my head here.
    Thanks for your help.

    Got my solution on another forum.
    http://www.actionscript.org/forums/showthread.php3?t=146827

  • Question: Need help with overcoming the following message:  "Nothing was imported.

    Need help with overcoming the following message:  “Nothing was imported.  The file(s) or folder(s) selection to import did not contain any supported file types, or the files are already in this catalogue”.
    The photos being scanned are old film shots.  They have NOT been previously scanned.  I am using Photoshop Elements 9 software.
    QUESTION:  how do I override this STOP and or circumvent the photo comparison option????
    Thanks for the help. Bob K ---  [email protected]

      Are you scanning as jpeg, tiff or some other format?
    Are you using continuous numbering for files names as by definition scanned files have no exif data.
     

  • Need help with EXS24 "read velocity range from file name"

    I am trying to import 127 drum samples to a single key using the option shown here. The option says "Map to key dropped on and read velocity range from file name". I can find no documentation in the manuals on how to do this. What is the syntax required in the file name to make this work? I need to do several of these imports. The capability is cleary there, but I need help on how the file name should be formatted. My thanks to anyone who can help.

    Hi
    Not a direct answer to your question, but if you are doing a lot of sample mapping etc, you may want to check out Redmatica's KeyMap Pro or the simpler Keymap 1:
    http://www.redmatica.com
    CCT

  • Need help with an automator workflow to convert AAC files to MP3

    Hi
    I am trying to work out a way to automatically convert voice memos which I dictate on my iPhone to MP3 files when they are added to my iTunes library during a sync. Then I need the converted files to be in a specific folder so that they will trigger an auto-transcription program that I have running.
    From my limited knowledge of automating processes on my Mac it would seem that I need to design a workflow or a folder action in Automator. Probably a folder action would be best, as I could attach it to the 'Voice Memos' folder in my iTunes Music Folder. The converted MP3 files would be saved in the same folder and would then be recognised by the transcription program. I have tried to design a workflow/folder action using Doug's iTunes automator actions as follows, but it is not working as I would like. The workflow is as follows:
    Folder Action/Get Folder Contents/Choose encoder (MP3)/Convert Tracks/Choose encoder (apple lossless)/Restore Encoder.
    The folder action is triggered when I add AAC files to the folder I have attached the action to, but then I get an error message stating that 'no tracks have been sent to this action'.
    i would be grateful for any help to get this working using the automator method or another method
    thanks
    nick

    Start with http://discussions.apple.com/thread.jspa?threadID=2039384 and Introduction to Automator tutorial at http://automator.us/leopard/video/index.html

  • Need help with really odd console messages

    Aloha all, I'm attempting to track down some problems I've been experiencing. When I check my Console log it is constantly giving me these readings about applications I no longer have on my machine. How can I get rid of these, if I don't even have the applications? These readings are constant every couple of minutes. Any assistance will be very greatly appreciated!
    Example:
    03 18, 08 March 18, 2008 10:00:35 AM com.apple.launchd[1] (com.bombich.ccc.scheduledtask.C7782179-80A3-4D75-AAEC-158A4335CA95) Throttling respawn: Will start in 10 seconds
    03 18, 08 March 18, 2008 10:00:35 AM com.apple.launchd[1] (com.app4mac.CheckUpAgent[1409]) posix_spawn("/Applications/CheckUp.app/Contents/MacOS/CheckUpAgent", ...): No such file or directory
    03 18, 08 March 18, 2008 10:00:35 AM com.apple.launchd[1] (com.app4mac.CheckUpAgent[1409]) Exited with exit code: 1
    03 18, 08 March 18, 2008 10:00:35 AM com.apple.launchd[1] (com.app4mac.CheckUpAgent) Throttling respawn: Will start in 10 seconds
    03 18, 08 March 18, 2008 10:00:45 AM com.apple.launchd[1] (com.bombich.ccc.scheduledtask.C7782179-80A3-4D75-AAEC-158A4335CA95[1410]) posix_spawnp("/Applications/Carbon Copy Cloner.app/Contents/Resources/ccchelper.app/Contents/MacOS/ccchelper", ...): No such file or directory
    03 18, 08 March 18, 2008 10:00:45 AM com.apple.launchd[1] (com.bombich.ccc.scheduledtask.C7782179-80A3-4D75-AAEC-158A4335CA95[1410]) Exited with exit code: 1
    03 18, 08 March 18, 2008 10:00:45 AM com.apple.launchd[1] (com.bombich.ccc.scheduledtask.C7782179-80A3-4D75-AAEC-158A4335CA95) Throttling respawn: Will start in 10 seconds

    jettyboy wrote:
    Mahalo for the quick reply. I'm a bit timid about using the Terminal, when I typed it a warning message appeared telling me I could do some real damage and asked for my password is this normal?
    that's normal. Also, you won't see your password when you type it in.
    Those console messages indicate that you have some software from app4mac installed.
    This Checkupagent, perhaps? You might want to try uninstalling it.
    The launch agent com.app4mac.CheckUpAgent.plist was installed by this program. Also check to see if there is anything related in your login items in accounts preferences.

  • Need help with iphone 4s activation goes from hello to country to network and will not activate on network or itunes i am original owner with no  obvious problems with phone any ideas

    need any ideas on iphone trying to use again but now it goes from hello to country to network then tries to activate but on wifi and itunes both say sever unavailable any ideas?

    That message usually means that your phone was once connected to a different phone carrier than the one you're currently on.
    Then when you restore or updated the phone it locked back to the original phone carrier - this is caused when the phone was hacked to unlock it from the original phone carrier.
    Very rarely is the activation server unavailable.

  • I need help with an application error message

    AcroRd32.exe.- application error message appears. It states that   The instruction @"0x60006db6" referenced memory at "0x60006db6". The memory could not be "read". Click OK to terminate program.

    Please try to repair the Installation from control Panel-> Add Remove Programs-> Adobe Reader-> Repair.

  • Need help with the following error message...

    I just got a Shuffle for Christmas and was trying to download iTunes when I got the following message. FYI - I have a PC and the operating system is Windows XP:
    iTunesSetup[1].exe is not a valid Win32 application
    Anyone received this message before? I've looked around the troubleshooting section but am at a loss as to what to do from here...
    Thx

    I do have SR but hoping i can get quicker answer hereYou may always escalate the SR if you are not getting response timely. Anyways, give the reference of this thread in the SR and ask service engineer to file a bug.
    I will email you the wire messageI saw the wire message you mailed across. There are some junk characters in the starting of the payload and that's why parsing is failing. Most probably it is a BOM (Byte Order Mark). Ask your TP to send messages in UTF-8 encoding without BOM or any other junk character in the starting of the message. You may open the wire message payload you mailed across in notepad or textpad and you will able to see those junk characters in the starting of the payload.
    Regards,
    Anuj

  • Need help with extracting a faint reflection from a window with Photoshop CS6, from a jpg photo

    I was wondering what tools are needed to be used to extract a clearer image of a reflection in a photo.
    I am using Photoshop CS6 (64 Bit).
    I don't know what else I should add. Please ask, and I will answer as much as I know.
    Regards,
    Isa

    Semaphoric
    I asked the photo owner and was told that they don't want their picture posted in public. So, I can't provide that specific image.
    Perhaps if you may, could you please find a picture of a person reflected in a window (shopfront) and see if you can make the reflection of the person anymore clearer?
    Here, watch this video for a better idea of what I am after: CSI Magic
    I am the first to admit that this video clip is a far-fetched possibility (read, impossible from such a distance and angle), but a reflection from a much closer object (it was of a lady taking a photo around 2 metres/6 feet in front of a shopfront, to get her friend some contact details. She is [not so] clearly visible within the reflection), may be able to grab more of her details from the reflection.
    I almost feel like going out and taking a picture myself to describe the situation more thoroughly, as I believe the way I worded my initial request may be misleading, as chilecayenne seemed to be misled by it. However, if anyone else could take/provide such a photo, and post it up here, I would really appreciate it.

  • Need help with the following console messages...

    Hello,
    I wanted to know what these messages mean in the Console app. I've had two of these system errors in a row and I would like to know that they mean. They seem to be related to the GPU, and manifest by showing a color spinwheel followed by a complete system crash.
    What do you think?
    1/13/12 12:06:33.246 AM sandboxd: ([108]) DumpGPURestart(108) deny file-write-create /Library/Application Support/SubmitDiagInfo
    1/13/12 12:06:33.288 AM sandboxd: ([108]) DumpGPURestart(108) deny ipc-posix-shm apple.shm.notification_center
    1/13/12 12:06:33.289 AM sandboxd: ([108]) DumpGPURestart(108) deny ipc-posix-shm apple.shm.notification_center
    1/13/12 12:06:33.290 AM sandboxd: ([108]) DumpGPURestart(108) deny ipc-posix-shm apple.shm.notification_center
    1/13/12 12:06:33.291 AM sandboxd: ([108]) DumpGPURestart(108) deny ipc-posix-shm apple.shm.notification_center
    1/13/12 12:06:33.304 AM sandboxd: ([108]) DumpGPURestart(108) deny ipc-posix-shm apple.shm.notification_center
    1/13/12 12:06:33.322 AM sandboxd: ([108]) DumpGPURestart(108) deny ipc-posix-shm apple.shm.notification_center
    1/13/12 12:06:33.323 AM sandboxd: ([108]) DumpGPURestart(108) deny network-outbound /private/var/run/mDNSResponder
    1/13/12 12:06:33.324 AM sandboxd: ([108]) DumpGPURestart(108) deny file-read-data /private/etc/hosts
    1/13/12 12:06:33.325 AM sandboxd: ([108]) DumpGPURestart(108) deny file-read-data /private/etc/hosts
    1/13/12 12:06:33.343 AM sandboxd: ([108]) DumpGPURestart(108) deny ipc-posix-shm apple.shm.notification_center
    1/13/12 12:06:33.345 AM sandboxd: ([108]) DumpGPURestart(108) deny ipc-posix-shm apple.shm.notification_center
    1/15/12 8:34:16.596 PM sandboxd: ([128]) DumpGPURestart(128) deny file-write-create /Library/Application Support/SubmitDiagInfo
    1/15/12 8:34:16.638 PM sandboxd: ([128]) DumpGPURestart(128) deny ipc-posix-shm apple.shm.notification_center
    1/15/12 8:34:16.645 PM sandboxd: ([128]) DumpGPURestart(128) deny ipc-posix-shm apple.shm.notification_center
    1/15/12 8:34:16.647 PM sandboxd: ([128]) DumpGPURestart(128) deny ipc-posix-shm apple.shm.notification_center
    1/15/12 8:34:16.648 PM sandboxd: ([128]) DumpGPURestart(128) deny ipc-posix-shm apple.shm.notification_center
    1/15/12 8:34:16.649 PM sandboxd: ([128]) DumpGPURestart(128) deny ipc-posix-shm apple.shm.notification_center
    1/15/12 8:34:16.665 PM sandboxd: ([128]) DumpGPURestart(128) deny ipc-posix-shm apple.shm.notification_center
    1/15/12 8:34:16.667 PM sandboxd: ([128]) DumpGPURestart(128) deny network-outbound /private/var/run/mDNSResponder
    1/15/12 8:34:16.667 PM sandboxd: ([128]) DumpGPURestart(128) deny file-read-data /private/etc/hosts
    1/15/12 8:34:16.668 PM sandboxd: ([128]) DumpGPURestart(128) deny file-read-data /private/etc/hosts
    1/15/12 8:34:16.685 PM sandboxd: ([128]) DumpGPURestart(128) deny ipc-posix-shm apple.shm.notification_center
    1/15/12 8:34:16.686 PM sandboxd: ([128]) DumpGPURestart(128) deny ipc-posix-shm apple.shm.notification_center
    1/15/12 9:09:26.511 PM sandboxd: ([333]) DumpGPURestart(333) deny file-write-create /Library/Application Support/SubmitDiagInfo
    1/15/12 9:09:26.534 PM sandboxd: ([333]) DumpGPURestart(333) deny ipc-posix-shm apple.shm.notification_center
    1/15/12 9:09:26.536 PM sandboxd: ([333]) DumpGPURestart(333) deny ipc-posix-shm apple.shm.notification_center
    1/15/12 9:09:26.537 PM sandboxd: ([333]) DumpGPURestart(333) deny ipc-posix-shm apple.shm.notification_center
    1/15/12 9:09:26.539 PM sandboxd: ([333]) DumpGPURestart(333) deny ipc-posix-shm apple.shm.notification_center
    1/15/12 9:09:26.541 PM sandboxd: ([333]) DumpGPURestart(333) deny ipc-posix-shm apple.shm.notification_center
    1/15/12 9:11:30.625 PM com.apple.stackshot: Running fs_usage, spindump and top
    I know that my MacBook Pro is the one that has the 330m GPU that has given some problems under Mac OS X Lion. Would like to know if this can be related to the OSX Lion graphics issues in the 2010 MacBook Pros.

    Bump. Any suggestions or ideas? I really need them.

  • Need help with syncing ipod; managing iTunes from new laptop

    I have a new laptop with Win 8. I'm able to open my itune library, but not able to sync with my ipod nano.  I would prefer to manage my itunes from my laptop vs our old computer, as this computer is becoming obsolete. Does anyone know how to do this?

    What problem are you having?

  • Need help with the hover over images from small to bigger

    I read the tutorial about the hover over the small image shows a bigger image. I thought I would try it own my own but it did not work, do I need to make a link to the CSS file or do I need to do something different. Please help

    Here is the tutorial link:
    http://www.dreamweaverclub.com/dreamweaver-show-larger-image.php
    This is a pure CSS Image Swap without the need for JavaScript behaviors.
    It places the thumbnail image on a page with a "nolink" link or anchor so the  CSS hover rule can invoke the appearance of the larger  image inside  an absolutely positioned division (APDiv) layer.
    Paste the CSS code into the top of your page between the <head> and </head> tags.
    <style type="text/css">
    /**image to large**/
    #picture {width:100px; height: 250px; background-color:#ffffff;}
    #picture a.small, #picture a.small:visited { display:block; width:100px; height:100px; text-decoration:none; background:#ffffff; top:0; left:0; border:0;}
    #picture a img {border:0;}
    #picture a.small:hover {text-decoration:none; background-color:#000000; color:#000000;}
    #picture a .large {display:block; position:absolute; width:0; height:0; border:0; top:0; left:0;}
    #picture a.small:hover .large {display:block; position:absolute; top: 90px; left:150px; width:200px; height:200px; }
    </style>
    Paste the HTML code between the <body> and </body> tags:
    <div id="picture">
    <a class="small" href="#nogo" title="small image"><img src="small-image.jpg" width="125" height="83" title="small image" />
    <img class="large" src="large-image.jpg" title="large image" /></a>
    </div> <!--end picture-->
    Change small-image.jpg and large-image.jpg to your own.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Need help with a drop down menu from flash to Dreamweaver.

    I had this working once.  I am ping one you smart ones can help me out wuth this.  WHat am I doing wrong?

    Can you please give us a little more informationm about how it isn't working?

  • HT4993 I need help with an Activation Error Message on my Iphone 5

    Hi I am having Trouble with my IPhone 5
    It shows an Activation Error message

    The iPhone 5 says it can not connect to iTunes

Maybe you are looking for

  • Oracle 9.0.1 error on RH 133 9.01. Please help

    I am new to Linux please help me. This message occur while i run runInstaller. Xlib: connection to ":0.0" refused by server Xlib: No protocol specified java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPL

  • I find attachments to my sent mail which I didn't attached. I want to send you a 'print screen' example. The name of attachment only junk letters

    There is an unfamiliar attachment to some of my sent mail that I didn't attached. The little icon is something like a printer with a Windows blue-blocks window on top of it. It attach itself only sometimes - I cannot really form a pattern about why t

  • Programmatically search for a word in PDF file

    In the program I am developing, I am opening up a PDF file from the application. Is there any way to search for a particular word in the PDF file and move to the page containing the first occurance of that word in the PDF file programmatically? I am

  • Default dates for Data Warehouse

    We are currently building a data warehouse using Oracle 9i. We need to have values for default low dates and high dates eg to store in a closed date field for rows not closed. Any recommendations? The defaults must work correctly in tools such as Acc

  • Tab dilimited

    Hi,   I am working on an interface in 4.0b system. I want to create a tab dilimited file. Can any one tell me what should be the seperator in the concatenate statement. In 4.0b system CONSTANTS: con_tab TYPE c VALUE cl_abap_char_utilities=>horizontal