473,465 Members | 1,395 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

visual.net/visual basic connect to web page

I would like to know how to get started to do the following:
I would like to develop a program that acts almost like a macro in the sense
when I push a button in VB it retrieves data from my text file and inputs it
into a text box on a specific web page and then activates a button on that
web page to search the web site's data base. If it gets a positive hit then
it activate the file menu on the web page's menu bar to save the data on my
hard drive. I would like this to run like a loop if I could.

I do not know how to pull up the Internet within VB and then have VB take
control the controls(buttons and tool bar) on the website. Does this make
sense?

A lot of time if I can see examples of this or at least be pointed in the
right direction I can figure out the details. Right now I feel like I do not
have enough time to explore all the things I do not know. LOL>
Jul 21 '05 #1
5 1808
I did a talk at my user group on this a few years ago. The material is all
for VB 6.0 but it should still work in VB.NET.

http://www.tvbug.com/diary/20000921.htm

--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
http://msmvps.com/windsor/
"Raymond 03077" <Raymond 03***@discussions.microsoft.com> wrote in message
news:6A**********************************@microsof t.com...
I would like to know how to get started to do the following:
I would like to develop a program that acts almost like a macro in the
sense
when I push a button in VB it retrieves data from my text file and inputs
it
into a text box on a specific web page and then activates a button on
that
web page to search the web site's data base. If it gets a positive hit
then
it activate the file menu on the web page's menu bar to save the data on
my
hard drive. I would like this to run like a loop if I could.

I do not know how to pull up the Internet within VB and then have VB take
control the controls(buttons and tool bar) on the website. Does this make
sense?

A lot of time if I can see examples of this or at least be pointed in the
right direction I can figure out the details. Right now I feel like I do
not
have enough time to explore all the things I do not know. LOL>

Jul 21 '05 #2
Robert,

Thank you very much for your quick response. I am afraid that you are light
years ahead of me in understanding VB. I down loaded what you gave me and
then I tried to run it. My VB.net tried to convert everything before it would
bring it up.

SHOUD IT HAVE?

Once it did come up I tried to run it but it came up with the following error

Line1.X1 = VB6.PixelsToTwipsX(cmdExit.Left) - 240

It did not know what "Line1.X1" was. I do not know how to "DIM" it. I tired
to do it "as Integer" but that was not right. I have never experienced a dot
in the middle of a name which leads me to believe it might be a C language
thing.

As you might be able to tell I am just a self taught novice at this
programing thing with no formal education so I a apologize if I bore you with
these questions.

1. Does your program need to be converted to use it?

2. What should I do to solve the Line1.X1 error?

3. I have taken some basic college courses and they are great for starting
to learn to program but I do not know if there is a course that really gets
into the meat of what I am trying to do. Are you aware of a course or a book
that will walk me through this project or even elevate my programing skills
beyond a beginners level? Or is this something you learn by working for an
employer, time and experience?

Thank You very much!

"Rob Windsor [MVP]" wrote:
I did a talk at my user group on this a few years ago. The material is all
for VB 6.0 but it should still work in VB.NET.

http://www.tvbug.com/diary/20000921.htm

--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
http://msmvps.com/windsor/
"Raymond 03077" <Raymond 03***@discussions.microsoft.com> wrote in message
news:6A**********************************@microsof t.com...
I would like to know how to get started to do the following:
I would like to develop a program that acts almost like a macro in the
sense
when I push a button in VB it retrieves data from my text file and inputs
it
into a text box on a specific web page and then activates a button on
that
web page to search the web site's data base. If it gets a positive hit
then
it activate the file menu on the web page's menu bar to save the data on
my
hard drive. I would like this to run like a loop if I could.

I do not know how to pull up the Internet within VB and then have VB take
control the controls(buttons and tool bar) on the website. Does this make
sense?

A lot of time if I can see examples of this or at least be pointed in the
right direction I can figure out the details. Right now I feel like I do
not
have enough time to explore all the things I do not know. LOL>


Jul 21 '05 #3
Attached is a VB.NET 2003 version of the application that shows how to
submit a form on a web page. This is a fairly advanced topic and it requires
some knowledge of how HTML forms work but this sample app should help you
get started.

--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
http://msmvps.com/windsor/
"Raymond 03077" <Ra**********@discussions.microsoft.com> wrote in message
news:D4**********************************@microsof t.com...
Robert,

Thank you very much for your quick response. I am afraid that you are
light
years ahead of me in understanding VB. I down loaded what you gave me and
then I tried to run it. My VB.net tried to convert everything before it
would
bring it up.

SHOUD IT HAVE?

Once it did come up I tried to run it but it came up with the following
error

Line1.X1 = VB6.PixelsToTwipsX(cmdExit.Left) - 240

It did not know what "Line1.X1" was. I do not know how to "DIM" it. I
tired
to do it "as Integer" but that was not right. I have never experienced a
dot
in the middle of a name which leads me to believe it might be a C language
thing.

As you might be able to tell I am just a self taught novice at this
programing thing with no formal education so I a apologize if I bore you
with
these questions.

1. Does your program need to be converted to use it?

2. What should I do to solve the Line1.X1 error?

3. I have taken some basic college courses and they are great for starting
to learn to program but I do not know if there is a course that really
gets
into the meat of what I am trying to do. Are you aware of a course or a
book
that will walk me through this project or even elevate my programing
skills
beyond a beginners level? Or is this something you learn by working for
an
employer, time and experience?

Thank You very much!

"Rob Windsor [MVP]" wrote:
I did a talk at my user group on this a few years ago. The material is
all
for VB 6.0 but it should still work in VB.NET.

http://www.tvbug.com/diary/20000921.htm

--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
http://msmvps.com/windsor/
"Raymond 03077" <Raymond 03***@discussions.microsoft.com> wrote in
message
news:6A**********************************@microsof t.com...
>I would like to know how to get started to do the following:
> I would like to develop a program that acts almost like a macro in the
> sense
> when I push a button in VB it retrieves data from my text file and
> inputs
> it
> into a text box on a specific web page and then activates a button on
> that
> web page to search the web site's data base. If it gets a positive hit
> then
> it activate the file menu on the web page's menu bar to save the data
> on
> my
> hard drive. I would like this to run like a loop if I could.
>
> I do not know how to pull up the Internet within VB and then have VB
> take
> control the controls(buttons and tool bar) on the website. Does this
> make
> sense?
>
> A lot of time if I can see examples of this or at least be pointed in
> the
> right direction I can figure out the details. Right now I feel like I
> do
> not
> have enough time to explore all the things I do not know. LOL>




Jul 21 '05 #4
Rob,

Thank you for your response. You mentioned an attached VB.NET 2003 version
of the application but I failed to find the attachment. The only link I got
was to your blog page. Could this have been an oversite on your part or am I
missing something?

Thank you for your time.

"Rob Windsor [MVP]" wrote:
Attached is a VB.NET 2003 version of the application that shows how to
submit a form on a web page. This is a fairly advanced topic and it requires
some knowledge of how HTML forms work but this sample app should help you
get started.

--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
http://msmvps.com/windsor/
"Raymond 03077" <Ra**********@discussions.microsoft.com> wrote in message
news:D4**********************************@microsof t.com...
Robert,

Thank you very much for your quick response. I am afraid that you are
light
years ahead of me in understanding VB. I down loaded what you gave me and
then I tried to run it. My VB.net tried to convert everything before it
would
bring it up.

SHOUD IT HAVE?

Once it did come up I tried to run it but it came up with the following
error

Line1.X1 = VB6.PixelsToTwipsX(cmdExit.Left) - 240

It did not know what "Line1.X1" was. I do not know how to "DIM" it. I
tired
to do it "as Integer" but that was not right. I have never experienced a
dot
in the middle of a name which leads me to believe it might be a C language
thing.

As you might be able to tell I am just a self taught novice at this
programing thing with no formal education so I a apologize if I bore you
with
these questions.

1. Does your program need to be converted to use it?

2. What should I do to solve the Line1.X1 error?

3. I have taken some basic college courses and they are great for starting
to learn to program but I do not know if there is a course that really
gets
into the meat of what I am trying to do. Are you aware of a course or a
book
that will walk me through this project or even elevate my programing
skills
beyond a beginners level? Or is this something you learn by working for
an
employer, time and experience?

Thank You very much!

"Rob Windsor [MVP]" wrote:
I did a talk at my user group on this a few years ago. The material is
all
for VB 6.0 but it should still work in VB.NET.

http://www.tvbug.com/diary/20000921.htm

--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
http://msmvps.com/windsor/
"Raymond 03077" <Raymond 03***@discussions.microsoft.com> wrote in
message
news:6A**********************************@microsof t.com...
>I would like to know how to get started to do the following:
> I would like to develop a program that acts almost like a macro in the
> sense
> when I push a button in VB it retrieves data from my text file and
> inputs
> it
> into a text box on a specific web page and then activates a button on
> that
> web page to search the web site's data base. If it gets a positive hit
> then
> it activate the file menu on the web page's menu bar to save the data
> on
> my
> hard drive. I would like this to run like a loop if I could.
>
> I do not know how to pull up the Internet within VB and then have VB
> take
> control the controls(buttons and tool bar) on the website. Does this
> make
> sense?
>
> A lot of time if I can see examples of this or at least be pointed in
> the
> right direction I can figure out the details. Right now I feel like I
> do
> not
> have enough time to explore all the things I do not know. LOL>


Jul 21 '05 #5
There was a file attached to my last message. If you can't get it send me an
email through my blog and I'll email the file to you.

Rob

"Raymond 03077" <Ra**********@discussions.microsoft.com> wrote in message
news:EB**********************************@microsof t.com...
Rob,

Thank you for your response. You mentioned an attached VB.NET 2003 version
of the application but I failed to find the attachment. The only link I
got
was to your blog page. Could this have been an oversite on your part or am
I
missing something?

Thank you for your time.

"Rob Windsor [MVP]" wrote:
Attached is a VB.NET 2003 version of the application that shows how to
submit a form on a web page. This is a fairly advanced topic and it
requires
some knowledge of how HTML forms work but this sample app should help you
get started.

--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
http://msmvps.com/windsor/
"Raymond 03077" <Ra**********@discussions.microsoft.com> wrote in message
news:D4**********************************@microsof t.com...
> Robert,
>
> Thank you very much for your quick response. I am afraid that you are
> light
> years ahead of me in understanding VB. I down loaded what you gave me
> and
> then I tried to run it. My VB.net tried to convert everything before it
> would
> bring it up.
>
> SHOUD IT HAVE?
>
> Once it did come up I tried to run it but it came up with the
> following
> error
>
> Line1.X1 = VB6.PixelsToTwipsX(cmdExit.Left) - 240
>
> It did not know what "Line1.X1" was. I do not know how to "DIM" it. I
> tired
> to do it "as Integer" but that was not right. I have never experienced
> a
> dot
> in the middle of a name which leads me to believe it might be a C
> language
> thing.
>
> As you might be able to tell I am just a self taught novice at this
> programing thing with no formal education so I a apologize if I bore
> you
> with
> these questions.
>
> 1. Does your program need to be converted to use it?
>
> 2. What should I do to solve the Line1.X1 error?
>
> 3. I have taken some basic college courses and they are great for
> starting
> to learn to program but I do not know if there is a course that really
> gets
> into the meat of what I am trying to do. Are you aware of a course or a
> book
> that will walk me through this project or even elevate my programing
> skills
> beyond a beginners level? Or is this something you learn by working
> for
> an
> employer, time and experience?
>
> Thank You very much!
>
>
>
> "Rob Windsor [MVP]" wrote:
>
>> I did a talk at my user group on this a few years ago. The material is
>> all
>> for VB 6.0 but it should still work in VB.NET.
>>
>> http://www.tvbug.com/diary/20000921.htm
>>
>> --
>> Rob Windsor [MVP-VB]
>> G6 Consulting
>> Toronto, Canada
>> http://msmvps.com/windsor/
>>
>>
>> "Raymond 03077" <Raymond 03***@discussions.microsoft.com> wrote in
>> message
>> news:6A**********************************@microsof t.com...
>> >I would like to know how to get started to do the following:
>> > I would like to develop a program that acts almost like a macro in
>> > the
>> > sense
>> > when I push a button in VB it retrieves data from my text file and
>> > inputs
>> > it
>> > into a text box on a specific web page and then activates a button
>> > on
>> > that
>> > web page to search the web site's data base. If it gets a positive
>> > hit
>> > then
>> > it activate the file menu on the web page's menu bar to save the
>> > data
>> > on
>> > my
>> > hard drive. I would like this to run like a loop if I could.
>> >
>> > I do not know how to pull up the Internet within VB and then have VB
>> > take
>> > control the controls(buttons and tool bar) on the website. Does this
>> > make
>> > sense?
>> >
>> > A lot of time if I can see examples of this or at least be pointed
>> > in
>> > the
>> > right direction I can figure out the details. Right now I feel like
>> > I
>> > do
>> > not
>> > have enough time to explore all the things I do not know. LOL>
>>
>>
>>


Jul 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Zvonko Tusek | last post by:
Is there a way to use access database on web host (I have a web hosting account) in visual basic. I want to make Visual basic client applications that connect to internet and work with access...
16
by: Nathan Sokalski | last post by:
I have Visual Studio .NET and SQL Server Desktop Engine on my computer. I have created an empty database using Visual Studio .NET's Server Explorer. However, I am having trouble connecting to the...
5
by: Microsoft | last post by:
Hi, I have Visual Basic .net 2003 (Standard Edition) & SQL Server 2000 Developer Edition. When trying to create a connection in the server explorer from the .net IDE I get a number of problems;...
5
by: Raymond 03077 | last post by:
I would like to know how to get started to do the following: I would like to develop a program that acts almost like a macro in the sense when I push a button in VB it retrieves data from my text...
10
by: Steve | last post by:
I am trying to create a DLL in Visual Studio 2005-Visual Basic that contains custom functions. I believe I need to use COM interop to allow VBA code in Excel 2002 to access it. I've studied...
0
by: czi02 | last post by:
Does anybody out there knows how to connect html to visual basic? Ive put pictures on the microsoft frontpage then I don't know how will i hyperlink the picture on the other page? And how will I be...
1
by: czi02 | last post by:
Im just try to go in the html ask a questions because in the visual basic ask a quetion they do not know on how how to connect html to visual basic?? What components am i going to used and what is...
1
by: saqibaba | last post by:
HI Dears i want to make a software which will use the webcamera via visual basic .But i searched i cant find any free Active X cotrol or other thing which can connect to webcame . please tell me...
0
by: ladar | last post by:
Hi, i need a help how to connect visual basic 6 with oracle. I have a little knowledge about visual basic and i want to connect it to the oracle in the server side, so give me so hint.
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
Oralloy
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.