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

Visual Basic

 
GeneralRe: [VB.NET] Need help with serial port communication Pin
Dave Kreskowiak4-Oct-06 9:31
mveDave Kreskowiak4-Oct-06 9:31 
GeneralRe: [VB.NET] Need help with serial port communication Pin
belowzero4-Oct-06 19:39
belowzero4-Oct-06 19:39 
GeneralRe: [VB.NET] Need help with serial port communication Pin
belowzero5-Oct-06 6:43
belowzero5-Oct-06 6:43 
QuestionTableLayoutPanel Question Pin
Like2Byte4-Oct-06 5:05
Like2Byte4-Oct-06 5:05 
AnswerRe: TableLayoutPanel Question Pin
Dave Kreskowiak4-Oct-06 5:37
mveDave Kreskowiak4-Oct-06 5:37 
GeneralRe: TableLayoutPanel Question Pin
Like2Byte4-Oct-06 5:41
Like2Byte4-Oct-06 5:41 
Question.NET Delegate [modified] Pin
nlindley74-Oct-06 4:32
nlindley74-Oct-06 4:32 
AnswerRe: .NET Delegate Pin
Dave Kreskowiak4-Oct-06 5:20
mveDave Kreskowiak4-Oct-06 5:20 
OK. What are you trying to do with this?

Are you just trying to clear a form from a seperate class?? If so, then it's bad practice to do it from your class. If your class knew anything about the form it's trying to modify, it would then be permanently tied to that form and not be able to be reused somewhere else.

What you should be doing is sending back data to the form that it knows should signal that some processing is done. This signal can then be used as a trigger so the form clears its own textbox's. This is either done with a return value from your class' method, or from an event or callback delegate that your form subscribes to.

With this model, your class can be reused with any UI, be it a Compact Framework app, ASP.NET app, Web Service, ...


Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: .NET Delegate Pin
nlindley74-Oct-06 6:28
nlindley74-Oct-06 6:28 
GeneralRe: .NET Delegate Pin
Dave Kreskowiak4-Oct-06 6:47
mveDave Kreskowiak4-Oct-06 6:47 
GeneralRe: .NET Delegate Pin
nlindley74-Oct-06 7:19
nlindley74-Oct-06 7:19 
GeneralRe: .NET Delegate Pin
Dave Kreskowiak4-Oct-06 7:32
mveDave Kreskowiak4-Oct-06 7:32 
GeneralRe: .NET Delegate Pin
nlindley74-Oct-06 8:07
nlindley74-Oct-06 8:07 
GeneralRe: .NET Delegate Pin
Dave Kreskowiak4-Oct-06 9:26
mveDave Kreskowiak4-Oct-06 9:26 
QuestionWebBrowser proxy server Pin
winmedia4-Oct-06 4:08
winmedia4-Oct-06 4:08 
AnswerRe: WebBrowser proxy server Pin
Dave Kreskowiak4-Oct-06 4:36
mveDave Kreskowiak4-Oct-06 4:36 
GeneralRe: WebBrowser proxy server Pin
winmedia4-Oct-06 4:46
winmedia4-Oct-06 4:46 
GeneralRe: WebBrowser proxy server Pin
Dave Kreskowiak4-Oct-06 5:55
mveDave Kreskowiak4-Oct-06 5:55 
QuestionHow to embed tables in project Pin
cstrader2324-Oct-06 3:55
cstrader2324-Oct-06 3:55 
AnswerRe: How to embed tables in project Pin
Dave Kreskowiak4-Oct-06 4:26
mveDave Kreskowiak4-Oct-06 4:26 
GeneralRe: How to embed tables in project Pin
cstrader2324-Oct-06 17:18
cstrader2324-Oct-06 17:18 
GeneralRe: How to embed tables in project Pin
Dave Kreskowiak4-Oct-06 17:37
mveDave Kreskowiak4-Oct-06 17:37 
GeneralRe: How to embed tables in project Pin
cstrader2325-Oct-06 2:14
cstrader2325-Oct-06 2:14 
GeneralRe: How to embed tables in project Pin
Dave Kreskowiak5-Oct-06 3:20
mveDave Kreskowiak5-Oct-06 3:20 
GeneralRe: How to embed tables in project Pin
cstrader2325-Oct-06 3:34
cstrader2325-Oct-06 3:34 

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.