Click here to Skip to main content
15,884,176 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Adding an icon in MessageBoxIcon Pin
Christian Graus22-Oct-09 23:36
protectorChristian Graus22-Oct-09 23:36 
GeneralRe: Adding an icon in MessageBoxIcon Pin
vijay248222-Oct-09 23:49
vijay248222-Oct-09 23:49 
AnswerRe: Adding an icon in MessageBoxIcon [modified] Pin
JR21223-Oct-09 0:41
JR21223-Oct-09 0:41 
QuestionExit constructor in abstract class Pin
Enver Maroshi22-Oct-09 23:17
Enver Maroshi22-Oct-09 23:17 
AnswerRe: Exit constructor in abstract class Pin
Christian Graus22-Oct-09 23:36
protectorChristian Graus22-Oct-09 23:36 
GeneralRe: Exit constructor in abstract class Pin
Enver Maroshi22-Oct-09 23:44
Enver Maroshi22-Oct-09 23:44 
GeneralRe: Exit constructor in abstract class Pin
Christian Graus23-Oct-09 0:12
protectorChristian Graus23-Oct-09 0:12 
GeneralRe: Exit constructor in abstract class Pin
Enver Maroshi23-Oct-09 0:47
Enver Maroshi23-Oct-09 0:47 
Do you maybe have an idea how could i create it right way.

I will wrote in short what i try to make, and if you have time, maybe you could give me an example how would be best to make.

I have a bunch of classes, like UserEdit, UserList, TaskEdit, TaskList, each of this class has some of it's methods, like UserEdit has Add, Update, View and Delete.

Each of this class and method has a restriction based on user, so a specific user can use method Add in class UserEdit. So, to avoid check on each class, how could i make this check in abstract class?

I know that best would be to have this check in children (class that inherits abstract class) and on method level, but that is a lot of work to implement in each class.

So, do you have any idea?

Also, UserEdit might have Add method, but TaskEdit does not neccessery have one.
GeneralRe: Exit constructor in abstract class Pin
Ian Shlasko23-Oct-09 8:10
Ian Shlasko23-Oct-09 8:10 
GeneralRe: Exit constructor in abstract class Pin
Enver Maroshi26-Oct-09 0:07
Enver Maroshi26-Oct-09 0:07 
QuestionEnvent Handles Pin
mrvalles22-Oct-09 10:26
mrvalles22-Oct-09 10:26 
AnswerRe: Envent Handles Pin
Dave Kreskowiak22-Oct-09 11:02
mveDave Kreskowiak22-Oct-09 11:02 
Questioncopy and paste the contents of a.txt into b.txt Pin
offroaderdan22-Oct-09 9:49
offroaderdan22-Oct-09 9:49 
AnswerRe: copy and paste the contents of a.txt into b.txt Pin
Eddy Vluggen22-Oct-09 10:58
professionalEddy Vluggen22-Oct-09 10:58 
AnswerRe: copy and paste the contents of a.txt into b.txt Pin
Dave Kreskowiak22-Oct-09 10:59
mveDave Kreskowiak22-Oct-09 10:59 
AnswerRe: copy and paste the contents of a.txt into b.txt Pin
Christian Graus22-Oct-09 12:17
protectorChristian Graus22-Oct-09 12:17 
QuestionAdoDc in VB Express 2008 Eof not set Pin
Les Singletary22-Oct-09 6:11
Les Singletary22-Oct-09 6:11 
AnswerRe: AdoDc in VB Express 2008 Eof not set Pin
Henry Minute22-Oct-09 6:51
Henry Minute22-Oct-09 6:51 
GeneralRe: AdoDc in VB Express 2008 Eof not set Pin
Les Singletary22-Oct-09 7:11
Les Singletary22-Oct-09 7:11 
GeneralRe: AdoDc in VB Express 2008 Eof not set Pin
Henry Minute22-Oct-09 9:36
Henry Minute22-Oct-09 9:36 
GeneralRe: AdoDc in VB Express 2008 Eof not set Pin
Les Singletary22-Oct-09 10:33
Les Singletary22-Oct-09 10:33 
GeneralRe: AdoDc in VB Express 2008 Eof not set Pin
Dave Kreskowiak22-Oct-09 10:56
mveDave Kreskowiak22-Oct-09 10:56 
GeneralRe: AdoDc in VB Express 2008 Eof not set Pin
Les Singletary22-Oct-09 11:05
Les Singletary22-Oct-09 11:05 
GeneralRe: AdoDc in VB Express 2008 Eof not set Pin
Dave Kreskowiak22-Oct-09 12:39
mveDave Kreskowiak22-Oct-09 12:39 
GeneralRe: AdoDc in VB Express 2008 Eof not set Pin
Henry Minute22-Oct-09 11:30
Henry Minute22-Oct-09 11:30 

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.