visual.net/visual basic connect to web page

G

Guest

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>
 
G

Guest

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 said:
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 said:
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>
 
R

Rob Windsor [MVP]

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 said:
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 said:
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/


message
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>
 
G

Guest

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 said:
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 said:
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 said:
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/


message
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>
 
R

Rob Windsor [MVP]

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 said:
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 said:
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 said:
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!



:

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/


message
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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top