By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,837 Members | 1,206 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,837 IT Pros & Developers. It's quick & easy.

visual.net/visual basic connect to web page

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.