Click here to Skip to main content
16,011,608 members
Home / Discussions / C#
   

C#

 
Generalobtaining drive information Pin
hotlemonade2-Jan-02 13:47
hotlemonade2-Jan-02 13:47 
GeneralWin32 APi with C# Pin
kasturirawat31-Dec-01 13:54
kasturirawat31-Dec-01 13:54 
GeneralRe: Win32 APi with C# Pin
James T. Johnson31-Dec-01 19:59
James T. Johnson31-Dec-01 19:59 
GeneralRe: Win32 APi with C# Pin
kasturirawat2-Jan-02 6:39
kasturirawat2-Jan-02 6:39 
GeneralRe: Win32 APi with C# Pin
James T. Johnson2-Jan-02 9:50
James T. Johnson2-Jan-02 9:50 
GeneralTAPI Pin
31-Dec-01 4:27
suss31-Dec-01 4:27 
GeneralAutomating MS Office97/2000/XP with same C# Code Pin
29-Dec-01 1:41
suss29-Dec-01 1:41 
GeneralRe: Automating MS Office97/2000/XP with same C# Code Pin
James T. Johnson30-Dec-01 19:59
James T. Johnson30-Dec-01 19:59 
Just off the top of my head, so i have no idea how much work this would be...

Abstract the functionality you need from office into an interface or abstract class. Then write a class for each version of office. At runtime detect which version of office is installed and use the proper class.

You might have to break each class into a separate assembly so it won't try loading office 97 typelib info when you want xp info. My knowledge of how the references get loaded is minimal though, so this may be an extraneous step.

Hope this at least gives you some ideas,

James

Sonork ID: 100.11138 - Hasaki
GeneralRe: Automating MS Office97/2000/XP with same C# Code Pin
Peter Tewkesbury2-Jan-02 5:49
professionalPeter Tewkesbury2-Jan-02 5:49 
GeneralWriting a custom Grid control and need help coding the scrolling events Pin
hsd28-Dec-01 10:01
hsd28-Dec-01 10:01 
GeneralRe: Writing a custom Grid control and need help coding the scrolling events Pin
James T. Johnson30-Dec-01 20:16
James T. Johnson30-Dec-01 20:16 
GeneralRe: Writing a custom Grid control and need help coding the scrolling events Pin
James T. Johnson31-Dec-01 20:02
James T. Johnson31-Dec-01 20:02 
GeneralFunction Pin
26-Dec-01 16:32
suss26-Dec-01 16:32 
GeneralRe: Function Pin
Christian Graus26-Dec-01 16:50
protectorChristian Graus26-Dec-01 16:50 
GeneralRe: Function Pin
Andreas Philipson26-Dec-01 23:18
Andreas Philipson26-Dec-01 23:18 
GeneralRe: Function Pin
Eric Gunnerson (msft)2-Jan-02 8:59
Eric Gunnerson (msft)2-Jan-02 8:59 
QuestionUsing Fixed Width Fonts like FixedSys, Howto? Pin
fadi26-Dec-01 10:15
fadi26-Dec-01 10:15 
QuestionRegEx question How to string match to New String? Pin
25-Dec-01 20:46
suss25-Dec-01 20:46 
AnswerRe: RegEx question How to string match to New String? Pin
Eric Gunnerson (msft)2-Jan-02 8:58
Eric Gunnerson (msft)2-Jan-02 8:58 
QuestionWhat can C# handle? Pin
25-Dec-01 16:58
suss25-Dec-01 16:58 
AnswerRe: What can C# handle? Pin
Nish Nishant25-Dec-01 17:10
sitebuilderNish Nishant25-Dec-01 17:10 
GeneralRemoting in Win 9x/Me Pin
RIPPER_X23-Dec-01 11:50
RIPPER_X23-Dec-01 11:50 
GeneralEvents Pin
Senkwe Chanda23-Dec-01 4:35
Senkwe Chanda23-Dec-01 4:35 
GeneralRe: Events Pin
Andreas Philipson25-Dec-01 4:28
Andreas Philipson25-Dec-01 4:28 
GeneralRe: Events Pin
ector20-Feb-02 9:51
ector20-Feb-02 9:51 

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.