Login Register






Problem with stub and builder filter_list
Author
Message
RE: Problem with stub and builder #2
Can't you just do the following? (in stub)

Code:
Net.NetworkCredential(emailAddress, "xxxxxxxxxxxxx")

Where emailAddress is a private/public (I don't care) variable... how to assign the address?
Code:
sub public void assignAddress(address As string) Me.emailAddress = address end sub

or, I think that you can just access it if it is public directly, notice that you can pass the address from Builder like this:
Code:
myStub.emailAddress(myBuilder.textbox1.text)

notice that myBuilder is an instance of Builder, and myStub is an instance of Stub

[note] I don't actually speak VB!
[Image: wvBFmA5.png]

Reply





Messages In This Thread
Problem with stub and builder - by zibi860810 - 02-26-2014, 01:32 PM