|
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
|
|
|
|
|
hellllllo,
i want to make a separate vbs file, i cannt use vs.net to run t through vs.net or i dont want to run it under html document.
please man, if u know how i can call a web page through the vbs file send t to me
Thanks alot
Hamody
|
|
|
|
|
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
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
|
|
|
|
|
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
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
|
|
|
|
|
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
|
|
|
|
|
Hi
dear
I am very new to vb.net and here too...Please help me in understanding vb.net
I need help ..in regards with database programing
I am working on an assignment . as a too i am using vb.net and microsoft access.
Please advise me how to connect database created in microsoft access using vb.net
m.adil.farooq
mcs & acca
adil-farooq@maktoob.com
|
|
|
|
|
|
If you want to become a programmer, you need to learn how to use some high level and complicated tools. Number one tool in your arsenal is right here[^]
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
|
Thanks.
m.adil.farooq
mcs & acca
adil-farooq@maktoob.com
|
|
|
|
|
Private Sub btn_pull_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_pull.Click
Const gRemoteProvider = "Provider=SQLOLEDB.1;Persist Security Info=False; " & _
"User ID=dmspda;Password=dmspda;Initial Catalog=dmspda;Data Source=INSPIRON6000"
Const gInternetURL = "HTTP://192.168.1.3/Sync/SSCESA30.DLL"
Const gInternetLogin = "INSPIRON6000\IUSR_INSPIRON6000"
Const gInternetPwd = "1234"
Dim rda As SqlCeRemoteDataAccess
rda = New SqlCeRemoteDataAccess
rda.LocalConnectionString = "Data Source=\My Documents\pda.sdf"
rda.InternetUrl = gInternetURL
rda.InternetLogin = gInternetLogin
rda.InternetPassword = gInternetPwd
rda.Pull("pda_uom", "Select * from pda_uom", gRemoteProvider, RdaTrackOption.TrackingOn)
End Sub
Have been tried to setting a lot of time but get the error message:
System.Data.SqlServerCe.SqlCeException was unhandled
HResult=-2147467259
Message="An error has occurred on the computer running IIS. Try restarting the IIS server."
NativeError=28022
Source="Microsoft SQL Server 2005 Mobile Edition"
StackTrace:
at System.Data.SqlServerCe.NativeMethods.CheckHRESULT()
at System.Data.SqlServerCe.SqlCeRemoteDataAccess.Pull()
at PDA2007.PULLPUSH.btn_pull_Click()
at System.Windows.Forms.Control.OnClick()
at System.Windows.Forms.Button.OnClick()
at System.Windows.Forms.ButtonBase.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at PDA2007.PULLPUSH.Main()
Development PC:
* Windows XP SP2
* IIS 5.1
* SQL 2005 Express Edition
* Visual Basic 2005
* .Net 2CF
Device:
* SQL Mobile 2005
* .NET 2CF
* Window Mobile 5 OS
Everything follow instruction, but still fail to do PULL method.
Anybody meet same problem ?
xiaoyTan
|
|
|
|
|
Hi, currently I'm suing visual studio 2005 professional trail edition. Now the trail period is nearly expire, and I want to continue use it. I found an upgrade button in the about dialog box but when i click on it it load an internet explorer. I do not have an internet connection connection at home. So I would like to know are there any method that I could convert my trail edition into a full functioning edition? Do I have to purchase any additional software? Or i need to uninstall it and reinstall the full functioning version? Please suggest me...
|
|
|
|
|
If you do not have an internet connection then you will have to buy the software from either a retailer or ...online.
Not sure if you would qualify but www.academicsuperstore.com has great buys on the programming software if you are part of an educational instituion (student, faculty, etc). I save a few hundred dollars on the purchase of my programming software through them. If you don't qualify then you can always use a standard web store like amazon.com.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
Thank you very much for your information. I also check this website and found it very useful. The visual studio .net 2005 pro just cost 104$ while on amazon was 700$. If it is possible to ship this product to my country (Cambodia), then I will purchase it. Thank for your help.
|
|
|
|
|
Keep in mind that the price is for academically elgible students/faculty of learning institutions, they do check. I have no idea about the shipping to Cambodia.
If worse comes to worse you can always buy the software through Amazon.com.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
Thomas, thank you very much for your comment. I will try to look through more detail in this website for which identification that they need me to identify myself as academic student. If I'm a worker and I want to use this product to research at home, do they still sell me the prices as an academic?
|
|
|
|
|
No, that would violate the licence.
The Express Edition is free, if you only want to work in VB.NET and don't need the advanced features.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Christian Graus wrote: No, that would violate the licence.
Thank you very much for your comment. My previous about asking the way to identify as academic student because I also spend myself on research about technology, not doing a business and gain profit. The reason that I ask in the post because I want to know which action should I take is legal (not violate the license). So now I get the answer what I want.
Thank you again for your suggestion
|
|
|
|
|
I'm using the free express edition so your's may be a little different. Probably all you need is a registration number. Check the box, it might have a number for microsoft in which case you can probably pay by phone and get a registration number. Otherwise you could probably get it from microsoft's website.
If it is like my copy of vb.net then there should be a menu saying "register product" under "help". Just enter the number there.
|
|
|
|
|
Thank you very much for your suggestion. I also have visual basic express edition. But it is a limited edition. Because I need more capability on software development, so I need to use vs 20005 pro. Thank for your help.
|
|
|
|
|
How can I crop a circle/oval out of an image?
Any example would be helpful.
|
|
|
|