Click here to Skip to main content
15,915,702 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Use binnary file instead MS Access Pin
David Mujica16-Jun-11 7:57
David Mujica16-Jun-11 7:57 
GeneralRe: Use binnary file instead MS Access Pin
Аslam Iqbal16-Jun-11 8:48
professionalАslam Iqbal16-Jun-11 8:48 
GeneralRe: Use binnary file instead MS Access Pin
Thomas Krojer20-Jun-11 2:55
Thomas Krojer20-Jun-11 2:55 
Question[VB10] Don't allow access to Form properties from Class Pin
The Mighty Atom15-Jun-11 6:31
The Mighty Atom15-Jun-11 6:31 
AnswerRe: [VB10] Don't allow access to Form properties from Class Pin
Eddy Vluggen15-Jun-11 6:42
professionalEddy Vluggen15-Jun-11 6:42 
GeneralRe: [VB10] Don't allow access to Form properties from Class Pin
The Mighty Atom15-Jun-11 7:11
The Mighty Atom15-Jun-11 7:11 
AnswerRe: [VB10] Don't allow access to Form properties from Class Pin
Eddy Vluggen15-Jun-11 8:57
professionalEddy Vluggen15-Jun-11 8:57 
AnswerRe: [VB10] Don't allow access to Form properties from Class Pin
Dave Kreskowiak15-Jun-11 8:13
mveDave Kreskowiak15-Jun-11 8:13 
If depends on what you've done. I'll assume you just created your own dialog by inheriting from Form.

You cannot change the access level of the properties and methods by overriding them and it's just too much work to cover all of them anyway.

I'd probably hide the Dialog class you made by declaring the class as Friend instead of public, then create a wrapper class that creates it's own internal instance of your Dialog class. Expose only the methods and properties you want through the wrapper class. For example, when you need to show the dialog, that's going to be a method exposed by your wrapper class that calls the internal Dialogs ShowDialog method, waiting for it to return. Then the wrapper class just returns whatever ShowDialog returned.

GeneralRe: [VB10] Don't allow access to Form properties from Class Pin
The Mighty Atom15-Jun-11 8:22
The Mighty Atom15-Jun-11 8:22 
GeneralRe: [VB10] Don't allow access to Form properties from Class Pin
Dave Kreskowiak15-Jun-11 9:37
mveDave Kreskowiak15-Jun-11 9:37 
GeneralRe: [VB10] Don't allow access to Form properties from Class Pin
Eddy Vluggen15-Jun-11 9:10
professionalEddy Vluggen15-Jun-11 9:10 
GeneralRe: [VB10] Don't allow access to Form properties from Class Pin
Dave Kreskowiak15-Jun-11 9:39
mveDave Kreskowiak15-Jun-11 9:39 
GeneralRe: [VB10] Don't allow access to Form properties from Class Pin
The Mighty Atom15-Jun-11 11:47
The Mighty Atom15-Jun-11 11:47 
GeneralRe: [VB10] Don't allow access to Form properties from Class Pin
Dave Kreskowiak15-Jun-11 12:22
mveDave Kreskowiak15-Jun-11 12:22 
GeneralRe: [VB10] Don't allow access to Form properties from Class Pin
The Mighty Atom16-Jun-11 5:34
The Mighty Atom16-Jun-11 5:34 
GeneralRe: [VB10] Don't allow access to Form properties from Class Pin
Dave Kreskowiak16-Jun-11 6:17
mveDave Kreskowiak16-Jun-11 6:17 
GeneralRe: [VB10] Don't allow access to Form properties from Class Pin
The Mighty Atom16-Jun-11 6:39
The Mighty Atom16-Jun-11 6:39 
QuestionFormatting a masked Text box Pin
Central_IT15-Jun-11 5:33
Central_IT15-Jun-11 5:33 
AnswerRe: Formatting a masked Text box Pin
Simon_Whale15-Jun-11 5:38
Simon_Whale15-Jun-11 5:38 
QuestionHow to Select item from datagridviewcomboboxcell Pin
Member 796162413-Jun-11 11:16
Member 796162413-Jun-11 11:16 
QuestionSelect item from datagridviewcomboboxcell Pin
Member 796162413-Jun-11 11:08
Member 796162413-Jun-11 11:08 
AnswerRe: Select item from datagridviewcomboboxcell Pin
Dalek Dave13-Jun-11 11:41
professionalDalek Dave13-Jun-11 11:41 
GeneralRe: Select item from datagridviewcomboboxcell Pin
phil.o13-Jun-11 11:46
professionalphil.o13-Jun-11 11:46 
Questioncopy file in vb.net Pin
faravani8-Jun-11 23:06
faravani8-Jun-11 23:06 
AnswerRe: copy file in vb.net PinPopular
Eddy Vluggen9-Jun-11 0:59
professionalEddy Vluggen9-Jun-11 0:59 

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.