2008 DLL Passing Data Among Different Exe's?

Oct 15, 2010

I have written a class library that creates a dll to pass data back and forth within the same compiled instance exe. Is it possble to configure this Class Library in order to pass the data produced in the first instance of an .exe to other instances exe programs written in VB.NET?

My first thought was to add a Module. Older versions used Declare Files. Is there something in the compiler that I should set where the variables point to a specific memory address, or something..., that makes the variable available to other VB programs running in a seperate instance?

[Code]...

View 2 Replies


ADVERTISEMENT

Passing Data Between Form In VB 2008?

Dec 7, 2009

i have two form in vb form1,form2form1 contains button1,textbox1form2 contains utton2,textbox2form1 button1 contains code to show form2 myfrm2 As New Form2myfrm2.ShowDialog()

View 1 Replies

Passing Data Between Forms Vb 2008?

Oct 20, 2010

I need to pass a double from form1 to form2 and have form2 return this value back. My problem is while i can receive the proper value in form2 i can not seem to get the corrected value back in form1 (using byRef in form1). Here is the code snip

Dim AmountPaid As Double = 8
Dim newInvoiceRow As InvoiceDataSet.InvoiceRow
If (MakeAPayment.ShowDialog(AmountPaid) = Windows.Forms.DialogResult.OK) Then

View 4 Replies

VS 2008 : Passing Data From DGV To Another Form?

Jul 8, 2010

I have returned to a project I started a while ago. I have a small members database showing basic info (Title, Forename and Surname) in a data grid view with all data populated from a SQL database. I have the dataset populated with all this info as well as other data through the use of relationships/foreign keys (Addresses and Telephone Numbers, etc)I have tested the relationships using a simple form which shows the correct addresses, telephones, etc for each user as you navigate through it.

I now wish to show just the datagridview on form 1 which is read only with the row select set to full row (I have done all this so far). I have also set up a second form which displayes just the relationship data.I want to be able to load the second form (with the address and telephone number data, etc) when the row is double clicked by the user. ie - if row 15 is double clicked on, then the second form should load the address and telephone number data for record 15.

View 3 Replies

VS 2008 Passing Data Between Forms?

Jul 8, 2010

Form1 is a Datagridview which is non editable. I want a user to be able to double click and open Form2, which will allow editing BUTForm2 is a list view and also had a binding navigator so I guess I cannot use dialogue? I do not want to simply just edit in a dialogue and save.Is there an easy way to get the record from Form1 and pass it to the controls in Form2 so that the correct record is displayed?

View 5 Replies

VS 2008 Passing Data Through A Function?

May 3, 2009

what i am doing is passing data through to a function, the function does a basic check if the file passed through exists then say so in the listview

function:

Function checkIfCredentialsExist(ByVal Check As String)
Try
If File.Exists("credentials/" & Check) Then

[code]....

View 3 Replies

[2008] Passing Data Between 2 Forms?

Jun 18, 2009

I am trying to pass data between forms on a double click operation. On Form1, I have a simple database with three fields (ProfileID(PK), Profile First, Profile Surname). The database has 10 records at present which displays all records in a datagrid view which is set to read only. I have the Selection Mode set to FullRowSelect to highlight the full row.Form2, is a form to Display one record at a time. This form allows editing and saving of changes.How would I go about coding in vb.net to firstly get the ProfileID from the relevant row and send this into Form2 to display that record for editing?

View 10 Replies

VS 2008 - Passing A Object Data To A Class?

Oct 5, 2010

I've got a main form (Form1.vb) where I created some controls (with the Designer).I've created a class myTextBox, inheriting from TextBox, in myTextBox.vb.In the main form, I call procedures from myTextBox. The issue is, those procedures use values from the Form controls. So the class doesn't recognise them as initialised.What's the best solution for this?I think I could pass the object itself as a parameter but doing it on each call seems a bitredundant and it thickens the code.Is there any way to access the Form1 controls and objects directly from the myTextBox.vb class?

View 6 Replies

VS 2008 - Sending Data / Passing Value Between Forms

Dec 15, 2009

Imagine a project with couple of forms and a module. Now as per my knowledge if i want to send some data from one form to another then :

- If I declare variable friend/public in a module then it can be accessed in the entire project (thus also between forms).
- If I just have to send data from one form to another, then I can call the other form's sub/function and pass value.
- If the pass value by reference then I can get new value only if its changed in that function.

Now what the issue is, I need to pass a variable to a form and in that form when user types contents in a textbox or makes other selection and presses OK button then it should return some values back to the calling form. Now how can I achieve this (without declaring global variables which will be accessible everywhere) ?

View 14 Replies

Sending/Passing Data To UserControl Textbox VB 2008?

Oct 2, 2009

I have a form that loads a UserControl which has a tabpage. Each tab has textboxes that I need to update when I create the tab page. I actually had this working but lost a major version of the code and can not remember how I did it. I want to send data to usercontrol this way from the form Do While

count <= intGrpSize With TabCtrlClient() .TabPages.Add(New TabPageEx) UC.SetSessionDate(tbSessionDate.Text) uc.SetCouncelor(CInt(cbProviderID.Text))

[code]....

View 2 Replies

VS 2008 - Passing Data From WPF Parent To Child Form

Jan 27, 2010

In my WPF Form1 I have TextBlock1 that fill from AddressTableAdapter. To edit address user must click EditButton to open Form2 to perform changes. My problem is passing data to Form2 from Form1. In Form2 I have 3 TextBoxes Street, City, Zip, and StateComboBox. I try to code in Loaded procedure of Form2 like this and got error message:

Private Sub Form2Detail_Loaded(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Me.Loaded
Me.AddressTableAdapter.Fill(Me.AbcDataSet.Address)
Me.StreetTextBox = IIf(IsDBNull(AbcDataSet.Address.StreetColumn), "", AbcDataSet.Address.StreetColumn))
Me.StateComboBox = IIf(IsDBNull(AbcDataSet.Address.StateColumn), 0, AbcDataSet.Address.StateColumn))
End Sub

View 1 Replies

Passing Data From Database And Increment Data?

Mar 15, 2012

I have 2 question to ask about vb.net. Now i'm using Visual Studio 2005 with connection MySql...

1. how if I want to passing the data from database to the textbox by SEARCH button. I Have 1 SEARCH button and 3 textbox [txtname],[txtage],[txtaddress] and to pass it also on datagrid...

2. I have a id_Student starting with S001 in database...and I want the id is increment when new data is added. The id_Student is display using lblID_stud

View 6 Replies

Passing Data Into Vb?

Oct 17, 2005

I`m trying to code something to populate an outlook message with data from another application but i'm having problems passing the data into something which could be executed.I'm basically using the script Sub SendMailOutlook(ByVal Recipient , ByVal Subject, ByVal TextBody , ByVal From )

Dim olApp As Outlook.Application
olApp = CreateObject("Outlook.Application")
Dim olMail As Outlook.MailItem

[code].....

View 3 Replies

No Data When Passing The Parameters In Pdf?

Oct 14, 2009

to solve my problem regarding dataset, crystal reports and exporting to pdf file? There are datas when i preview the crystal reports but when i export it to pdf viewer there's no data displayed. Here's my

DataOpen()
cmd.CommandText = "Select * From AllDTR Where BIOID = '" & myuser & "' AND Date > '08/31/2009' ORDER by Date"

[code].....

View 3 Replies

Passing Data Between Forms

May 10, 2010

I have 2 forms. Using Visual Basic.On Form 1 there is a populated combo box. This was done so by running a query through it and populating it with PUZ_ID values from a data set.On form two there is a tool strip and below is a search query.I need to be able to select the value i want in the combo box on form 1, and launch a button that opens form 2, which has loaded the data that i binded onto the form.Anyone have any ideas/code or need me to clear this up a bit more?So i need to run something through a query, or make something public or what?

View 2 Replies

Passing Data Between Forms?

May 10, 2010

I have 2 forms. Using Visual Studio.

On Form 1 there is a populated combo box. This was done so by running a query through it and populating it with PUZ_ID values from a data set.

On form two there is a tool strip and below is a search query.

I need to be able to select the value i want in the combo box on form 1, and launch a button that opens form 2, which has loaded the data that i binded onto the form.

So i need to run something through a query, or make something public or what?

View 2 Replies

Passing Data Between Functions?

Jun 8, 2012

I would like to have custom methods to pass data between function, or to keep it in memory throughout the program.

Example:

Private function info()
Addr1 = addr1.text
Addr2 = addr2.text
City = city.text

[code]....

Could I run this function towards the beginning of the program and use it throughout until the form is disposed? I can't seem to get the information to stick once I get out of the function, I will need to use the same information multiple times throughout the application so I figured if I could make a function to keep the info rather than declaring the 5 lines in every option but anytime I call the method, it fills it correctly then when I get back to the main function the info goes back to 'nothing'. is it possible to pass data around between functions like you could in Java?

View 5 Replies

Passing Data Between VB NET Com Class And VB 6

May 12, 2010

How do I pass a structure containing strings from VB.net to VB6. I can get an integer to work but not a string.

View 3 Replies

Passing Data From Access To VB?

Nov 2, 2009

i'm using VB Net 2008 and MS Access as my database.Its like this, form1 display the details for the TV Show and a button1 that loads form2 which contains the episode for that TV Show.I have 2 tables, both have the same field Movie_ID. able1 contains the details for all the TV Show, Movie_ID set as Primary key and table2 which contain the all the episode but categorize by Movie_ID.

View 1 Replies

Passing Data To Another Form

Apr 28, 2009

i got 2 forms.there are 2 buttons in the 1st form and what i wan is,when a user click button 1,then will show form 2 will related data,click button 2 will show related data which is different with form 1.so far wat i get is,i oni manage to make when a user click button 1,then show form2 n in d form 2 there is another button to click n get d data...which mean i nid 2 create more forms...erm...u can say that i would like to make the form 2 to become a template...and send data into it.[code]i just wana make like i click button1 in form1,it will pop out form2 wit related data.

View 7 Replies

Passing Data To Report?

Jun 16, 2011

I work as a console technician for an audio company in the north eastern United States. My job is to prep and manage all of our audio console before they go out on tour. form to the report?

View 1 Replies

.net - Passing And Receiving Data Between A Php And .exe Application?

Apr 24, 2012

there is a complex situation wherein, I have to pass a string data to a .exe application and this .exe application would process the string and respond back to my php data. I prefer not to use a TCP/IP connection.

View 1 Replies

.net - Passing Data To ASP.NET Webservice Using JSON?

Jun 22, 2010

I have successfully returned data from a ASP.Net webservice in JSON format (using a service method that required no parameters) but have struggled with making a webservice call that requires a parameter.

Webservice:

[Code]...

View 1 Replies

Asp.net - Passing Data To Knockout From Webmethod?

Jun 18, 2012

here my function

<WebMethod()>
Public Shared Function person() As List(Of Class1)
Dim initialState = {New Class1 With {.id = 1,

[Code]....

how to pass initialstate values to knockout?

View 2 Replies

Passing Data (variable) To New Form

Feb 18, 2010

Doing a small project where I would like to be able to print the results of certain calculations. I want to open a new form where the data can be neatly presented and printed. I just can't seem to make the data get passed along to the new form when I open it..

[Code]...

View 2 Replies

Passing Data Between Winforms And Webforms?

Mar 6, 2009

i'm planning on creating an application that uses both winforms and webforms and i have a few concerns before i proceed.1. is it possible to pass data between winforms and webforms?2. how about passing objects like connections, datatables, dataadapters etc. between webforms and winforms?3. i want a centralized authentication for all forms and webpages... meaning if i'm authenticated in a winform, i should also be authenticated when i launch a webform thru the winform and vice versa.

View 9 Replies

Passing Data From CheckedListBox To TextBox?

Mar 30, 2012

I am using VB 2010 express and am trying to make a program for a project that generates lottery numbers in a specific way. What I have is two forms. Form one has two text boxes and a button. Form two has a checkedlistbox that is pre-populated with numbers from 1-56. What I am trying to do is have the program open to form1, the user presses button1 ("Select Numbers") which opens form2. From there they will select numbers they want to pick from (narrowing their pool of lotto picks to only numbers they want to use). Then when they hit select, I want the numbers they have checked to return back to the textbox1 on form1. HOWEVER, I also only want 5 numbers, randomly selected, from the pool of checked numbers the user selected on form2 to return to the textbox1 on form1..... I may be in wayyy over my head, but I have all of the forms designed and I have been close to getting the forms to at least communicate, but still far from doing what I have described I am trying to do.

View 7 Replies

Passing Data From Datagridview To A Textbox?

Oct 5, 2009

I have a DataGridView which I named CallnumberDataGridView and I also have a TextBox which I named txtCallnumber. I would like to pass the data from column(13) or column(callnumber) to txtCallnumber.Text , but when I use the code below I get a blue squigglly line under CallnumberDataGridView.columns(13)

txtCallnumber.Text = CallnumberDataGridView.columns(13)

View 1 Replies

Passing Data In Excel To Combo Box?

Aug 14, 2011

I'm a noob to VB, so new in fact I had posted a question to the VB6 and earlier, I do believe I am using .Net Anyway, as I say, I'm new to VB and am hoping somone can help me. I am trying to pass data from an excel spreadsheet into a combo box, I've added the reference object library. Here's the

[code]...

To run this you'll need a combo box, and an excel spreadsheet added to your desktop. Of course you'll need to change the path to the spreadsheet to whatever you choose. After doing so, I get an error that I don't really understand.

View 1 Replies

Passing Multiple Data From One Form To Another

Jun 10, 2011

In reference to this post [URL] I have another more specific question about passing data between forms in VB.net I have a form with over 50 variables that I need to access on a second form and if i followed the method above, my form 2 will end up way too long and time consuming. I'm making a complex calculation software that prompts user inputs values and calculates all those unknown variables. I need to display all the resulting values in the 2nd form. and from the 2nd form , i want to give the users an option to export all those values to an ms Excel sheet.

[Code]...

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved