VS 2008 Shortcuts In A Console?
Jan 17, 2011Ie. F5 shows msgbox("hello") all examples are for windows form applications. :/
View 1 RepliesIe. F5 shows msgbox("hello") all examples are for windows form applications. :/
View 1 RepliesIn a VB.NET Winforms application, I have a form that contains both a datagridview and a textbox. I have some menu item entries that have shortcuts of Ctrl + X, Ctrl + C, and Ctrl + V that operate on the datagridview. However, these override the default cut, copy, and paste shortcuts for the textbox. How can I make the menu shortcuts only apply when the datagridview has focus?
View 2 RepliesI'm looking to be a able to add my own windows shortcuts which take effect when my own program is running in the background.For example, if the user has Notepad open, they may press Alt+F4 to close it. I would like the Windows Key + Q to do the same action.So Windows Key + Q = Alt + F4.There are a few shortcuts I would like to do but if someone could help me do it for this one then I should be able to take it from here.
View 3 RepliesI'm trying to add .lnk files to a setup project but am unsuccessful. I have 2 custom shortcuts that I created which link to a network share, but everytime I try to add them to the setup project in the users desktop or start menu, vs simply doesn't allow it. No message box or error box appears, I select the .LNK file to add and it "pretends" to add it and allows me to select it, but doesn't appear in the setup project folders.
View 1 RepliesI want to make a program that makes hidden shortcuts in drive c the files I want to add shortcuts for is in C:/program files/common files/apple/apple application support I want shortcut for all files and folders in this directory
View 4 RepliesI seem to be having an issue with Building my application. THe programs builds just fine,but when you install the program and then run the program it wants to act like its configuring the program, prior to running the actual program.I get a windows box that pops up stating its configuring the program and then it runs.But it only happens when I access the program through the shortcuts that I have the program create when it installs. If I go directly to the program directory and click on the program there, it starts just fine.
View 4 RepliesI have 416 different cards (8 decks) I dont want to spend too much time and declare each one. Is here way easy way to declare them without naming each one?
Like:
Dim card1, card2 , cand416 as integer
And
list.Add(card1)
list.Add(card2)
list.Add(card416)
I did this and it took me 4 ever:
'deck 1
'c
card1 = 2
card2 = 3
[CODE]...
I have the following code which I use in another Form and it works perfectly. I copied the same code to another form, changed the controls, keys combinations, etc., but the keyboard shortcuts do nothing at runtime. None of the key combinations work, it throws no Exceptions,I put a MessageBox in the F1 KeyDown conditional, but it doesn't show. That tells me that it's not Handling the KeyDown Event.[code]
View 5 RepliesHow do i get multiple icons in a project for use with shortcuts OUTSIDE the project..
View 7 RepliesI was thinking of adding a simple bandwidth monitor to a console application and I was wondering if it would be possible to keep a line in the console window visible at all times. I could set something up manually to pass new console output into a method that would get the contents of the console, clear the console, add the bandwidth data on the first row, then rewrite each line of previous information back to the console, etc.. but that seems like a really hacky way to go about it, and I'd be limited to the amount of rows visible at once in the console window (no scrolling).
STATS: Downloaded: 2599b, Uploaded: 754b <- this always stays at the top
constantly changing text
constantly changing text
constantly changing text
[code]....
I have a console application I'm using to run scheduled jobs through windows scheduler. All the communication to/from the application is in email, event logging, database logs. Is there any way I can suppress the console window from coming up?
View 5 Repliesso I am making a program that will run a server for a game. I've programmed a console into the form and it works but it only works until it is finished reading the slandered output.
[Code]...
I made a simple file compare console app - and I'm having a hard time getting it to run on a server my client has.It's got these references - seems odd to me that they are not all 3.5And when I run it on the server I get this (from a command prompt).
H:Oracle ScriptsPolarFilesAddsDeletesChanges>makeadu xyz beneficiarydata_0819
2010 beneficiarydata_02042011
[code]....
Does this just mean they need to install the 3.5 FW? If I find they have an older version of the FWinstalled can I change my ref's to that? How do I go about that? Do I need to put that FW on my Win7 Laptop?
I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not underlining the G until I press the ALT key.Is there a way to have this underline the text that I put an ampersand in front of when the form/application starts instead of having to have the user press the alt key?
View 1 RepliesI am an application to make and I sit with the following problem. I want to add shortcuts to my program. The F10 key word. But the shortcut should work even if the program is not focused. How do I do this?
View 5 RepliesI'm creating a Setup Project (in Visual Studio 2008) for VB.NET application, everything works fine but I want to ask how to put an option for shortcuts. I mean, i know how to put shortcuts to desktop and start menu but I want some kind of checkbox where you'll have an option to put those shortcuts or not to?
View 3 Repliesreate a program(console) that reads txt file as your database.
format
aron quiray,A02-0001,1
zoren baybayan,A02-0002,2
constatino raguindin,A02-0003,3
this will be on your text file.first run. it will ask the user to enter Employee code which is A02-0001 - A02-0003 then
it will display
Aron Quiray
A02-0001
1
350
then input a following time that serves as the DTR of the employee for five days note:5 days here are constant. so its much easier to debug.then take note. it must be 24-hr format. 1:00 - 24:00 12:00 - 13:00 are not included on the pay.if the employee or the entered time is 8:00 time in and 17:00 time out. it will return as 8hours only. assuming that the employee has its lunchbreak.hours will going to be save in a separate file which is dtr.
I am creating an output window for a C++ editor. how will i create the console in vb.net as an output window and transfer it to richtextbox?
View 6 RepliesI didn't code for a complete year. Don't ask me why. well I guess I lost 90% of my vb skills, I hope they'll get back eventually.i'm writing a console program, but it closes after a second it opens.I want it open all the time.
View 2 RepliesI'm using vb2008I tried this code in buuton1, but didn't show the black window to show the resultSystem.Console.WriteLine("Hello")
View 3 RepliesI want to be able to edit my text box pretty much like you can with windows notepad..
in notepad, when you press CTRL + C , it copies, CTRL + V , pastes , and so on.
Is there any way to disable the keyboard shortcuts of AxWindowsMediaPlayer or even handle the KeyDownEvent of that control ?
View 1 RepliesI am trying to assign a keyboard shortcut to a macro but "Press shortcut keys" textbox does not accept input. The "Remove" and "Assign" buttons are disabled. I have a command highlighted and I've tried in all the available "Keyboard Mapping Schemes". I've noticed that on some of the samples on "Modifying Keyboard Shortcuts" there were buttons for creating new mapping schemes. I'm assuming those are a visual studio version prior to mine - maybe 2003. Mine only contains the reset button.
View 2 Repliesi want to know to create a shortcut that will open another Form.
View 2 RepliesIs there a way to use shortcuts in your app (like Crtl+F1)? When those keys are pressed my app should notice it, even when they are pressed outside my app window.
View 4 RepliesI have been working on this all weekend and can't figure out what I am doing wrong. The objective is to collect 3 numbers from the user then display to them the numbers they entered, the lowest number entered, the highest number entered, the total, and the average. Can someone review this and tell me what I am not getting?
[Code]
I am trying to create a console application that will upload an updated .html file to a website each time I run it, I have found previous codes that download the files but I want to upload instead. So basically I am trying to create an FTP program (but only one that uploads) in a console application.
View 3 RepliesI cant seem to find a solution on how to pass parameters to another exe like adding some parameters after path in shortcut, and then launching that shortcut, only I want to do it directly without making shortcuts. So ,how would I pass parameters needed to start another exe (console in my case)?
View 1 RepliesNot really sure if the title is fitting but couldnt figure out a better one.
However
I am trying to create a console app which is a TCPlistener however whenever it receives any data and I write to the console window it gives alot of 'enters' (blank lines) which is not what I sent at all.
Example:
'sending
Dim toSend() As Byte = Encoding.ASCII.GetBytes("1")
_writer.Write(toSend, 0, toSend.Length)
'receiving:
[Code]....
Im abit stuck on this Instant messenging program Im using code from this website. [URl]..but its server is a console app, Id like to convert it to windows form but I have 2 errors
Reference to a non-shared member requires an object * 2 on broad cast and msg