Click here to Skip to main content
16,006,442 members
Home / Discussions / C#
   

C#

 
QuestionThanx Graus ... Pin
Nekshan5-Feb-07 21:37
Nekshan5-Feb-07 21:37 
AnswerRe: Thanx Graus ... Pin
Stefan Troschuetz5-Feb-07 21:49
Stefan Troschuetz5-Feb-07 21:49 
AnswerRe: Thanx Graus ... Pin
Christian Graus5-Feb-07 21:54
protectorChristian Graus5-Feb-07 21:54 
QuestionVS2005/C# runs a project file instead of a solution file Pin
AesopTurtle5-Feb-07 21:35
AesopTurtle5-Feb-07 21:35 
AnswerRe: VS2005/C# runs a project file instead of a solution file Pin
AesopTurtle5-Feb-07 21:53
AesopTurtle5-Feb-07 21:53 
QuestionHow to detect default instance of SQL Server? Pin
bouli5-Feb-07 21:17
bouli5-Feb-07 21:17 
AnswerRe: How to detect default instance of SQL Server? Pin
Christian Graus5-Feb-07 21:55
protectorChristian Graus5-Feb-07 21:55 
QuestionNew Editor Pin
GunaChinna5-Feb-07 21:09
GunaChinna5-Feb-07 21:09 
Requirement:

I want to create an application, which should be able to create a file, with the file extension be specified by me. And, when i double click to open that file, it should open it's content in that application. How can this be achieved? ( like word,excel..etc)

Code so far:

For example.. I have created a application with a Richtextbox control to display data,buttons to create a new file, openfile,savefile and to exit. And let my file extension be ".gun".

Time to Answer:

Now, what happens is i create new file, save(savefiledialog) it with .gun extension. This files gets opened when i open it using 'open(openfiledialog) button' which is present in my application. But when i double this file (which is placed on desktop) it opens only the application and not with the content.? How can i get it with the content when the file is double clicked?

AnswerRe: New Editor Pin
stancrm5-Feb-07 21:13
stancrm5-Feb-07 21:13 
GeneralRe: New Editor Pin
bobsugar2225-Feb-07 21:27
bobsugar2225-Feb-07 21:27 
AnswerRe: New Editor Pin
Mark Porter5-Feb-07 21:25
Mark Porter5-Feb-07 21:25 
AnswerRe: New Editor Pin
GunaChinna5-Feb-07 21:45
GunaChinna5-Feb-07 21:45 
GeneralRe: New Editor Pin
bobsugar2225-Feb-07 22:29
bobsugar2225-Feb-07 22:29 
GeneralRe: New Editor Pin
GunaChinna5-Feb-07 23:03
GunaChinna5-Feb-07 23:03 
GeneralRe: New Editor Pin
stancrm6-Feb-07 0:21
stancrm6-Feb-07 0:21 
GeneralRe: New Editor Pin
GunaChinna6-Feb-07 0:52
GunaChinna6-Feb-07 0:52 
GeneralRe: New Editor Pin
GunaChinna6-Feb-07 0:53
GunaChinna6-Feb-07 0:53 
GeneralRe: New Editor Pin
stancrm6-Feb-07 0:58
stancrm6-Feb-07 0:58 
GeneralRe: New Editor Pin
GunaChinna6-Feb-07 1:11
GunaChinna6-Feb-07 1:11 
GeneralRe: New Editor Pin
stancrm6-Feb-07 1:15
stancrm6-Feb-07 1:15 
GeneralRe: New Editor Pin
GunaChinna6-Feb-07 1:37
GunaChinna6-Feb-07 1:37 
GeneralRe: New Editor Pin
GunaChinna6-Feb-07 1:37
GunaChinna6-Feb-07 1:37 
Questioncopying files Pin
Lol215-Feb-07 20:45
Lol215-Feb-07 20:45 
AnswerRe: copying files Pin
Christian Graus5-Feb-07 21:56
protectorChristian Graus5-Feb-07 21:56 
QuestionNo connection could be made because the target machine actively refused it Pin
M Riaz Bashir5-Feb-07 20:44
M Riaz Bashir5-Feb-07 20:44 

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.