is it possible to write a vb.net code (intended to run on the client-side)
that would invoke an instance of IE, have it download a page from a certain
URL, and then pre-populate some of the controls on that page, before
transferring focus to the browser-page and showing it to the user? (the
user would be responsible for submitting the page.) 5 1876
javascript :window.open(....) -> prepopulate the new page on the server side
ie use an aspx page.
remember that even though asp.net is far smarter than the older cgi apps,
all processing is done server side. Anything that is required on the client
side, you will need to do with client side script
Jody
MCSD.Net
"John A Grandy" <johnagrandy-at-yahoo.com> wrote in message
news:O9**************@TK2MSFTNGP11.phx.gbl... is it possible to write a vb.net code (intended to run on the client-side) that would invoke an instance of IE, have it download a page from a
certain URL, and then pre-populate some of the controls on that page, before transferring focus to the browser-page and showing it to the user? (the user would be responsible for submitting the page.)
Hi Jody. Thanks for the response.
I think perhaps you misunderstood my question.
What I am attempting to do *can not* involve server-side code nor
client-side script .... I have no control over the coding of the
web-application.
I need to write a client-side executable in VB.NET that emulates actions a
user would manually perform when interacting with a browser-page.
This VB.NET EXE would triggers download of a web-page (from a specific URL)
into a browser, then populate some of the controls on the browser-page, but
not submit the page -- just pass it over to the end-user so that they can
finish populating the other controls and submit it themselves.
"Jody Fisher" <jf*****@claytonutz.com.dontspamme> wrote in message
news:Oz**************@TK2MSFTNGP12.phx.gbl... javascript:window.open(....) -> prepopulate the new page on the server
side ie use an aspx page.
remember that even though asp.net is far smarter than the older cgi apps, all processing is done server side. Anything that is required on the
client side, you will need to do with client side script
Jody MCSD.Net
"John A Grandy" <johnagrandy-at-yahoo.com> wrote in message news:O9**************@TK2MSFTNGP11.phx.gbl... is it possible to write a vb.net code (intended to run on the
client-side) that would invoke an instance of IE, have it download a page from a certain URL, and then pre-populate some of the controls on that page, before transferring focus to the browser-page and showing it to the user? (the user would be responsible for submitting the page.)
That does sound like a lot of fun....
OK so if we are working in a vb windows app. obviously the first thing that
you will want to do is open your initial page in a web browser control (you
can keep it hidden at first if you want). I must assume that you know what
fields you want to populate... I am pretty certain that you can just do
something like wbrowser1.document.getElementById("...").value = "test"
The only problem that I can see is that there may be permission issues -
this is generally the case when working with cross site frames etc. so you
may have to actually download and save the file to the hard drive first??
Give it a try a let me know how you go...
Cheers
Jody
"John A Grandy" <johnagrandy-at-yahoo.com> wrote in message
news:u5*************@TK2MSFTNGP10.phx.gbl... Hi Jody. Thanks for the response.
I think perhaps you misunderstood my question.
What I am attempting to do *can not* involve server-side code nor client-side script .... I have no control over the coding of the web-application.
I need to write a client-side executable in VB.NET that emulates actions a user would manually perform when interacting with a browser-page.
This VB.NET EXE would triggers download of a web-page (from a specific
URL) into a browser, then populate some of the controls on the browser-page,
but not submit the page -- just pass it over to the end-user so that they can finish populating the other controls and submit it themselves. "Jody Fisher" <jf*****@claytonutz.com.dontspamme> wrote in message news:Oz**************@TK2MSFTNGP12.phx.gbl... javascript:window.open(....) -> prepopulate the new page on the server side ie use an aspx page.
remember that even though asp.net is far smarter than the older cgi
apps, all processing is done server side. Anything that is required on the client side, you will need to do with client side script
Jody MCSD.Net
"John A Grandy" <johnagrandy-at-yahoo.com> wrote in message news:O9**************@TK2MSFTNGP11.phx.gbl... is it possible to write a vb.net code (intended to run on the client-side) that would invoke an instance of IE, have it download a page from a
certain URL, and then pre-populate some of the controls on that page, before transferring focus to the browser-page and showing it to the user?
(the user would be responsible for submitting the page.)
Hmmm ... interesting ...
So VB.NET code can be written to populate objects exposed by the DOM of a
browser-page ...
So would such a control population display instantly? I assume that the
actual web-page file is not being altered, so no point triggerring a
refresh-from-cache ...
"Jody Fisher [MCSD.Net]" <jf*****@claytonutz.com.dontspamme> wrote in
message news:O5**************@TK2MSFTNGP11.phx.gbl... That does sound like a lot of fun....
OK so if we are working in a vb windows app. obviously the first thing
that you will want to do is open your initial page in a web browser control
(you can keep it hidden at first if you want). I must assume that you know
what fields you want to populate... I am pretty certain that you can just do something like wbrowser1.document.getElementById("...").value = "test"
The only problem that I can see is that there may be permission issues - this is generally the case when working with cross site frames etc. so
you may have to actually download and save the file to the hard drive first??
Give it a try a let me know how you go...
Cheers Jody
"John A Grandy" <johnagrandy-at-yahoo.com> wrote in message news:u5*************@TK2MSFTNGP10.phx.gbl... Hi Jody. Thanks for the response.
I think perhaps you misunderstood my question.
What I am attempting to do *can not* involve server-side code nor client-side script .... I have no control over the coding of the web-application.
I need to write a client-side executable in VB.NET that emulates actions
a user would manually perform when interacting with a browser-page.
This VB.NET EXE would triggers download of a web-page (from a specific URL) into a browser, then populate some of the controls on the browser-page, but not submit the page -- just pass it over to the end-user so that they
can finish populating the other controls and submit it themselves. "Jody Fisher" <jf*****@claytonutz.com.dontspamme> wrote in message news:Oz**************@TK2MSFTNGP12.phx.gbl... javascript:window.open(....) -> prepopulate the new page on the server side ie use an aspx page.
remember that even though asp.net is far smarter than the older cgi apps, all processing is done server side. Anything that is required on the
client side, you will need to do with client side script
Jody MCSD.Net
"John A Grandy" <johnagrandy-at-yahoo.com> wrote in message news:O9**************@TK2MSFTNGP11.phx.gbl... > is it possible to write a vb.net code (intended to run on the client-side) > that would invoke an instance of IE, have it download a page from a certain > URL, and then pre-populate some of the controls on that page, before > transferring focus to the browser-page and showing it to the user? (the > user would be responsible for submitting the page.) > >
Not sure how instantly it would happen, but if you weren't entering too much
data, it should be quick enough for the user not to notice. VB.Net has all
the functionality plus more compared to something like vb6 - remember that a
lot of the complex functions that we used call up were simply COM controls
or libraries, these are still available if you need them through the
marshalling libraries in .NET
The other other option is to look at reading the DOM tree and retrieving the
field names then using inet or something to actually post the form data to
the site? - not quite as messy and may work a bit better.
Jody
"John A Grandy" <johnagrandy-at-yahoo.com> wrote in message
news:#g**************@TK2MSFTNGP10.phx.gbl... Hmmm ... interesting ...
So VB.NET code can be written to populate objects exposed by the DOM of a browser-page ...
So would such a control population display instantly? I assume that the actual web-page file is not being altered, so no point triggerring a refresh-from-cache ...
"Jody Fisher [MCSD.Net]" <jf*****@claytonutz.com.dontspamme> wrote in message news:O5**************@TK2MSFTNGP11.phx.gbl... That does sound like a lot of fun....
OK so if we are working in a vb windows app. obviously the first thing that you will want to do is open your initial page in a web browser control (you can keep it hidden at first if you want). I must assume that you know what fields you want to populate... I am pretty certain that you can just do something like wbrowser1.document.getElementById("...").value = "test"
The only problem that I can see is that there may be permission issues - this is generally the case when working with cross site frames etc. so you may have to actually download and save the file to the hard drive
first?? Give it a try a let me know how you go...
Cheers Jody
"John A Grandy" <johnagrandy-at-yahoo.com> wrote in message news:u5*************@TK2MSFTNGP10.phx.gbl... Hi Jody. Thanks for the response.
I think perhaps you misunderstood my question.
What I am attempting to do *can not* involve server-side code nor client-side script .... I have no control over the coding of the web-application.
I need to write a client-side executable in VB.NET that emulates
actions a user would manually perform when interacting with a browser-page.
This VB.NET EXE would triggers download of a web-page (from a specific URL) into a browser, then populate some of the controls on the
browser-page, but not submit the page -- just pass it over to the end-user so that they can finish populating the other controls and submit it themselves. "Jody Fisher" <jf*****@claytonutz.com.dontspamme> wrote in message news:Oz**************@TK2MSFTNGP12.phx.gbl... > javascript:window.open(....) -> prepopulate the new page on the
server side > ie use an aspx page. > > remember that even though asp.net is far smarter than the older cgi apps, > all processing is done server side. Anything that is required on
the client > side, you will need to do with client side script > > Jody > MCSD.Net > > "John A Grandy" <johnagrandy-at-yahoo.com> wrote in message > news:O9**************@TK2MSFTNGP11.phx.gbl... > > is it possible to write a vb.net code (intended to run on the client-side) > > that would invoke an instance of IE, have it download a page from
a > certain > > URL, and then pre-populate some of the controls on that page,
before > > transferring focus to the browser-page and showing it to the user? (the > > user would be responsible for submitting the page.) > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Don |
last post by:
Is there some way to populate the "Browse" box for a <input type=file...> with a default value? I
can do it for <input type=text...>, but can't seem to do it for <input type=file...>.
Any ideas?...
|
by: Sharon |
last post by:
I have successfully loaded a DataSet object with a XML schema (XSD).
Now I wish to populate the tables that was created in the DataSet.
I have an XML file/string that contain all the needed data...
|
by: Mike L |
last post by:
I'm open for any suggestions on how to better program this. I want the user
to select a license from a combo box, cboPrivilege and then the user will
click the add button, then a record will be...
|
by: Yul |
last post by:
Hi,
We are in the process of designing an ASP.NET app, where a user will
enter some 'Customer ID' to be queried in the database. If the ID is
valid, several stored procedures will be called to...
|
by: crjunk |
last post by:
I have 4 different databases that I'm having to pull data from in order
to populate a datagrid. I am able to do this, but my problem is that
because I'm pulling the data from 4 different...
|
by: ROO |
last post by:
Hi Everyone,
I have a database table that have 4 field( C1, C2,
M1, M2) on my form i have two combo box ComboC and ComboM
C1 C2 M1
M2
1 ...
|
by: Jordan |
last post by:
Suppose I have a system that keeps track of 5 different types of "People".
My intent is to have a base Person class, then 5 derived classes for each of
the specific person types (e.g., Patient,...
|
by: agrawal.solutions |
last post by:
Hello Friends
I am asking a very silly question but i dont find any solution fo
this..
I am selectiong a recordset and want to populate a combobox where id
would be inviseble and the content...
|
by: edwordsigh |
last post by:
Hello All! I would like to know where I can get started on a problem I've been having. I am currently trying to populate a listbox in visual basic from an access database file. Specifically, I am...
|
by: tinman486 |
last post by:
Im new to the whole javascript game, I know pretty much just enough to be dangerous with no real substance. Anyway Im trying to populate a DIV with a website using the URL as an inner html source
...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |