Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "WinAPI";
Текущий архив: 2003.06.02;
Скачать: [xml.tar.bz2];

Вниз

Problem with Image1.Picture.Bitmap.LoadFromStream(MemoryStream);   Найти похожие ветки 

 
Delphi5.01   (2003-04-03 18:27) [0]

Zdravstvuite.
est kod
...
MemoryStream.CopyFrom(FileStream,Size);
MemoryStream.SaveToFile("logo.bmp");
...
Image1.Picture.Bitmap.LoadFromStream(MemoryStream);
MemoryStream.Destroy;
...
problema zakluchaetsa v tom chto izobrajenie ne zagrujaetsa v Image1, ne smotra na to chto logo.bmp otkrivaetsa i v nom tochno naxaditsa izobrajenie.
proveril daje vot chto
...
MemoryStream.CopyFrom(FileStream,Size);
MemoryStream.SaveToFile("logo.bmp");
...
MemoryStream.Clear;
MemoryStream.LoadFromFile("logo.bmp");
Image1.Picture.Bitmap.LoadFromStream(MemoryStream);
MemoryStream.Destroy;
...
v etom sluchae zagrujaetsa!
v chom delo? Spasibo za pomosh.


 
MBo   (2003-04-03 18:32) [1]

MemoryStream.Position:=0;
перед загрузкой


 
Delphi5.01   (2003-04-03 18:34) [2]

Snova spasibo MBo, chobi delali programeri esli vas nebilo. Ogromnoe spasibo!


 
MBo   (2003-04-03 18:36) [3]

>chobi delali programeri esli vas nebilo
Хелп бы вдумчиво изучали ;)



Страницы: 1 вся ветка

Форум: "WinAPI";
Текущий архив: 2003.06.02;
Скачать: [xml.tar.bz2];

Наверх




Память: 0.44 MB
Время: 0.007 c
1-2957
alpa
2003-05-21 10:13
2003.06.02
Реестр


1-3002
Ann
2003-05-19 11:08
2003.06.02
TreeView


3-2737
Catche
2003-05-13 08:22
2003.06.02
DbGrid


1-2983
$Hic0
2003-05-21 13:31
2003.06.02
Странное поведение переменной цикла


14-3047
DDDeN
2003-05-13 13:51
2003.06.02
DelphiX для Delphi 6





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский