C# - Books With A Focus On .NET Framework And Not So Much With A Focus On The Language Used?

Jul 18, 2010

recommend a book that focuses on the .NET framework in general and isn't too language specific.

View 3 Replies


ADVERTISEMENT

Change Language Bar When Focus On Textbox?

May 11, 2010

How to change language bar when focus on textbo

View 13 Replies

Programming Language To Focus On For Development?

Dec 1, 2011

The dilemma I am having is what programming language to focus on for development. Currently the options are Java, C++, C# and VB.Net. I plan on filling in some gaps of my undergrad by taking some high level math courses, data structures, algorithms and will probably take all 2 or 3 levels of one programming language.

View 2 Replies

Forms :: Changing The Backcolor Of A Control When It Has Focus And Lost Focus?

Feb 16, 2011

Is there a more efficient/easier way changing the backcolor of a control when it has focus and lost focus? Let's say I've got 10 text boxes. Right now I would have 20 different events...10 for Enter event and 10 for Leave event. Of course, entering would change the back color to "green" and leaving would change it back to "white".

[Code]....

View 4 Replies

Window Focus - Right Click On The NotifyIcon, Excel Gains Focus?

Mar 10, 2009

Here is what I've done:1) Created an Excel COM add-in for Excel 20032) Added a NotifyIcon to the Windows taskbar notification area (aka system tray) during ThisAddIn_Startup3) Added a ContextMenuStrip with a ToolStripButton to the NotifyIconWhy is it when I right click on the NotifyIcon, Excel gains focus? If after clicking on the NotifyIcon to display the ContextMenuStrip I choose not select an option on the ContextMenuStrip and instead click back on the Excel window, I get a weird flashing cell in Excel.I've created a video of the problem to help you see what I [url] anyone know how to prevent this? Ideally, I'd like to be able to click back on Excel and only have the ContextMenuStrip close and Excel regain focus.

View 1 Replies

Forms :: Form Losing Focus - Keeps Loosing Focus ?

Nov 26, 2009

I have two forms in an application. One is he background and then I show another keypad form called with the show() method (not showDialog) because I need to perform some validations on btn click.

The kepad has 10 buttons and an Enter Button. The problem is that the form keeps loosing focus (I checked this with a messagebox which keeps poping up once for focus=true and again for focus=false, it continuously keeps losing and gaining focus) so it does not process any keypress events untill i click somewhere on the form. I tried using me.focus() in form load event but to no avail. The forms TopMost property is also set to true.

View 5 Replies

Lost Focus Event, What Control Is Getting Focus?

Mar 21, 2012

I have a textbox on a form that when it loses focus it updates other text boxes on the form. But before it updates the other textboxes I check the input value in the textbox lostfocus event if it is undesired I return focus to the the textbox and alert the the user with a msgbox. However where my problem is, is that when the cancel button is clicked I don't care what the input in the textbox is because the changes are being canceled but if the value is undesired the it keeps returning focus to the textbox instead of canceling the changes. Is there a way to see what control was clicked on before or in the lost focus event? Can't seem to figure it out tried enter and leave events but no luck!

So for example something like this...

Code:
Private Sub TextBox1_LostFocus(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.LostFocus
If Control that was clicked <> btnCancel then

[Code].....

View 2 Replies

Me.Focus - Return Focus To The Form

Oct 25, 2011

After I did a sendkeys to another program from my form, i wanted to return focus to the form. i tried me.focus = true but that doesn't work.

View 1 Replies

VS 2008 Set Focus (new Currrent Cell) Setting Focus On Specific Cell In My Datagridview1

Nov 7, 2009

I am having problem setting focus on specific cell in my Datagridview1 . On Form1 when clicking on cell 3 in any row, I am callig a Dialog1. However, when done working with it, and closing the Dialog1, the focus returns to cell 3 in my Datagridview1 . I like to set the focus on the next cell(4) making it the current cell.

I have tryed :

DataGridView1.SelectionMode = DataGridViewSelectionMode.CellSelect
DataGridView1.CurrentCell = DataGridView1.Item(4, e.RowIndex)

DataGridView1.CurrentCell = DataGridView1.CurrentRow.Cells(4)

And few other things, I am always getting this exception: Operation is not valid because it results in a reentrant call to the SetCurrentCellAddressCore function.

View 2 Replies

Set Focus On The Keydown Event So After The Button Control, Sets The Focus Into The Keydown?

Dec 15, 2010

Is it possible to set focus on the keydown event so after the button control, sets the focus into the keydown? although says often control can have focus,.Putting a button and a keydown event on a form...

View 2 Replies

Books - Language Specification (Dead Tree Version)

Mar 19, 2011

I can download the vb.net 10 Language Specification from Microsoft here 600+ Pages is a lot to print out. So I want to know is there a Dead Tree version (A book)? If so, where can it purchased?

View 2 Replies

Migrate From .net Specific Language To .net Framework Language?

Mar 11, 2010

What reasons are there to migrate from vb.net specific language to .net framework language?
Examples:

VB.net
ubound
msgBox
.Net Framework
array.getUpperBound(0)
messageBox

View 4 Replies

C# - Is VB (based On The Framework) A Dying Language

Apr 10, 2011

I see more and more job postings about C# and C#. Are most VB NET programmers moving to C#? Are there any enterprise class applications (whether Windows or Web-based) still being written in Visual Basic?

View 1 Replies

Way To Get Focus

Aug 25, 2011

I am making a keyboard for my program in visual basic. This program is using touchscreen. Here is the idea, when i click the keyboard keys (button serves as my keyboard key) it will display the corresponding letters on a textbox that is on focus. How can I populate those textboxes if they are on focus?

View 2 Replies

Set Focus To Editing Row

Dec 14, 2009

How do you set focus to a specific control in a datagridview row after clicking the edit button? I'm able to do it for a new row when the grid is binding, but not for an existing row. The control doesn't seem to exist yet.[code]

View 1 Replies

.net - Focus On KeyDown In .NET?

Jan 29, 2012

Basically, for my first VB project, I am creating a virtual keyboard where a sound is played from the resources on KeyDown. So far, the program seems to work except for the fact that each key needs to be clicked by the mouse before the sound is played by pressing each key (hence put the object in focus), where I need the key to play the sound without clicking the keyboard key (put the object in focus on KeyDown). Below is an example of my code:

Private Sub C_KeyDown(ByVal sender As System.Object, ByVal e As PreviewKeyDownEventArgs) Handles C.PreviewKeyDown ' C is the label attached to the first 'Rectangle' (Key)
If (e.KeyCode = Keys.A) Then 'The A key should activate the C key on the keyboard

[code]....

I have KeyPreview set to 'True' under the form's properties.

View 1 Replies

Fix Highlighting When Getting Focus?

Mar 15, 2012

When I enter a vb.net textbox, if there is data in it, I want it to be highlighted. I looked around and couldn't find a property that would do this so I do the following:I built a little subroutine that does the highlighting and then call it from the ENTER and CLICK event on each text box.

[Code]...

View 2 Replies

Focus A Particular Row In Devexpress?

Dec 17, 2009

how to focus a particular Row in devexpress

View 4 Replies

Focus In Another App While Register In Another

Oct 2, 2011

it is an on screen keyboard. you press the button with your mouse and it will type in another app you place focus on the bit i am trying to figure is how do i make a windows app using vb that when i do something in it it will register in another app? in other words how do i get the actions in one app to register in another open app?

View 1 Replies

Focus On A Certain Region?

Jul 4, 2009

How can I make it so that if the cursor position is anywhere from 200 to 500, it'll make "Region" = true?

View 3 Replies

Focus On A Specific Tab In IE8

Jun 11, 2010

I have a stand alone application that I am writing that has a button to luach a website I am developing.The button checks to see if the website is already open.If it is, the application should set focus to the website in IE8.I am having, is if the website is already open in a tab in a IE8 window, but the focus is on another tab (e.g.url..I can set the focus to the entire IE8 window using the HWND, but not the tab I intend to have focus.Even though they are multiple tabs, they all have the same HWND because they are in the same window.

View 2 Replies

Focus On Column In Dgv?

Jul 21, 2010

I want to focus on one column in datagridv

but it doesnt work this is my [cpde]...

View 3 Replies

Focus On First Field?

May 23, 2007

I am loading a form in a tabbed window but when the form loads it does not default into any field on the form. I want it to automatically default to the first field on the form, how do i do this?

View 12 Replies

Forms :: Add A Sub To Run Whenever One Of Then Gets Focus?

Jul 19, 2010

I have a form with ~70 textboxes, and I would like to add a sub to run whenever one of then gets focus. I have:

[Code]...

View 2 Replies

Function To Get Focus

Jan 15, 2012

look , for example i have 2 textboxes in my vb form, i want that when i press enter key the focus move from 1st textbox to 2nd textbox , i use this code on my every control to move focus

[Code]...

View 4 Replies

Get Focus For A Window?

Aug 5, 2009

What command should I use to get focus on VB Form1 window? And what command should I use to get focus for another window? I need this so I can use send keys with no errors.

View 3 Replies

Get Last Textbox Focus?

Oct 25, 2011

Basically, I have a form with about 15 text boxes. Most are in different tab pages. By default, text boxes allow anybody to copy and paste by using keyboard shortcuts.I added a tool strip up top and make the "Cut", "Copy", and "Paste" buttons. What I want to do is make them work for whichever text box was last focused. So if I click the Cut button on the tool strip, it will cut the text of the
last text box that was focused.

Example:I open the program and type in TextBox1. Then I type in TextBox2. I want to copy the contents of the last text box by using the Copy key at the top, so I click that and it copies TextBox2 as it was the last focused textbox.

Like I said, I'm not fully sure how possible this is as I do have many. The whole reason I have the tool strip is for users that prefer using a mouse for everything rather than keyboard shortcuts.

Visual Basic for Applications (VBA)
Visual Basic 6 (VB6)
Visual Basic Script (VBS)
Convert C# to VB

View 4 Replies

Getting Focus On A Textbox?

Dec 12, 2010

For validation of a textbox i am using :-

Private Sub t4_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles t4.LostFocus
If Not IsNumeric(t4.Text) Then

[code].....

View 1 Replies

How To Set Focus In WPF Textbox

Mar 3, 2009

I am writing a control in WPF that draws a shape on a form and then draws dimensions of this shape. These dimensions are editable so they are shown in a text box. When the user changes a dimension in a text box the shape is updated. I am updating the shape when the textbox showing the dimension loses focus i.e. as soon as the text box loses the focus the shape and all the dimensions are redrawn.

A text box loses focus in one of two ways - either when user presses tab key or when user clicks in another control outside the text box. My problem is that when user presses tab key or clicks somewhere else outside the text box the whole control is redrawn and the focus is not set to the next control where it should be. This is really annoying because tabs stop working altogether and to set a focus using mouse the user has to click twice.

An image of my control is shown below

View 1 Replies

How To Tell If Process Has Focus

Sep 16, 2011

I'm working with an application that launches multiple processes and then runs in the background. I need to know how I can tell what process currently has focus. For example I launch three instances of notepad then my application goes into the background. Now I want to know which application has focus. Basically my application sends messages to all the processes I launched from the application. I just don't need to send a message to the process that had focus.

View 1 Replies







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