Click here to Skip to main content
15,908,274 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionCreating assembley Pin
r aa j21-May-08 20:26
r aa j21-May-08 20:26 
AnswerRe: Creating assembley Pin
Laddie21-May-08 23:48
Laddie21-May-08 23:48 
AnswerRe: Creating assembley Pin
Vasudevan Deepak Kumar22-May-08 3:20
Vasudevan Deepak Kumar22-May-08 3:20 
GeneralRe: Creating assembley Pin
r aa j22-May-08 3:29
r aa j22-May-08 3:29 
QuestionThis GroupBox is taking my DataGridView's lunch money. Pin
Oddball21-May-08 12:12
Oddball21-May-08 12:12 
QuestionTypeDesciptor.GetConverter(customtype) doesn't return the converter for the custom type Pin
sowjanya_mudimala21-May-08 8:17
sowjanya_mudimala21-May-08 8:17 
AnswerRe: TypeDesciptor.GetConverter(customtype) doesn't return the converter for the custom type Pin
leppie25-May-08 22:21
leppie25-May-08 22:21 
QuestionThumbnails with black bars Pin
dascalos21-May-08 6:49
dascalos21-May-08 6:49 
This seems to be a problem only on Vista with a certain set of pictues.

For instance, here is a picture...

http://tinyurl.com/55psg9[^]

Here is an excerpt of the code I am using to display the thumbnail (special code because height > width in the particular picture).

<br />
float _scale = (float)_orig.Width / (float)_orig.Height * __DesiredSize.Width;<br />
Image _image = _orig.GetThumbnailImage ((int)_scale, (int)__DesiredSize.Height, tnCallBack, IntPtr.Zero);<br />
<br />
Bitmap _backgroundImage = new Bitmap (__DesiredSize.Width, __DesiredSize.Height);<br />
Graphics _graphics = Graphics.FromImage (_backgroundImage);<br />
<br />
Rectangle _toPut = new Rectangle ((__DesiredSize.Width - _image.Width) / 2, 0, _image.Width, _image.Height);<br />
_graphics.DrawImage (_image, _toPut, new Rectangle (0, 0, _image.Width, _image.Height), GraphicsUnit.Pixel);<br />


Displaying the thumbnail in the a listview shows black bars on the side. Same thing happens with the landscape pics.

Any help would be greatly appreciated.
QuestionThreading question Pin
kensai21-May-08 3:51
kensai21-May-08 3:51 
AnswerRe: Threading question Pin
Laddie21-May-08 4:15
Laddie21-May-08 4:15 
QuestionRe: Threading question [modified] Pin
kensai21-May-08 5:11
kensai21-May-08 5:11 
AnswerRe: Threading question Pin
led mike21-May-08 6:08
led mike21-May-08 6:08 
GeneralRe: Threading question Pin
kensai21-May-08 21:14
kensai21-May-08 21:14 
GeneralRe: Threading question Pin
Peter Josefsson Sweden22-May-08 10:50
Peter Josefsson Sweden22-May-08 10:50 
AnswerRe: Threading question Pin
supercat924-May-08 14:55
supercat924-May-08 14:55 
QuestionHow do I know an assembly was created under which version of .net framework Pin
Tako.Lee20-May-08 17:41
Tako.Lee20-May-08 17:41 
AnswerRe: How do I know an assembly was created under which version of .net framework Pin
Laddie20-May-08 19:13
Laddie20-May-08 19:13 
GeneralRe: How do I know an assembly was created under which version of .net framework Pin
Tako.Lee20-May-08 20:31
Tako.Lee20-May-08 20:31 
GeneralRe: How do I know an assembly was created under which version of .net framework Pin
Laddie20-May-08 20:41
Laddie20-May-08 20:41 
GeneralRe: How do I know an assembly was created under which version of .net framework Pin
Tako.Lee20-May-08 20:52
Tako.Lee20-May-08 20:52 
GeneralRe: How do I know an assembly was created under which version of .net framework Pin
Laddie20-May-08 20:57
Laddie20-May-08 20:57 
GeneralRe: How do I know an assembly was created under which version of .net framework Pin
Tako.Lee20-May-08 21:39
Tako.Lee20-May-08 21:39 
QuestionSoftware integration has always been a big problem Pin
angels77720-May-08 16:00
angels77720-May-08 16:00 
AnswerRe: Software integration has always been a big problem Pin
angels77720-May-08 16:07
angels77720-May-08 16:07 
GeneralRe: Software integration has always been a big problem Pin
Brady Kelly21-May-08 3:05
Brady Kelly21-May-08 3:05 

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.