I am using Visual Basic 2008 Express Edition. I would like to directly login to my admin area of my site using a button click (it is password protected through .htaccess so it shows the username and password window).
In previous Internet Explorer versions it was possible to write username@passwo rd:URL, so this one would be good for me, but it doesn't work anymore and VB.NET is actually using the Internet Explorer. Is there another way to do...
User Profile
Collapse
-
How to login to a site
-
Max characters in textbox
Is there a way to make the textbox stop typing when a user types numbers? I don't want an error message, I'd just like the user to be able to insert 10 numbers and then it shouldn't add any newly typed numbers.
The code I have so far is
Private Sub TextBox1_KeyPre ss(ByVal sender As Object, ByVal e As System.Windows. Forms.KeyPressE ventArgs) Handles TextBox1.KeyPre ss
If Not IsNumeric(e.Key Char) Then
... -
How can I use numeric values only but also allow the Backspace?
I am using Visual Basic Express 2008.
I have added the following code to my text box:
Private Sub TextBox1_KeyPre ss(ByVal sender As Object, ByVal e As System.Windows. Forms.KeyPressE ventArgs) Handles TextBox1.KeyPre ss
If Not IsNumeric(e.Key Char) Then
MessageBox.Show ("Please insert numbers only.", "Error!", MessageBoxButto ns.OK, MessageBoxIcon. Exclamation)
... -
How can I ping a server in Virtual Basic Express 2008?
Edit: Sorry for the title, it's Visual Basic Express 2008 :)
Is there an easy way to just ping a server by IP or URL and return the minimum, maximum and average milliseconds?
Actually the same results I get in CMD when using the ping command. Can't find any tutorial that describes it.
So let's say I have a Textbox1 and a Button1 and a Label1 for the results. How can I do it? -
-
Thanks for your answer! :)
I actually searched and figured out
Private Sub Button1_Click(B yVal sender As System.Object, ByVal e As System.EventArg s) Handles Button1.Click
If TextBox1.Text = "" Then
MessageBox.Show ("Please insert a value.", "Error!", MessageBoxButto ns.OK, MessageBoxIcon. Exclamation)
Else
Dim a As String
...Leave a comment:
-
Loop problem with array
I am using Visual Basic Express 2008.
I'm really new to this, so this one could sound really kind of a joke to you, but the thing I want to do is:
Have a text box (Textbox1) and I'd like by clicking a button to display the next array item starting from the first one, but actually it does only show the last one (comments(2)) everytime I click on the button. This is the code I added to my button:
Private Sub Button6_Click(B yVal... -
Multiplay text box entry with predifined number
Hello :)
I have started using Visual Basic Express 2008 today, but I kind of feel I am not getting even the basics running..
I'd like to do the following:
I have a textbox and a button which I would like to use as the submit button. I'd just like to be able to add a value in the text box and by clicking on the calculate button it should show me the result of a multiplication by 0,5
If someone could help me with this and...
No activity results to display
Show More
Leave a comment: