|
-
Aug 26th, 2008, 05:54 AM
#1
Thread Starter
New Member
need help with VB
hello
i am new to this forum i came here to get some help i don't vb at all
i want to create a web page and want to put some vb function there
i want to create a web page when it is loaded mouse pointer automaticall move to a certain definde place and click there
please tell me is it possible by vb and yes so please give it's script
with thanks
bye
-
Aug 26th, 2008, 06:23 AM
#2
Re: need help with VB
Welcome to the forums. 
If you want to create a web page, then why are you attempting to use a desktop based language like Visual Basic rather than a web based language like ASP, or HTML, or PHP, or something along those lines?
-
Aug 26th, 2008, 01:02 PM
#3
Thread Starter
New Member
Re: need help with VB
i want and did ask to people who know javascript but they said it is not possible by javascript
and i think vb script is also used in web pages
 Originally Posted by Hack
Welcome to the forums.
If you want to create a web page, then why are you attempting to use a desktop based language like Visual Basic rather than a web based language like ASP, or HTML, or PHP, or something along those lines?
-
Aug 26th, 2008, 01:04 PM
#4
Re: need help with VB
You are correct....VBScript is used in web pages.
However, VBScript and VB6 are different animals, and what works in one might not work in the other, so I'm moving your thread to the VBScript section. 
Moved
-
Aug 26th, 2008, 01:12 PM
#5
Thread Starter
New Member
Re: need help with VB
thanks hope i will get best help there
 Originally Posted by Hack
You are correct....VBScript is used in web pages.
However, VBScript and VB6 are different animals, and what works in one might not work in the other, so I'm moving your thread to the VBScript section.
Moved
-
Aug 26th, 2008, 01:47 PM
#6
Re: need help with VB
Yes, it is possible with JavaScript and VBScript as well. But it depends on whether the button you want to click is on the page itself or outside the brwoser window.
-
Aug 26th, 2008, 01:53 PM
#7
Thread Starter
New Member
Re: need help with VB
thanks for replying can you please give me script for that
 Originally Posted by mendhak
Yes, it is possible with JavaScript and VBScript as well. But it depends on whether the button you want to click is on the page itself or outside the brwoser window.
-
Aug 26th, 2008, 01:56 PM
#8
Re: need help with VB
As mentioned earlier,
"But it depends on whether the button you want to click is on the page itself or outside the browser window."
-
Aug 27th, 2008, 03:53 AM
#9
Thread Starter
New Member
Re: need help with VB
hello please give me script to put in web page
please do reply
 Originally Posted by mendhak
As mentioned earlier,
"But it depends on whether the button you want to click is on the page itself or outside the browser window."
-
Aug 27th, 2008, 02:12 PM
#10
Re: need help with VB
I'm going to try to ask my question in another way.
Do you want to click a button on the same page or in a window outside that web page?
-
Aug 27th, 2008, 02:41 PM
#11
Thread Starter
New Member
Re: need help with VB
i want to create a web page there will a tabel in the page when any one visit that page visitor mouse automatically moves to that table click all the books url or any url that is defined to it
is this possible by vb i asked some javescript expert and they denied even without think they said no it can'tbe done by javascript
please sir do tell me can it be done by vb
thanks bye
 Originally Posted by mendhak
I'm going to try to ask my question in another way.
Do you want to click a button on the same page or in a window outside that web page?
-
Aug 30th, 2008, 01:52 PM
#12
Re: need help with VB
Whoever said it isn't possible was right... to understand why, you need to know what a hyperlink is. It's just a bit of text that sits on a page; when a user clicks on it, the browser creates a request and navigates to the target page. You want that when the page is loaded, the javascript goes over and automatically clicks on all of the hyperlinks. That doesn't make sense, because only one link at a time will ever work. For example, when you go to the home page on vbforums, you can only left click on one hyperlink - it will take you to that page. Linear flow. You can't be in multiple places at the same time in the same window.
You can get your javascript to go through the hyperlinks, get the URLs and force new popup windows that go to those URLs.
-
Aug 31st, 2008, 01:03 AM
#13
Thread Starter
New Member
Re: need help with VB
but vb script is bigger language then javascript why it even not possible by vb when mouse movement can be controled by vb so there must be some way to do
 Originally Posted by mendhak
Whoever said it isn't possible was right... to understand why, you need to know what a hyperlink is. It's just a bit of text that sits on a page; when a user clicks on it, the browser creates a request and navigates to the target page. You want that when the page is loaded, the javascript goes over and automatically clicks on all of the hyperlinks. That doesn't make sense, because only one link at a time will ever work. For example, when you go to the home page on vbforums, you can only left click on one hyperlink - it will take you to that page. Linear flow. You can't be in multiple places at the same time in the same window.
You can get your javascript to go through the hyperlinks, get the URLs and force new popup windows that go to those URLs.
-
Aug 31st, 2008, 12:40 PM
#14
Re: need help with VB
It's not bigger, it's roughly the same. It allows you to use ActiveX controls as objects in the script, which JavaScript allows as well - that is what you may be perceiving as 'bigger'. In the end though, the ActiveX component that you may want to use in your script needs to be written in VB6 and exist on the user's machine.
-
Aug 31st, 2008, 12:40 PM
#15
Re: need help with VB
Also keep in mind that VBScript is not the same as VB6.
-
Aug 31st, 2008, 01:13 PM
#16
Thread Starter
New Member
Re: need help with VB
i though i would get best reply form this forum but anyway thanks for replying
 Originally Posted by mendhak
Also keep in mind that VBScript is not the same as VB6.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|