Click here to Skip to main content
15,881,757 members
Home / Discussions / C#
   

C#

 
GeneralRe: XML verus Traditional Files Pin
Steven Campbell8-Apr-05 10:10
Steven Campbell8-Apr-05 10:10 
GeneralRe: XML verus Traditional Files Pin
DavidNohejl8-Apr-05 10:56
DavidNohejl8-Apr-05 10:56 
QuestionHow to use non .NET DLLs in .NET environment? Pin
Khang Nguyen8-Apr-05 5:26
Khang Nguyen8-Apr-05 5:26 
AnswerRe: How to use non .NET DLLs in .NET environment? Pin
DavidNohejl8-Apr-05 5:42
DavidNohejl8-Apr-05 5:42 
GeneralRe: How to use non .NET DLLs in .NET environment? Pin
Khang Nguyen8-Apr-05 6:29
Khang Nguyen8-Apr-05 6:29 
QuestionHow do i associate file extensions to app's in the registry? Pin
Anthony Mushrow8-Apr-05 4:30
professionalAnthony Mushrow8-Apr-05 4:30 
AnswerRe: How do i associate file extensions to app's in the registry? Pin
Dave Kreskowiak8-Apr-05 5:15
mveDave Kreskowiak8-Apr-05 5:15 
GeneralRe: How do i associate file extensions to app's in the registry? Pin
felopater8-Apr-05 5:51
felopater8-Apr-05 5:51 
that's too simple in c#
Microsoft.Win32.RegistryKey reg= Microsoft.Win32.Registry.ClassesRoot;

if(reg.OpenSubKey(".myE")!=null)
{
reg=reg.CreateSubKey(".myE");//your application extension key
reg.SetValue("","MyApp");//reference to the key contains shell commands for your extension
reg= Microsoft.Win32.Registry.ClassesRoot;
reg=reg.CreateSubKey("MyApp");//the key contains commands windows will use when find your extension
reg=reg.CreateSubKey("Shell");

reg=reg.CreateSubKey("Open"); //open commond
reg=reg.CreateSubKey("Command");
reg.SetValue("","c:\\windows\\notepad.exe");//the path of your application which will open the files with your extension

}
}//already exists

marcoryos
GeneralRe: How do i associate file extensions to app's in the registry? Pin
Dave Kreskowiak8-Apr-05 9:02
mveDave Kreskowiak8-Apr-05 9:02 
QuestionHow do I read data from an Excel Spreadsheet with C#?? Please Help! Pin
AfzalHassen8-Apr-05 3:29
AfzalHassen8-Apr-05 3:29 
AnswerRe: How do I read data from an Excel Spreadsheet with C#?? Please Help! Pin
Ritesh12348-Apr-05 3:49
Ritesh12348-Apr-05 3:49 
GeneralRe: How do I read data from an Excel Spreadsheet with C#?? Please Help! Pin
Colin Angus Mackay8-Apr-05 4:10
Colin Angus Mackay8-Apr-05 4:10 
GeneralDesktop Sharing / Application Sharing Pin
Dittto218-Apr-05 1:42
Dittto218-Apr-05 1:42 
GeneralRe: Desktop Sharing / Application Sharing Pin
Dave Kreskowiak8-Apr-05 2:17
mveDave Kreskowiak8-Apr-05 2:17 
GeneralGrid To Grid And then Backto DB Pin
| Muhammad Waqas Butt |8-Apr-05 1:41
professional| Muhammad Waqas Butt |8-Apr-05 1:41 
GeneralCrystal reports Pin
V.8-Apr-05 1:02
professionalV.8-Apr-05 1:02 
QuestionHow to determine whether an assembly implements a certain interface? Pin
Sebastian Schneider8-Apr-05 0:54
Sebastian Schneider8-Apr-05 0:54 
AnswerRe: How to determine whether an assembly implements a certain interface? Pin
mav.northwind8-Apr-05 1:29
mav.northwind8-Apr-05 1:29 
QuestionStreams? Pin
Snowjim8-Apr-05 0:52
Snowjim8-Apr-05 0:52 
AnswerRe: Streams? Pin
mav.northwind8-Apr-05 1:23
mav.northwind8-Apr-05 1:23 
GeneralRe: Streams? Pin
Snowjim8-Apr-05 1:43
Snowjim8-Apr-05 1:43 
GeneralRe: Streams? Pin
Snowjim8-Apr-05 1:55
Snowjim8-Apr-05 1:55 
Generalpicture in word document Pin
Anonymous7-Apr-05 22:53
Anonymous7-Apr-05 22:53 
GeneralList view & Rich text box PROBLEMO. Please Help Me!!! Pin
maheshfour7-Apr-05 22:45
maheshfour7-Apr-05 22:45 
GeneralRe: List view & Rich text box PROBLEMO. Please Help Me!!! Pin
S. Senthil Kumar7-Apr-05 23:19
S. Senthil Kumar7-Apr-05 23:19 

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.