PC Review


Reply
Thread Tools Rate Thread

Control image property locking image file even after image cleared

 
 
steve
Guest
Posts: n/a
 
      28th Jun 2006
Hi All

When I set a buttons image to a image file in the properties window it seems
to lock the file even if I clear the button image property in the properties
window

Sometimes I am editing the icon/bitmap and connect it to the button to see
what it looks like

Then I want to make further changes so I clear the image from the buttons
image property, but when I edit and try to save the image file I get a
message saying it is in use by another program

I have to close the VB.net 2005 solution to free it up


Any ideas

Regards
Steve


 
Reply With Quote
 
 
 
 
William LaMartin
Guest
Posts: n/a
 
      28th Jun 2006
If you could use a filestream to load the file, then I don't think you would
have this problem. I have done this for pictureboxes.

"steve" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi All
>
> When I set a buttons image to a image file in the properties window it
> seems to lock the file even if I clear the button image property in the
> properties window
>
> Sometimes I am editing the icon/bitmap and connect it to the button to see
> what it looks like
>
> Then I want to make further changes so I clear the image from the buttons
> image property, but when I edit and try to save the image file I get a
> message saying it is in use by another program
>
> I have to close the VB.net 2005 solution to free it up
>
>
> Any ideas
>
> Regards
> Steve
>



 
Reply With Quote
 
 
 
 
Jeffrey Tan[MSFT]
Guest
Posts: n/a
 
      29th Jun 2006
Hi Steve,

Thanks for your post!

Yes, I can reproduce out this issue in VS2005. After performing some
research, I found that this is a known issue which has been reported by
other customers in feedback center. Please refer to the link below for more
information:
"Images imported into VS2005 place a hard Lock on the original file"
http://connect.microsoft.com/VisualS...k.aspx?Feedbac
kID=122203

Thanks for your reporting this issue. We can hope this issue to be fixed in
next version of VS IDE.

Based on your post, it seems that you want to edit the images on the disk
and use the VS2005 designer to view the editing result, yes? If this is
what you want, I recommend you use some professional image processing tool
to edit it, such as "Paint" tool followed with Windows. Also, you have the
choice of adding the image to the VS2005 as a normal file and then use
"Resource Editor" to edit this image. Based on my test, by doing this,
VS2005 resource editor will not lock the original file. I hope these
workarounds meet your need.

Thanks for your understanding.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
steve
Guest
Posts: n/a
 
      5th Jul 2006
Hi Jeffrey

Thanks for the info

Consider the thread closed

Regards
Steve
""Jeffrey Tan[MSFT]"" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Steve,
>
> Thanks for your post!
>
> Yes, I can reproduce out this issue in VS2005. After performing some
> research, I found that this is a known issue which has been reported by
> other customers in feedback center. Please refer to the link below for
> more
> information:
> "Images imported into VS2005 place a hard Lock on the original file"
> http://connect.microsoft.com/VisualS...k.aspx?Feedbac
> kID=122203
>
> Thanks for your reporting this issue. We can hope this issue to be fixed
> in
> next version of VS IDE.
>
> Based on your post, it seems that you want to edit the images on the disk
> and use the VS2005 designer to view the editing result, yes? If this is
> what you want, I recommend you use some professional image processing tool
> to edit it, such as "Paint" tool followed with Windows. Also, you have the
> choice of adding the image to the VS2005 as a normal file and then use
> "Resource Editor" to edit this image. Based on my test, by doing this,
> VS2005 resource editor will not lock the original file. I hope these
> workarounds meet your need.
>
> Thanks for your understanding.
>
> Best regards,
> Jeffrey Tan
> Microsoft Online Community Support
> ==================================================
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>



 
Reply With Quote
 
Jeffrey Tan[MSFT]
Guest
Posts: n/a
 
      6th Jul 2006
Ok, if you need further help, please feel free to post. Thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IE is autocompleting a webaddress even though auto is off and history is cleared TimR Windows XP Internet Explorer 3 28th Jan 2005 05:24 PM
DataBound ComboBox Text Property was Cleared after Losing Focus wei Microsoft Dot NET Framework Forms 0 17th Dec 2004 05:34 AM
Message reminders keep popping up even after flag is cleared Gary K Microsoft Outlook 2 5th Mar 2004 08:54 PM
Cannot hide an error tooltip on a Datagrid, even when the errors are cleared out. MAFP Microsoft ADO .NET 1 4th Dec 2003 02:50 PM
StatusBarPanel: Parent property not cleared Glenn Nilsson Microsoft Dot NET Framework Forms 1 4th Dec 2003 10:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:47 PM.