|
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.
|
|
|
|
|
You can create a texturebrush using the image, use a translate transform to set the starting corner of the oval, and draw your oval using the brush.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
I found this in the help section but how do I call it from the button1 click event, I get Argument not specified for parameter e
Public Class Form1<br />
<br />
Public Sub TransformExample(ByVal e As PaintEventArgs)<br />
<br />
' Create a path and add and ellipse.<br />
Dim myPath As New Drawing2D.GraphicsPath<br />
myPath.AddEllipse(0, 0, 100, 200)<br />
<br />
' Draw the starting position to screen.<br />
e.Graphics.DrawPath(Pens.Black, myPath)<br />
<br />
' Move the ellipse 100 points to the right.<br />
Dim translateMatrix As New Drawing2D.Matrix<br />
translateMatrix.Translate(100, 0)<br />
myPath.Transform(translateMatrix)<br />
<br />
' Draw the transformed ellipse to the screen.<br />
e.Graphics.DrawPath(New Pen(Color.Red, 2), myPath)<br />
End Sub<br />
<br />
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click<br />
TransformExample()<br />
End Sub<code>
|
|
|
|
|
Wow - that's almost entirely useless.
1 - your function needs a PaintEventArgs, you've not passed it one, that's why it won't compile
2 - that code is creating an ellipse and moving it on the graphics object, It won't crop anything, and it's just too complex for what it does (draw an ellipse )
A painteventargs comes from a paint event, this code assumes it will be drawing an ellipse within a paint event.
Try doing what I suggested.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
You can see why the vb.net help files are no help.
and why people trying to learn vb.net (like me) give up.
There are just not enough good example to play around with.
|
|
|
|
|
No, the reason peole give up is that they don't ask, or don't take advice. Here[^] are plenty of examples on how to use a texturebrush ( I already told you this is what you need to do ).
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|