Click here to Skip to main content
15,902,939 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Clickonce and command line args? Pin
Dave Kreskowiak9-Apr-09 4:43
mveDave Kreskowiak9-Apr-09 4:43 
GeneralRe: Clickonce and command line args? Pin
Jon_Boy9-Apr-09 4:58
Jon_Boy9-Apr-09 4:58 
GeneralRe: Clickonce and command line args? Pin
Eddy Vluggen9-Apr-09 8:30
professionalEddy Vluggen9-Apr-09 8:30 
GeneralRe: Clickonce and command line args? Pin
Jon_Boy9-Apr-09 9:01
Jon_Boy9-Apr-09 9:01 
QuestionRe: Clickonce and command line args? Pin
Eddy Vluggen9-Apr-09 9:28
professionalEddy Vluggen9-Apr-09 9:28 
AnswerRe: Clickonce and command line args? Pin
Jon_Boy9-Apr-09 9:49
Jon_Boy9-Apr-09 9:49 
GeneralRe: Clickonce and command line args? Pin
Eddy Vluggen9-Apr-09 10:21
professionalEddy Vluggen9-Apr-09 10:21 
QuestionDetermine what type of object a GUID belongs to. Pin
Jay Royall9-Apr-09 2:09
Jay Royall9-Apr-09 2:09 
If in my application I have an ID of an object (GUID) and this ID could belong to one of three different types of object, what is the best way to determine which object the ID belongs to?

Let me explain a little more. I have 3 classes which inherit from the same super class. Any instance of these three classes can be the owner of a service. Given the service, which has an owner ID, what is the best way to determine the owner? i.e. what type of object.

I have some ideas but each one seems to have it's flaws. I thought of having 3 fields in the database table for owner instead of one, one for each type of object but surely this goes against good database design. I thought of having, in the database table, an owner field and an owner type field (this seems the best way so far). Or, in my aplication, try to instantiate each class using the ID, the one that works wins! But this doesn't seem very efficient at all!

Any advice is appreciated. Thanks.
AnswerRe: Determine what type of object a GUID belongs to. Pin
Dave Kreskowiak9-Apr-09 3:43
mveDave Kreskowiak9-Apr-09 3:43 
GeneralRe: Determine what type of object a GUID belongs to. Pin
Jay Royall9-Apr-09 4:06
Jay Royall9-Apr-09 4:06 
AnswerRe: Determine what type of object a GUID belongs to. Pin
Eddy Vluggen9-Apr-09 8:50
professionalEddy Vluggen9-Apr-09 8:50 
Questionfile download/copy from server to client Pin
Anoop Brijmohun8-Apr-09 23:49
Anoop Brijmohun8-Apr-09 23:49 
AnswerRe: file download/copy from server to client Pin
Dave Kreskowiak9-Apr-09 3:36
mveDave Kreskowiak9-Apr-09 3:36 
GeneralRe: file download/copy from server to client Pin
Anoop Brijmohun9-Apr-09 3:44
Anoop Brijmohun9-Apr-09 3:44 
GeneralRe: file download/copy from server to client Pin
Dave Kreskowiak9-Apr-09 4:06
mveDave Kreskowiak9-Apr-09 4:06 
GeneralRe: file download/copy from server to client Pin
Anoop Brijmohun9-Apr-09 4:18
Anoop Brijmohun9-Apr-09 4:18 
QuestionHelp for Do While Loop [SOLVED] Pin
vijay24828-Apr-09 23:36
vijay24828-Apr-09 23:36 
AnswerRe: Help for Do While Loop Pin
Anoop Brijmohun9-Apr-09 0:10
Anoop Brijmohun9-Apr-09 0:10 
GeneralMessage Closed Pin
9-Apr-09 0:27
vijay24829-Apr-09 0:27 
GeneralRe: Help for Do While Loop Pin
Anoop Brijmohun9-Apr-09 0:45
Anoop Brijmohun9-Apr-09 0:45 
GeneralRe: Help for Do While Loop Pin
vijay24829-Apr-09 0:57
vijay24829-Apr-09 0:57 
QuestionComboBox Type Pin
Dalek Dave8-Apr-09 23:15
professionalDalek Dave8-Apr-09 23:15 
AnswerRe: ComboBox Type Pin
Jay Royall8-Apr-09 23:23
Jay Royall8-Apr-09 23:23 
GeneralRe: ComboBox Type Pin
Dalek Dave8-Apr-09 23:39
professionalDalek Dave8-Apr-09 23:39 
Questionread grayscale image Pin
shefa' isied8-Apr-09 20:01
shefa' isied8-Apr-09 20:01 

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.