Launch A Program And Send A Parameter From Within Visual Basic?
Feb 18, 2011
I want to use firefox as a default browser for a webbrowser control in a form in Visual Basic Express. How do I do this? How do I launch firefox or an external .exe program from within my application and send a page for it to open or load automatically?
I have Visual Studio 2008 Professional and I'm trying to make it so I can click a button to send the application to the System Tray and then click the icon in the System Tray to make the application come back.
Can anyone provide me a method or sample code to do this?
i am use visual basic 2010i have API gateway with username and password from provider.buthow to use this? means how to send SMS from my visual basic application
I checked all links in google,youtube,bing, msdn for source code on how to send "free "sms using visual basic 2010 (visual studio 2010). I want it to be completely device free means no mobile just an ordinary user a computer a modem . and visual studio 2010 for the programmer.
I am trying to build a small app using Visual Basic 2005 and I have hit a bit of a stumbling block. I am using the following code to access the clients' default email program. I would like to be able to drop in the text from 2 labels.
Call Shell("rundll32.exe url.dll,FileProtocolHandler mailto:myemil@myemail.com?Subject=IP Addresses&Body=Please enter the IP addresses from the program:", vbNormal)
[code]....
The first doesn't seem to give me any results and the second just causes an error.
I am trying to make a console program in Visual Basic on Visual Studio 2008. I want to ask the user of the program if he wants the premium version or the standard version. If he chooses the premium version, then I want it to say premium in his "receipt" later on and if he chooses standard, then standard in the receipt.
I have visual studio 2008 installed and was using C#. I am now trying to find Visual Basic. I can't find it. Is there a way to download it or should it be somewhere in my visual studio program? I don't want to use vbexpress, just regular VB 2008.
I have a procedure at the end of my console application that ask the user to either hit enter to end the program, or type s to perform another search. The issue I'm having is no matter what the user types in the program end. What I would like to happen is if the user types s, then the program starts over and lets the user perform another search. The program is procedural and I need to find a way to start back off at the top of the program which ask the user to type a name to search.
i'd like to make a tiny program that shows an image 2 images selected by a scrollbox that can be zoomed and pannedthere also would need to be a coordinate system added to the image so that the user can ad points of intrest (small cross apears on map)to the picture by entering the coordinates. these points of intrest should then be saved in a db file so they can be reloaded when the program is stopped and rerun.
When I have tried to run a program in vb 2008 I get the following error message BC32400: Class 'CLSID_CorSymWriter' could not be created: System Error &H8004015 I have tried to uninstall and re install visual studio 2008 (academic) (several times) to no avail.
Anyone know of a way to do addon's with a visual basic program? I want to create a program that has some basic functions, but to stay away from bloatware and unused functions. How would you create a main program when it is installed and then be able to add and remove features to it?
i need to know how to make my Visual Basic program install onto the computer. right now my program is a simple .exe file and does not require instalation.
I have a program written in VB.NET which stops a service that uses file x, modifies x, and restarts the service.
I have modified my code for testing so that it just reads in the file as a string and immediately writes it back out.
Shell("net stop " & SERVICE_NAME, , True) Dim myReader As System.IO.StreamReader myReader = My.Computer.FileSystem.OpenTextFileReader(x) fileString = myReader.ReadToEnd()
[Code]....
The stopping of the service is no problem, and modifying the file is no problem, but when the service starts it stops immediately because, as best I can guess, the file is in use. Even when I try to start the service manually, it stops immediately. However, I found that I can open file x, click save without modifying anything, close the file, and start the service and everything works correctly.
If I comment out the writing part, everything works fine.
Also, the file I'm modifying has a .conf file extension. I don't know if this is relevant.
I'm doing a baseball program for a class project. And I almost have it complete, but it's giving me a syntax error. I can't figure out what i'm doing wrong. I'm using two functions to return a value for different type of baseball tickets to the button that calculates them. Here are the instructions 1.)User selects whether to purchase season tickets or single-game tickets 2.) User enters the number of tickets needed and the type of seats based on whether they selected season single-game tickets.3.) User clicks the Compute Ticket Cost Button to display final cost4.) User clicks the Clear Form button to clear the responseI just can't figure out what I did wrong. I know it's something stupid that i'm doing.the errors are happening inside the btnCompute sub routine. with syntax erros on SingleGameCost() and SeasonalCost() line 114 and 118
Public Class Form1 'Global Variables Dim intTicketChoice As Integer
I need to send a short string, (less than 30 bytes, but sent every second), from one VB application, to a Delphi application.. is this possible, using CopyDataStruct, WM_COPYDATA and SendMessage functions in Windows?
I have made a Medical software writen in VBA and now I want"transfer" (?!) the same softwareto a Visual Basic program that can be run in a computer without Microsoft Office(Excel) installed. How can I do this? I dont want to write all theVBA program again because it is very large and full of spreadsheets and mathematical formulas.
Im trying to make a "database" in VB 08 and i donīt have a clue how to do it. I Want that my program will be able to update itself when i want it to update Ex: My friend downloads my program and lets say 2 days later i want to update it becuse i have discovered a flaw how would i do it? Do i have to use a installer so my friend gotta install it or what?. I donīt think that its a code im looking for or im i wrong. IS it a code im looking for or what ?
I have Visual Basic 2005. I want to be able to adjust the Master Volume programmatically. In the recent versions of Visual Basic it is much easier but in VB2005 it is a little more involved from what I have read on previous posts. Is there a way to adjust the volume in the code of a Visual Basic 2005 program?