Click here to Skip to main content
15,921,884 members
Home / Discussions / C#
   

C#

 
GeneralRe: Save as dialog box for pocket pc in c# Pin
Anonymous18-Jun-04 3:22
Anonymous18-Jun-04 3:22 
GeneralFlicker free panel Pin
PrebKlok15-Jun-04 22:31
PrebKlok15-Jun-04 22:31 
GeneralRe: Flicker free panel Pin
Meysam Mahfouzi15-Jun-04 23:37
Meysam Mahfouzi15-Jun-04 23:37 
GeneralRe: Flicker free panel Pin
PrebKlok15-Jun-04 23:44
PrebKlok15-Jun-04 23:44 
GeneralRe: Flicker free panel Pin
Meysam Mahfouzi15-Jun-04 23:52
Meysam Mahfouzi15-Jun-04 23:52 
GeneralRe: Flicker free panel Pin
Heath Stewart16-Jun-04 4:12
protectorHeath Stewart16-Jun-04 4:12 
GeneralRe: Flicker free panel Pin
Meysam Mahfouzi16-Jun-04 17:26
Meysam Mahfouzi16-Jun-04 17:26 
GeneralPictureBox Problem Pin
The_Soul_Of_Rock15-Jun-04 21:14
The_Soul_Of_Rock15-Jun-04 21:14 
the problem is here:
<br />
string currentPath;<br />
<br />
private void frmPicture_Load(object sender, System.EventArgs e)<br />
{<br />
  currentPath = @"D:\Image\1.jpg";<br />
  this.pictureBox1.Image = Image.FromFile(currentPath);<br />
}<br />
<br />
private void updateButton_Click(object sender, System.EventArgs e)<br />
{<br />
  if (File.Exists(currentPath))<br />
  {<br />
     string newPath = Application.StartupPath + @"\PatientImages\" + arrISN[index].ToString() + ext;<br />
     this.pictureBox1.Image = null;<br />
     File.Copy(currentPath, newPath, true);<br />
  }<br />
}<br />

Error: the process cannot access the file "D:\.." because it is being used by another process.
what can i do to correct this problem.
thanks.

Rock Throught The Night
GeneralRe: PictureBox Problem Pin
exhaulted15-Jun-04 22:08
exhaulted15-Jun-04 22:08 
GeneralRe: PictureBox Problem Pin
The_Soul_Of_Rock15-Jun-04 23:07
The_Soul_Of_Rock15-Jun-04 23:07 
GeneralRe: PictureBox Problem Pin
exhaulted15-Jun-04 23:26
exhaulted15-Jun-04 23:26 
GeneralRe: PictureBox Problem Pin
The_Soul_Of_Rock15-Jun-04 23:39
The_Soul_Of_Rock15-Jun-04 23:39 
GeneralRe: PictureBox Problem Pin
Heath Stewart16-Jun-04 4:10
protectorHeath Stewart16-Jun-04 4:10 
GeneralNaming Conventions Pin
Ganjah78615-Jun-04 20:49
Ganjah78615-Jun-04 20:49 
GeneralRe: Naming Conventions Pin
eggie515-Jun-04 21:00
eggie515-Jun-04 21:00 
GeneralRe: Naming Conventions Pin
Colin Angus Mackay15-Jun-04 23:42
Colin Angus Mackay15-Jun-04 23:42 
GeneralRe: Naming Conventions Pin
eggie516-Jun-04 6:25
eggie516-Jun-04 6:25 
GeneralRe: Naming Conventions Pin
Colin Angus Mackay16-Jun-04 8:56
Colin Angus Mackay16-Jun-04 8:56 
GeneralRe: Naming Conventions Pin
Ganjah78616-Jun-04 11:45
Ganjah78616-Jun-04 11:45 
GeneralRe: Naming Conventions Pin
eggie516-Jun-04 11:47
eggie516-Jun-04 11:47 
GeneralRe: Naming Conventions Pin
Ganjah78616-Jun-04 11:50
Ganjah78616-Jun-04 11:50 
GeneralRe: Naming Conventions Pin
Stefan Troschuetz15-Jun-04 21:24
Stefan Troschuetz15-Jun-04 21:24 
GeneralManaged HTML - GPL Pin
Roger Alsing15-Jun-04 20:28
Roger Alsing15-Jun-04 20:28 
GeneralRe: Managed HTML - GPL Pin
CWIZO15-Jun-04 21:19
CWIZO15-Jun-04 21:19 
GeneralRe: Managed HTML - GPL Pin
Roger Alsing15-Jun-04 21:25
Roger Alsing15-Jun-04 21:25 

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.