Click here to Skip to main content
16,005,734 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: My App and the MSWord!!!! Pin
Steve Pullan23-Nov-05 12:53
Steve Pullan23-Nov-05 12:53 
QuestionListView Pin
militiaware23-Nov-05 12:24
militiaware23-Nov-05 12:24 
AnswerRe: ListView Pin
Steve Pullan23-Nov-05 12:32
Steve Pullan23-Nov-05 12:32 
QuestionAccessing a file while another process use it??? Pin
militiaware23-Nov-05 12:18
militiaware23-Nov-05 12:18 
AnswerRe: Accessing a file while another process use it??? Pin
Steve Pullan23-Nov-05 12:27
Steve Pullan23-Nov-05 12:27 
QuestionUsing from DLL,EXEs of other programs.... Pin
kuroiryu23-Nov-05 9:43
kuroiryu23-Nov-05 9:43 
QuestionReferencing a control from a module Pin
dptalt23-Nov-05 9:05
dptalt23-Nov-05 9:05 
AnswerRe: Referencing a control from a module Pin
Dave Kreskowiak23-Nov-05 11:15
mveDave Kreskowiak23-Nov-05 11:15 
In proper OOP design, you shouldn't be. Modules are for library functions and should have absolutely nothing to do with user interface maintenance at all.

But, to answer yhour question, you'll have to add a parameter to the function that accepts a reference to a TextBox. Once the function has that, it's easy.
Public Sub DoSomething(ByRef tbControl As TextBox, ByVal value As Integer)
    tbControl.Text = "Some text..."
End Sub



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Referencing a control from a module Pin
dptalt24-Nov-05 10:22
dptalt24-Nov-05 10:22 
Questioninsert,delete,update,select...? Pin
y_mmohd23-Nov-05 3:25
y_mmohd23-Nov-05 3:25 
AnswerRe: insert,delete,update,select...? Pin
Christian Graus23-Nov-05 11:29
protectorChristian Graus23-Nov-05 11:29 
QuestionAbout the key hook Pin
Cappiewu23-Nov-05 0:25
Cappiewu23-Nov-05 0:25 
AnswerRe: About the key hook Pin
jo0ls23-Nov-05 14:28
jo0ls23-Nov-05 14:28 
GeneralRe: About the key hook Pin
Cappiewu23-Nov-05 16:58
Cappiewu23-Nov-05 16:58 
Questionexporting data in html or word Pin
uktrips22-Nov-05 21:48
uktrips22-Nov-05 21:48 
AnswerRe: exporting data in html or word Pin
Briga23-Nov-05 0:13
Briga23-Nov-05 0:13 
QuestionRun only Single Instance of exe Pin
Atul Kharecha22-Nov-05 19:33
Atul Kharecha22-Nov-05 19:33 
AnswerRe: Run only Single Instance of exe Pin
Briga23-Nov-05 0:44
Briga23-Nov-05 0:44 
GeneralRe: Run only Single Instance of exe Pin
Atul Kharecha23-Nov-05 2:26
Atul Kharecha23-Nov-05 2:26 
GeneralRe: Run only Single Instance of exe Pin
samperiau23-Nov-05 20:51
samperiau23-Nov-05 20:51 
GeneralRe: Run only Single Instance of exe Pin
Briga23-Nov-05 21:26
Briga23-Nov-05 21:26 
GeneralRe: Run only Single Instance of exe Pin
samperiau23-Nov-05 21:40
samperiau23-Nov-05 21:40 
AnswerRe: Run only Single Instance of exe Pin
jonathan1523-Nov-05 2:17
jonathan1523-Nov-05 2:17 
GeneralRe: Run only Single Instance of exe Pin
Atul Kharecha23-Nov-05 2:27
Atul Kharecha23-Nov-05 2:27 
GeneralRe: Run only Single Instance of exe Pin
Briga23-Nov-05 21:28
Briga23-Nov-05 21:28 

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.