Click here to Skip to main content
15,902,939 members
Home / Discussions / C#
   

C#

 
QuestionLaunch command as administrator Pin
jeremycafe111110-Nov-11 10:23
jeremycafe111110-Nov-11 10:23 
AnswerRe: Launch command as administrator Pin
Eddy Vluggen10-Nov-11 10:29
professionalEddy Vluggen10-Nov-11 10:29 
AnswerRe: Launch command as administrator Pin
deanjott11-Nov-11 5:53
deanjott11-Nov-11 5:53 
QuestionRe: Launch command as administrator Pin
Mark Salsbery11-Nov-11 8:00
Mark Salsbery11-Nov-11 8:00 
QuestionLooking for help with an api hook that catches a messagebox from a 3rd party dll Pin
turbosupramk310-Nov-11 7:46
turbosupramk310-Nov-11 7:46 
QuestionWord Interop Supress / Handle Errors Pin
ezazazel10-Nov-11 3:54
ezazazel10-Nov-11 3:54 
QuestionHow to turn a Windows Form application into a library Pin
biop.codeproject10-Nov-11 0:20
biop.codeproject10-Nov-11 0:20 
AnswerRe: How to turn a Windows Form application into a library Pin
BobJanova10-Nov-11 1:24
BobJanova10-Nov-11 1:24 
Any .Net assembly can be used as a library, if you provide a public API (beyond a Main method) into it. In the simplest case, you can just send them the .exe and they can reference it as a normal assembly and start using the public classes inside it. However, since it has presumably been written without that in mind, there may be some redesign you need to do to make it useful as a library. If you've properly separated UI and business logic in the first place, and haven't internalised everything (that's simple enough to reverse anyway), it shouldn't be too hard – just think about what classes and functionality needs to be available to a library user and make sure they are exposed as public.
AnswerRe: How to turn a Windows Form application into a library Pin
BillWoodruff10-Nov-11 5:24
professionalBillWoodruff10-Nov-11 5:24 
GeneralRe: How to turn a Windows Form application into a library Pin
biop.codeproject10-Nov-11 15:30
biop.codeproject10-Nov-11 15:30 
AnswerRe: How to turn a Windows Form application into a library Pin
Luc Pattyn10-Nov-11 16:08
sitebuilderLuc Pattyn10-Nov-11 16:08 
GeneralRe: How to turn a Windows Form application into a library Pin
biop.codeproject10-Nov-11 17:52
biop.codeproject10-Nov-11 17:52 
AnswerRe: How to turn a Windows Form application into a library Pin
Luc Pattyn10-Nov-11 18:26
sitebuilderLuc Pattyn10-Nov-11 18:26 
GeneralRe: How to turn a Windows Form application into a library Pin
BillWoodruff10-Nov-11 19:27
professionalBillWoodruff10-Nov-11 19:27 
AnswerRe: How to turn a Windows Form application into a library Pin
Ennis Ray Lynch, Jr.10-Nov-11 8:40
Ennis Ray Lynch, Jr.10-Nov-11 8:40 
GeneralRe: How to turn a Windows Form application into a library Pin
BobJanova10-Nov-11 23:23
BobJanova10-Nov-11 23:23 
QuestionUninstall a none Microsoft program on a remote machine via WMI Pin
AndieDu9-Nov-11 23:03
AndieDu9-Nov-11 23:03 
AnswerRe: Uninstall a none Microsoft program on a remote machine via WMI Pin
AndieDu10-Nov-11 11:15
AndieDu10-Nov-11 11:15 
QuestionHow can I use Word in C3.Net Not COM Componet Pin
yousefshokati9-Nov-11 20:03
yousefshokati9-Nov-11 20:03 
AnswerRe: How can I use Word in C3.Net Not COM Componet Pin
Wayne Gaylard9-Nov-11 21:19
professionalWayne Gaylard9-Nov-11 21:19 
QuestionRestore database with stored procedure Pin
nhanlaptrinh9-Nov-11 12:17
nhanlaptrinh9-Nov-11 12:17 
AnswerRe: Restore database with stored procedure Pin
Abhinav S9-Nov-11 16:54
Abhinav S9-Nov-11 16:54 
GeneralRe: Restore database with stored procedure Pin
nhanlaptrinh16-Nov-11 14:02
nhanlaptrinh16-Nov-11 14:02 
QuestionExport to Excel and Navigating to other Page Pin
pravin_mun9-Nov-11 6:51
pravin_mun9-Nov-11 6:51 
AnswerRe: Export to Excel and Navigating to other Page Pin
Dave Kreskowiak9-Nov-11 13:33
mveDave Kreskowiak9-Nov-11 13: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.