Shortcut Keys - Visual Basic 210 - Open Another Form

Dec 1, 2011

i'm creating a program in visual basic and i want to have a shortcut key that opens up another form even though my application is not the foreground window

View 1 Replies


ADVERTISEMENT

C# - What Are Some Useful Shortcut Keys In Visual Studio

Jun 27, 2012

Hidden Features of Visual Studio (2005-2008)?

What are some shortcut keys you know of that make programming faster, easier, or all around more enjoyable?

View 4 Replies

VS 2010 Menu Shortcut Keys While Another Program Is Open?

Sep 13, 2010

I was wondering if there is any way to make a program recognize a keyboard shortcut while its not the active program

View 1 Replies

Crash When Open Visual Basic Form Editor?

Sep 10, 2009

I have a appliction developed on Visual studio 2003, .Net Frame work 1.1.After I migarted that application to Visual studio 2008, .Net Frame work 3.5, Visual Studio is crashed as opening some Visual basic designer files by Visual Basic Form Editor.The below is detail error message of Visual studio:

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: devenv.exe[code]......

View 2 Replies

Visual Basic (Coding) - Child Form To Open Within A Panel On Its Parent?

Mar 2, 2012

I have created a (kind of) 'Desktop' Form for the main basis of my program. Basically it is made up of 3 panel controls.

1. Holds all buttons which load the different forms (Like the windows start menu when expanded). name: StartMenuPanel

2. Holds Information on log in deatails. name: LogCheckPanel (very thin panel at top of screen)

3. Main panel which takes up the majority of the screen (where I want the forms to load). name: MainPanel

My aim is: When a button is clicked from the 'StartMenuPanel' the form will load with-in the 'MainPanel'.

I tried changing the start position to 'centre parent', but the panels are in the way so some of the childform is overlayed by the panels.

[Code]...

When I run this I get the following error: 'Top-level control cannot be added to a control'.

I hope I've explained this well enough.

View 7 Replies

VS 2010 Shortcut Keys (KeyUp) E.Keys Combinations?

Mar 25, 2011

I'm trying to create a shortcut which expands or collapses my treeview using the ctrl+alt+up-arrow or ctrl+alt+down-arrow:

If Keys.ControlKey And e.KeyCode = Keys.Alt And e.KeyCode = Keys.Down Then
mytreeview.ExpandAll()
End If

[code].....

View 2 Replies

Forms :: Shortcut Key To Open Form?

Jun 17, 2010

may i know is that possibleto assign the form a shortcut key like crtl 0 to load/open the form?

View 2 Replies

Open A Program Within Visual Basic 2010?

Aug 6, 2010

How would I open a program within Visual Basic 2010? (Like running "Application.txt" from "C:" within a Visual Basic project.

Public Class getfrom
Dim getfrom As String
Dim saveto As String
Dim download As Boolean

[code]....

View 2 Replies

Open Multiple URL Using Visual Basic 2008?

Sep 12, 2010

i have create software using visual basic 2008 now i am stuck with several matter

i need a code that can open multiple URL in one time... when i click the button.. the URL also i can easily add or deleted it

View 1 Replies

Run Applications And Open Files With Visual Basic

Mar 31, 2007

How do I run files/application with standard editor/viewer?

View 1 Replies

IDE :: Open An VBS Project In Visual Basic Express Edition?

Apr 13, 2009

How do i open an VBS project in Visual Basic Express Edition?

View 1 Replies

Open A Visual Basic Application Created In 2002?

Dec 31, 2011

How can I open a Visual Basic application that I created in 2002? I downloaded a current version of Visual Basic Express and was able to connect a new project to the .mdb files but I couldn't figure out how to open the other files which I need to actually use the application.

Ideally I'd like to run the .exe file, but it doesn't seem to be compatible with Windows 64-bit. Alternatively I'd be happy recreating it with the various components if I could figure out how to access them.

View 4 Replies

Open File Through Tree View In Visual Basic?

Nov 23, 2011

I had a tree view in visual basic with many root and child.

I want to direct open file like xlsx, aspx even a folder each time i click at the selected node.

View 2 Replies

Open And Save Excel File In Visual Basic Express 2008

Apr 19, 2010

I'm using VB Express 2008 and I would like to open an excel file and save it with different name file. For example, I would like to open a file in
C: est.xls
And then I want to save them with different file name such as
C: ry.xls

View 10 Replies

Open Word Document And Insert A Picture To It Using Visual Basic 2008?

May 10, 2009

I need to open an MS Word document and insert a picture to it using VisulaBasic 2008 by clicking on a button. I tried the automation code provided at this link [URL] but I can't find how to do what I want.

View 6 Replies

Changing Default Save And Open Location For Visual Basic 2010 Express?

Aug 16, 2011

We are testing the visual basic 2010 ee in one of the computing suites at a secondary high school. The installation was fine When we tried opening or saving a project it saves it into a default location i.e my documents. The problem withthis is pupils dont have access to c:. They their own drive on the network (h:) where they save their work. When i went and changed the settings in VB in tool > options.

View 3 Replies

How To Make Shortcut Keys

Feb 13, 2012

I want to run specific code through shortcuts defined for my specific program. For example if I click F1 or ctrl+C then I want my program to show customers list. I have tried form's keydown event with following code

[Code]...

View 5 Replies

Shortcut Keys And Modifiers?

Jul 12, 2011

I was trying to create some shortcuts for my application and I read how to do it on MSDN

Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.Control And e.KeyCode = Keys.S Then

[code].....

View 5 Replies

Shortcut Keys Do Not Work?

Jul 8, 2009

I have formA.vb and I added some shortcut keys using the key_up event handler. Before coding the handler I change the keypreview property of the form to true. I added this code :

Private Sub IntRMA_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyUp If e.KeyCode = Keys.ControlKey And e.KeyCode = Keys.C Then
modcustomer.Show()
ElseIf e.KeyCode = Keys.ControlKey And e.KeyCode = Keys.T Then
Me.Button6.PerformClick()

[Code]...

View 8 Replies

Shortcut Keys Not Working?

Feb 16, 2010

I have an application which I am trying to implement shortcut keys in. The application contains a main window from which dialog popups can be opened. I am having difficulty implementing the shortcut key functionality on the popup windows. I have the following code in one of the popup windows, and even though the first three key entries are the exact same as on the main window (except for the actual button names), which works, the same code does not work on the popup.

Private Sub frmInduction_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.KeyCode = Keys.Control + Keys.S Or e.KeyCode = Keys.F5 Then
btnAccept.PerformClick()

[code]....

I am opening the popup window with the following code- is there any way that the problem could be caused by how I am opening the popup?

Using frm As frmChangeValue = New frmChangeValue
frm.ShowDialog()
End Using

View 3 Replies

Use Shortcut Keys In Datagridview In .NET?

Jul 27, 2011

I try to use Ctrl+C, Ctrl+V, Ctrl+X in datagridview. However, when I use keyDown, KeyUP events, both only return the ControlKey. How can I get the returned information including both keys such as Keys.C And Keys.ControlKey?

Public Class frm_SoilData
'........
Public Sub dgv_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) _
Handles DataGridView_SoilProfile.KeyUp

[code]....

View 5 Replies

Using The MenuStrip ShortCut Keys?

Sep 22, 2008

I'm having a spot of trouble working out how menustrip yet again.I have an MDI project. A child form contains a menustrip that has shortcut keys defined... F1 through F4 at design time. At run-time the child form menustrips are merged into the MDI parent form menustrip.The Function keys do not cause the menu to drop down. *Frutz* I thought okay. I'll use the control's keypress event to trap the F1 key and cause the menu item to drop down Apparently the menu Item is not available in the child form since it was merged to the MDI parent menustrip...*Frippity Frutz* Okay... Call the MDI parent menustrip from the child form...."No menustrip object found".

View 4 Replies

Forms :: Creating Shortcut Keys?

Jul 17, 2009

So I've been trying to make a form in which a few of the buttons have keyboard shortcuts such as the F keys as well as the arrow buttons. Here's the code I've been using

Private Sub frmOrganizer_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If obSelect = True Then

[code].....

View 1 Replies

Hide/Show And Shortcut Keys?

Aug 8, 2010

Private Sub FavoritesToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FavoritesToolStripMenuItem1.Click
FavoritesToolStripMenuItem1.Visible = False

[code].....

View 1 Replies

How To Disable Menustrip Shortcut Keys

Jul 16, 2009

I have a VB 2008 form with about a dozen buttons that use ALT+key shortcuts, e.g. names beginning &S, &N, etc. I also have a menustrip with a couple of entries but I have not assigned shortcut keys to any of them. However, three of the entries on the menustrip begin with S, N, and E. The result is that the shortcut keys for those buttons don't work - instead the shortcut activates the menustrip item. For example, ALT+E brings up the Exit on the menustrip instead of activating the button with the &E... label. I even tried setting the shortcut for the menu item to something totally different, but it doesn't matter.Even though I have programmed something different, the menu strip takes precedence on the shortcut. is there any way to just disable shortcut keys on the menustrip? What I've done for now is alter the names of my menustrip items by numbering them, e.g. "5 Exit" instead of "Exit" so that ALT+5 does the exit and leaves ALT+E for the button I want it to be associated with.

View 3 Replies

How To Get Shortcut Keys (like Control C) To Work

Dec 24, 2009

I was wondering about how to get shortcut keys (like control C) to work

View 4 Replies

Set Shortcut Keys For Buttons Using Properties?

Feb 15, 2006

I have set shortcutkeys for buttons using properties. Now what i want to do is to underline the character which i have set as shortcut key,on the button text,which is possibe in VB ,(by setting as &Save, now underline will be below the 'S' character),In VB.Net, At runtime it is not displaying the underline for that character.

View 3 Replies

VS 2008 Set The Shortcut Keys In Label?

Mar 28, 2009

I set a shortcut keys in my label...

example: Home

the underline is H but when i tried to test the programm it does not shown up an underlined?

View 7 Replies

Assign And Pressing The Shortcut Keys For VS 2010?

Jul 23, 2011

I've encountered another minor problem with using vs 2010...how do you assign shortcut keys? I've read you just click in the shortcut keys option then press the buttons you want to be your shortcuts- this however just acts like I'm pressing the shortcut keys for vs. for instance alt x, which I want to be exit, takes me to debug. Typing alt + x in manually gives me an error saying what I've put in is invalid.

View 8 Replies

VS 2005 Multilingual Menubar Shortcut Keys?

Jul 8, 2010

We have localized our application menubar(Ex: Spanish language).The menubar menuitems have few shortcut keys i.e CTRL + N along with the text. The shortcut key is diplaying in some dummy character.We want the menuitem (Ex: New File CTRL+ N) text in local language and CTRL+ N should display as English

cMenuBar.Font = New Font(Configfontname, Configfontsize)
strMenuText = rsManager.GetString("cbmNewFold")
cbmNewFold = New CommandBarButton(ilToolbar20.Images.Item(0), strMenuText, New

[code].....

View 1 Replies







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