would be great if someone can help here...
An admin person logs in to a HTML calendar and clicks on certain dates,
the dates clicked by him gets highlighted and changes to a different color.
(here the TD color is changed during onClick)
NOW, I would like to EXPORT this to a JPEG or GIF Image.
(note: The exported Image would contain the dates selected by the admin )
Is this possible using ASP / SQL SERVER without any third-party component being installed. I cannot use any componenthere, bcoz of the server restrictions...
1 1239 jhardman 3,406
Recognized Expert Specialist
would be great if someone can help here...
An admin person logs in to a HTML calendar and clicks on certain dates,
the dates clicked by him gets highlighted and changes to a different color.
(here the TD color is changed during onClick)
NOW, I would like to EXPORT this to a JPEG or GIF Image.
(note: The exported Image would contain the dates selected by the admin )
Is this possible using ASP / SQL SERVER without any third-party component being installed. I cannot use any componenthere, bcoz of the server restrictions...
This has got to be possible. I have never done it, but I know what I would try. A gif file is just a long line of bytes like this: - totalBytes = "71, 73, 70, 56, 57, 97, 15, 0, 15, 0, " &_
-
"128, 0, 0, 255, 255, 255, 0, 0, 0, 44, 0, 0, 0, " &_
-
"0, 15, 0, 15, 0, 0, 2, 33, 132, 127, 161, 200, " &_
-
"185, 205, 84, 128, 241, 81, 35, 175, 155, 26, " &_
-
"228, 254, 105, 33, 102, 121, 165, 201, 145, 169, " &_
-
"154, 142, 172, 116, 162, 240, 90, 197, 5, 0, 59"
-
bytes = split(totalBytes, ", ")
-
for each x in bytes
-
response.binaryWrite bytes(x)
-
next
The only tricky thing is the binary write line (I don't think that will really work) But the real question is how do you write this as a binary file? Using fso you can easily write text streams, right? There should be some component comparable to openTextFile. Maybe openBinaryFile? I've just never heard it discussed.
Jared
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Rithish |
last post by:
I have a set of images on a server. I want to pick these from the
database without creating a
temporary file on the server; and also have some text alongwith it.
Something like,
...
|
by: Øyvind Isaksen |
last post by:
Hello!
I need to dynamic generate a SQL statement based on how many images a user
select to upload.
Here you see an example with 2 images. It can be up to 50 images and I dont
want to write...
|
by: JOSEPHINE ALVAREZ |
last post by:
I have this code that I want to use to do a rollover. However, because the
company I am doing it for is continually changing the text, I want to be
able to use dynamic text to change the text on...
|
by: Jim Michaels |
last post by:
I need to generate 2 random numbers in rapid sequence from either PHP or
mysql.
I have not been able to do either. I get the same number back several times
from PHP's mt_rand() and from mysql's...
|
by: pbd22 |
last post by:
Hi.
This is just a disaster management question.
I am using XMLHTTP for the dynamic loading of content in a very
crucial area of my web site. Same as an IFrame, but using XMLHTTP and
a DIV. I...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |