Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 07-27-2001, 03:17 AM
shekarchian shekarchian is offline
Member
 
Join Date: Feb 2001
Posts: 39
Default CGI EMERGENCY QUESTION.

hi all

i have a webpage and in my web page, visitors can upload a picture to my web database. i want to know the fixed size of thier image and i can't do it with VBScript.
So i tried to make an CGI-Excuteable with delphi to give a fixed size of any picture on web and send it to my HTML or ASP code but i can't add TImage object on my delphi project.
how can i use TImage object and load a file in a chi?
please help me
thanks
Mohammad
Reply With Quote
  #2  
Old 07-27-2001, 03:35 AM
b-w-d.net b-w-d.net is offline
Senior Member
 
Join Date: May 2001
Posts: 1,122
Default RE: CGI EMERGENCY QUESTION.

this is atleast the 3rd time i have seen this post, please stop posting as this does take up space on the delphipages server.

instead of using a TImage, couldnt you make a TBitmap and/or TGraphic?



see you arround, bye!

----------------------------
[b-w-d.net]
webmaster@b-w-d.net

[if this helps you please click on Accept]

"Good are those things that you favour, evil is your sour flavour"
Reply With Quote
  #3  
Old 07-27-2001, 03:38 AM
b-w-d.net b-w-d.net is offline
Senior Member
 
Join Date: May 2001
Posts: 1,122
Default RE: RE: CGI EMERGENCY QUESTION.

here is how to do that:

var
BitMap1 : TBitMap;
begin
BitMap1 := TBitMap.Create;
//using BitMap1
BitMap1.Free;
end;

see you arround, bye!

----------------------------
[b-w-d.net]
webmaster@b-w-d.net

[if this helps you please click on Accept]

"Good are those things that you favour, evil is your sour flavour"
Reply With Quote
Reply

Thread Tools
Display Modes

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 On

Forum Jump


All times are GMT. The time now is 07:49 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.