Click here to Skip to main content
15,917,456 members
Home / Discussions / C#
   

C#

 
GeneralMS Access on windows Vista Pin
Nadia Monalisa5-Jan-08 23:17
Nadia Monalisa5-Jan-08 23:17 
GeneralRe: MS Access on windows Vista Pin
pmarfleet5-Jan-08 23:56
pmarfleet5-Jan-08 23:56 
GeneralRe: MS Access on windows Vista Pin
Nadia Monalisa6-Jan-08 0:10
Nadia Monalisa6-Jan-08 0:10 
GeneralRe: MS Access on windows Vista Pin
darkelv6-Jan-08 0:19
darkelv6-Jan-08 0:19 
GeneralCompatibility of .NET 2.0 over latest Windows - Vista Pin
Nadia Monalisa5-Jan-08 23:14
Nadia Monalisa5-Jan-08 23:14 
GeneralRe: Compatibility of .NET 2.0 over latest Windows - Vista Pin
Christian Graus5-Jan-08 23:49
protectorChristian Graus5-Jan-08 23:49 
GeneralRe: Compatibility of .NET 2.0 over latest Windows - Vista Pin
Nadia Monalisa6-Jan-08 0:13
Nadia Monalisa6-Jan-08 0:13 
Generalupload picture problem [modified] Pin
angels7775-Jan-08 16:09
angels7775-Jan-08 16:09 
hi .. i am able to view picture for this
pictureBox1.Image = Image.FromFile(Application.StartupPath + @"\Picture\" + textBox1.Text);

but when i do that in wpf .. i cant write Application.StartupPath..... no such word startupPath for me to choose..
also no such pictureBox1.Image

below is c# code which last time i did.. no problem..
<br />
private void ShowPhoto()<br />
        {<br />
            if (!textBox1.Text.Equals(""))<br />
            {<br />
                try<br />
                {<br />
                    pictureBox1.Image = Image.FromFile(Application.StartupPath + @"\Picture\" + textBox1.Text);<br />
               <br />
                 }<br />
<br />
                catch (Exception ex)<br />
                {<br />
                    MessageBox.Show(ex.Message, "Error Loading Photo", MessageBoxButtons.OK, MessageBoxIcon.Error);<br />
                }<br />
            }<br />
<br />
 }


modified on Saturday, January 05, 2008 10:28:56 PM

GeneralRe: upload picture problem Pin
Christian Graus5-Jan-08 22:15
protectorChristian Graus5-Jan-08 22:15 
Generalbring out textbox value to microsoft word document Pin
angels7775-Jan-08 15:31
angels7775-Jan-08 15:31 
GeneralRe: bring out textbox value to microsoft word document Pin
Jimmanuel6-Jan-08 2:33
Jimmanuel6-Jan-08 2:33 
GeneralRe: bring out textbox value to microsoft word document Pin
angels7776-Jan-08 7:36
angels7776-Jan-08 7:36 
GeneralRe: bring out textbox value to microsoft word document Pin
Jimmanuel6-Jan-08 7:52
Jimmanuel6-Jan-08 7:52 
GeneralChanging the Icon Pin
ddspliting5-Jan-08 6:21
ddspliting5-Jan-08 6:21 
GeneralRe: Changing the Icon Pin
Paul Conrad5-Jan-08 6:29
professionalPaul Conrad5-Jan-08 6:29 
GeneralRe: Changing the Icon Pin
Luc Pattyn5-Jan-08 6:46
sitebuilderLuc Pattyn5-Jan-08 6:46 
GeneralRe: Changing the Icon Pin
ddspliting5-Jan-08 7:05
ddspliting5-Jan-08 7:05 
GeneralRe: Changing the Icon Pin
Luc Pattyn5-Jan-08 8:15
sitebuilderLuc Pattyn5-Jan-08 8:15 
GeneralRe: Changing the Icon Pin
Ed.Poore5-Jan-08 12:37
Ed.Poore5-Jan-08 12:37 
Generaldatabase update insert problems Pin
angels7775-Jan-08 5:29
angels7775-Jan-08 5:29 
GeneralRe: database update insert problems Pin
Christian Graus5-Jan-08 12:46
protectorChristian Graus5-Jan-08 12:46 
Questiondatabase(server) access with a c# program Pin
spieljung5-Jan-08 4:33
spieljung5-Jan-08 4:33 
GeneralRe: database(server) access with a c# program Pin
Gareth H5-Jan-08 5:19
Gareth H5-Jan-08 5:19 
GeneralTalking to a TomTom 520 Pin
Gareth H5-Jan-08 3:43
Gareth H5-Jan-08 3:43 
GeneralRe: Talking to a TomTom 520 Pin
Jimmanuel5-Jan-08 10:30
Jimmanuel5-Jan-08 10:30 

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.