Click here to Skip to main content
15,896,423 members
Home / Discussions / C#
   

C#

 
AnswerRe: active form name problems.. Pin
Dave Kreskowiak12-Nov-05 15:33
mveDave Kreskowiak12-Nov-05 15:33 
QuestionImap library Pin
eskan12-Nov-05 5:56
eskan12-Nov-05 5:56 
QuestionExport Crystal Report to txt file Pin
Bedevian12-Nov-05 5:43
Bedevian12-Nov-05 5:43 
AnswerRe: Export Crystal Report to txt file Pin
mav.northwind12-Nov-05 6:03
mav.northwind12-Nov-05 6:03 
Questionurl problem Pin
god4k12-Nov-05 4:56
god4k12-Nov-05 4:56 
AnswerRe: url problem Pin
turbochimp12-Nov-05 6:43
turbochimp12-Nov-05 6:43 
QuestionObtaining a startup filename Pin
theladsmith12-Nov-05 4:22
theladsmith12-Nov-05 4:22 
AnswerRe: Obtaining a startup filename Pin
S. Senthil Kumar12-Nov-05 5:55
S. Senthil Kumar12-Nov-05 5:55 
You must first disassociate AutoCAD and associate your application with that extension. The recommended way is to use the Win32 API to do that, alternatively, you can do it by manipulating the registry.
The registry setting will be
HKEY_CLASSES_ROOT
   .dwg
        Default AutoCADXYZ
    AutoCADXYZ
        shell
            open
               command
                   "<AutoCAD Path>" "%1"


Put your application path instead of AutoCAD Path and you should be done.

As you can see, the filename will come in as a command line argument to your application.

Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: Obtaining a startup filename Pin
theladsmith12-Nov-05 8:25
theladsmith12-Nov-05 8:25 
GeneralRe: Obtaining a startup filename Pin
S. Senthil Kumar13-Nov-05 4:05
S. Senthil Kumar13-Nov-05 4:05 
GeneralRe: Obtaining a startup filename Pin
theladsmith14-Nov-05 1:33
theladsmith14-Nov-05 1:33 
QuestionHow can i use infinite parameters in a method Pin
da vinci coder12-Nov-05 0:15
da vinci coder12-Nov-05 0:15 
AnswerRe: How can i use infinite parameters in a method Pin
Daniel Turini12-Nov-05 0:59
Daniel Turini12-Nov-05 0:59 
QuestionHow to make a sound in a form? Pin
Sina_A11-Nov-05 22:35
Sina_A11-Nov-05 22:35 
AnswerRe: How to make a sound in a form? Pin
g00fyman11-Nov-05 23:19
g00fyman11-Nov-05 23:19 
AnswerRe: How to make a sound in a form? Pin
MoustafaS11-Nov-05 23:47
MoustafaS11-Nov-05 23:47 
QuestionChanging Enviroment strings at install time Pin
Reanalyse11-Nov-05 20:42
Reanalyse11-Nov-05 20:42 
AnswerRe: Changing Enviroment strings at install time Pin
Reanalyse13-Nov-05 15:29
Reanalyse13-Nov-05 15:29 
Questionhow to download a file from a remote server using FTP through ASP.NET/C# Pin
v.k.s11-Nov-05 19:40
v.k.s11-Nov-05 19:40 
QuestionShould I use window controls with directx in full screen mode ? Pin
dinh van hai11-Nov-05 17:24
dinh van hai11-Nov-05 17:24 
AnswerRe: Should I use window controls with directx in full screen mode ? Pin
User 665812-Nov-05 1:35
User 665812-Nov-05 1:35 
QuestionParameter passing to OleDb command Pin
jem918111-Nov-05 14:55
jem918111-Nov-05 14:55 
AnswerRe: Parameter passing to OleDb command Pin
n10sive11-Nov-05 16:57
n10sive11-Nov-05 16:57 
Questionremove nested collection in designmode Pin
reefboy11-Nov-05 13:14
reefboy11-Nov-05 13:14 
QuestionMDI Disable _ [] X when maximized Pin
Dwayner7911-Nov-05 11:36
Dwayner7911-Nov-05 11:36 

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.