VS 2008 .Net Screen Scraper?

Aug 24, 2010

I wrote a quick web screen scraper in VB.Net. I couldn't believe how incredibly easy it was to do! Now I have all of this HTML that I can parse, peruse, and purge. I have access to this one site in particular. It requires a login and password, both of which I have.

Here is the problem: I want to log into this site programatically, that is, pass the userid and password from my program. Without this, I cannot get to the screens that appear after a successful login is completed.

I am thinking that the way to get around this limitation is to somehow TRAP what the site passes from my browser session to its server. Then I can simulate that action from within my program.Before anyone raises an eyebrow... no, I am not trying to hack anything. I just want to process the screens that come up after I log in!

View 8 Replies


ADVERTISEMENT

Write A Screen Scraper?

Feb 7, 2009

I am trying to write a screen scraper. I found this code online that returns the html from a webpage. The page I would like to retrieve text from uses javascript, so when I run this on the URI all I get back is javascript and no text.

Imports System.Net
Imports System.IO
'Imports System.Text

[Code].....

View 5 Replies

Create A Screen Scraper App With Program?

May 19, 2010

At my company we use Auto Hotkey to do screen scrapes, I was wondering if there is a way to do something similar but with VB? Obviously it wouldn't be a win forms app as it's more of using send keys and mouse movements and cutting and pasting from the host software.

View 5 Replies

VS 2008 - Threadpool Example For Scraper

Mar 9, 2012

can somebody give ThreadPool example for application thats needs to get information to datagridview from thousands of sources? My application needs to work fast and without freezing and lag, but I cant figure out this threadpool thing. And would be nice if you could add this thing to example that when I set domainupdown value to 25 as example, it sets threads to 25. So its making work 25x faster. I haven't find any good example for this, only some C# examples but they haven't work after i converted those to vb.net.

View 1 Replies

Scraper/ And External Data

Sep 3, 2009

Can someone just give me direction on how i could scrap this data and then make it submit the information to a form in my admin panel or via MySql. I just need to get title,url,desc, and Category.

View 1 Replies

VS 2008 Draw Directly On The Screen (not On A Specific Window) Just On The Screen?

Jul 1, 2009

I send a message a while ago and no one answerd, how can I draw directly on the screen (not on a specific window) just on the screen, neither if it's on the desktop or anything else.Is there is any option to bring up the switch between applications window (Alt + Tab), I don't want to use sendkeys because the user need to keep the key down and I just want the user to select the application with his mouse.

View 3 Replies

VS 2008 Screen.GetWorkingArea And PointToScreen - Dual Screen ?

Mar 28, 2009

I have a button btnRegEx that when pressed shows a ContextMenuStrip, similar to the '>' button in the Find/Replace dialog in Visual Studio when you are using Regular Expressions. I have a ContextMenuStrip cms which I show using its Show(x,y) method.

At first I was simply setting x and y (the location of the ContextMenuStrip) to some point next to the button, but I noticed that when the button is close to the edge of the screen it goes off screen. I wanted to prevent that so I built some logic into the x-y calculation. When the ContextMenuStrip width is larger than the 'remaining space left' I simply show it more to the left. Same for its Height of course. I am using the Screen.GetWorkingArea(point) method to determine the 'remaining space left'. As I understand it, it returns the working area closest to the point you specify (to which I pass the button's location).

As long as I stay on my first monitor, it is all working perfectly fine. The problem occurs when I move the form to my second monitor. The contextmenustrip is still showing on the first monitor for some reason...

Here is the code I am using:

vb.net Private Sub btnRegEx_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRegEx.Click
Dim p As Point = PointToScreen(New Point(btnRegEx.Left, btnRegEx.Top))
Dim x, y As Integer

[CODE]...

I have noticed that when I click the button when the form is on the second monitor, the buttons location (p) is calculated with the first monitor's top-left corner as (0,0), even though it is on the second monitor. This way, the GetWorkingArea function returns something like 1280, while the buttons x-location is something like 1700... So, how do I get the buttons coordinate relative to the actual screen it is on, rather than the entire dual monitor screens as a whole?

View 3 Replies

VS 2008 Screen Flipping - Invert The Screen

Apr 27, 2009

Is there any way to invert the screen. For example, making upside down or having mirror effect?

View 1 Replies

Screen Blanks After 1 Min Of Processing (of Excel File) / Refresh Or Freeze Screen To Avoid Blank Screen?

Jun 29, 2011

BTW this issue occurs in any MS office program when the VB.Net (or even VBA) is processing information.Example: In Excel, a worksheet is displayed on the screen. I start either, a VB.Net or VBA procedure and within 30 seconds the Excel worksheet (previously displayed) blanks out. In both VB.Net and VBA,ScreenUpdating = False. My expectation is that the previously displayed screen would stay static as if I left my desk to get a cup of coffee; came back and the same ole Excel worksheet was still there?Of course, setting VBA Screen Updating = False accomplishes two goals: 1) speeds up processing and 2) saves the user from seeing unnecessary "garbage-processing" steps.Why does VBA or VB.Net ScreenUpdating = False not freeze the screen at the time of its invoking?

View 11 Replies

.net - Taking Photo Of Screen - Take A Picture Of The Entire Screen, Not Just The Focused Window?

Jul 6, 2011

Currently I have the following VB.NET code to make a screenshot of my desktop, but it only takes a picture of the active screen:

Public Function SaveScreen(ByVal theFile As String) As Boolean
Try
SendKeys.Send("%{PRTSC}")[code].....

The following code is how I execute the above function, if it makes any difference, which I don't think it does:

SaveScreen("C:Lexer_tracescreen.png")

Now, I need to be able to take a picture of the entire screen, not just the focused window.

View 4 Replies

Putting VB Content In The Center Of A Full Screen With Variant Screen Size?

Feb 2, 2012

Now I'm creating at app in VB (Microsoft's, Visual Basic 2010) which will be in full screen but I want to know if I can put all my content in the centre of the screen. At the moment it's at the far top, left of the screen. When the screen size varies I want it will stay in the middle for all shapes and sizes. Like :

<div style="margin: 0 auto; width: 500px;"></div>

But this is for web pages using HTML and CSS.

View 1 Replies

Get Coordinates On Screen By Holding Down Mouse And Placing It Over Different Parts Of The Screen

Feb 29, 2012

I'm trying to get coordinates on my screen by holding down my mouse and placing it over different parts of the screen. I'm using the mouse_up and down events in a button to kinda simulate the mouse being held down. The problem I'm running into is that anytime I go past the button's bounds, the coordinates I want stop. This is what I have so far:

[Code]...

View 2 Replies

Screen Flickering When Updating The Entire Screen Or Moving Around Controls

Sep 6, 2009

Sometimes when updating the entire screen or moving around controls etc, there is some fairly bad screen flickering.

View 2 Replies

Screen Size - Screen On My Netbook Is Only 1024x600 And Half My GUI Is Missing

Feb 8, 2011

I have created a GUI and have set my 'Form1' window to match that of my PC monitor ( 1280x1024 ). However when i move the project to work on my netbook, the screen on my netbook is only 1024x600 and half my GUI is missing. Is there any way i can adjust my settings so that my 'Form1' GUI will auto adjust and display in full on both screen when i move the project back and forth?

View 2 Replies

Splash Screen That Displays For 3 Seconds Then Shows A Login Screen

Dec 20, 2009

I'm coding a splash screen in VB.Net that displays for 3 seconds then shows a login screen. But the splash shows up even when login shows and I have told the splash to hide. Here is my code:

[code]...

View 3 Replies

[2005] Multi-Screen Application - Control Each Screen Separately?

Jun 23, 2009

im about to develop a small appliacation for a bet system, which needs 6 screens, each screen will be a touch screen for each client... the application will be running in one computer only just with 6 screens. my question is does anyone knows how to control each screen separately?. somethign that would allow me to output each forms in different screens would work fine.

View 2 Replies

Create An Overlay Screen On A Full Screen Application?

Feb 18, 2010

I am making a program that will put a black mask over an application (like a full screened game). This black mask will fade in and out, depending on certain criteria. Is there a way I can do that with VB? It's to help me dim my monitor without having to push anything.

View 3 Replies

Make A Screen Recorder (not Screen Capture) Program

Aug 20, 2010

I wanted to make a screen recorder (not screen capture) program, but I am not entirely sure how to get it started. I have seen many videos and things on how to make one, but all of these just take multiple pictures and then don't compile them into a movie file, and I don't want to take many pictures (unless that is the only way possible.) I am using Visual Basic 2010 Express and I have looked at the Windows Media Encoder, but I can't seem to figure out how to use/implement it (yes, I have downloaded and installed it.) Maybe I can use some kind of ActiveX control?

View 3 Replies

Multiple Screen Management - Appear All Screens (if Any) Other Than The Primary Screen

Sep 18, 2011

In my project is a form called "Secondary". It is suppose to appear on any and all screens (if any) other than the primary screen. The following code seems pretty logical to me, but Secondary is not appearing on any screen.

[Code]...

View 6 Replies

Screen Saver On Appears On Taskbar And Will Not Fill Whole Screen

Sep 30, 2009

How can I get my screensaver to fill the whole screen. it has in the past but, just quit working several months ago. I have Windows Vista

View 1 Replies

Screen Recorder In VB 2008?

Aug 12, 2008

I want to make a screen recorder that takes a screenshot of the screen every so often then compresses the image to an .avi file.This code is what I have made. It doesn't work and I don't really know how to make it work.

[Code]...

View 3 Replies

VS 2008 Add Splash Screen?

Aug 4, 2010

Will adding a Splash Screen improve my Application's Loading Time? If yes, how do I make a Splash Screen with a Progress Bar that shows how much of the App is loaded?

View 4 Replies

VS 2008 Change Screen Res?

Dec 21, 2009

I was wondering how i could change the screen resolution... however I have a few additional requirements..The screen number needs to be passed in (for people with multiple screens)The resolution should be reverted when the application is closed - EVEN IF IT CRASHES - or is killed with "end process tree" (ie no code required to execute to change it back) - like games do Needs to not stuff up desktop icon locations when changing to a smaller resolution

View 4 Replies

VS 2008 Draw On Screen?

Aug 21, 2010

asking something like this i know it get's asked alot but i haven't found any code for this or i didn't look good enough. My internet is super slow so it is hard to browse the net , Anyways i want to draw on the screen just like when you draw on your form with graphics how would i accomplish this ? if anyone could provide some code or a link that shows a little about it that would be great,

View 2 Replies

VS 2008 Login Screen?

May 8, 2010

I'm using DataSource. I got LoginDialog.vb Theres:

Table:
accounts
Row:
username
password

If authenciation is succesfully (Like user&password is correct)then will be returned to Dialog1.vb

View 39 Replies

VS 2008 Windows Welcome Screen

Oct 10, 2009

Some programs display a window, like some antivirus programs, at the windows welcome screen. This is before anybody has logged in.I want to do the same thing. I am creating a security program that can be used for maybe a library to monitor the computer and/or block webpages (That's another thread!).Anyhow, how would I be able to have my program run before anybody logs on. Would it have to be a Windows Service? How could I get it to be running in safe mode, too.

View 6 Replies

[2008] Get Certain Pixels From Screen

Feb 14, 2009

i made this class to get certain pixels from screen:

[Code]...

Now i have lets say and array of pixels Example: Pixel 1 position X:100 Y:200 Red: 200 Green: 30 Blue: 40 Now i need to search all the sreen to find that pixel witout knowing its position. I need to have an output of number of results found and their position tnx.

View 9 Replies

VS 2008 - Capture A Part Of The Screen?

Jan 24, 2010

I'm doing program that I can capture a part of the screen. Heres code, I don't know why it's not working.

[code]...

View 11 Replies

VS 2008 - MousePosition To Use Stage As 0 (Not Screen)

Dec 4, 2009

What I'm trying to do is to get the X and Y position of mouse but not starting from the screen upper left corner but the stage's upper left corner. Right now all I got is:
mouseCoordsLabel.Text = ("X: " & MousePosition.X - Me.Location.X & " Y: " & MousePosition.Y - Me.Location.Y)
But it gets the upper left corner of form, not stage. Is there any way I could get the width and height of the borders that the form uses?

View 4 Replies

VS 2008 - Place Mouse At The Top Of Screen

Mar 4, 2010

If i place my mouse at the top of my screen , anywhere on top, i want my program to show. how would i do this?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved