VB 2008 - Selecting A Process And Send Data
Jun 9, 2010[Code]...
I'm doing an application where I open a specific process. And after opening that process I need to send data to him like username and password.
[Code]...
[Code]...
I'm doing an application where I open a specific process. And after opening that process I need to send data to him like username and password.
[Code]...
I got a textbox with 50 lines of text and I would like to send everything in it to a PHP-script
View 3 RepliesI have a barcode scanner which sends data to USB Port. I want to redirect it into ComPort. So that I can manipulate it. How can I do It in Visual Basic 2008 Or how to convert usb port to ComPort in Visual basic 2008
View 1 RepliesThis is the short instruction:
1) Make a single HTTP-POST request to the following URL in XML format.
[URL]={password}&user={username}
2) The xml form field that is posted should be named "createorder".
I don't get the last part with naming the xml form field. What the xml form field means (stands for) in this context?
I need to send data back to my Apache web server so it can be updated in it's MySQL database, I've looked at NuSOAP as it's written in PHP but man that's hard. I'm lost, is there a more simply way to send it back? even to call a webpage and send data into it?
View 4 RepliesJust wondering what is the simplest way to send data between ALL instances of my app on the SAME windows login on a single machine - I do not want to use anything that opens a port as i don't want there to be any chance of having it blocked by a firewall
View 3 RepliesEssentially, I have my goodsync program I use which is a console application that I create with a process:
Dim ProcessJob As New ProcessStartInfo(GSyncExe, RunJobTemp)
ProcessJob.UseShellExecute = False : ProcessJob.CreateNoWindow = True : ProcessJob.RedirectStandardOutput = True : ProcessJob.RedirectStandardError
= False
[Code]....
What do I need to do? I need to send this Ctrl-C command to my process, which is in the global variable procJobRealTime (so I do have access to the running process), to shut it down properly.
I have a large class that I built to act as a TCP server for one of my silverlight applications. When a user connects it stores the tcp client into a table for later communication. The problem is that when I send data, with more than one client connected, it loops through both open TCP Clients but some how sends the data twice to the same client.... the other tcp client never receives his data. This isn't a logic issue as I can step through the code and see that it is clearly taking each individual TCP client out of the table and sending it the data. They all use the same port... could that be the issue? And if so how do I make it so that it can connect on one port then transfer to another? I have tried using different computers for connecting but still the most recently connected client receives all of the packets of data.
View 6 RepliesI was wondering if this code could be better optimized for multithreading. What it does is open a process and loops through the data, there could be any range of files to open (so I would like to have say 2 or 3 processes at once):
[Code]...
I have a class that contains a collection of another class. See below
Public Class Spot
Private mActive As Boolean
Public Sub New()
[Code]....
I am tring to send the data from Datagridview to Excel. Now the data sending is working good.But what i want is , In a datagridview rows having different colors.I need to send the data to excel with cell color or with Row color .
How can i send the data with Backcolor or CellColor or RowColor from datagridview to excel.
I am sending the Code which i COded for send data from Datagrisview to Excel as below :
[code...]
I got a window form, and I want to send data to another computer or a server over internet after the submit button is clicked. Yes, this is a very "general" question (I cant not ask it in more detail), because I don't have any information how to do that, I google it, and I heard WCF, but I am not sure how it actually can do this job (seem like WCF is related, but still researching).
View 4 RepliesI wanna send POST data to the current web page viewed in my webbrowser. It's for logging into a page so the fields are "Username" and "Password". And then I might have to make it press the "Log in" button?
EDIT: It was easier than I thought when you don't need to do it silent in the background.
PHP
WebBrowser1.Document.GetElementById("username").SetAttribute("Value", txtPassword.Text)WebBrowser1.Document.GetElementById("password").SetAttribute("Value", txtPassword.Text)
Now I just need to figure out how to press the submit button
Will the commands I send to a Process.Start() be obeyed from within the IDE? [code]This doesn't work in the IDE, just gives me a blank window with the full string as the window name, but I'd like to fire up ffmpeg from within the app, wondering if it's an IDE thing or my code. I know some things in Flash work differently in the IDE than the "real" thing, not sure if VS does it too.
View 1 RepliesI am facing problem in asynchronous socket communication.
1)I wanted to perform connect(from client to server) operation on enter button and send the data whatever client want to send and disconnect from server. And again client should get connect to server whenever client wanted to send data. this is the mechanism.
i.e how to reuse the socket.
2)Again Server should able to send the data to client.
I tried a variation of the code at the end of this thread.>> [URL] which is the following code using; one Button one Panel
View 5 RepliesI want my application to be able to print details from the databse. I hava a report already in the program but it displays the list off all persons in the database. I want to create a form where i can use a query and the result of the query would be printed on the report.
View 2 Repliesi want a code that if a process that i picked is no match in a process list that process that i picked will start
View 4 RepliesTrying to create a button that when clicked will check to see if a certain process image is running and if that process is running give the process focus. If the process is not running then start the application.
View 9 RepliesWhats happening is I run the code below and get the following error "The system cannot find the file specified". I've read that with UseShellExecute set to false that you can't use WorkingDirectory.
Dim Password As String = "password"
Dim SecureStringPassword As New System.Security.SecureString
For Each c As Char In Password
[Code].....
[Code]....
Now as you can see it is sending the textbox1 text and then pressing enter then sending textbox2 text! Theres quite a few problems in that but before i discuss note: This code is in a Timer. Problem #1: It does not send the keys fully correct all the time because its trying to send them all at once! So i want it to send them 1 letter after the other with 200 ms sleep in them! Problem #2: The sleep is not working: The reason i know is because even after it did the first textbox1 text it didnt wait that 2000 ms!
I just started learning VB.NET about a moth ago (I have been taking classes, so its been about 5 days worth of classes) and I decided to work on this project idea I had. Essentially, it's a database to keep track of anime and manga that I, or whoever else uses it, have watched/read.[code]...
However, now I want to make it so that when one selects a specific title in the list box, it will show the data in the tags below the <series> tag that matches the item selected in a label. One thing I just thought of is than since the list box gets populated in the order that the series are in, it could be easier to go in order from first item equaling the first <series> and so on.
how to retrieve data from SQL Database using SQL Connection by selecting the individual value in a ComboBox which the data in the ComboxBox is also retrieved from the SQL Database using DataBound. A 'Display' Button will be clicked to display the data in a TextBox, based on which value the user had selected.
Below is my current
Private Sub displayBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles displayBtn.Click
'Create Connection
[Code]....
I'm using an OleDbDataReader to loop through my imported excel file and it gets everything in the file except for the first row. How can I specify that I want to see this header row?
[Code]....
I cannot get my combo box to populate using a select statement from mysql database.
[Code]...
NB: I'm using Visual Basic.NET?My form has 2 DataGridView controls. One of these is bound to a DataSet, the other isn't visible - at least not until the user selects a uniqueidentifier cell in the 1st grid.When the user makes this selection, the 2nd grid will become visible and display the row from another with the same id as the one selected in the 1st grid.So, basically, I want to dynamically display data in one grid based on user selection in another grid.My code looks like this so far...
Private Sub RulesGrid_CellClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles RulesGrid.CellClick
Try
FlagsGrid.Visible = True
[code]....
I have a DataTable with about 64 columns, including "UserAnswer", "CorrectAnswer", and "QID_Lookup". I am building a LINQ that will select all the rows that have a correct answer (user answer matches correct answer), but I only want to select rows that have distinct "QID_Lookup".
[Code]...
The problem is that the result set includes duplicate QID_Lookup values. How can I include only distinct QID_Lookup values? keep in mind that there are 64 columns, so if I can avoid it, I wouldn't want to list each column individually for selection.
I have a filter that is used to populate a grid view and the url will conain: /example/grid?value1=1&value2=2
It will then have a link to page 2, which allows them to edit something.I then want them to click a link that will send them back to the gridview under the same parameters of: /example/grid?value1=1&value2=2
Is this possible? How do I hold on and fill in the URL values so it knows how to refill the grid view accordingly?
Is there a way to prevent a user from entering data into a ComboBox, rather then selecting, or can anyone suggest a routine to catch and prevent entries so the user can be made aware the they are not acceptable?
View 7 RepliesOn my app. there is a lot of labels created by code (Please see my post "Filter text before Data Binding) how can I by clicking on one of this labels have the app respond by bringing up a text box bound to the same field so that changes can be made to that field?
View 3 Replies