Click here to Skip to main content
15,897,187 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionneed help with vb.net and active directory. Pin
kingpin200531-Oct-07 2:17
kingpin200531-Oct-07 2:17 
AnswerRe: need help with vb.net and active directory. Pin
Dave Kreskowiak31-Oct-07 6:13
mveDave Kreskowiak31-Oct-07 6:13 
GeneralRe: need help with vb.net and active directory. Pin
kingpin200531-Oct-07 21:53
kingpin200531-Oct-07 21:53 
QuestionArray - Structure problem Pin
Benny_Lava31-Oct-07 0:38
Benny_Lava31-Oct-07 0:38 
AnswerRe: Array - Structure problem Pin
pmarfleet31-Oct-07 3:33
pmarfleet31-Oct-07 3:33 
AnswerRe: Array - Structure problem Pin
Dave Kreskowiak31-Oct-07 6:07
mveDave Kreskowiak31-Oct-07 6:07 
QuestionPath to Installed Application Pin
SekharOne30-Oct-07 23:41
SekharOne30-Oct-07 23:41 
AnswerRe: Path to Installed Application Pin
Dave Kreskowiak31-Oct-07 6:05
mveDave Kreskowiak31-Oct-07 6:05 
Well, there is the "official way", using the MS Installer API functions, and there is the "quick'n'dirty" method.

The Offical method would be to use the MSI API to lookup the product code of the versions of Office you want to support, then look up the feature to see if it's installed, then get the feature information to get the installation path.

The quick'n'dirty method is to look in the Registry and find the "mspview.exe" key under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrnetVersion\App Paths\ key. If the "mspview.exe" key is there, you can look inside that for the "Path" value, which will give you the path to the Document Viewer executable.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Path to Installed Application Pin
SekharOne1-Nov-07 0:39
SekharOne1-Nov-07 0:39 
QuestionKey Handling Pin
fazeepk30-Oct-07 23:00
fazeepk30-Oct-07 23:00 
AnswerRe: Key Handling Pin
Salman Sheikh30-Oct-07 23:35
Salman Sheikh30-Oct-07 23:35 
QuestionData Binding Pin
ejaz_pk30-Oct-07 22:12
ejaz_pk30-Oct-07 22:12 
AnswerRe: Data Binding Pin
Dave Kreskowiak31-Oct-07 5:21
mveDave Kreskowiak31-Oct-07 5:21 
GeneralRe: Data Binding Pin
ejaz_pk31-Oct-07 21:08
ejaz_pk31-Oct-07 21:08 
GeneralRe: Data Binding Pin
John_Adams1-Nov-07 1:16
John_Adams1-Nov-07 1:16 
GeneralRe: Data Binding Pin
ejaz_pk1-Nov-07 2:05
ejaz_pk1-Nov-07 2:05 
QuestionHow to get newest file through VB Pin
Support12330-Oct-07 20:23
Support12330-Oct-07 20:23 
AnswerRe: How to get newest file through VB Pin
C1AllenS30-Oct-07 23:32
C1AllenS30-Oct-07 23:32 
GeneralRe: How to get newest file through VB Pin
Support12331-Oct-07 1:39
Support12331-Oct-07 1:39 
AnswerRe: How to get newest file through VB Pin
Aftab Sindhi31-Oct-07 7:35
Aftab Sindhi31-Oct-07 7:35 
QuestionAuto generate Uniqueidentifier / GUID in Select statement Pin
Aftab Sindhi30-Oct-07 20:01
Aftab Sindhi30-Oct-07 20:01 
AnswerRe: Auto generate Uniqueidentifier / GUID in Select statement Pin
fazeepk30-Oct-07 23:04
fazeepk30-Oct-07 23:04 
AnswerRe: Auto generate Uniqueidentifier / GUID in Select statement Pin
Dave Kreskowiak31-Oct-07 5:14
mveDave Kreskowiak31-Oct-07 5:14 
GeneralRe: Auto generate Uniqueidentifier / GUID in Select statement Pin
Aftab Sindhi31-Oct-07 7:21
Aftab Sindhi31-Oct-07 7:21 
GeneralRe: Auto generate Uniqueidentifier / GUID in Select statement Pin
Dave Kreskowiak31-Oct-07 9:42
mveDave Kreskowiak31-Oct-07 9:42 

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.