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


ADVERTISEMENT

Webpage Interaction - Read The Text Of The Site And Display A Certain Part Of That Text In Form

Oct 14, 2009

I'm trying to make an application which will log me into a site and read the text of the site and display a certain part of that text in my form. I'm stuck at the login, its a .php page with 2 text boxes, 1 check box and 1 button.Is there any way to manipulate those objects by using controls in my form?

View 14 Replies

Minimal Interaction Preloader Application?

Jun 3, 2011

I have a preloader app that runs before the Main application and performs an Update check.. (and then installs the latest update) it's come in very handy at the current client I'm at as there are going to be several hundred installations of the App on site.. Also it's a Live Development.. (One app that handles the Full Plant Monitoring and maintenance) .. But that's not the problem..

The Preloader simply checks on the server if there's a new Update, Copies it down and then runs the Main app.Now there are several Configurable routes through the app: Quick, Skip, Auto, For now the Default is Ask.. and in this mode, if there is an update, the Preloader will ask if you want to install it, if not it will wait 10 seconds and start the Main app.

My problem is If there is no user interaction with the Preloader, windows thinks that it terminated incorrectly, and throws up one of those "This program has stopped working" (similar to image below).

If the user however simply clicks the Done that clears the timer, or clicks the Yes/No for the update, no problems.

[Code]...

So the problem .. If there is NO user interaction, Windows (XP Sp2 mostly) thinks it crashed.What can i include to let windows know that the application does not require User Interaction.

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

Visual Studio 2010 Windows Application And Interaction With MS Access 2007 / 2003

Jun 13, 2011

If I create a windows app which I link to an MS Access databse file that already exists..will I need to have MS Office installed on every computer at which I want to use the app? If not then how do I go about making a standalone windows app that will store information in a database of some form or another ?

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

VS 2008 Cross Process Interaction?

Dec 23, 2010

I was wondering if you could offer a hand on something I'm finding a bit tricky.I am looking at basic shell integration. That is, when a user right clicks a file they can select an option that I have specified. Clicking this will allow them to do various functionality. The way the shell is working for me is that I have a registry entry which runs a specific file. That's all well and good but I need to communicate with a process that is already running on the local machine. (To prevent the users from having to enter login details multiple times).

So I need a way to launch an application, which can call a function in a process that is already running, and pass through the file path. The other application takes the filepath and does whatever it needs with it.

I have both separate sides of the application working (it can get the file path fine, and the other application knows what to do with a file path). The problem I am having is actually linking the two together.

View 5 Replies

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

.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

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

ASP.NET - Interaction With Other Websites?

Jun 30, 2010

I was wondering if it is even possible to interact with other websites using my own.Here is the scenario: Lets say I have a Lockerz account, which is a place where you do daily tasks to earn points. Once a month you can redeem those points to get prizes such as an ipod, macbook, or other items. I know that sounds rediculous, but stay with me.

For someone to gain membership to this website they must be invited by a member. So I get your email address then log in to my account, then send you an invite from there.What I want to do is create a website where a user enters their email into a textbox and presses a submit button. From there the program, behind the scenes, sends my login information, and the users email address to lockerz and sends the invite. All without ever leaving my site.I have worked with ASP.NET with VB codebehind for a while now, so I understand the basics of that. I am just wondering if what i want to do is even possible.

View 2 Replies

What Is Interaction Class

Apr 7, 2012

I have two following rows of code:Microsoft.VisualBasic.Interaction.Beep()or Microsoft.VisualBasic.Beep()The result is the same in this two rows.what is Interaction class?And when shold i use it?

View 3 Replies

Button Style Changes Upon Interaction?

Apr 3, 2010

I have a static picture, one for hover, and one for press.is there a way to make the picture change depending on my actions with the button?

View 4 Replies

Database Interaction From Within VB 2010?

Jun 29, 2010

I am using VB within the Visual Studio 2010 platform.I have created a simple Database with Access.I have connected my database to my VB 2010 project using the Visual Basic BindingNavigator object.I now need to navigate my Database with code from within VB 2010.

1) More specifically I need VB routines that allow me to:

·
GoTo first record
·
GoTo a specific record
·
MoveDown one record at the time and sense the EOF.

2)I need to add new records at the end of my database as data become available through a change in four text boxes.

3)I need any other VB 2010 statement or routine that might apply to Database navigation and communication from within VB 2010.

My Database consists of four columns: Date, Time, Bid (Double Integer), and Ask (Double Integer), and was created with Access.Is Access the best solution for creating a Database today?

View 2 Replies

Excel Worksheet Interaction With VB?

Apr 15, 2008

I would like to prompt the user, in the middle of a VB program, either with MsgBox or any other dialog, to input data in a worksheet of the Workbook that contains the code and then, on some event, read the data and continue execution. I was not successful with MsgBox (and other forms) since it is modal. The user cannot get focus on the worksheet, input data and then continue execution by clicking a command button.

View 2 Replies

Interaction Between Two User Controls?

Jun 18, 2009

In the application I'm actually building, I'm dealing with two dynamically-added controls that need to interact with each other, but I've reduced the problem to an as-simple-as-I-can-make-it example with the controls being statically loaded, and it still presents the same problem: a NullReferenceException when invoking the delegate. Here's the gist:

Control 1
Partial Class Control1
Inherits System.Web.UI.UserContr

[code].....

View 2 Replies

Text Box / Scrollbar Interaction

May 7, 2011

I have set up a scrollbar to have a value between 0 and 264 (i.e. 0-255 when taking the width of the slider into account). I also have a text box that is set up to display the current value of the scrollbar as an interger. However I am currently unable to enter a value in the text box which also moves the scrollbar to its equivilent position. The closest I've been is when I was able to change the value but kept ending up with an error when a number above 255 was entered or when there wasn't a number in the text box.[code]What I am after is to be able to enter a number between 0 and 255 (and only a number between 0 and 255)in the text box and it change the position of the scrollbar accordingly and to omitigate the errors which occur when there is nothing in the text box by accepting an empty box as 0.

View 2 Replies

Allow Form Interaction While Program Is Running?

Sep 1, 2010

On my program the user clicks a button which then runs the main code for my program. The problem is once the code is executed I can no longer move or interact with any form boxes, reliably at least . Sometimes there will be a period of delay where I can move it for an instance. Is there anyway I can make it so that my form is able to be moved while the program is running?

View 3 Replies

Bindingsource AddNew() And CancelEdit() Interaction?

Dec 21, 2011

I think I started out with a misunderstanding of what happens with addnew() and canceledit().

I have a strongly typed datasource in memory.

I call bindingsource.AddNew()

Later I find that the record the user was trying to add already exists, so

bindingsource.CancelEdit()

I have not set any properties other than datasource on the bindingsource.

My assumption was that the CancelEdit() would rollback the blank row added by the AddNew(), but I'm getting some odd errors which lead me to believe this is not true.

Could someone verify that CancelEdit() leaves the new row?

View 9 Replies

Design Pattern For Database Interaction?

Mar 12, 2012

I've been studying design patterns off-and-on now for a project I've recently been working on. I've been fortunate with this last one not to have to work with databases, but will soon have an opportunity.

View 8 Replies

Forms :: Foreground Form Interaction?

Apr 8, 2010

I have a small program I have designed to be able to sit in the background on my desktop, and whenever a new form is given focus (foreground) it's title and thread are recorded.

However, I would like the program to also report to me the X and Y coordinates of the foreground form. Could be any form NOT one that is attached to my program.

[Code]...

View 8 Replies







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