Question about Computers & Internet

2 Answers

Vb code for automatic number change

If press enter in textbox number to be changed
textbox number + 1

Posted by on

2 Answers

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 1 Answer

Hello,
Who ever you are it's so simple Here is How below, Just Have A Try....

First create a Text box in VB and write the below code :

Private Sub Text1_KeyPress(KeyAscii As Integer)
If Text1.Text = "" Then
Text1.Text = 1
Else: Text1.Text = Text1.Text + 1
End If
End Sub


Bye

E.Jithender

Posted on Dec 22, 2008

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that gotĀ 5 achievements.

    Governor:

    An expert whose answer gotĀ voted for 20 times.

    Scholar:

    An expert who has written 20 answers of more than 400 characters.

  • Expert
  • 135 Answers

You want the code for when you press enter in textbox it automatically change to 1.

I am typing C# code you can easly covert it to VB.Net code

make an event for key press for textbox
and write the followting code in the event
IF textbox1.text = ""
textbox1.text = "1"
End IF

I hope your problem will solve with this If need more assistance let me know. If your problem is solved then don't forget to make answer my thread.

Regards

Posted on Nov 17, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

2 Answers

How can I change my magic jack telephone number?


The MagicJack service allows customers to place and receive phone calls through a computer instead of a traditional phone line. Unlike a landline, MagicJack allows people to select a state and area code for their personal number. Users can also customize a vanity number to make their contact information more memorable. If a customer moves to a new city or would like a different vanity number, he can quickly make this change from the MagicJack website. Step 1 Access your MagicJack online account (see link in the Resources section). Enter the phone number and password associated with the account, and press "Login."
Step 2 Select the "Phone Numbers" menu tab. Click the option labelled "View - Renew - Add." Choose "Add a Phone Number."
Step 3 Choose one of the listed options for the new number. Select "Vanity Number" if you wish to customize your phone number. Standard U.S. and Canadian number options are also available.
Step 4 Check the box marked "I elect to accept free outgoing service." This allows free outgoing calls to phones in the United States. MagicJack must ask this question for legal purposes. If you leave the box unchecked, the MagicJack service will only accept incoming calls.
Step 5 Confirm that you wish to change the MagicJack number. Click "I understand and would like to change my number." Select a state, area code and city for the new number.
Step 6 Press the "I Want to Choose..." button to set the last four digits of the number, or click "No Thanks. I want the last four digits assigned automatically" to receive a random number.
Step 7 Click the "Checkout" button. Fill out the requested payment information to complete the transaction. As of September 2012, the standard fee to change a MagicJack number is $10. Vanity numbers may require an additional fee.

Nov 07, 2014 | Computers & Internet

1 Answer

How do I change the combination on I have a paragon digital lock & safe


TO SET UP OR CHANGE A USER CODE

1. With the door open, locate the red button on the back of the door near the hinge.

2. Press the red button and listen for the beep.

3. Immediately enter your new passcode (3-6 digits long)

4. Immediately after entering your new passcode, press the "A" or "B" button on the keypad. Your new user passcode is now stored.

NOTE:

This safe stores up to 2 passcodes (a user code and a manager code). Entering a third code will erase the

first passcode entered.

SETTING UP OR CHANGING A MANAGER PASSCODE

1. Open your safe with the passcode you wish to change and leave the door ajar.

2. Press the "0" button on the keypad twice. Press the red button, listen for a beep and then enter your new user passcode.

New user passcodes may be 3-6 digits long.

3. Immediately after entering your new code, press the "A" or "B" button on the keypad. Your user code is now changed.

http://www.paragonlockandsafe.com/manuals/mastermanual.pdf

Aug 29, 2014 | Paragon Electronic Digital Safe Jewelry...

1 Answer

Set combination for paragon lock & safe


TO SET UP OR CHANGE A USER CODE
1. With the door open, locate the red button on the back of the door near the hinge.
2. Press the red button and listen for the beep.
3. Immediately enter your new pass code (3-6 digits long)
4. Immediately after entering your new pass code, press the "A" or "B" button on the keypad. Your new user pass code is now stored.
NOTE:
This safe stores up to 2 pass codes (a user code and a manager code). Entering a third code will erase the
first pass code entered.

SETTING UP OR CHANGING A MANAGER PASS CODE
1. Open your safe with the pass code you wish to change and leave the door ajar.
2. Press the "0" button on the keypad twice. Press the red button, listen for a beep and then enter your new user pass code.
New user pass codes may be 3-6 digits long.
3. Immediately after entering your new code, press the "A" or "B" button on the keypad. Your user code is now changed.

http://www.paragonlockandsafe.com/manuals/mastermanual.pdf

Aug 29, 2014 | Paragon Electronic Digital Safe Jewelry...

1 Answer

How do i set code for paragon safe


INITIAL BATTERY INSTALLATION
1. Remove the key plate cover, insert the key into the keypad and open the door.
2. Remove the battery cover plate located on the inside of the door.
3. Install 4 AA batteries provided and replace the battery cover.
NOTE
: If both the red and green lights are on while the safe is open, this indicates that the batteries are low and need
to be changed.

TO SET UP OR CHANGE A USER CODE
1. With the door open, locate the red button on the back of the door near the hinge.
2. Press the red button and listen for the beep.
3. Immediately enter your new passcode (3-6 digits long)
4. Immediately after entering your new passcode, press the "A" or "B" button on the keypad. Your new user passcode is now stored.
NOTE:
This safe stores up to 2 passcodes (a user code and a manager code). Entering a third code will erase the
first passcode entered.

SETTING UP OR CHANGING A MANAGER PASSCODE
1. Open your safe with the passcode you wish to change and leave the door ajar.
2. Press the "0" button on the keypad twice. Press the red button, listen for a beep and then enter your new user passcode.
New user passcodes may be 3-6 digits long.
3. Immediately after entering your new code, press the "A" or "B" button on the keypad. Your user code is now changed.
OPENING THE SAFE
1. Input your code and then press the "B" button, the green light will turn on.
2. Turn the knob clockwise within 5 seconds to open the door.
3. Each key pressed will be accompanied by a buzzer and a yellow flashing light. If the entered code is invalid the yellow light will
flash and the buzzer will quickly sound, this indicates the code needs to be re-entered.

CAUTION
: Entering the incorrect passcode 3 times will lock the system for 20 seconds.


More information can be found in the attached document web page.

http://www.paragonlockandsafe.com/manuals/mastermanual.pdf

Aug 29, 2014 | Paragon Electronic Digital Safe Jewelry...

1 Answer

Need new password


Which opetaing system and is the password to log on to your computer or an internet connection password ?
How to change your windows password using the command line
http://www.askstudent.com/hacking/how-to-change-your-windows-password-using-the-command-line/

Change a Network Password

A network password is a combination of alphanumeric characters that users must enter in order to access a local area network.

Wireless routers use this password to protect the network from unauthorized users who could potentially steal bandwidth from the network, access sensitive data and view the information being sent to and from the network's router.

To change your network password, you must log on to the router's URL and access its security settings.

Type the router's URL into your web browser.
To access and change any settings on your router, you must log in to the router's URL.

This will allow your computer to communicate with the router and access the router's main page. When accessing the router's URL, use the same computer that was used to install the router.

If you do not know the router's URL, look for this information in the router's manual or on the manufacturer's website.

After entering the URL into the web browser's address bar, press "Enter" or click the "Go" button on the browser.

Input the router's default username and password.

Once you enter the router's URL into your web browser, a dialog box will appear requiring you to input the router's username and password. (Note that this password is not the network password.)
Unless you have previously changed the router's username and password, input the defaults.

Many routers have the default username of "admin" and have the password set as "password" or have no password at all.

To find out your router's default username and password, check the documentation that came with your router or check the manufacturer's website. Click "OK" to proceed to the router's main page.

Access the router's security settings.
Depending on your brand of router, there will be tabs or links on the router's main page.

One of these will contain the page for changing your security settings.
Find and click the link or tab.

This page will contain several textboxes, one of which will contain the SSID (name of the network) and two textboxes for changing the network password.

Select an encryption type and change the network password.
Most new routers offer WEP (Wired Equivalency Privacy) security or WPA security.

Select the type of security and change the network password by typing in a new password in the two text boxes.

When you are finished, click "OK."

Save your changes and log out.

After changing the network password, you must click "Save" or "Apply" to keep the password change.

Log out of the router by clicking the "Logout" or "Exit" link on the router's main page.

If you leave the main page open for a certain period of time, you may be logged out automatically.

Mar 25, 2014 | Computers & Internet

1 Answer

How can i display an even number if i enter an odd number in visual basic 6.0


To display an even number when an odd number is entered you can add 1.
n= val(text1.text) 'Take the value of n from the textbox.
If n mod 2 =1 then 'If n is an odd number n=n+1 'You make it an even number end if
text2.text = n 'Display it in another textbox.

Please give a good rating to this answer so that I will be encouraged to support people like you having problems with VB6.

Sep 22, 2011 | Computers & Internet

1 Answer

The errore code of my konica 7040 is F-35-2


f 35-i thru f35-6 low temtemperature or open thermistor




simulations
note : 9272 is the standered password to enter simullation press9,2,7,2,start , to use these with power already on press and hold the"*"key util the display says "please enter service password"note:factory manual says"keep pressing" this might mean hold down or it might mean press repeatedly.press9272 start "mode selectmenu screen" will appear.press the mode you want[p ,25, 35, 36 , or 47] when finished press "normal mode"to return to standard screen use the number keys to change values press print key to check item press "stop/clear"when finished

"25 mode" to enter this mode turn power off, press the 2and 5 keys and hold them down while they are held down turn on power menu screen will list choices
1 software switches
2pm count
3collectng
4
5
select your choice enter value press"return"to see that your new value has been entered turn power off new in formation will not take effect util power is off and back on again
1 software sw ....use up/downarrows keys to select dip switch use up/down arrow keys to select to select bit number"on"is 1 "off" is "0" on will set bit off will clear bit press "return"to return to menu listing dipswitches and all their bits cannot be done in a short publication such as this one
dipswitch 3 bit 1 is the fuser reset command {for error cdes f34,f35and f36}0 is no 1 is yes to reseta fuser fault you enter this mode select dipswitch 3, select bit 1and change "1"to "0"by pressing"off"
dipswitch 23 bit 7 is fuser web count-over stop machine will stop operating when fuser web life is reached if this is set to"1"

Aug 30, 2011 | Computers & Internet

1 Answer

How do I change the number of rings before call goies to voice mail?


1. Press the star (*) key on your phone. Follow this symbol with the number "61." Press star (*) once more. Then, click "Send" to place the call.
2. Type the number one (1) and then enter the number for your voicemail box.
3. Press star (*) twice
4. Enter a time amount. This number will be how many seconds your phone rings before the call goes to your voicemail. This number can only be changed in multiples of five. The maximum time you can enter is 30 seconds.
5. Press pound (#). Your settings will be changed.

Mar 12, 2011 | Computers & Internet

1 Answer

To form a jumbled words


Using VB as an example

Dim intLength as Integer
Dim y as Integer
Dim arrOut( ) as String
Dim TempLetter as String
intLength=len(text1.text)
ReDim arrOut(intLength)
Randomize
dim boolDone as boolean ' flag to track unfilled positions

Write a loop that gets each letter from text1, then choose a random number from 1 to intLength

Get the existing letter, then put it into a different position in the arrOut, based on the random number. If something is in that position, try again:

for y=1 to intLength
tempLetter = mid(text1.text,y,1)
boolDone=false
do while boolDone=false
r =CInt(Int((y * Rnd()) + 1)) 'Get random # from 1 to length
if arrOut(r) ="" then 'see if spot has been used
arrOut(r) = tempLetter
boolDone = true
end if
loop
next 'get next letter in text1

text2.text=join(arrOut,"") ' concatenate arrOut, no delimiter.


Hope that helps.





Jul 16, 2008 | Computers & Internet

1 Answer

CONNECTING VB TO EXCEL


Here is some code that I found in this book:
Microsoft Visual Basic 6.0 Professional, Step by Step.
By Michael Halvorson
Second Edition.
ISBN: 0-7356-1883-6
Code removed for possible copyright issues.

That program in VB6 will open an Excel workbook, and then insert the data into the cells at B1, B2 and B3.
You can change this to have a textbox show up to ask for info to insert into the cells as appropiate.

If you look at www.microsoft.com/mspress/developer and search there, they may still have some code that you can download.

Feb 21, 2008 | Microsoft Windows XP Professional With...

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

139 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

98868 Answers

David Payne
David Payne

Level 3 Expert

14086 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...