Click here to Skip to main content
15,907,905 members
Home / Discussions / C#
   

C#

 
QuestionModified TextBox property not persisting in designer Pin
SillyPants9-Jul-09 19:51
SillyPants9-Jul-09 19:51 
AnswerRe: Modified TextBox property not persisting in designer Pin
DaveyM699-Jul-09 22:39
professionalDaveyM699-Jul-09 22:39 
QuestionOver Lay Image Pin
satsumatable9-Jul-09 19:27
satsumatable9-Jul-09 19:27 
AnswerRe: Over Lay Image Pin
dan!sh 9-Jul-09 19:31
professional dan!sh 9-Jul-09 19:31 
QuestionTo open a new file Pin
Rupaa9-Jul-09 19:18
Rupaa9-Jul-09 19:18 
AnswerRe: To open a new file Pin
MumbleB9-Jul-09 19:22
MumbleB9-Jul-09 19:22 
AnswerRe: To open a new file Pin
0x3c09-Jul-09 19:40
0x3c09-Jul-09 19:40 
AnswerRe: To open a new file Pin
Huxley Stronghead10-Jul-09 1:15
Huxley Stronghead10-Jul-09 1:15 
Rupaa wrote:
How to open a new File on a Button click such as an Application file.



To do anything on a button click you will require event processing.

If you want to open a file specified by the user, so you need only a file path in string format, you could use OpenFileDialog.

If you want to open a file, so actually access it, which would mean you want its information. You can use
some .Net's classes inside of the System.IO namespace. They are ending with 'reader'. So what type of file access do you need?

If you want just only to execute a certain assembly executable, then I guess Process.Start(fileName) should be fine.

... I hope this helps! Shucks | :-\
Questioni want to write an application use sanner Pin
nghia.VKS@gmail.com9-Jul-09 18:38
nghia.VKS@gmail.com9-Jul-09 18:38 
AnswerRe: i want to write an application use sanner Pin
_Maxxx_9-Jul-09 19:00
professional_Maxxx_9-Jul-09 19:00 
JokeRe: i want to write an application use sanner Pin
himanshu25619-Jul-09 19:03
himanshu25619-Jul-09 19:03 
JokeRe: i want to write an application use sanner Pin
dan!sh 9-Jul-09 19:05
professional dan!sh 9-Jul-09 19:05 
GeneralRe: i want to write an application use sanner Pin
MumbleB9-Jul-09 19:23
MumbleB9-Jul-09 19:23 
GeneralRe: i want to write an application use sanner Pin
dan!sh 9-Jul-09 19:28
professional dan!sh 9-Jul-09 19:28 
AnswerRe: i want to write an application use sanner Pin
vaghelabhavesh9-Jul-09 20:37
vaghelabhavesh9-Jul-09 20:37 
QuestionTaking variables from other classes. Pin
nik1219-Jul-09 17:02
nik1219-Jul-09 17:02 
AnswerRe: Taking variables from other classes. Pin
N a v a n e e t h9-Jul-09 17:06
N a v a n e e t h9-Jul-09 17:06 
GeneralRe: Taking variables from other classes. Pin
nik1219-Jul-09 17:12
nik1219-Jul-09 17:12 
GeneralRe: Taking variables from other classes. Pin
N a v a n e e t h9-Jul-09 17:19
N a v a n e e t h9-Jul-09 17:19 
GeneralRe: Taking variables from other classes. Pin
nik1219-Jul-09 17:23
nik1219-Jul-09 17:23 
GeneralRe: Taking variables from other classes. Pin
N a v a n e e t h9-Jul-09 17:36
N a v a n e e t h9-Jul-09 17:36 
GeneralRe: Taking variables from other classes. Pin
Gary Stafford9-Jul-09 17:41
Gary Stafford9-Jul-09 17:41 
QuestionReading and storing variables from data files Pin
ReynaW12239-Jul-09 16:18
ReynaW12239-Jul-09 16:18 
AnswerRe: Reading and storing variables from data files Pin
N a v a n e e t h9-Jul-09 17:10
N a v a n e e t h9-Jul-09 17:10 
GeneralRe: Reading and storing variables from data files Pin
ReynaW122313-Jul-09 5:27
ReynaW122313-Jul-09 5:27 

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.