Create A Tab In TabControl1 Using Ctrl+t?
May 28, 2009I want every time I create a tab, there to be a RichTextBox with dimensions 500 height 400 weight
View 4 RepliesI want every time I create a tab, there to be a RichTextBox with dimensions 500 height 400 weight
View 4 RepliesI am using a 3rd part dll file (SolidWorks EModelView.dll, COM file) that has a version of 9.2.0.128. When I add it to the resources for the application, however, the AxInteropEModelView.DLL and InteropEModelView.DLL references show a version of 9.0.0.0. When I install the application on a client machine and try to run it, the application says it cannot find AxInteropEModelView.DLL version 9.2.0.128!
View 5 Replieshow do i call a routine when the user press CTRL+Z or ctrl+somthing?
View 10 Repliesusing the getasynckeystate for ctrl + c and ctrl+ v or copy and paste..How will I do that in this code? For example when i type in notepad it should also do in the richtextbox with this code it work but when it comes to copy and paste word in notepad it does not works and the richtextbox is empty?
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
For i = 1 To 255
result = 0
result = GetAsyncKeyState(i)
[code]....
I am using visual studio 2005.If I try to do wordwrap using Key combination (ctrl+R, ctrl+R), I get following messege:"The Key combination (ctrl+R, ctrl+R) is bound to command (&Rename...) which is not currently available.
View 3 RepliesI am using vb2005 to send keystroke to stock application software so i need to send Ctrl+C to an open window in the stock software then send Ctl+V to Excel in a specified worksheet and cell
View 2 RepliesI 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 RepliesIs that possible to Hide TabPage2 in TabControl1?
View 2 Repliesif there is a way i can get form1.tabcontrol1.navigate(url...) to work some how. i tried dong
form1.CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate("")
but that wouldnt work becuz it says ctype in not a member,
We are busy with a TabControl1 with 5 tabs. On these 5 tabs will be made the exact the same object structure with the same script.What is the best way to organize the TabControl1.
View 2 RepliesWe are busy with a TabControl1 with 5 tabs. On these 5 tabs will be made the exact the same object structure with the same script.What is the best way to organize the TabControl
View 2 RepliesI have an event called "worksheet_selectionchanged" which occurs when a range/cell is selected in an excle file.When the event is triggered, all the tabpages in a tabcontrol should be removed.The code is given below:
Private Sub myWorksheet_SelectionChange(ByVal Target As Excel.Range) Handles myWorksheet.SelectionChange
for each tabpagesToRemove as TabPage in tabcontrol1.tabpages
tabcontrol1.tabpages.remove(tabpagesToRemove)
[code]....
but when ever i select a cell in the excel file, the tabpages seems to be "not removed".
[Code].......
I have problem to play the piano swf inside the TabControl1 (WebBrowserA), but i can play piano swf within the main form (WebBrowserB). Anyone know why, and the method to solve it to play at tabcontrol1
This gives me an error.CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate(My.Settings.homepage.ToString)
View 4 RepliesCan i activate the Ctrl+Esc ?
View 9 Repliesi want to disable the Alt Tab, windows key, ctrl esc key. FOr my Log On Security that start up in coomputer like windows log on. Try to search hours for this but i cannot find the right solution im using vb.net 2005 and OS is Vista.
View 6 RepliesI'm making a system where only the supervisors can use the Ctrl+Alt+Del to bring up the menu (Vista / Windows 7) or start taskmanager (XP)Since my application will not be running on anything less than XP I don't need to worry about 95, 98, ME, 2000, etc. I have this code so far (found on here and a little edit by me) but the Ctrl + Alt + Del doesn't get stopped like I thought it would.
Note to use this from within Visual Studio you might have to untick the box for "Enable the Visual Studio hosting proccess". In VS 2010 it is found in Solution Explorer > My Project > Debug > Enable Debugers > Enable the Visual Studio hosting proccess I've found several ways to stop taskmanager loading but not to stop the menu being displayed. This code is working except for my little problem with the Ctrl Alt Del menu and has been tested by me with VS 2010 .NET4 on Windows 7
Form1.vb
Public Class Form1
Private Sub Form1_HandleCreated(ByVal sender As Object, ByVal e As
[Code]....
i want to disable ctrl Alt Del either using the approach below or if any other exist.
1. use vb.net to disable ctrl Alt Del
2. using a batch file to perform the task above and call in vb.net
please help as the code below is what i can think of and it is not helping in the project i am working on [code]
Does anyone knows how to disable ctrl+alt+del in XP? and.. i'm using Visual Studio 2008
View 16 RepliesI am working with MDI's. I have a MDI parent and childs.
But when I press Ctrl+F4 it closes the MDI child.
I am currently working on KeyEvents to disable this Ctrl+F4. But its not working.
Protected Overrides Function ProcessDialogKey(ByVal keyData As System.Windows.Forms.Keys) As Boolean
Select Case (keyData)
[Code]....
I am creating a notepad-like application and I want to enable when the user press Ctrl + S that it will save.I already have the code to make it save through a menu option, but I don't understand how to enable it via Ctrl + S. Can someone guide me in the right direction
View 3 RepliesI would like to add ctrl + F as my hotkey into my vb.net chat application. i'm using Visual studio 2008.
View 4 RepliesI know there isnt a shortcutkey property for toolstripbuttons so I'm trying to make the mainForm keydown event listen for shortcuts. But I can't get it to work:
vb.net
Private Sub MainForm_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.KeyCode.Equals(Keys.ControlKey And Keys.F) Then
[code].....
So I used some breakpoints and e only contains the ctrl key Not both.
How do I detect a ctrl+tab keypress?
Reason for asking: I want to stop a user from changing tabs in a tab control.
im doing a login i have finish it but you can close it by using alt+f4 so i need to block the alt key im using vb 2008
View 2 RepliesI know the WebBrowser's use IE for the core, but no other IE shortcuts seem to work, other than the Ctrl+N (new window) one. It wouldn't be so bad if it didn't open IE, and my opened own application, but it doesn't. Any way to prevent this or make it open a copy of my own browser, instead of IE?
View 3 RepliesI have a form in which there is a datagrid and one Save button pnly.I want to save data also by pressing "Ctrl + S".I am using below code. but, its not working all the time means if there is focus on form,.....How can i achieve this. Tell me some modification like on which event i should do this.....
If e.Modifiers = Keys.Control And e.KeyCode = Keys.S Then
MsgBox("Ctrl + S is Pressed.", MsgBoxStyle.Information, MsgBoxStyle.OkOnly)
'--- Condition Here.
End If
datagridview Ctrl +C in a cell?
View 4 Replieshow can I check with getasynckeystate, if ctrl+c was pressed?
getasynckeystate(17) and getasynckeystate(67) doesn't seem to work
even getasynckeystate(17) and getasynckeystate(67) and &H8000 doesn't work too
I know that you cannot disable Ctrl Alt Del for security reasons. I was able to figure out how to disable ALT+F4 in my application though. What I am wanting to know is if anyone can give me some code to where If CTRL ALT DEL is pressed then my application will close. I have tried everything, and I just cannot seem to get the program to recognize if the user presses ctrl alt delete.
So basically I need some code that detects if a user presses ctrl alt delete then if htye did it closes the application.
(I am making a quiz program.)
PS: I am on Windows 7 RC and I also use Windows Vista. I am using Visual Studio 2008 Professional Edition.