Application To Be Notified When A Webpage Changes?

Dec 18, 2010

I'm trying to write an application that will notify me when a webpage changes. I used a web browser form and it opens the main website fine. You have to click a submit button to get to the page that I need to track. After this page opens I copy the text I want to track into an input box and then I need to refresh the page every minute or so to see if the text changes.The problem I am having is I cannot get the page to refresh properly. I send the WebBrowser1.Refresh() command but my ap stops responding, but only sometimes. If the refresh works then I get a popup window where I need to send [enter] to get the page to

View 7 Replies


ADVERTISEMENT

Notified Of Date Change In .NET WinForms Application?

Dec 27, 2010

I would like to specify a function to be called in my VB.Net 2005 WinForms project at midnight when the system date changes. Is this possible?I know I could do this by setting a timer by setting the interval to midnight minus the current time, then after the first tick, setting the interval to 24 hours. I was wondering if there was a cleaner, simpler way.

View 3 Replies

VS 2008 SQL Server - Notified When A New Entry Is Added?

May 15, 2010

I have a VB.Net application that connects to a SQL Server database on my web host at GoDaddy. I'm wanting to use it for a chat program so that users can add messages to the database and then everyone else gets the new messages when it re-queries the database.

The only problem is that the only way to get the new messages is to re-query the database every # seconds.

Is there any way to have my program not re-query the database until an entry is added by another user?Would the SQL.SQLNotificationRequest be used for this?

View 7 Replies

Get Notified When List Of Custom Type Property Changed?

Mar 2, 2011

I have a class and one of the properties is a list of a custom class. The caller gets the list and is adding instances of class to the list. How do I get notified that the list has been updated?

Private _list as List(of MyType)
Private _totalField1 as Integer
Public Property MyTypeList As List(Of MyType)
Get
Return _list
End Get
Set(ByVal value As List(Of MyType))
_list= value
_totalField1 = _list.Sum(Function(x) x.Field1)
End Set
End Property

What I'm trying to do is every time a MyType object is added to the list keep a running total of Field1, but adding to the list doesn't use the setter. How can I know when the list has been added or changed?

View 1 Replies

C# - ObservableCollection Doesn't Support AddRange Method - Get Notified For Each Item Added Besides What About INotifyCollectionChanging?

Mar 22, 2009

I want to be able to add a range and get updated for the entire bulk. I also want to be able to cancel the action before it's done (i.e. collection changing besides the 'changed').

[Code]...

View 6 Replies

.net - Updating A Webpage From A Desktop Application?

Aug 20, 2011

've written a desktop application in VB.net which gets data from numerous serial devices and graphs it in a windows form. What I'd like to do enable remote users to view this data remotely from a web browser.

So, is it possible to add a webpage to a desktop application which could be dynamically updated from from my windows app or do I have to rewrite the entire application in asp, flex or silverlight so it can be viewed remotely via a web browser?I'm not familiar with asp flex or silverlight and have only developed desktop apps using vb.net 2010 on win7 and XP.

View 5 Replies

C# - Launch A Windows Application From A Webpage?

Mar 8, 2011

We have a company intranet and the powers that be think it would be nice to have a collection of icons/links representing the applications that most reps use (Outlook, Excel, few other apps).

The idea would be that if the application is installed, clicking the link/icon would launch the application on the client machine.

Anyone ever had a requirement like that and been successful implementing it?

View 3 Replies

Pass Data Between Webpage And VB Application?

Oct 17, 2011

I am developing an application for internal use in our company. The purpose of this application is for document imaging. What we are wanting to do is print a barcode label to attach to documents so that when they are scanned in a piece of software such as vfiler will be able to read the barcodes and know how to file them.The main focus is our ERP system which is web based (PHP). We are wanting to modify the code to allow the user to print the barcode label immediately once they enter an order or PO. I have access to the source code for the ERP web pages. I don't know of any way to make a web page print to a printer without displaying the printer select dialog. So, I decided that I wanted to try and create a VB application that would do the printing of the barcodes. This would allow me to bypass the the printer select dialog.

Now for the question. Is there any way to have a web page (PHP) running on the server call a VB app to perform a task? So, if I had a button on the webpage and the user clicked it, that button would somehow send the pertinent information (Order number) to the VB app and the VB app would print the barcode. The VB app will always be running on the machine. The label printers will be Zebra USB label printers on each person's machine.

View 2 Replies

Updating A Webpage From A Desktop Application?

Aug 10, 2010

I need to calculate in hours how much time has elapsed from when a record was created to the current time. The hard part is I need to exclude weekend times from this. I have been working on this for quite a while and I am just lost. Here is what I have so far.

[code]...

What algorithm in VB.NET would best suit this calculation?

View 3 Replies

VS 2008 Application Reading Webpage?

Jun 21, 2009

t possible to do this easily as im not great at VB I have a simple webbrowser open when i click a menu item, and when it loads it goes to a text page on a online server i have (ends in .txt) which just has some text on, is it possible for me to add a button which when i press it, it searches the page for a certain number/word, then opens a message box with some text in relation to the number/text, or is this not possible with a webpage.

View 5 Replies

VS 2008 Application WebPage Interaction?

Nov 13, 2009

What I'd like to do is when a user clicks a button in my windows form application, it launches IE etc and opens webpage, sends the username/password stored on the pc and logins into the main page.Some background-the password will be stored in a txt file on the pc in encrypted form-the webpage am login into is a aspx company intranet page-security is really not a major issue as everything is internal-the main page of the intranet page is just two textboxes asking for username/password before going any further. There is a button to login on the webpageIs what am trying to do possible as I really do not have understanding of how the login page works underneath or for that matter much about HTTP post requests etc

View 7 Replies

Read HTML From A Webpage And Interact With It As Own In A WPF Application?

Apr 24, 2011

I've search numerous hours, but I haven't been able to find the appropriate solution. What I want to do: Get the html of a certain webpage (Lets say in this case url...this html within my wpf application, so that you can see the content of the page you requested. Then I want to be able to trigger events on the html that has been loaded from the URL. Like I want you to be able to click on a certain node in the HTML and I want to be able to link this node to a certain value. Basically a crawler application that let's you request a page, see the page in a control and allows you to click in the loaded HTML and link values to predefined values you set. So basically I want to be able to get a webpage displayed within my application and be able to trigger events on the html (For example a click on the html which would need me to know on what node you clicked in the html, or for example be able to edit the html by clicking in it).

View 1 Replies

Organize Application Are Going To Be Able To Separate Every Program / Webpage (over 400) From Each Other

Oct 18, 2010

We have an ASP classic ERP (very large application) that we want to rewrite using ASP.NET. I am looking for a way to organize the application so we are going to be able to separate every program / webpage (over 400) from each other. Every program needs to be independent because many developers will work on the project at the same time.Visual Studio seems to make a DLL for every assembly so I was wondering if it's a good idea to make a huge solution with one project per DLL.[code]This way, we would be able to deploy every program separately without altering the others. We would also have over a thousand DLL to manage...

View 3 Replies

VS 2010 Show Webpage In A Windows Application?

Sep 16, 2010

Is there a .Net control I can use to display a web page from a vb.Net windows forms application?

I am writing an app that will produce a slide show from a specified directory. The idea is it will ideally include Images, Video clips (via Windows Media), URL's (held in a text file), PDF documents and power point presentations.

Images and media clips aren't an issue. At present I am looking at displaying specified web pages. I am aware that I can use

System.Diagnostics.Process.Start("http://webinta/Pages/Home.htm"

to open a browser window, but I want control of that as after a specified amount of time it needs to close so I can display the next image (media clip, url etc).

View 2 Replies

Xml - Read A Value From An Application's App.config File From A Asp.net Webpage?

Feb 19, 2012

Basically i have a .net application that has a directory path stored in the app.config file. this directory path outputs xml files that will be read by an asp.net web page.

Is there any way i can get the asp.net web page to read the directory path stored in the app.config file? Should i look to use the web.config file at all?

View 1 Replies

Application That Measure Response And Loading Time Of Webpage

Sep 6, 2009

I like to make an console application to measure the time it takes to fully load a web page, what's the best approach to do that? The purpose of this small app is to monitor some pages in a website, in a predetermined interval, in order to be able to know beforehand if something is going wrong with the webserver or the database server. It would be nice to be able to measure the time it takes to fully load the the page (images, css, javascript, etc). I have some code but I is not measuring the fully page.

Dim sw As New System.Diagnostics.Stopwatch
Dim req As System.Net.HttpWebRequest = CType(HttpWebRequest.Create("[URL]"), HttpWebRequest)
sw.Start()
Dim res As System.Net.HttpWebResponse = CType(req.GetResponse(), HttpWebResponse)
sw.Stop()
Dim timeToLoad As TimeSpan = sw.Elapsed

View 8 Replies

Developing An Application That Constantly Checks A Particular Webpage For Changes In The Page?

Feb 25, 2010

im developing an application that constantly checks a particular webpage for changes in the page. im using the webbrowser.documenttext to read changes in the source, its working great. until when i tried to use webbrowser.refresh(), an ugly popup that says. "To display the webpage again, Internet Explorer needs to resend the information you've previously submitted.If you were making a purchase, you should click Cancel to avoid a duplicate transaction. Otherwise, click Retry to display the webpage again."

View 2 Replies

Url - Open Webpage (or Snapshot Of Webpage) Into Another Webpage

Mar 10, 2010

i have an aspx page with vb.net back end. in that page i get names and url's from the database depending on different conditions. My requirement is that when i get the url, the code should then use that url and have that webpage in a small preview form on my existing aspx page. so basically i have a table as follows -

[Code]...

View 1 Replies

VS 2008 - Create An Application That Will Login Our Company's Intranet Portal Via A Webpage

Sep 12, 2009

I am trying to create an application that will login our company's intranet portal via a webpage. The webpage has a single frame in it that loads a secure(https) login form. After logging in, the application will need to read and send xml to and from the portal. I have been digging around and have seen a few different ways of submitting the login information from the program to the site, however, I have not gotten any of them to work. From what I can tell it is difficult to change the values of input boxes that are inside a frame. Am I accurate on this? There will be a large amount of data transfer between the app and the portal so I will need something lightweight but I have enough room that I would rather not reinvent the http/web-browser wheel if at all possible. The reason I say that is because I have read that some objects that handle web pages are very resource hungry. I have no preference on the .net frameworks as this is the area of VB thats kinda confusing. What I am looking for is either a point or violent shove in the right direction.

View 2 Replies

VB - Put The Player On The Webpage And Put The Webpage On The Sever It Cant Play The Video ?

Jan 13, 2009

I making a webpage with the help visual basic. I wanted to put a flv video in it and i used flash control for asp.net [URL]. I made the player in flash told it to download the video from the sever. Now when i put the player on the webpage and put the webpage on the sever it cant play the video. But when i just pres the the player which is in swf format it works. It can download the video. But when i put the player on my webpage it cant.

View 5 Replies

Convert An ASP Classic Webpage Into An ASP.NET Webpage?

May 6, 2009

Duplicate:good references or tools available for converting from ASP to ASP.NET?How i can convert an ASP Classic webpage into an ASP.NET webpage?

View 1 Replies

C# - Save An Asp.net Webpage To Pdf?

Jan 31, 2011

Possible Duplicates: How to Convert html web-page to image format in ASP.net web-application ASP.NET page to image or pdf.

I have an aspx webpage. Once that page is rendered, with a button click how can I export it to PDF? What is the process? Do I need an external third party tool to achieve this?

View 2 Replies

Can't Get Text From Webpage

Apr 15, 2012

Im know 2 days working on solving this problem but seems that i found my master

I need to get some text from this web page ==>> eToro Open Book

I want to use the trade feed for my program to analyse the sentiment of the markets.

I used the browser control and the get element command but its not working.The problem is that whenever my browser starts to open the page I get java scripts errors.

View 7 Replies

Check If Webpage Is Up

May 5, 2009

Typically I'd post some code and ask how to do something. This time I don't even know where to start. I need to check if a webpage is accessable. We are using adobe connect, there's a webpage that you can check that will tell you if connect is up and running. How would i go about doing this?

View 4 Replies

Draw Over A Webpage?

Mar 31, 2012

I have a small project where I need to draw graphics over a WEB page.

To do this, I create a "ghost" form with a WebBrowser at the same location and size of my main form that is always displayed behind my main form.

When I set the TransparencyKey of my form's Panel to the main form's TransparencyKey, the panel shows the WEB page that sits behind the form. Yet, because this is a panel, I can draw anything over the WEB page

The only problem that I have is when my program needs to open child non-modal forms. When the user sets the focus back to the main form, the child form goes behind me main form, but it is still in from of "ghost" form.

Is there a way to "bind" the main form and the "ghost" form together, so that any other forms may only be completely on the back, or comletely on the front (never in between)?[code]...

View 8 Replies

Embed Exe Into Webpage?

Sep 7, 2011

is there any way to embed a vb 2008 exe into a webpage so that it runs inside the webpage without user having to manually download it.If not then is there a way to convert a vb exe to a swf flash file, or maybe a plugin for vb 2008 which allows you you compile or export as swf?

View 11 Replies

Get A String From Webpage?

Dec 13, 2009

How can I get a string from a web page and display it on my program in a label?[url\...

View 4 Replies

Get A Webpage Up And Running?

Sep 29, 2011

I ran into an odd issue today while trying to get a web page up and running. At one point there is a sql select statement which basically selects one field from a table that has only one row of data. For some reason no rows are returned by the select statement when at the customer site from the web page.

The same select statement works on the same machine if pasted into a query window [SQL Express] and returns one row of one field as it should. The query works on my server from the same web page and also works on the other server I tested on. For some reason when ran at the customer site there is a delay of about 30 seconds and no data is returned.

There are several other queries in use at various times, same web site, same db, same server and all seem to work without issue but this one query is failing about 90% of the time, once in a while it returns a row. No errors are reported in either case. Using ADO recordset object, simple select field from table no where clause. Running under IIS7 from an ASPX file hitting a SQL Express database.

View 4 Replies

Get Array From WebPage?

Feb 4, 2011

I have a VB application with a webbrowser. I would like to populate a combobox on my app with the values from a specific combobox on a webpage in the browser.

The first step seems to be getting the values from the array in the web page. Here is some code from the webpage source:

<script type="text/javascript">
<!--
var opts = new Array(5);

[Code]....

The 'clients' array has the values that i want to use in my application. How do get them?

View 6 Replies

Get Balance From Webpage?

Nov 17, 2011

im trying to get a balance from a webpage. But idk how to. I sort of figured it out. This is what im trying to get:

<div class="boxborder">
<div class="title">Balance</div>
<div class="sep"></div>

[code]....

i want to get the 12,85$ to a label.This is what im using:

Dim PageElements As HtmlElementCollection = WebBrowser1.document.GetElementsByTagName("div")
For Each CurElement As HtmlElement In PageElements
If CurElement.GetAttribute("classname") = "inner" Then

[code]....

But there are multiple classes on the webpage which have the inner as classname, so i get lots and lots of info. But i just want to get the 12,85. How would i do that?

View 3 Replies







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