Pass Key Values To Other App?
Jun 22, 2010
I want to make a program that control powerpoint slides
for example, when I start power point in presentation mode
as I click the button, then slide goes to next. And when I click one more, then go next slide.
I don't know how to send message to powerpoint in VB.
View 2 Replies
ADVERTISEMENT
Feb 4, 2009
I am in the process of creating a program that needs to pass some information to another program. The program that needs to receive the data is meant as an update program to the first. I send a new copy of the host program over the sockets connection, then I need to pass the file name and location to the update program. After this information is sent the host program will quit so that the update can overwrite the host with the new version. The the update program restarts the host and everything goes on like normal. I have everything all-ready in place, except for passing the file information. I could just save the information in a text file and read form this, but it seems messy and illogical.
View 6 Replies
Feb 10, 2011
I'm trying to send values through addHandler. How can I do it.
View 2 Replies
May 5, 2011
Im having problems passing values from my class "client" to display on my main form in text boxes. Im looking up a user input number and then pulling the clients first name, last name, and phone number from a text file. I figured out how to pull the information from the text files, but now im having difficulty passing the values to display in a another forms text box. This is what I have so far.[code]....
View 11 Replies
Jul 25, 2011
I have a main class named PortaLinhaFrio and a child class named Ambiente [code]...
View 2 Replies
Aug 2, 2011
I have been updating a program that was made in VB5. It contains several lines of code that are drawing lines and arcs, for example:
Arc(picCameraImage.hdc, sngOldX - sngCircRadius, sngOldY - sngCircRadius, sngOldX + sngCircRadius, sngOldY + sngCircRadius, sngOldX, sngOldY, sngOldX, sngOldY)
I have figured out, or think to have figured out, that the new way of doing arcs and lines does not require the HDC, so that problem is solved. The problem I am having now is that with the new way, every example I have found created a sub that does the drawings, like:
Public Sub PictureBox1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles PictureBox1.Paint
Dim radius As Integer = 20
Dim diameter As Integer = radius * 2
[code]....
Is there anyway to pass values to this sub? I have to draw several arcs and lines and the values for them are different everytime. I would like to create a sub that would be used in every spot the old program used the old arc command and pass the needed values through it.
View 3 Replies
Mar 28, 2011
How can I do this:
Dim oMyObject As New MyObject
oMyObject.DoSomething("Parameter1","Parameter2")
The "DoSomething" and the two parameters are dynamically provided from another script. They are stored in a string object in this script: sAction & sParameters. My question is how can I dynamically pass the "sAction" to the object oMyObject.For example oMyObject.sAction (where sAction should be the value stored in the sAction string). The example will probably not work. Is there a way to do this? The idea behind is to avoid having to write each function hardcoded, like:
If sAction = "DoSomething" then
oMyObject.DoSomething(sParameters)
ElseIf sAction = "AnotherThing" then
[code]....
View 5 Replies
Sep 6, 2011
How to pass values to a particular column in Excel
View 8 Replies
Sep 26, 2010
I have 2 textboxes on form1 that I want to pass to 2 labels on form2, I used the Get Property to do this but i am getting errors, can anybody show me how to do this, I am new to visual basic
View 8 Replies
Jun 26, 2010
If i pass this argument:
-helloworld
I can get it easily.But how do I do if i want to get this line as 1 argument or something:
-writethis "Hello Guys!"I have only suceeded with retrieving it as 2 separate args (writethis, "hello Guys")
View 2 Replies
Apr 30, 2010
I have a application that I would like to pass the company name to the other application?
View 1 Replies
Aug 9, 2009
I have the following [code]...
I thought make this would make my ada.myString have "working!" on the main appdomain, but it doesn't. I thought that by inhering from MarshalByRefObject any changes made on the 2nd appdomain would reflect also in the original one(I thought this would be just a proxy to the real object on the main appdomain!)?
View 2 Replies
Apr 15, 2012
I open a child form from within a parent form
[code]...
now the form customer master has values within a listview. when i doubleclick on a value within the listview i want this form to close and pass the value to a textbox within the parent form. what would the code be? I am relatively new to vb.
View 1 Replies
Jun 10, 2011
How pass values from datagridview to listview
View 2 Replies
Jun 10, 2011
I am using visual basic 2008. i have a listview and a datagridview which have both 3 columns like ProductCode,ProductName & ProductPrice. Now i want to pass listview values to datagridview in the same sequence. I want that when i double click on any row in the listview these row values inserted to Datagirdview.
View 6 Replies
Mar 25, 2011
I need to pass all rows at once created in a gridview to another. With the following script i can only pass one line at a time when i click the button.
Private Sub btn_add_equip_ext_guardar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_add_equip_ext_guardar.Click
Dim rowext As Integer = win_Comp_orc.grd_NoOrc_Exterior.Rows.Count
[Code].....
View 14 Replies
Jun 10, 2011
i really need it those kind hearted programmers out there
View 6 Replies
Nov 1, 2008
I have a function that creates a button and textbox on my form dynamically. That all works fine, but now I need to pass values to my click event.[code]...
View 4 Replies
May 5, 2011
I am having a hard time trying to pass the values from a list inside of a class. I am trying to display multiple lines of values from a list inside of a class. My "client" class stores multiple lines of values into a list(of class transaction), with the number value (num) counting each transaction that it adds to the list.
Ex:
Public Class Client
Private m_tranlist As New List(Of transaction)
If CInt(tid) = m_ID Then 'create client tran, add to list
nextTran = New transaction(m_ID, tcode, tdate, ttype, tshares, tprice, value, num)
m_tranlist.Add(nextTran)
num += 1
End If
Now I am trying to display each line that is stored in the list in a label, and I am having major trouble. How do I call the list in my main form in order to display all of the values?
View 1 Replies
Feb 23, 2009
i used a split container, in the 1st panel, i put the textbox for the user to input the values. In the 2nd panel, i put the datagridview to output the values that the user inputted. Now, i don't know and i cannot find way how to print the values into the datagridview from the textbox.
View 9 Replies
Apr 16, 2010
Having a bit of trouble using the List.Find with a custom predicate i have a function that does this
[code]...
by doing it this way means i have to have a shared "currentKey" object in the class, and i know there has to be a way to pass in the values i'm interested in of CurrentKey (namely, keyname, and oldkey) ideally i'd like to call it by something like keys.Find(AddressOf FindByOldKeyAndName(Name,OldVal))however when i do this i get compiler errors.How do i call this method and pass in the values?
View 2 Replies
Apr 24, 2010
I am new using Vb. I did create an app that accept general customers info, and save it into a database using the bindingsource component(I don't know how to do it with SQL from VB). Everything was fine, but adding a couple of maskedtextbox has become difficult. I don't know how to pass the value of this fields to the database. I used the following code:
phonetextbox.text = maskedtextbox.text
Leaving the original fields in the form, I see the values on them, but they never goes to the database. Is this just possible using sql command from VB?
View 1 Replies
Oct 20, 2009
i've small problem in vb.net .i've mdi container form,in child form datagridview is there previoues,next buttons in parent form.
How to pass datagrid values to parent window?
i'm new to vb.net.Pls help me any one.
View 2 Replies
Aug 27, 2009
Rather using a DatagridView Column ComboBox i need in this phase of my project, to use a listbox outside the datagridview ,o pass values from listbox to the datagridview. I do not want these Values to be default in that, column of DGV but when adding new rows i want to pass different values,always form listbox to the DGV..
View 14 Replies
May 4, 2009
How can I pass optional values to chars arrays in a function?[code]...
View 1 Replies
Nov 4, 2009
I have about 10 boxes on my form1 that the user will populate, I am looking for a "Best Practice solution to pass the values across to form2 and form3. Would like the user to be able to edit the value on either form and have the chnage carry over to the other forms.
View 5 Replies
Jan 20, 2011
I have a form that I'm running a stored procedure in and I'd like to pass the results to a datagridview and then offer the user the ability to export those results to a flat text file.
View 1 Replies
Jun 19, 2009
How do i pass the combo box value to some batch file.The UI will have following parameters:Month (for which user wants to generate the report) Full name of the month e.g. January, February etc. Year (for which user wants to generate the report) YYYY e.g. 2009 We will use the following approach:User will select the month and year as per requisition. From dotNet call a batch file, and pass the selected parameters to the batch file
View 1 Replies
Feb 23, 2009
i used a split container, in the 1st panel, i put the textbox for the user to input the values. In the 2nd panel, i put the datagridview to output the values that the user inputted. Now, i don't know and i cannot find way how to print the values into the datagridview from the textbox.
View 5 Replies
Apr 21, 2011
I used the username and password in connection string to pass to SetDatabaseLogin command but displayed errors
Here are my code:
'For main-report section
Try
connect.ConnectionString =
[Code].....
I got the error from the line: mySubReport.SetDatabaseLogon(userId, userPw). missing codes in Try block that caused the error at userId, userPw.
View 2 Replies