VBS File
-
:->Hello all, I want to make a vbs file that will take some data and then will redirect me to a nwe web page with the entered data as a query string, is there any one can help me or have a ready done vbs file :-O
Thanks alot Hamody
-
:->Hello all, I want to make a vbs file that will take some data and then will redirect me to a nwe web page with the entered data as a query string, is there any one can help me or have a ready done vbs file :-O
Thanks alot Hamody
What is a VBS file ? Do you mean a script for classic ASP, using VBScript ? I heartily recommend you use ASP.NET, unless you hate yourself. Having said that, the web development forum is for ASP questions.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
What is a VBS file ? Do you mean a script for classic ASP, using VBScript ? I heartily recommend you use ASP.NET, unless you hate yourself. Having said that, the web development forum is for ASP questions.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
yeah i mean visual basic script file, i want to make it as a sparated file without using visual stuodio.net for example; make a new text file ane write the following lines inside it: Dim m MsgBox "You must enter a quantity." and then save it as ddd.vbs, then double click on it, u will see its action. i want to make a one as this but for the purpose that i asked in my sent question :((
Thanks alot Hamody
-
yeah i mean visual basic script file, i want to make it as a sparated file without using visual stuodio.net for example; make a new text file ane write the following lines inside it: Dim m MsgBox "You must enter a quantity." and then save it as ddd.vbs, then double click on it, u will see its action. i want to make a one as this but for the purpose that i asked in my sent question :((
Thanks alot Hamody
Well, how is this script going to be run via a web site, if it's just sitting at a random place on your hard drive ? Why does it matter than you use or don't use VS ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
Well, how is this script going to be run via a web site, if it's just sitting at a random place on your hard drive ? Why does it matter than you use or don't use VS ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
Mohammad Daba'an wrote:
i want to make a separate vbs file,
OK - this file is never going to run under .NET. It doesn't matter what you use to edit it.
Mohammad Daba'an wrote:
i dont want to run it under html document.
OK, then where does the query string magically come from when you run this file. When you double click on it, how does it relate to a URL at all ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
Mohammad Daba'an wrote:
i want to make a separate vbs file,
OK - this file is never going to run under .NET. It doesn't matter what you use to edit it.
Mohammad Daba'an wrote:
i dont want to run it under html document.
OK, then where does the query string magically come from when you run this file. When you double click on it, how does it relate to a URL at all ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
Dear There, ok, for the editting, I will use notepad to write the vbs file, i just need now the code that i can use to call a url, eg, www.yahoo.com by running this vbs file :confused:
Thanks alot Hamody
-
Dear There, ok, for the editting, I will use notepad to write the vbs file, i just need now the code that i can use to call a url, eg, www.yahoo.com by running this vbs file :confused:
Thanks alot Hamody
Oh, I see. You just want to launch a URL, and create a query string. I thought you wanted to process one. I'm not sure, but I know that in C++ and C#, the code to run a program will run the default browser and open a URL, if you pass it a URL.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
Oh, I see. You just want to launch a URL, and create a query string. I thought you wanted to process one. I'm not sure, but I know that in C++ and C#, the code to run a program will run the default browser and open a URL, if you pass it a URL.
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
ok dear, u now understand 80% of what i want, in asp.net when i want to go to another page i put (response.redirect("........")) i want to know what is the code to open a url when i click on button for example in using vbs, i willnt use asp.net, the example i sent u is on vbs, i will make a vbs file that when i open it it will appear an input box inside it and it has 2 button, ok and cancel, when i fill the url and press ok it will open an IE page and display the url i entered. i want the code that will call the entered url, hope u understand me now ;P
Thanks alot Hamody
-
ok dear, u now understand 80% of what i want, in asp.net when i want to go to another page i put (response.redirect("........")) i want to know what is the code to open a url when i click on button for example in using vbs, i willnt use asp.net, the example i sent u is on vbs, i will make a vbs file that when i open it it will appear an input box inside it and it has 2 button, ok and cancel, when i fill the url and press ok it will open an IE page and display the url i entered. i want the code that will call the entered url, hope u understand me now ;P
Thanks alot Hamody
Yep, I understand. We've been discussing this for 4 hours. It took me 30 seconds to find how to open a web page with VBS, via a simple google search
set Window = CreateObject("InternetExplorer.Application")
Window.RegisterAsBrowser = True Window.Navigate("www.microsoft.com") Window.MenuBar = True Window.ToolBar = True Window.AddressBar = True Window.StatusBar = True Window.FullScreen = False Window.Resizable = True Window.Visible = True Window.Width = 850 Window.Height = 720
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
Yep, I understand. We've been discussing this for 4 hours. It took me 30 seconds to find how to open a web page with VBS, via a simple google search
set Window = CreateObject("InternetExplorer.Application")
Window.RegisterAsBrowser = True Window.Navigate("www.microsoft.com") Window.MenuBar = True Window.ToolBar = True Window.AddressBar = True Window.StatusBar = True Window.FullScreen = False Window.Resizable = True Window.Visible = True Window.Width = 850 Window.Height = 720
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
man thank u for the time u spent with me, man we r nt all the same, u have 2 b better to help the 1s like me. tell me, for ur search on google, what is the text u put on the search box to get this codes n a short time, man :-> am still new with vbs, i just started learning t since yesterday ... thanks a lot tooooooo much for ur help ;-)
Thanks alot Hamody
-
man thank u for the time u spent with me, man we r nt all the same, u have 2 b better to help the 1s like me. tell me, for ur search on google, what is the text u put on the search box to get this codes n a short time, man :-> am still new with vbs, i just started learning t since yesterday ... thanks a lot tooooooo much for ur help ;-)
Thanks alot Hamody
I typed in 'vb script open web page'
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert