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

Visual Basic

 
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 
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 
Liqz wrote:
I thought of having, in the database table, an owner (ID?) field and an owner type field (this seems the best way so far).


You thought correctly, it enables you to lookup the type based on the OwnerID without storing duplicates Smile | :)

It is dangerous to instantiate something that you do not know - since it might, for example, delete all records in a table on startup, as initialization. Even if you're sure that nothing can go wrong, then it would still be slow, as you already stated.

Liqz wrote:
what is the best way to determine the owner? i.e. what type of object.


If you can't ask the owner-object itself, then you'll have to resort to keeping track of that information elsewhere. Like tracking it in a database Thumbs Up | :thumbsup:

I are troll Smile | :)

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 
AnswerRe: read grayscale image Pin
Deresen8-Apr-09 23:45
Deresen8-Apr-09 23:45 
GeneralRe: read grayscale image Pin
shefa' isied9-Apr-09 2:09
shefa' isied9-Apr-09 2:09 
GeneralRe: read grayscale image Pin
Dave Kreskowiak9-Apr-09 3:33
mveDave Kreskowiak9-Apr-09 3:33 

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.