Click here to Skip to main content
15,921,028 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Execute SQL Server Report Service from VB6 Pin
QPun17-Oct-07 16:30
QPun17-Oct-07 16:30 
GeneralRe: Execute SQL Server Report Service from VB6 Pin
Vimalsoft(Pty) Ltd17-Oct-07 20:02
professionalVimalsoft(Pty) Ltd17-Oct-07 20:02 
QuestionI need a good vb.net 2005 book Pin
imonfiredammit16-Oct-07 9:46
imonfiredammit16-Oct-07 9:46 
AnswerRe: I need a good vb.net 2005 book Pin
Christian Graus16-Oct-07 10:08
protectorChristian Graus16-Oct-07 10:08 
Questionpassing data between open forms Pin
KimHeylen16-Oct-07 8:49
KimHeylen16-Oct-07 8:49 
AnswerRe: passing data between open forms Pin
DigiOz Multimedia16-Oct-07 9:12
DigiOz Multimedia16-Oct-07 9:12 
GeneralRe: passing data between open forms Pin
KimHeylen16-Oct-07 9:50
KimHeylen16-Oct-07 9:50 
AnswerRe: passing data between open forms Pin
Christian Graus16-Oct-07 10:12
protectorChristian Graus16-Oct-07 10:12 
I assume they are not called form1 and textbox1 in real life.

You should not make your UI controls public. Set up delegates between the two forms, so that they can pass data to each other.

In form1

public delegate void Textbox1Changed(string text);
public Textbox1Changed OnTextbox1Changed = null;

in your text changed event:

if(OnTextbox1Changed != null ) OnTextbox1Changed(text);

Sorry, this is C#, I don't know enough VB to get the syntax right.

Then, form2 has a method which as this signature, and you hook it up to this delegate, the method in form 2 will be called when the event in form1 is fired

Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

QuestionDot Net Remoting Pin
PJ_1234516-Oct-07 5:51
PJ_1234516-Oct-07 5:51 
AnswerRe: Dot Net Remoting Pin
Dave Kreskowiak16-Oct-07 6:14
mveDave Kreskowiak16-Oct-07 6:14 
GeneralRe: Dot Net Remoting Pin
PJ_1234516-Oct-07 20:44
PJ_1234516-Oct-07 20:44 
GeneralRe: Dot Net Remoting Pin
Dave Kreskowiak17-Oct-07 2:07
mveDave Kreskowiak17-Oct-07 2:07 
GeneralRe: Dot Net Remoting Pin
PJ_1234517-Oct-07 2:32
PJ_1234517-Oct-07 2:32 
GeneralRe: Dot Net Remoting Pin
PJ_1234517-Oct-07 3:17
PJ_1234517-Oct-07 3:17 
GeneralRe: Dot Net Remoting Pin
Dave Kreskowiak17-Oct-07 4:25
mveDave Kreskowiak17-Oct-07 4:25 
GeneralRe: Dot Net Remoting Pin
PJ_1234517-Oct-07 5:00
PJ_1234517-Oct-07 5:00 
GeneralRe: Dot Net Remoting Pin
Dave Kreskowiak17-Oct-07 6:50
mveDave Kreskowiak17-Oct-07 6:50 
GeneralRe: Dot Net Remoting Pin
PJ_1234517-Oct-07 21:12
PJ_1234517-Oct-07 21:12 
GeneralRe: Dot Net Remoting Pin
PJ_1234517-Oct-07 3:34
PJ_1234517-Oct-07 3:34 
GeneralRe: Dot Net Remoting Pin
PJ_1234517-Oct-07 3:50
PJ_1234517-Oct-07 3:50 
Question2 dimensional array ? Pin
Mr Oizo16-Oct-07 5:41
Mr Oizo16-Oct-07 5:41 
AnswerRe: 2 dimensional array ? Pin
Dave Kreskowiak16-Oct-07 5:48
mveDave Kreskowiak16-Oct-07 5:48 
GeneralRe: 2 dimensional array ? Pin
Mr Oizo16-Oct-07 5:57
Mr Oizo16-Oct-07 5:57 
QuestionVB.net 1.1 logical drives Pin
Gspro200016-Oct-07 5:26
Gspro200016-Oct-07 5:26 
AnswerRe: VB.net 1.1 logical drives Pin
Dave Kreskowiak16-Oct-07 5:43
mveDave Kreskowiak16-Oct-07 5:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.