Application - Send Info To The App When It Starts Up?
Jun 25, 2009
In some applications, like taskkill.exe you can send info to the app when it starts up. By that i mean taskkill.exe /f /im 123.exe.... how do i make my VB.NET app read that info on startup so i get it in a string like this "/f /im 123.exe". I have absolutly no idea what this is named,so thats why im asking here.
View 3 Replies
ADVERTISEMENT
Nov 1, 2009
I have my aplication but i want to send mesagess to the aplication thrue xml from my web and i want to send mesagess of the new product or new thing in my aplication that i create but i don�t found any info?
View 2 Replies
Sep 6, 2011
under my project I have the following
However when I use this code.
lblABOUT3.Text = "Version : "
lblABOUT3.Text += My.Application.Info.Version.Major.ToString()
lblABOUT3.Text += "." & My.Application.Info.Version.Minor.ToString
[Code]....
View 8 Replies
Nov 13, 2009
Alright im having some trouble with this peace of code
I use this to send my Account to the server but the server is just not reading it.[code]...
View 2 Replies
Jan 21, 2012
I'm developing an application that will need to be used with a client.The software can be managed online ( at website ) and by desktop client.I can't find any information in how to send information to website and retrieve data from website. The PHP code is entirely written. how do I get something like:
Client -> PHP -> Create Account ( Send this to a file like create.php?user=USERNAME&pass=PASSWORD )
The PHP file ( stored online ) will run the information and create the account?How to send that information with VB .Net?After that, PHP will return a info if it's ok or not the user account creation.How to retrieve the results from PHP and show them in the client?
View 3 Replies
Oct 27, 2011
I host a few servers for different games as my hobby, I tried to make an application that would make it easier to control the servers. Should be really easy for people who has spent more time with vb then I did,This would be the interface of the application, on the textbox below the buttons is where I can specify the patch to the application that starts the server.I tried using the following lines of code, but they don't seem to be working:
Public Class Form1
Private Sub GMODStart_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles GMODStart.Click
Dim GMOD As String = Me.txtGMOD.Text
System.Diagnostics.Process.Start(GMOD)
End Sub
[Code]...
View 4 Replies
Mar 31, 2011
I have an application that uses many forms and a couple of modules. One module modMain contains my subMain that starts the application. In subMain an instance of frmMainMenu (insFrmMainMenu) is created with a menubar. As the user selects an item from the menu bar, an instance of a specific form is created (for example insFrmViewCustomer). That instance is opened with the ShowDialog method. When the form insFrmViewCustomer is closed, a statement in insFrmMainMenu disposes the instance of insFrmViewCustomer. modMain also contains many public functions and subs, as well as public variables. The other modules contain public functions and subs.
So, What is loaded into memory when the application starts?
And Is there a tool within Visual Studio that tells me the answer to the first question?
View 8 Replies
Jun 30, 2009
I'm Making my own email reminder. When a button is clicked it will send info from three textboxes and one richtextbox.But when i get the email, the text arent with spaces between what is typed in the diffirent textboxes.
So etc. "NiceCoolGoBad"
"Nice" is textbox1.
"Cool" is textbox2.
"Go" is textbox3.
"Bad" is richtextbox1.
How can i make my own text between them?
[Code]...
View 3 Replies
Dec 9, 2011
I am attempting to write/read data to/from a device that is connected to my laptop via a USB-to-serial connection.The device getsa picked up in my device manager on com port 8.What do I need to be able retreive and send info. across to the device?
View 18 Replies
Mar 26, 2010
<Visual Studio 2008(VB.Net) + SQL server 2005>
I have an application for HR and I am trying to give feedback to users on login window wheather it is connected network and database.
View 16 Replies
Aug 29, 2011
We have a Windows Forms application that needs to run on an ASUS EEE PC on-site. The application displays some data on the Form, and processes some data in the background. It is connected via Serial Port and USB to some custom electronics at the location. We could have used a regular 8051 microcontroller for processing and displaying the data, but since we added a barcode scanner along with a database into the equation, we needed a chip with an OS, so we went with the ASUS EEE PC minimalistic machine option, with Windows XP installed, and the platform used for coding the application as VB.NET and SQL Server.
We have two user logins created on the Windows machine - an admin login, and a limited user login. What we require is that when the employees manning the on-site location switch on the computer, and login into their limited user login, instead of displaying the desktop and exposing normal Windows functionality, the machine should directly start our Forms application, and not allow the user to quit or close or minimize the application in any way, but should only display our Forms application in full-screen mode. The Forms application should have a button which, when clicked, exposes the Windows Shut-Down dialog so that the machine can be shut down when not in use.
View 21 Replies
Jun 30, 2009
When you click a button, i want the program to send info's from 3 textboxes and one richtextbox. Public Sub Email(ByVal Subject1 As String, ByVal Body1 As String, ByVal ToAdd As String, ByVal Acc As String, ByVal Pass As String)'(Subject,Body, Email to be sent to,Email account, Password)Dim smtpServer As New SmtpClient Dim mail As New MailMessage
[Code]...
View 1 Replies
Nov 6, 2009
Is their a way to send the server client info(account) With out connecting to the server(Full back and forth communication).
View 4 Replies
Mar 18, 2009
i have a button in my application that starts a function to play sounds.But when the function starts a have a problem that my application stops working until all the sounds are played. Then a want to display a waiting screen to show the status of the current application. To this i thought to create a new thread to open the waiting window and then show the messages.
But i have a problem that when my thread finishes, it closes the waiting screen. I tryied to put a loop inside my thread, but this crashes my aplication until the loop condition is satisfied.
View 1 Replies
Jan 27, 2011
I know one can select Spash Screen as the application startup as per this illustration. I can't do that however because the application is called by another program which passes in parameters via Process.Start(). Depending on the passed in arguments, I need to either
Go Directly to the MainForm or Go First to a Splash Screen which will then to the the Mainform after 5 seconds.
I definitely need Step 2 above because of the slow startup time of creating an SocketConnection and the population of some Custom Controls only after the Socket connection has been established.
Would I use a startup class or module and then use that as the application startup 'form' which could be establishing the SocketConnection while also launching a Splash Screen?
View 7 Replies
Sep 1, 2009
I used a date time picker but everyday the date is not updated.....i added the datetimepicker on 30th and today is 1st......but the date is not updated automtically...here is a snapshot:
Attachment 72933: after adding the datetimepicker i changed its format to custom and from its value part i deleted the time......what to do if i want to update the date shown by the datetimepicker everyday when the application starts?
View 5 Replies
Jul 19, 2007
Is there a way to auto generate unique number on the form when an application starts up and it should incremente in the dataadapter and database too. How can i set it up?
View 10 Replies
Jun 8, 2011
I am trying to make an application which will list all processes in a string when it starts. After it has listed them all I enable my timer, and in the timer there gets checked if the process is in the process list (string), and if it isn't it will add it to my listbox. The only problem is, it's not working, it's never adding an item.
vb.net
Public Class Form1 Dim AllProcesses As String Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'The first check For Each p In System.Diagnostics.Process.GetProcesses() If AllProcesses = "" Then AllProcesses = p.ProcessName Else AllProcesses += "|" + p.ProcessName End
[code]....
View 3 Replies
Jul 16, 2010
I want to make that program starts when computer starts. I have no idea how to do that.
View 4 Replies
Oct 29, 2009
I am developing an application in Vb.Net 2005 and have enabled the installation by clickonce, the update occurs before the application starts. My problem is very simple, the server that contains updates is correctly natted to be available from the outside with a public IP.
The clients who access from an external network connecting without problems, download software and updates. When local clients are connected to the same network of the server (LAN) can not download anything because they try to access the server with the ip public, and the nat does not work . We can not perform operations on the DNS server or hosts file and not even on the router.
I need to figure out if i can use ClickOnce to use more than one distribution server, primary and secondary. I'd like to set as the primary server the public address and the secondary server with internal network ip address.
View 1 Replies
Mar 20, 2009
I have a button in my application that starts a function to play sounds. But when the function starts a have a problem that my application stops working until all the sounds are played. Then a want to display a waiting screen to show the status of the current application. To this i thought to create a new thread to open the waiting window and then show the messages. But i have a problem that when my thread finishes, it closes the waiting screen. I tryied to put a loop inside my thread, but this crashes my aplication until the loop condition is satisfied.
View 2 Replies
Apr 9, 2011
Let's say 10 desktop shortcuts, all with different names/icons, point to and can start the same exe application from the same directory. Is there any means for the application to know the distinct name of the shortcut that was doubled_clicked. Also is there any means for a running application to know if it was started by command line, by a double_click on the exe, by a double_click on a shortcut that points to it, or by another process' call?
View 4 Replies
Nov 24, 2010
I have a 3rd party program that has an internal messaging system built into it. The messages are stored in SQL. What I am doing is writing a program that will query this database on a specific interval and if it finds a message for a specific user it will take the text of that message and send it to the users email address(ie. gmail, yahoo, etc.). The issue is when the program quesries I only want it to grab the message that have not been sent. Each message in the system gets an ID assigned to it so what I'm trying is everytime it finds a message to send to the user it will write the ID of that message to a text file so that next time the query comes around it will compare the ID in the text file to the most recent ID in the database and if it is newer message it will get it and send it. I'm not trying to display any data from the query, just take the messsage text and send it.
Public Sub LookForMessage()
'Bind database tables to datagrid view
cmd = New SqlCommand("SELECT * FROM dbo.tblMessageTo", con)
cmd2 = New SqlCommand("SELECT * FROM dbo.tblMessages", con)
[code]....
View 2 Replies
Apr 26, 2010
is it possible to make one application send a task to another application and recieve the result from that secondary app?i made a text editor program and i added a scan feature and i made another app that has ocr capabilities.The scanner ability is in my text editor program, the ocr program doesnt scan you have to input an image into it and it will give text result a few seconds later.the prob is alot of times the ocr code uses sooo much memory and crashes when its incorporated with my text editor, but individually each application works fine and doesnt take too much memory. Memory wont be even an issue if the ocr program is standalone so that when it is done decoding image the application can be made to exit. now here is the question, how do i make my text editor send the image to the ocr program and how do i make my ocr program send the text back to my text editor? is it possible? i mean the only way i know off is creating temp files in a certain folder and having a timer on each program that keeps waiting for temp files. That just seems like pretty lame coding to me i was wondering if there's a better way?
View 11 Replies
Apr 5, 2011
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?
View 1 Replies
Nov 9, 2010
I have a backup program that is currently running in our Corporate Environment on about 70 machines. A mixture of Laptops, Desktops and Windows (xp-32, vista-32, vista-64, 7-32-7-64) with no problems.
There is one exception, and it's the reason I'm posting here for assistance.On one machine that is a Dell Latitude running Windows 7 64 bit with .Net 4 Framework installed the console application will crash immediately before it starts Sub Main. It simply give the generic windows error "A problem caused the program to stop working correctly." with no option to see debug info.
[Code]...
View 4 Replies
Jul 23, 2009
What are the best C# (csharp) equivalents for the following VB (VB.NET, VisualBasic) statements:
My.Application.Info.DirectoryPath
My.Computer.Clipboard
My.Computer.Audio.PlaySystemSound()
My.Application.Shutdown()
View 5 Replies
May 27, 2009
Currently my Application.Info.Description is set to "".I'd like to change it to something else.The Description property is read only - is there a way that I can reset it?
View 2 Replies
Jul 1, 2009
I am making a video conversion tool. I have a listview with one item per file.And i also have options to add subtitles to movies. I want it to be like this:Say the user add 2 movies. He select the first movie in the listview and then go to the subtitle tab beside. There he checks a checkbox so he can add subtitles. Some controls comes up that allows he to browse for subtitle and select which language the subtitle is. Then when he has selected these options, he select the other movie, the program saves the subtitle data somewhere and then erases all fields so he can fill them with a subtitle for the other movie.
My.Settings is way to simple for this. But i don't want SQL or db related stuff.Is there a good storing way i have missed?
View 4 Replies
Aug 20, 2009
Im going to make a chat room with VB.net and C++ win32 windows application or console. Im trying to make it so then C++ can connect to VB.net(server) and will beable to send info back and forth.
View 1 Replies