Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 131,715 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,409 people online right now. Registration is fast and FREE... Join Now!




Vb 6.0 - Auto fill web form

 
Reply to this topicStart new topic

Vb 6.0 - Auto fill web form

Menekali
post 2 May, 2005 - 09:33 PM
Post #1


New D.I.C Head

*
Joined: 11 Feb, 2005
Posts: 33


My Contributions


Hi all.

Just wondering how i could achieve this, i need to have a form auto filled, then submitted using a visual basic program. This would be done in the background, so i would set the fills for the forms, but does anyone know of a possible of doing this? Thanks in advance!
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 3 May, 2005 - 05:15 AM
Post #2


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 12,163



Thanked 32 times

Dream Kudos: 25
My Contributions


If the form is going to be auto filled, and then auto submitted, might I ask why you would need a form at all? When you say it has to be done via a vb application, does it actually have to be done via the application, or can you just use vb.net on the web page itself. In either case, you would be able to auto fill and submit using the onLoad method, either page for the web app, or form for an application. anything in the onLoad method will run as the web page is loaded....so that's where you can populate the data and submit.
User is offlineProfile CardPM

Go to the top of the page

Menekali
post 3 May, 2005 - 10:50 AM
Post #3


New D.I.C Head

*
Joined: 11 Feb, 2005
Posts: 33


My Contributions


QUOTE(Amadeus @ May 3 2005, 06:15 AM)
If the form is going to be auto filled, and then auto submitted, might I ask why you would need a form at all? When you say it has to be done via a vb application, does it actually have to be done via the application, or can you just use vb.net on the web page itself. In either case, you would be able to auto fill and submit using the onLoad method, either page for the web app, or form for an application. anything in the onLoad method will run as the web page is loaded....so that's where you can populate the data and submit.

Well i could od that but the problem is that the user does have input.

Bascially what the form is, is an upload form. And the vb progrma will (What i want it to) is fill in the path to the local file, and click submit (it's a .LUA scripting file on their c drive), andi don't wan thtem to see this page at all, or have to manually do anything, they will simply have to change they're local path if needed (most likely wont have to). So path will be filled from a text box iin teh vb program. Make a bit more sense? Sorry if im being unclear.
User is offlineProfile CardPM

Go to the top of the page

IainMackay85
post 7 May, 2005 - 12:31 PM
Post #4


New D.I.C Head

*
Joined: 7 May, 2005
Posts: 44


My Contributions


you could use SendKeys to type in the info for them? very basic though but it would work, not played around much with the internet browser part of vb but i can only imagine it would be possible to put that in with the fixed URL address, or allow them to change it, upto you, but have the browser component hidden so the user cant see it then give them the textboxes etc to fill in the details and pass the info over to the hidden browser component. alternatively add a browser and text field to a new project, set the url to www.google.com and play arround until you get it to work there.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/20/08 09:48AM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month