Click here to Skip to main content
16,004,977 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB.Net and VB6 Pin
manisghouri10-Dec-07 22:41
manisghouri10-Dec-07 22:41 
GeneralBalloon Tooltip Dose not Work Pin
shamsoft10-Dec-07 6:59
shamsoft10-Dec-07 6:59 
GeneralDetermine all downloading is complete or not Pin
Rupesh Kumar Swami10-Dec-07 5:53
Rupesh Kumar Swami10-Dec-07 5:53 
GeneralRe: Determine all downloading is complete or not Pin
Christian Graus10-Dec-07 8:25
protectorChristian Graus10-Dec-07 8:25 
GeneralRe: Determine all downloading is complete or not Pin
Rupesh Kumar Swami11-Dec-07 3:01
Rupesh Kumar Swami11-Dec-07 3:01 
Questiondataview.rowfilter not filtering Pin
DBND10-Dec-07 5:12
DBND10-Dec-07 5:12 
GeneralGDI+ Error Pin
The ANZAC10-Dec-07 1:35
The ANZAC10-Dec-07 1:35 
GeneralRe: GDI+ Error Pin
Luc Pattyn10-Dec-07 2:15
sitebuilderLuc Pattyn10-Dec-07 2:15 
Hi,

Most, if not all, errors inside GDI+ are reported as "generic problem occurred in GDI+".
If the affected line is an Image.Save chances are your path is incorrect or inaccessible,
your disk is full, or your destination file exists and is locked.

if you load an image from a file, most of the time the file remains locked as long as
the Image is alive. This would prevent you from saving an image to the same path.

It applies to Image.FromFile, and probably also to PictureBox.ImageLocation
The one exception I am aware of is when you use Image.FromStream

An alternative work-around is to work with a copy of the image:
load the image with Image.FromFile,
create a new image from it with new Bitmap(Image),
dispose of the original image.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


Sorry for any delays in replying, I currently don't get e-mail notifications.


GeneralRe: GDI+ Error Pin
The ANZAC10-Dec-07 15:46
The ANZAC10-Dec-07 15:46 
GeneralRe: GDI+ Error Pin
Luc Pattyn10-Dec-07 16:10
sitebuilderLuc Pattyn10-Dec-07 16:10 
GeneralRe: GDI+ Error Pin
The ANZAC10-Dec-07 17:50
The ANZAC10-Dec-07 17:50 
GeneralRe: GDI+ Error Pin
Dave Kreskowiak10-Dec-07 2:16
mveDave Kreskowiak10-Dec-07 2:16 
GeneralRe: GDI+ Error Pin
Christian Graus10-Dec-07 8:26
protectorChristian Graus10-Dec-07 8:26 
GeneralRe: GDI+ Error Pin
Dave Kreskowiak10-Dec-07 12:05
mveDave Kreskowiak10-Dec-07 12:05 
GeneralRe: GDI+ Error Pin
Christian Graus10-Dec-07 12:28
protectorChristian Graus10-Dec-07 12:28 
GeneralProblem in loading controls into a Tab page Pin
Krishnaraj Barvathaya B10-Dec-07 1:27
Krishnaraj Barvathaya B10-Dec-07 1:27 
GeneralAbout Visual Basic Pin
Member 472059110-Dec-07 0:48
Member 472059110-Dec-07 0:48 
GeneralRe: About Visual Basic Pin
Dave Kreskowiak10-Dec-07 2:13
mveDave Kreskowiak10-Dec-07 2:13 
Generalwindows form while restore Pin
balakpn10-Dec-07 0:31
balakpn10-Dec-07 0:31 
GeneralRe: windows form while restore Pin
Michael Sync10-Dec-07 1:43
Michael Sync10-Dec-07 1:43 
GeneralRe: windows form while restore Pin
balakpn11-Dec-07 1:51
balakpn11-Dec-07 1:51 
Questionhow can i determine the location of current cell Pin
Rupesh Kumar Swami9-Dec-07 23:38
Rupesh Kumar Swami9-Dec-07 23:38 
AnswerRe: how can i determine the location of current cell Pin
Michael Sync10-Dec-07 1:34
Michael Sync10-Dec-07 1:34 
GeneralRe: how can i determine the location of current cell Pin
Rupesh Kumar Swami10-Dec-07 5:56
Rupesh Kumar Swami10-Dec-07 5:56 
QuestionUrgent HELP with usercontrols!!!!!! Pin
highjo9-Dec-07 23:06
highjo9-Dec-07 23:06 

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.