Click here to Skip to main content
15,887,477 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionWhets the best way to… Pin
Badg3r197711-Apr-12 6:18
Badg3r197711-Apr-12 6:18 
AnswerRe: Whets the best way to… Pin
Eddy Vluggen12-Apr-12 1:06
professionalEddy Vluggen12-Apr-12 1:06 
GeneralRe: Whets the best way to… Pin
Badg3r197712-Apr-12 3:40
Badg3r197712-Apr-12 3:40 
AnswerRe: Whets the best way to… Pin
Eddy Vluggen12-Apr-12 8:45
professionalEddy Vluggen12-Apr-12 8:45 
Questionmailmerge with multitable using vb.net Pin
janjonhson10-Apr-12 20:27
janjonhson10-Apr-12 20:27 
AnswerRe: mailmerge with multitable using vb.net Pin
Dave Kreskowiak11-Apr-12 3:34
mveDave Kreskowiak11-Apr-12 3:34 
QuestionUninstall of a VB.Net 2010 program messing up all VB Pin
QuickBooksDev10-Apr-12 1:59
QuickBooksDev10-Apr-12 1:59 
AnswerRe: Uninstall of a VB.Net 2010 program messing up all VB Pin
Dave Kreskowiak10-Apr-12 4:43
mveDave Kreskowiak10-Apr-12 4:43 
It screws up because controls are not registered on a per-application basis. Controls are registered using the COM GUIDs in the controls and the registration is stand-alone. The controls can be used in any application anywhere.

If you have multiple copies of the same control, the control is only registered ONCE since each copy has the same GUIDs and CLSIDs. The filepath to the control is also part of the registration. So, if you have an application that uses the same controls as another application and your installer, when uninstalled, removes the registration details when it removes the controls, the registration data is destroyed for the control no matter how many copies of it are on the machine.

The problem comes down to how your installer is built. The Setup project that comes in Visual Studio is a barebones installer that doesn't have a ton of features in it and can do some pretty stupid things. If you trust it implicitly, without knowing how it's doing things or why, problems like your will come up.

I highly recommend studying Windows Installer technology (specifically Shared Components and reference counting) and using a 3rd party packaging solution, like InstallShield, InnoSetup, Advanced Installer or WiX if you want to avoid situations like this in the future.

GeneralRe: Uninstall of a VB.Net 2010 program messing up all VB Pin
QuickBooksDev12-Apr-12 0:52
QuickBooksDev12-Apr-12 0:52 
GeneralRe: Uninstall of a VB.Net 2010 program messing up all VB Pin
Dave Kreskowiak12-Apr-12 3:35
mveDave Kreskowiak12-Apr-12 3:35 
GeneralRe: Uninstall of a VB.Net 2010 program messing up all VB Pin
QuickBooksDev12-Apr-12 14:42
QuickBooksDev12-Apr-12 14:42 
GeneralRe: Uninstall of a VB.Net 2010 program messing up all VB Pin
QuickBooksDev1-May-12 9:49
QuickBooksDev1-May-12 9:49 
GeneralRe: Uninstall of a VB.Net 2010 program messing up all VB Pin
Dave Kreskowiak1-May-12 11:28
mveDave Kreskowiak1-May-12 11:28 
GeneralRe: Uninstall of a VB.Net 2010 program messing up all VB Pin
QuickBooksDev1-May-12 12:17
QuickBooksDev1-May-12 12:17 
GeneralRe: Uninstall of a VB.Net 2010 program messing up all VB Pin
Dave Kreskowiak1-May-12 13:23
mveDave Kreskowiak1-May-12 13:23 
QuestionForm Pin
andi1234567899-Apr-12 17:46
andi1234567899-Apr-12 17:46 
AnswerRe: Form Pin
Abhinav S9-Apr-12 22:12
Abhinav S9-Apr-12 22:12 
QuestionHow to store data(images, Text, Music) in one file? like.dat Pin
Abed AlSayed8-Apr-12 6:17
Abed AlSayed8-Apr-12 6:17 
AnswerRe: How to store data(images, Text, Music) in one file? like.dat Pin
riced8-Apr-12 6:29
riced8-Apr-12 6:29 
GeneralRe: How to store data(images, Text, Music) in one file? like.dat Pin
Abed AlSayed8-Apr-12 6:43
Abed AlSayed8-Apr-12 6:43 
GeneralRe: How to store data(images, Text, Music) in one file? like.dat Pin
Bernhard Hiller10-Apr-12 0:14
Bernhard Hiller10-Apr-12 0:14 
AnswerRe: How to store data(images, Text, Music) in one file? like.dat Pin
Eddy Vluggen8-Apr-12 8:43
professionalEddy Vluggen8-Apr-12 8:43 
AnswerRe: How to store data(images, Text, Music) in one file? like.dat Pin
enhzflep9-Apr-12 21:18
enhzflep9-Apr-12 21:18 
AnswerRe: How to store data(images, Text, Music) in one file? like.dat Pin
LCARS x3211-Apr-12 5:55
LCARS x3211-Apr-12 5:55 
QuestionRaise Event vs Logger Pin
instantmaker7-Apr-12 16:54
instantmaker7-Apr-12 16:54 

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.