Make A Program To Manage Installed Programs Or Shortcuts
Jun 3, 2010
i want to make a simple program where i can add/edit or delete a shortcut from an installed programs in my computer.
let say c:program filesmicrosoft officeoffice11winword.exe.
the purpose of this is i want some of my selected programs to be in a single window where i can click to open so i don't need to go to start then programs and open that specific program.
i want to run that program in startup so everytime i start my computer the shell or the program is already running and i could click the program that i want on that window.
So recently my Netbook keyboard stopped working, I got this new one. That would not be a problem if it was not for the missing [FN] key. My computer has several shortcuts, like FN + F6 = Turns screen off.
I cant seem to figure out how to bind these shortcuts to buttons in Visual Basic so I can just hit the button and turn the screen off that way, I've only used VB to make small simple fun stuff.
I dont know how to do this at all. How can I make a program that can manage the startup programs (ex. Disable, delete, enable, exc. the startup programs) I don't know where to start. On a separate note, how can I make a file that executes multiple programs? I will provide more detail if needed.
I want to make a program to manage my homehub 2.0 router.There's a reset option which requires a piece of script to be run;
<script type="text/javascript"> <![CDATA[ var restartButton = new Button("restart","","Restart my BT Home Hub",function(){restart_ajax();}); ]]> </script>
I think this will cause my router to reset, although I'm not sure.How would I get this to run in a vb.net program?
i just wanted to make a really simple program to hide/restore programs listed in the taskbar. the hiding part is working, but somehow i cant get the window to show up again ? >< here is the code i am using:
Public Class Form1 Private Declare Function ShowWindow Lib "user32" ( _ ByVal hwnd As Long, _
[Code]....
i've also tried this with a button for show and a button for hide aswell incase SW_HIDE and SW_RESTORE are being used too fast after each other, but same issue.
I want to make a program that can communicate with other programs, Like a tcpserver/client.But i don't know where to start. I want the user to be able to submit several urls to pictures on the internet and for other users to be able to view those pictures. How can I do this?
I have build an application in Visual Studio en publisched it so dat people can install the program. Now I would like to access the installation on the client computer from an other application so that the user can start the application from a menu item within an other application. But in what folder is the application installed of how can I refer to the exe?
How do I activate/use the runtime debugger in a program that has been installed on a remote computer.Is there some way to include the debugger during the build sequence?
I'd like to mention that getting a list of the installed programs via the registry is not a viable way to receive a full an accurate list. The two main areas where the programs in the registry are stored, are mainly MS programs. Some manufacturers put their keys here as well, but most don't. And since it's impossible to know where the manufacturer has stored the key, let alone the name of the key that would give the list and the uninstall capability, it's not ideal to use the registry.
That being said, I was told that there is a COM API that Microsoft has made and uses in the Windows OS and was hoping someone knew what that API is and how to maybe implement it in VB.
I'm trying to find a way to get all of the programs that are installed by accessing the information from the registry. I googled it and was able to find the following code
Private Function Getinstalledsoftware() As String 'Declare the string to hold the list: Dim Software As String = Nothing
I need to get a list of installed program on local machine with application icons. Below is the code snippet that am using to get the list of installed program and installed directory path.[code]....
I need to get the current install version for several apps installed on my machine (The same thing displayed in the Add/Remove Programs list)....how do I get this version info programatically?
I'm currently using the following to code to grab the installed programs and list them in a ListView:
vb.net Dim SoftwareKey As String = "SOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Products" Using rk As RegistryKey = Registry.LocalMachine.OpenSubKey(SoftwareKey) For Each skName In rk.GetSubKeyNames [Code] .....
What I don't understand is when I run the code, I get a NullReferenceException was Handled on this line: vb.net If name.ToString <> "" Then I haven't been able to find much on the error. It seems like it is a pretty generic one and can fit into a lot of different scenarios.
I have recently published a simple text editor(just as an exercise). the editor has been published using Microsoft Visual Basic Express. Once the program is installed i wanted to make it a default opener for .txt files, so i clicked openwith ->Choose default program and then i was asked to show the location of the .exe. It seems like the .exe of my installed program doesn't exist. where the .exe is on a windows7 or tell me of another way of makeing that program the default opener.
I am sure this can be done, as Visual Studio is basically built this way. What I want to do is simply make a class that my other workmates can use. But rather than have it in a code form, I want to build it (partially), and then my workmate can add it into their programs (sort of, like the add reference for the .NET stuff).
In 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?
I 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?
I 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
I'm afraid I don't have any code to show, as I don't know where to begin with this. I'd like to have it so that if the user presses "Ctrl+O" it will run the OpenDialogue from the Menu. If someone really wants me to (don't see how it'd help, but whatever it takes ) I can post the fully functional open function.
I created a webrowser in VB.net to track employee usage and it seems to be working fine but I wanted to find out what it would take to set this as a default browser on a PC.I also would need to know how to pull the URL from shortcuts so when the program opens I can have it open to the URL in the shortcut.
I'm trying to findout a way to manage another program windows programaticly. Such as enable/disable minimize/maximize buttons and whole border frame itself. Also i'm trying to prevent or disable showing that program on taskbar.
I'm trying to write a program wich culd run several other and grind them on screen without border frames or/and without buttons.
I Want manage the keys state in my program(in vb 2010) but 'key press event' cant manage more than a key in a time.i want manage keys for commanding something.(for example if "CTRL AND AIT AND Shift And "A" and "S" was pressed do something)
I am looking for code do the following. Am working in an stockroom in a factory and am looking to write a program to manage stock in the storeroom. want to issue stock/ to members and receive it back from them so that dbase will be update at all times. really do not want to reinvent the wheel. all programs that i see out there does not cater for the handing and taking back of items given to a spesific employee...