C# - Why When Press A Ctrl+Tab In A MultiLine TextBox,it Enters A Tab Character

Oct 17, 2011

Why when I press Ctrl+Tab in a MultiLine TextBox,

it enters a tab character even if I set the AcceptsTab property to false?

I set the MultiLine property to true, and AcceptsTab property to false.

View 1 Replies


ADVERTISEMENT

Detecting Ctrl+character Press?

Nov 25, 2010

I want a part of my web browser to navigate to the home page when the user performs the shortcut Ctrl-H. I'm not sure how to go about telling the program to detect the KeyUp (or would it be KeyDown?) from anywhere in the program (for example, not just in the Private Sub of a text box but rather for the entire form). Here's what I have so far:

Private Sub Form1_KeyUp(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyUp
If (Microsoft.VisualBasic.Asc(e.Control && e.KeyCode == Keys.H) Then
WebBrowser1.Navigate(My.Settings.HomeUrl)
End If
End Sub

View 6 Replies

VS 2008 Find/Search Ctrl + F In Multiline Textbox

May 2, 2009

is there a way to make a textbox searchable like those Ctrl + F which can be found in most of the windows application?

I have googled and found some functions which is quite similar, but I have an issue which for eg.

My multiline textbox contains a lot of text with scrollbar, somehow the text I want to find is in the middle, when I click the find button, the word is indeed found and highlight, but the scrollbar still remain on top.

I wonder how can I make the find adjust the scrollbar as well?

View 4 Replies

Vb 2008 - Converting A Character That The User Enters In A Textbox To Binary

May 11, 2009

I want help emergency for a project i have, I have to make a program to do hamming codes, since now i have done the part for converting a character that the user enters in a textbox to binary.This binary now is displayed in a textbox. So now i want to save this binary to an array

e.g i have this binary 10101110

CODE:

and so on .. how can i do it?

View 14 Replies

Call A Routine When The User Press CTRL+Z Or Ctrl+somthing?

Jul 28, 2009

how do i call a routine when the user press CTRL+Z or ctrl+somthing?

View 10 Replies

C# - Make A Ctrl+Tab When Pressed Works Like Tab When Pressed In A MultiLine TextBox?

Oct 17, 2011

I have a TextBox and set the MiltiLine property to true and AcceptsTab property to false.When the TextBox has focus and i press Tab it works fine and the next control get the focus, but when i press Ctrl+Tab it works as if AcceptsTab property is set to true and makes a tab character into the TextBox.The reason i press Ctrl+Tab.. when switching between forms in my MDI application.Now how to make a Ctrl+Tab when pressed works like Tab when pressed in a MultiLine TextBox?

View 1 Replies

CTRL-C, CTRL-V Not Working In Textbox In VB2008

May 15, 2009

I noticed that ctrl-c and ctrl-v are not working in my project. I am using VB2008 and have an MDI project. The child forms have textboxes but I cannot use the shortcut.

View 3 Replies

Count The Number Of Times When A User Enters A Character?

May 20, 2009

count the number of times when a user enters a character followed by , and I want to count , number of times. So far here is what I have if you also know a little about the split function can you check to see if what I have is right?

Private Sub Strat0_LostFocus()
Dim q1 As New rdoQuery
Dim LO As Integer

[code]....

View 6 Replies

Making A Program That Shutsdown Pc If Press Ctrl+s

Mar 11, 2012

I am making a program that shutsdown your pc if you press ctrl+s. I have tried looking at some keylogger codes and changing them slightly but i can't find anything that works. I need it to be minimized but still checking for ctrl+s.

View 6 Replies

Press Ctrl+Break To Pause The Execution To Change A Value?

Mar 17, 2012

When i test a project i usually press Ctrl+Break to pause the execution to change a value here or there, but unfortunately VB opens a new tab titled "No Source Available" and it become difficult to back to the tab that i was working with specially when there are a lot of opening tabs.

Is there any option to stay on the current tab when pressing Ctrl+Break?

View 2 Replies

User Enters A Password - Must Be At Least 3 Characters Long - At Least 1 Number And 1 Alphabet Character

Mar 28, 2012

My homework assignment is to create a project where a user enters a password that must be at least 3 characters long with at least 1 number and 1 alphabet character. After that the password has to be encrypted so that vowels become X, numbers Z, and it reverses. For example, a password of CS2301 would be ZZZZSC. There's supposed to be Loops to extract 1 number/letter at a time and search for them in the string to validate, and I don't know what to do. The form itself has a Text Box to enter a password and a label to display the new one, and a Go button.

This is what my code looks like so far.

Option Strict On
Option Explicit On

Public Class Form1

[CODE]...

View 13 Replies

DB/Reporting :: Can't Find Data Control In The Tool Box And Nothing When Press CTRL And T

Apr 27, 2008

I have just installed VB.Net 2005 to do my Uni project at home.Why cant I find the Data Control in the the tool box and nothing when I press CTRL and T..I need to define the ado control name but having no luck as yet.

View 3 Replies

Create Console Program Where User Enters A Character And Respective ASCII Value In Denary

Nov 21, 2010

The latest assignment from my teacher was to create a console program where the user enters a character and the respective ASCII value in Denary, Hexadecimal and Binary, Even Parity, Odd Parity and Hamming code is returned.I've managed to implement all of them except the latter with relative ease, I am familiar with the concept of Hamming code and can compute it easily by hand, but don't really know how to implement it as a function in my program. [code]

View 1 Replies

E.keycode - Doesn't Perform A Button Click If Press CTRL And Enter

Jan 9, 2012

I have the following

[Code]...

I want to make it so it doesn't preform a button click if you press CTRL and Enter.

View 2 Replies

VS 2008 : Do Multiline Textboxes Have A Character Limit

May 6, 2009

Do multiline textboxes have a character limit?Someone who was using my program said that he has some textfiles that are about 50 KB and when he goes to copy/paste that data into a multiline textbox, he only gets about 31.9KB of the data.My MaxLength property says 32767, which basically matches the 31.9 KB, however, most of what I read on the internet says Multiline Textboxes can hold unlimited characters and that MaxLength is actually ignored when a textbox is in multiline mode.

View 2 Replies

Assigning Hotkeys Ctrl+shift+ Character In VB

Jun 5, 2011

1)I have saved some data in a text file, now I want to assign it a hotkey, so that when a user presses the hotkey (assigned by the user) that file data should be displayed in a text editor or email etc.

2) should I save the text file and hotkeys into database? if yes then how? I am totally new to program.

View 9 Replies

User Enters A Username In Textbox1 And Then Enters A Password In Textbox2?

Jul 2, 2009

I have a login form that I made. The user enters a username in textbox1 and then enters a password in textbox2. The user then hits the submit button (button2) and from there it works beautifully. The problem is, I would also like the user to be able to hit the "enter" key after they fill out the password textbox (textbox2) and have it be like they pressed the submit button. When the user hits enter right now, the form hides.

View 4 Replies

Take The Value That A User Enters Into A Textbox?

Oct 6, 2009

how to take the value that a user enters into a textbox and add it to values entered into other forms by the same user. I want the values to all add together onto a new form in a label. Code for textbox:

[Code]...

View 2 Replies

"Enhance" The Small Tool Tip - When You Press Ctrl Or Alt It Fades So The Screen Shot Only Showed It Lightly

Dec 21, 2009

I had to "Enhance" the small tool tip, as when you press ctrl or alt it fades, so the screen shot only showed it lightly.

I Should mention it works, some of the time. I am Passing strings in this format:

CODE:

View 7 Replies

How To Select Current Row In DGV That Enters Value In Textbox

May 21, 2011

How to select the current row in data grid view that enters his value in textbox. Like when I write the code of employee in textbox the row of data that contend his employ data selected in datagridview.

View 12 Replies

Multiline Textbox - Assigning Each Line Of The Textbox To A String

Apr 28, 2011

I have a multiline textbox that has wordwrap set to True I am assigning each line of the textbox to a string Lets say I typed this into the textbox without pressing enter and it just wordwrapped to the next line Visual Programming is fun it would assign "Visual Programming is fun" to the first string however, what i want it to do is assign "Visual Programming is" to the first string and "fun" to the second string.....now if i would have pressed enter after "is" then it would have done what I wanted it to do, but if i dont press enter and just let it word wrap it does not do what i want it to do...

View 5 Replies

Get The User To Press The CTRL+"another Key"

Oct 18, 2011

I'd like to get the user to press the CTRL+"another key" and then do a specific method

View 1 Replies

Create A Greeting When User Enters Text In Textbox?

Feb 2, 2012

I started learning visual basic a while back but stopped, now I am trying all over. I created this very basic windows form application. What I am trying to do is add a greeting based on the time of day. Example, the user will enter a name and click the button to get a greeting; example: Good morning Bob.This greeting is based on the time of day; example if time after 12:00pm, good afternoon, if greater then 5pm good evening and so on.Here is what I have written so far:

[code]...

View 8 Replies

Forms :: What User Enters Into A Textbox And Searches Through Data

Apr 1, 2011

so my program takes what the user enters into a textbox and searches through the data i have stored and if it matchs one of the peices of data it displays the apropriate data to the user. This all worked fine till i changed the textboxes to be added dynamicly to the form when it is load and i put all textboxes in a collection. So now when the text is sent to the search sub it sends the data over but always returns that it didnt find a match. But if i go into the search sub and just tell it what to search for automaticly it finds it no problem.

View 3 Replies

ToolStrip - Set Focus On The Button When User Enters Data In Textbox

Apr 22, 2009

i have a textbox and a button on tool strip. i wan to set focus on the button when user enters data in textbox. after enter key is pressed it shoul focus on the button.

View 1 Replies

Populating A Date Time Picker When A User Enters An ID Number Into A Textbox

Jan 25, 2012

I am using a vb windows application I need to allow a user to enter their ID num in a text box and it need to automatically populate their date of birth

View 6 Replies

How To Check The Text In A Textbox, Character By Character

May 9, 2010

My form has a texbox where user enters an ID. IDmust be4 chracters in length andof the form: begins with either "E" or "e" and the next 3 chracters cannot be "all characters".

Example:
E102 - corect
e3ff - correct

[code].....

View 4 Replies

Clear Hyperterminal - When Press "ctrl+L" Is To Clear Terminal Screen How To Write The Code?

Jun 23, 2011

in hyper teriminal when i press "ctrl+L" is to clear terminal screen how to write the code in vb.net? Hyperterminal is connecting to serial comport.when i try this it work and return line on debug

serialport.writeline ("at+cmgl=1")

i try this but not work and it still show some lines on debug

serialport.writeline (vbcrtl +"L")
serialport.WriteLine("vbCrLf + l")

View 6 Replies

Detect If Press Enter In The Textbox Change Event And Not In Textbox Keypress?

Dec 13, 2011

how can I detect if press Enter in the Textbox Change event and not in Textbox Keypress?

View 3 Replies

ASP.NET : Iterate Through Multiline Textbox?

Jul 20, 2011

I'm trying to iterate through each line of a multiline textbox. Something like:

For Each line In Me.txtBox1.Lines
Response.Write line.Text
Next

Is there any neat way to do this, or will I need to write a character-by-character parser and look for carriage returns?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved