I am trying to get the menu hiarchy from a program like notepad, so I can dymanically copy these and use them in my program. I get notepads hwnd, the menus hwnd and the submenus (like File) hwnd, but GetMenuItemInfo fails.
How would I add a new ToolStripItem with code, which will have a Click event which uses the text from the ToolStripItem to read a file? So the ToolStripItem most somehow send it's text to the Click event.
I have a utility programs's EXE file, when i run this file there is a winform only and there is button when we click on it, it run windows's notepad. Now I want to hijack this program's command to run notepad and instead of running notepad I want to run MS Word. I know C# and VB.NET. What I need to do this ?
I am working on a notepad like program and I am adding tabs I've been able to successfully make buttons to add and close tabs but now all my other codes are messed up (as I was using a richtextbox before).
I am trying to create a tool which I would input a word in a text box and it would search the path i give it to look for a word in a notepad file and copy the whole line to a new notepad and paste it.
i did this for now, i am able but i am able to copy all the text from the note pad and put it in a textbox for now..
Dim FILE_NAME As String = "P: est est.txt" Dim objReader As New System.IO.StreamReader(FILE_NAME) Dim TextLine As String
[Code].....
I am having trouble to get the command to ask them to go read the text file and copy only the line for the word I put in the input box and to put it in a new notepad.
When i debug the program and open it(inapp.exe) in notepad there a line
C:UsersendroitDocumentsVisual Studio 2008ProjectsDataTypeDataTypeobjDebugDataType.pdb
Well, is there any solution or way not to include that line when debug. I know that .pdb is important in debugging, but when the app published still there's that line. Can we disable it or there's no other way.
how you would go about saving information(username, password, security questions) in a notepad, so it can be retrieved after a program closes. i'm making a log in program in my class, but we haven't done this, so when the program closes, everything is gone. rather annoying, to have to make a accounts each time i'm testing it.
Do you guys have any ideas how to do the codings for SendInput?Like a key is pressed and the data depending on what the user had entered in the TextBox will appear in a Notepad and then save it.[code]...
I'm making a notepad program and I'm trying to make it so when you press enter on the very left side in the RichTextBox, it'll tell you what line your on. For example:
How to put my video player to the context menu? But I also need to know how to make it so that when my video player opens that it will it will load the file that I wanted to open with my video player.
i am making a menu-like program.i added an existing item, which was setup.exe.it appears in the solution explorer.Now, i want to run it using shell or something else at the click of a button. how do i do this?
i am making a menu-like program.i added an existing item, which was setup.exe.it appears in the solution explorer/Now, i want to run it using shell or something else at the click of a button. how do i do this?
I am making another program. An Enrollment System.This is the screenshot of the recently started program. I added a child form.And I want to add the portion with the red box of this program. I don't know what they call it nor how to do it.I want to place it under the Menu Bar of my program.
How can I set up a right click menu for my program? Which tool do I use and where do I place the code? include anything to be dimmed or imported along with the actual code.
i want to add my program to the windows context menu so that whenever user right clicks on any file of folder my program should display on the context menu so that the user can use my program to do some operation on the selected file or folder.
I know how to add a new program to the windows context menu manually. by editing the windows registry we can do that. but i want to do when user istall my application it has to add to the context menu automatically.
i've written a database program which runs fine from the ide (vs 2008).when i install this program, all database operations do not work.i tried running it as an administrator using an admin command prompt, it worked.now for my less tech savvy clients, is it possible that when they right click the programs icon they can use the 'run as administrator' menu item? how can i achieve this.if it's too much to implement, will moving the database from the application path to, say, documents?
I am trying to build a program that has a Dropdown menu (Combobox) where you select between a list of items like
xbox ps2 ps3 wii
then once you select one of the options the program will bring you to a new window (In the same window) with a new box that has a list depending on which word you chose earlier. As an example.
If you chose xbox on the first window it will bring you to a window with a new list like
fighting game 2009 fighting game 2010 fighting game 2011
then if you select fighting game 2011 you would get another window that showed a list that had a list of characters from that game.
Guy One Funny Hat Guy Big Nose Guy Dead Guy Beast Thing Funny Turtle Thing
Then in the new window you get a selection of options for the character you selected.
Special Skills Combo Moves Unlockable Content
Then if you select one of those you get a new window that has the lists. for example.
If you chose Special Skills show the list of special skills like the following.
Uppercut: Down + Y Face Smasher: Back, Forward, B
and maybe beside the list of moves it could display an image of a Screen shot that shows the move (Or not if it is too complicated).
I decided to make a small app that runs another app with arguments. I think the best way to do it was selecting one option from a dropdown menu and using this option as an argument to run the app.
The clean part I did: Public Class LanguageSelectDialog Private Sub LanguageSelectDialog_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub
[Code]....
Since I'm just trying out, I've made an blank app just for testing purposes. What I need to do in order to pass the selected option as argument? I'm using VisualStudio 2010.
at my work I make a lot of macros in Excels VBA, some of them don't even use a single cell in Excel. From some time my employer gave me access to VB2008 and now I'm transferring most of my macros to small programs that don't need excel to be run. Each of my little program make the work in my department easier, by performing additional work which does not carry out our main program.
I wonder whether it is possible to "inject" into my main program menu a button or additional menu that would run my "small programs". It would be easier (and much cooler) for users to simply run from menu of our main program then run separate file.
Public Class Form1 Dim ISsaved As Boolean Dim Fpath As String Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load OpenFileDialog1.Title = "Open File RTF"
[code]....
source above is parts of my source code.i'm learning to make a simple wordpad.when i edit some text in RTF file and then i choose SAVE,why command to save my file to computer appear(like SAVE AS in Microsoft Word)? i think i have saved my file in computer before that.
I am trying to create menu in my form in VB.net 2010 as radioCheck but I can not find it in the properties window to make it true. Is it different from previous versions?
I have a small program on the menu written in VB6 retrieve data from Acess run very fast and now want to switch to VBNet2008. VBNet2008 conversion is still normal, but when running the menu does not appear that waiting in line, then click on the menu bar of this menu appears, but not the font is in Unicode data is available. Expect you to help debug programs that run on VBNet2008 still running good access Menu fast as running on VB6. Also supported is Unicode font on VBNet2008 does not function for unicode font. Attach program with VB6 and VB2008.
What must I add to the deployment project so that when the user clicks Start>All Programs>My icon, my program runs. Now the explorer comes up pointing to the application directory.
Public Class Form1 Class Member Public Name As String
[code]....
This is what i have so far and its giving me headaches to fix it someone please help with this code assuming that the names and phone numbers of all members are stored in alphabetical order by last name , then by first name in text file residents.txt
I've search the net in order to create a custom control but nothing I find is worth looking at, The main thing I want to do is create a skinengin via DLL and import it in my vb 2010 then using or creating some sort of skin builder where I can create a full setting file which contains all the details of the customization regarding the Form(Look, Feel and the controls such as a menu), I have used Iriskin and multiple apps doing this for me and when a user installs my application they still recieve a message about buying the registered DLL file, I would like to create it completely from scratch.