Append GIF to xls
Any one ever append a GIF to a MS xls document with success, LV2010?
My attempts to past a GIF to an xls or xlsx MS 2007 file is unsuccesful. no VI errors are reported but I open the file an no paste is there as I scroll through all the cell row numbers.
At the time of the original post, I was using Mike Schroder LV code that opens a GIF for view in a FP. You should find it on the discussion board or NI Developer Zone. In my case it turns out Mike's code open the GIF file but never close the file reference (it gets closed when LV stops running). So if its used as is, a subVI you got an unclosed reference open. Add a close reference to the code (shown below).
Its possible your code tries to open a new reference for the file when one for the file is already open and paste to xls fails, not to mention further other side effects. I went ahead an attached Mike Schroder code below.
Attachments:
Read GIF File_LV71_V0101.zip 698 KB
Similar Messages
-
Hi friends
Plz any body suggest me
I have to covert the data i am giving in a spread sheet to xls format
the program uses the following routine when the radio button
material from spread sheet are selected
FORM APPEND_SPREAD_TO_XLS .
DATA: p_infile type string.
p_infile = p_file1.
LOOP AT I_SPREADSHEET INTO WA_SPREADSHEET.
WA_FINAL-BID = TEXT-004.
WA_FINAL-ITEM = TEXT-005.
WA_FINAL-DATA = TEXT-006.
WA_FINAL-DOC = SPACE.
WA_FINAL-INDEX = WA_SPREADSHEET-INDEX.
WA_FINAL-LINE = 'D'.
WA_FINAL-SPAC1 = SPACE.
WA_FINAL-chgkey = 'I'.
WA_FINAL-SPAC2 = SPACE.
WA_FINAL-INDEX1 = WA_SPREADSHEET-INDEX.
WA_FINAL-SPAC4 = SPACE.
WA_FINAL-ITDESC = TEXT-007.
WA_FINAL-PROTYP = '1'.
WA_FINAL-PRODESC = TEXT-008.
WA_FINAL-MATNR = WA_SPREADSHEET-MATNR.
WA_FINAL-MAKTX = WA_SPREADSHEET-MAKTX.
WA_FINAL-MATKL = WA_SPREADSHEET-MATKL.
WA_FINAL-WGBEZ60 = WA_SPREADSHEET-WGBEZ60.
WA_FINAL-SPAC5 = SPACE.
wa_final-DDATE = '00/00/0000'.
WA_FINAL-DTIME = '0:00:00'.
WA_FINAL-FDAT = '00/00/0000'.
WA_FINAL-TDAT = '00/00/0000'.
WA_FINAL-QTY = WA_SPREADSHEET-MENGE.
WA_FINAL-MEINS = WA_SPREADSHEET-MEINS.
WA_FINAL-PUNIT = SPACE.
WA_FINAL-CURRY = 'USD'.
wa_final-proid = wa_SPREADSHEET-matnr.
APPEND WA_FINAL TO I_FINAL.
ENDLOOP.
CLEAR I_MATERIAL.
REFRESH I_MATERIAL.
but the problem is when i gave the data in selection screen
Filename to dwnld Spread detl:the excel page vth some data
File name to upload the Spread:some file name
its giving the following error
Error during coversion-field type conflict.
the descrption of the error is
The sending and receiving fields have conflicting types. The receiving field has type P. Value EA was supposed to be transferred to this field, but this conflicts with the type definition for the receiving field.
The incorrect field is field 1 of the receiver structure. Record 7 of the input file contains an error.
plz suggest
any help is highly appreciatedHi ramiro,
plz check this code getting the same error
plz correct me
FORM APPEND_SPREAD_TO_XLS .
DATA: p_infile type string.
p_infile = p_file1.
CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT'
EXPORTING
input = WA_SPREADSHEET-MEINS
IMPORTING
OUTPUT = WA_FINAL-MEINS .
EXCEPTIONS
UNIT_NOT_FOUND = 1
OTHERS = 2
LOOP AT I_SPREADSHEET INTO WA_SPREADSHEET.
WA_FINAL-BID = TEXT-004.
WA_FINAL-ITEM = TEXT-005.
WA_FINAL-DATA = TEXT-006.
WA_FINAL-DOC = SPACE.
WA_FINAL-INDEX = WA_SPREADSHEET-INDEX.
WA_FINAL-LINE = 'D'.
WA_FINAL-SPAC1 = SPACE.
WA_FINAL-chgkey = 'I'.
WA_FINAL-SPAC2 = SPACE.
WA_FINAL-INDEX1 = WA_SPREADSHEET-INDEX.
WA_FINAL-SPAC4 = SPACE.
WA_FINAL-ITDESC = TEXT-007.
WA_FINAL-PROTYP = '1'.
WA_FINAL-PRODESC = TEXT-008.
WA_FINAL-MATNR = WA_SPREADSHEET-MATNR.
WA_FINAL-MAKTX = WA_SPREADSHEET-MAKTX.
WA_FINAL-MATKL = WA_SPREADSHEET-MATKL.
WA_FINAL-WGBEZ60 = WA_SPREADSHEET-WGBEZ60.
WA_FINAL-SPAC5 = SPACE.
wa_final-DDATE = '00/00/0000'.
WA_FINAL-DTIME = '0:00:00'.
WA_FINAL-FDAT = '00/00/0000'.
WA_FINAL-TDAT = '00/00/0000'.
WA_FINAL-QTY = WA_SPREADSHEET-MENGE.
WA_FINAL-MEINS = WA_SPREADSHEET-MEINS.
WA_FINAL-PUNIT = SPACE.
WA_FINAL-CURRY = 'USD'.
wa_final-proid = wa_SPREADSHEET-matnr.
APPEND WA_FINAL TO I_FINAL.
ENDLOOP.
CLEAR I_MATERIAL.
REFRESH I_MATERIAL.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = P_INFILE
FILETYPE = 'ASC'
APPEND = 'X'
WRITE_FIELD_SEPARATOR = 'X'
TABLES
DATA_TAB = I_FINAL.
IF SY-SUBRC = 0.
ENDIF.
ENDFORM.
thanks in advance
Edited by: sukruthi raj on Mar 11, 2008 1:26 PM -
Hi,
I am using Oracle9i Enterprise Edition Release 9.2.0.6.0 on Unix (SUSE Linux and Solaris).
I have a table which holds a blob which was loaded from a file. This file could be any of the above formats.
I need to create a function which will create a file on the OS from the BLOB in the database.
I created a function which did this using DBMS_LOB to read from the BLOB in chunks and UTL_FILE.PUT_RAW to write to the file.
This works fine for most of the document types apart from BITMAPS.
I have 2 problems:
1. There are extra chars/carriage returns added to the end of the file for all the documents. This seems to cause a problem with opening some of the file types.
2. If the file is a bitmap or contains a bitmap, the file stops at the start of the bitmap so the file is therefore not created.
If anyone can help me with this, I would be very grateful
Thanks,
JulieI want to retrieve stored pdf,docetc from database, but i m nt able to retrieve it.
Can any1 help me.
1. C:\Documents and Settings\JAVA SAP>set oracle_sid=prd1
C:\Documents and Settings\JAVA SAP>sqlplus
Enter user-name: / as sysdba
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
2. create table demo
(id int primary key, theBlob blob)
Table created.
3. SQL> create or replace directory my_files as 'E:\'
Directory created.
4. declare
l_blob blob;
l_bfile bfile;
begin
insert into demo values(1,empty_blob())
returning theBlob into l_blob;
l_bfile:=bfilename('MY_FILES','n1.pdf');
dbms_lob.fileopen(l_bfile);
dbms_lob.loadfromfile(l_blob,l_bfile,dbms_lob.getlength(l_bfile));
dbms_lob.fileclose(l_bfile);
end;
PL/SQL procedure successfully completed.
5. CREATE OR REPLACE DIRECTORY my_out_files AS 'E:\';
CREATE OR REPLACE PROCEDURE WriteBLOBToFILE (myid IN number) IS
v_blob BLOB;
blob_length INTEGER;
out_file UTL_FILE.FILE_TYPE;
v_buffer RAW(32767);
chunk_size BINARY_INTEGER := 32767;
blob_position INTEGER := 1;
BEGIN
SELECT theblob INTO v_blob FROM demo WHERE id = myid;
blob_length:=DBMS_LOB.GETLENGTH(v_blob);
out_file := UTL_FILE.FOPEN ('MY_OUT_FILES', 'myid.pdf', 'wb',
chunk_size);
WHILE blob_position <= blob_length LOOP
IF blob_position + chunk_size - 1 > blob_length THEN
chunk_size := blob_length - blob_position + 1;
END IF;
DBMS_LOB.READ(v_blob, chunk_size, blob_position, v_buffer);
UTL_FILE.PUT_RAW(out_file, v_buffer, TRUE);
blob_position := blob_position + chunk_size;
END LOOP;
UTL_FILE.FCLOSE (out_file);
END;
6. SET serveroutput ON
EXEC WriteBLOBToFILE(1);
I tired this also.
declare
i1 blob;
i2 number;
amt number := 10000;
len number;
my_vr raw(10000);
l_output utl_file.file_type;
p_dir varchar2(30) default 'TEST_DIR';
p_file varchar2(30) default 'gs_test1.doc';
begin
-- get the blob locator
l_output := utl_file.fopen(p_dir, p_file, 'w', 32760);
for l_cur in (SELECT id,theBlob from demo where rownum = 1 order by id)
loop
len := DBMS_LOB.GETLENGTH(l_cur.theBlob);
i1 := l_cur.theBlob ;
dbms_output.put_line('Length of the Column : ' || to_char(len));
i2 := 1;
if len < 10000 then
DBMS_LOB.READ(i1,len,i2,my_vr);
utl_file.put(l_output, my_vr );
else
DBMS_LOB.READ(i1,amt,i2,my_vr);
utl_file.put(l_output, UTL_RAW.CAST_TO_VARCHAR2(my_vr) );
end if;
i2 := i2 + amt;
while (i2 < len) loop -- loop till entire data is fetched
dbms_output.put_line('i2 : ' || to_char(i2));
DBMS_LOB.READ(i1,amt,i2,my_vr);
utl_file.put(l_output, UTL_RAW.CAST_TO_VARCHAR2(my_vr) );
utl_file.fflush(l_output);
i2 := i2 + amt ;
end loop;
utl_file.fclose(l_output);
end loop;
end ; -
How to send multiple attachment s with a mail??
Hi,
How to send multiple attachments with a mail??
Situation::
In my case i have 5 internal tables populated dynamically in the report.
I want to send them in .TXT format as attachment with 1 mail.
Can anybody tell me in 'SO_NEW_DOCUMENT_ATT_SEND_API1',
how we add multiple attachmants to table objin???
thanks,
deepakHi Deepak,
Please find the sample code for sending mail with multiple attachment.
Report ZPAN_02M *
REPORT zpan_02m .
*-MAIN DECLARATION----
DATA: docdata LIKE sodocchgi1,
objpack LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
objhex LIKE solix OCCURS 10 WITH HEADER LINE,
reclist LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
*-OTHER DECLARATIONS----
DATA : listobject LIKE abaplist OCCURS 1 WITH HEADER LINE.
DATA : tab_lines(3) TYPE n.
DATA : att_type LIKE soodk-objtp.
*OBJBIN = ' | '. APPEND OBJBIN.
*---For simple attachment -
DATA : BEGIN OF wi_data OCCURS 0,
c1(10),
c2(10),
END OF wi_data.
wi_data-c1 = 'Line 1'. wi_data-c2 = 'Line 1'. APPEND wi_data.
wi_data-c1 = 'Line 2'. wi_data-c2 = 'Line 2'. APPEND wi_data.
wi_data-c1 = 'Line 3'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 4'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 5'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 6'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 7'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 8'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 9'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 10'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 11'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 12'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 13'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 14'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 15'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 16'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 17'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 18'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 19'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 20'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 21'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 22'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 23'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 24'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 25'. wi_data-c2 = 'Line 3'. APPEND wi_data.
wi_data-c1 = 'Line 26'. wi_data-c2 = 'Line 3'. APPEND wi_data.
class cl_abap_char_utilities definition load.
constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
con_cret type c value cl_abap_char_utilities=>CR_LF,
con_nwln type c value cl_abap_char_utilities=>NEWLINE.
LOOP AT wi_data.
CONCATENATE wi_data-c1 con_tab
wi_data-c2
INTO objbin.
condense objbin.
CONCATENATE con_cret objbin INTO objbin.
APPEND objbin.
ENDLOOP.
*---CREATE MESSAGE : DOCDATA -
Name
docdata-obj_name = 'TEST_ALI'.
Subject
docdata-obj_descr = 'Test including ALI/HTML Attachment'.
*---CREATE MESSAGE : BODY -
objtxt = 'Test Document.'.
APPEND objtxt.
objtxt = 'You will find an ALI/HTML attachment in this message.'.
APPEND objtxt.
objtxt = 'Have a nice day.'.
APPEND objtxt.
*-CREATE PACKING LIST-----TEXT--
objpack-head_start = 1.
DESCRIBE TABLE objtxt LINES tab_lines.
READ TABLE objtxt INDEX tab_lines.
docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'RAW'.
APPEND objpack.
*-CREATE PACKING LIST-----ATTACHMENT--
att_type = 'XLS'.
DESCRIBE TABLE objbin LINES tab_lines.
READ TABLE objbin INDEX tab_lines.
objpack-doc_size = ( ( tab_lines / 2 ) - 1 ) * 255 + STRLEN( objbin ).
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines / 2.
objpack-doc_type = att_type.
objpack-obj_name = 'ATTACHMENT 1'.
objpack-obj_descr = 'Attached Document 1'.
APPEND objpack.
att_type = 'XLS'.
objpack-doc_size = ( ( tab_lines / 2 ) - 1 ) * 255 + STRLEN( objbin ).
objpack-transf_bin = 'X'.
objpack-head_start = 14.
objpack-head_num = 14.
objpack-body_start = 14.
objpack-body_num = tab_lines / 2.
objpack-doc_type = att_type.
objpack-obj_name = 'ATTACHMENT 2'.
objpack-obj_descr = 'Attached Document 2'.
APPEND objpack.
*-CREATE RECEIVER LIST----
reclist-receiver = '[email protected]'. reclist-rec_type = 'U'.
APPEND reclist.
reclist-receiver = sy-uname. reclist-rec_type = 'B'.
APPEND reclist.
*-SEND MESSAGE----
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = docdata
put_in_outbox = 'X'
commit_work = 'X'
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
CONTENTS_HEX = objhex
OBJECT_PARA =
OBJECT_PARB =
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
WAIT UP TO 2 SECONDS.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
Hope this is enough for you...
Enjoy SAP.
Pankaj Singh. -
Can't Attach Files, Please Help
I tried to attach some screen shots, I hit browse, click my doc, hit open, shows up C:\Users\Derek\Documents\Multisim 12 Screen Shots\Screen Shots.docx in the Attachments box. hit post. It disappears from the Att. box. If I hit post again it will just post my comments.
Warm regards,
Derek
Solved!
Go to Solution.Hello,
If you try to do this then you'll notice that at the top you get a message.
It reads:
Please correct the highlighted errors and try again.
The file does not have a valid extension for an attachment. jpg,gif,txt,xls,vi,zip,doc,llb,pdf,png,ini,wsp,rtf,lvproj,lvlib,cfg,ppt,pps,csv,ms10,ms9,ms8,ms7,msm,prz,cir,ewprj,gbr,seproj,ms11,mp11,ms12 are the valid extensions.
Kind regards,
Miguel V
National Instruments -
BLOBs and ASP: Store ok. How to View/Download?
I hope this is not considered OT here; if so, please accept my apologies.
I finally managed to upload a binary file to a BLOB field in my Oracle 8i table (through Oracle OLE-db). In the same table I also store size and content type of the file.
What I'm trying to do now is to build an ASP page listing all the documents in this table and put beside each document two buttons: View and Download.
Clicking the View button should open a pop-up window and display the document in the web page (if the MIME type is known), while clicking the Download button should open the standard dialog box (even if the MIME type is known).
I know you can read the blob and save it to a file on the web server, but it is not clear to me when the file should be deleted. How do I know, for example, that the download is over?
I've found examples of images sent from a BLOB field to the browser, but I'm not dealing with JPEGs of GIFs: doc, xls, pdf, ppt, etc. Is it possible to read the binary data of a BLOB and send it to the browser without saving to file?
And how can I tell the browser to ignore the MIME type and open the download dialog?
TIA for your patience and help.
AlessandroHi there, Thanks for your response. I'm in India. I usually access Ovi Store app through my Wi-Lan (not through telecom provider's internet as we have only GPRS, 3G services are expected to be launched this month). Having said that, I want to mention that I had already purchased Angry Bird game through the Ovi store in Nov using my CC. It was smooth and painless. Not sure why this issue is happening since the last 1 month.
-
Anyone know how to show icon of a button in webforms?
My form have several buttons with an icon.
I create a item named 'UI_ICON' and set the value the directory of icon path. But when I deplop the form on the webserver or run the from IE 5.0. There are are no image shown.
BTW: I have converted the image format from .icon to .gif.
Anyone can help me?
Thanks a ton.To specify directory path and image format for iconic button image files:
1.Open the Registry.dat file in a text editor.
2.Add the following lines to Registry.dat:
<app_class>.icons.iconpath=<path>
<app_class>.icons.iconextension=<format>
Replace <app_class> with a valid application class referenced by your Web
application.
Replace <path> with one of the following:
a fully-qualified URL that points to any directory on any server:
inv_form.icons.iconpath=http://abc_dev.com/html/icons/
a virtual directory on the same server from which the HTML page
downloaded:
inv_form.icons.iconpath=/icons/
a directory relative to the directory from which the HTML page was
downloaded
(non-cartridge implementations only):
inv_form.icons.iconpath=icons/
Replace <format> with gif (for GIF files) or jpg (for JPEG files). For
example:
inv_form.icons.iconextension=gif
Default Settings:
If you do not specify a directory path or image format for an application
class, Forms uses the default settings in the Registry.dat file:
default.icons.iconpath=
default.icons.iconextension=gif
Solution Explanation:
=====================
Application classes enable you to specify the directory path and image format
(GIF or JPEG) of image files for iconic buttons.
Using application classes is optional, since Forms supplies default settings
for the icon path. Use application classes if you wish to create a number of
different settings that you can alternate between by switching a single
reference in your application's cartridge settings, cartridge HTML file, or
static HTML file.
At runtime, Forms first looks for settings that correspond to the specified
application class (if any). If no application class settings exist, Forms uses
default settings. By default, Forms will search for iconic button image files
in the directory from which the application's HTML file was downloaded, and
will append ".gif" to the filename provided in your form. By default Forms
will only search for .GIF images, but you can switch to using .JPEG images in
the Registry.dat file.
To create settings for an application class, you must add the appropriate
settings to the Registry.dat file.
Regards
Grant Ronald
Forms Product Management -
Visa error -1073807339 when reading or writing to com 2
Good morning,
I am using both com 1 and com 2 to communicate with instruments using Labview 7.1 and Windows XP. Com 1 which works without any problems is communicating with a HP 34970A and com 2 which sporatically works is communicating with a Valhalla 2430 power analyzer. When I get the error, I open MAX and com 2 has an explanation point indicating a problem.
Thanks for your help.
EverettHello again and thank you for all the responses. Valhalla charges money for their driver so I doubt they would want it posted in the discussion forum. I ran NI-Spy and will attach the logs. I also changed the byte count from 32 to various lower numbers but 21 seems so far to operate without an error running the Valhalla VI only. This afternoon I will try it again in the program to see if an error occurs or if I don't get my data sometimes. Capture 1 was done using max and open visa for com 2. I ran it several times. Capture 3-1 is after I changed the byte count to 21 and added some delay on the VISA read.
For some reason it won't let me post a .spy extension
The file does not have a valid extension for an attachment. jpg,gif,txt,xls,vi,zip,doc,bmp,llb,pdf,png,seq,c,h,cpp,cs,vb,ini,gz,ctl,scr,ico,tar,z,uir are the valid extensions
Everett -
Exporting google spreadsheet documents
When I choose to export a document as an Excell file, the file's name in the downloads area is changed to fm (fm1, fm2, etc) and the file extension is changed to .xlt
Why?
Can I change this behaviour?
Note, when I am trying to download a xls file, the file name will not change, but .xlt will be appended to the .xls original suffix.
Note that an attachement in Mail is saved just fine.Bento is made by FileMaker
Have a look on the [Bento forums|http://forums.filemaker.com/fmbnto> to see if anyone has reported this before. -
Append rows to existing xls file
Hello Friends,
I have a problem with gui_download. I am working on ECC6.0.
I need to append some rows to existing xls file. I am using gui_download but it not working properly.
I am giving append = 'X' also it is not appending rows it is overwriting the existing rows.
Please help in the regard.
Thanks in advance.
Krishna Yerram.Hi,
BOOK2 is laready existed excel file
Please make sure that X is captail
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = C:\BOOK2.XLS
FILETYPE = 'ASC'
APPEND = 'X'
tables
data_tab = data_tab
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
jana -
How to append a gif to another gif in adobe photosop cs5 extended???
like i have two gif files and i need to apppend 2 gif file at the end of 1st gif file,,so that i 'll a single gif.
There is no such thing as an "append" with GIF files, since adding frames always affects the color palette, which is global. Ultimately it doesn't matter if you use PS or another tool to add the frames, but of course using e.g. Ulead GIF Animator may be a bit more straightforward than going through the song and dance in PS...
Mylenium -
File Appends .xls Extension During Download
Hi,
I have a form which generates query results in a new window.
The output is saved in the form of a .cvs file. The user then
clicks on a link which opens up a dialog box prompting the user to
either open the file or save it to disk. The title bar for this box
has the name of the file, but it appends a .xls to the filename.
For example, the file will be called PST_0001aajacksn1.cvs.xls.
This causes the excel program to open up, but the results are
bunched together in one row instead of individual rows. The file,
itself, is saved in a temp directory without the .xls behind it .
It does this in Netscape, but in IE it pulls up a formatted
spreadsheet correctly.
Here is the snippet of code:
<cfif IsDefined("url.SiteType")>
<cfset Variables.SiteType = url.SiteType>
<cfelseif IsDefined("form.SiteType")>
<cfelse>
<cfset Variables.SiteType = "Z">
</cfif>
<cfset fprefix = "PST_" & #Session.this_sid# &
"_">
<cfset urlSiteTmp = "/webtmp/">
<cfset redirLoc = "/web/tmp/BOOKS/">
<cfquery name="getRptNbr"
datasource="#application.datasource#">
select bookRPTnextval RPTNBR
from dual
</cfquery>
<cfset nextRpt =fprefix & #getRptNbr.RPTNBR# &
".csv">
<cfquery name="getSite"
datasource="#application.datasource#">
select *
from sites
where site_seq_nbr = #url.site#
</cfquery>
Could someone help me figure this one out? It would be most
appreciated. ThanksHi,
Have you tested with https and http websites both?
For diving deeper, we would narrow this issue first.
And then, using process monitor to capture the fault process, in my test, here is the result, we should check if there is anything wrong obviously during file creation:
Alex Zhao
TechNet Community Support -
I've read some threads about this problem, and while there is lively debate, there doesn't seem to be an answer. So I thought I would try it again with a new question.
A friend of mine (he has an old IMac) forwarded me an email with an animated gif. It was funny, and I wanted to forward it on. But I have never been able to do this. If I try to save the file, it saves as a MIME attachment, and I can't even open it. If I Download the file, the Get Info says it is a gif file, but if I open it in Preview, or attach it to a new email, it no longer animates and is just a still picture.
I tried forwarding the original email with the animated gif back to myself, and when it arrives, it no longer animates. My friend is no help. He's not really in to computing. He told me he just gets them from somebody else, and forwards it to me.
So why can I see the animated gif in my Mail, but can't save it, download it, cut & paste it, or forward it? I tried the Append Message suggestion from an old post, and that did not work either.
I noticed in some of the old posts some people seem to really hate gif's. I don't really care one way or the other. I just want to understand why my computer can receive them, but can't do anything else with them.Although Jaguar and Panther Mail renders HTML received, they do not support composing HTML which also includes when forwarding a message received that was composed in HTML including animated gifs.
Although you cannot compose complex HTML within the body of a message with Tiger Mail, RTF with Tiger Mail is HTML and supports forwarding a message received that was composed in HTML including animated gifs.
Reason for this: if you automatically render all HTML received (with any email client with OS X) and a spammer uses HTML for message composition and includes embedded images or objects that must be rendered from a remote server, if the Mail.app Junk Mail filter does not automatically mark the message as junk and you open the message, this can reveal that your email address is valid to the spammer causing more spam to be received.
Copied from Why HTML in E-Mail is a Bad Idea:
"Because it introduces accessibility problems. When you write in plain text, the receiving mail client renders the text in whatever font the reader chooses. When you format email with HTML, the sender controls the formatting. But this is a trap: You only think your message will render the same way to the viewer as it appears to the sender. In reality, the receiver can end up squinting because the font looks so tiny, or vice versa. HTML is not rendered the same way from one viewing client to the next - all guarantee of accessiblity goes out the window. This is especially problematic for visually impaired persons."
Because it can introduce security issues and trojan horses -- it's a gateway to danger as any Outlook user can tell you. HTML can include any number of scripts, dangerous links, controls, etc.
Powerbook G4 17" Mac OS X (10.4.5) -
Append worksheet from second document with NJAWIN
Hi,
I hope somebody can give me a hint joining two excel documents.
I get following macro when I append the second document as object from filename in Excel:
Sub Makro1()
Sheets.Add
Sheets("Tabelle1").Select
Workbooks.Open Filename:="C:\exceltest.xls"
ActiveWindow.Visible = False
ActiveSheet.OLEObjects.Add(Filename:="C:\exceltest.xls", Link _
:=False, DisplayAsIcon:=False).Select
End Sub
My java code looks like this:
app.getWorkbooks()._Open(filename1, Boolean.FALSE, Boolean.FALSE);
DispatchPtr ptr = app.getWorksheets().Add();
ptr.invoke("Select");
app.getWorkbooks()._Open(filename2, Boolean.FALSE, Boolean.FALSE);
Now I get two instances from Excel, instead of appending it.
How could I get these OLEObjects as shown in Macro?
Thanks in advance
rumpiHmm, nobody has answered. I have done this before months. So if smb has the same problem
my function looks smth like this. I'm glad to hear constructive critic:
_Workbook wb2append = null;
try {
File f = new File(file2append);
if (!f.exists())
throw new IOException("File "+file2append+" does not exists!");
String file2appendName = f.getName();
wb2append = openXLS(file2append, Boolean.TRUE);
* Activate first worksheet in workbook
Worksheet sheetfirst = new _Worksheet(application.getSheets().getItem(new Integer(1)));
sheet_first.Activate();
* Rename all worksheets with prefix the filename of this workbook
if (appendPrefix)
renameSheetsWithPrefix(wb2append, file2appendName);
* Copy all worksheets in this workbook after the activated
* (last) worksheet in the target workbook.
wb2append.getWorksheets().Select();
wb2append.getWorksheets().Copy(null, wb_target.getSheets().getItem(new Integer(wb_target.getSheets().getCount())));
wb2append.Close(Boolean.FALSE); -
Photoshop cs5 is not appending file extensions
in previous versions, photoshop appended to the file extension in the fiel save/save as dialog box. it no longer does this and when you save a file it does not append the file extension to the file name, resulting in unknown fiel type.
i am running windows 7 64-bit with photoshp cs5.
it does not make any since to have the option of appending the file extension if the program is not going to do it.
system info from photosho:
Adobe Photoshop Version: 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch]) x64
Operating System: Windows 7 64-bit
Version: 6.1 Service Pack 1
System architecture: Intel CPU Family:6, Model:10, Stepping:7 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
Physical processor count: 8
Processor speed: 2195 MHz
Built-in memory: 16361 MB
Free memory: 11097 MB
Memory available to Photoshop: 14709 MB
Memory used by Photoshop: 74 %
Image tile size: 1024K
Image cache levels: 6
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Normal
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: False.
OpenGL Crash File: Not Detected.
OpenGL Allow Old GPUs: Not Detected.
Video Card Vendor: NVIDIA Corporation
Video Card Renderer: GeForce GTX 560M/PCI/SSE2
Display: 2
Display Bounds:= top: 0, left: 1600, bottom: 1200, right: 3200
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 900, right: 1600
Video Card Number: 1
Video Card: NVIDIA GeForce GTX 560M
Driver Version: 8.17.12.6837
Driver Date: 20110427000000.000000-000
Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Video Mode: 1600 x 900 x 4294967296 colors
Video Card Caption: NVIDIA GeForce GTX 560M
Video Card Memory: -2047 MB
Serial number: 91198138241777799091
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\
Temporary file path: C:\Users\Owner\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
J:\, 440.8G, 301.0G free
H:\, 931.5G, 745.1G free
E:\, 232.9G, 59.9G free
D:\, 232.9G, 129.3G free
C:\, 440.8G, 301.0G free
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2010/10/04-23:36:11 64.441628 64.441628
adbeape.dll Adobe APE 2010/02/23-12:40:58 61.421986 61.421986
AdobeLinguistic.dll Adobe Linguisitc Library 5.0.0
AdobeOwl.dll Adobe Owl 2010/06/03-13:43:23 3.0.93 61.433187
AdobeOwlCanvas.dll Adobe Owl Canvas 3.0.68 61.2954
AdobePDFL.dll PDFL 2010/12/13-23:37:10 64.341419 64.341419
AdobePIP.dll Adobe Product Improvement Program 5.0.0.2021
AdobeXMP.dll Adobe XMP Core 5.0 61.134777
AdobeXMPFiles.dll Adobe XMP Files 5.0 61.134777
AdobeXMPScript.dll Adobe XMP Script 5.0 61.134777
adobe_caps.dll Adobe CAPS 3,0,116,0
adobe_OOBE_Launcher.dll Adobe OOBE Launcher 1.0.0.64 (BuildVersion: 1.0; BuildDate: Mon Jan 26 2010 21:49:00) 1.000000
AFlame.dll AFlame 2010/02/23-17:27:33 61.421976 61.421976
AFlamingo.dll AFlamingo 2010/02/23-17:27:33 61.421978 61.421978
AGM.dll AGM 2010/10/04-23:36:11 64.441628 64.441628
ahclient.dll AdobeHelp Dynamic Link Library 1,5,0,30
aif_core.dll AIF 2.0 53.422628
aif_ogl.dll AIF 2.0 53.422628
amtlib.dll AMTLib (64 Bit) 3.0.0.64 (BuildVersion: 3.0; BuildDate: Mon Jan 26 2010 21:49:00) 1.000000
amtservices.dll AMTServices (64 Bit) 3.0.0.64 (BuildVersion: 3.0; BuildDate: Mon Jan 26 2010 21:49:00) 1.000000
ARE.dll ARE 2010/10/04-23:36:11 64.441628 64.441628
asneu.dll AsnEndUser Dynamic Link Library 1, 7, 0, 1
AXE8SharedExpat.dll AXE8SharedExpat 2010/02/23-17:27:33 61.421978 61.421978
AXEDOMCore.dll AXEDOMCore 2010/02/23-17:27:33 61.421978 61.421978
Bib.dll BIB 2010/10/04-23:36:11 64.441628 64.441628
BIBUtils.dll BIBUtils 2010/10/04-23:36:11 64.441628 64.441628
boost_threads.dll DVA Product 5.0.0
cg.dll NVIDIA Cg Runtime 2.0.0015
cgGL.dll NVIDIA Cg Runtime 2.0.0015
CoolType.dll CoolType 2010/10/04-23:36:11 64.441628 64.441628
data_flow.dll AIF 2.0 53.422628
dvaadameve.dll DVA Product 5.0.0
dvacore.dll DVA Product 5.0.0
dvaui.dll DVA Product 5.0.0
ExtendScript.dll ExtendScript 2010/10/19-10:22:12 61.445301 61.445301
FileInfo.dll Adobe XMP FileInfo 5.0 61.134777
icucnv36.dll International Components for Unicode 2009/06/17-13:21:03 Build gtlib_main.9896
icudt36.dll International Components for Unicode 2009/06/17-13:21:03 Build gtlib_main.9896
image_flow.dll AIF 2.0 53.422628
image_runtime.dll AIF 2.0 53.422628
JP2KLib.dll JP2KLib 2010/12/13-23:37:10 64.181312 64.181312
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
LogSession.dll LogSession 2, 0, 1, 11
MPS.dll MPS 2010/12/13-23:37:10 64.450375 64.450375
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.6161
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.6161
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.6161
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS5 CS5
Plugin.dll Adobe Photoshop CS5 CS5
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (64 bit) 2.0.0.746
PSArt.dll Adobe Photoshop CS5 CS5
PSViews.dll Adobe Photoshop CS5 CS5
SCCore.dll ScCore 2010/10/19-10:22:12 61.445301 61.445301
tbb.dll Threading Building Blocks 2, 1, 2009, 0201
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 1.0.0.68 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 1.0.0.68
WRServices.dll WRServices Thursday January 21 2010 12:13:3 Build 0.11423 0.11423
wu3d.dll U3D Writer 9.3.0.113
Installed plug-ins:
Accented Edges 12.0
ADM 3.11x01
Alien Skin Autolayer 4 4.0.0
Alien Skin Blow Up 3 3.0.0
Angled Strokes 12.0
Average 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Bas Relief 12.0
Blow Up 3.0.0
BMP 12.0.2
Camera Raw 6.6
Chalk & Charcoal 12.0
Charcoal 12.0
Chrome 12.0
Cineon 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Clouds 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Color Halftone 12.0.2
Colored Pencil 12.0
CompuServe GIF 12.0.2
Conté Crayon 12.0
Craquelure 12.0
Crop and Straighten Photos 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Crop and Straighten Photos Filter 12.0.2
Crosshatch 12.0
Crystallize 12.0.2
Cutout 12.0
Dark Strokes 12.0
De-Interlace 12.0.2
Difference Clouds 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Diffuse Glow 12.0
Displace 12.0.2
Dry Brush 12.0
Eazel Acquire 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Embed Watermark 4.0
Extrude 12.0.2
FastCore Routines 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Fibers 12.0.2
Film Grain 12.0
Filter Gallery 12.0
Fresco 12.0
Glass 12.0
Glowing Edges 12.0
Grain 12.0
Graphic Pen 12.0
Halftone Pattern 12.0
HDRMergeUI 12.0
IFF Format 12.0.2
Ink Outlines 12.0
JPEG 2000 2.0
Lens Blur 12.0
Lens Correction 12.0.2
Lens Flare 12.0.2
Lighting Effects 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Liquify 12.0.1
Matlab Operation 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Measurement Core 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Mezzotint 12.0.2
MMXCore Routines 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Mosaic Tiles 12.0
Multiprocessor Support 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Neon Glow 12.0
Note Paper 12.0
NTSC Colors 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Ocean Ripple 12.0
OpenEXR 12.0.2
Paint Daubs 12.0
Palette Knife 12.0
Patchwork 12.0
Paths to Illustrator 12.0.2
PCX 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Photocopy 12.0
Picture Package Filter 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Pinch 12.0.2
Pixar 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Plaster 12.0
Plastic Wrap 12.0
PNG 12.0.2
Pointillize 12.0.2
Polar Coordinates 12.0.2
Portable Bit Map 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Poster Edges 12.0
Radial Blur 12.0.2
Radiance 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Read Watermark 4.0
Reticulation 12.0
Ripple 12.0.2
Rough Pastels 12.0
Save for Web & Devices 12.0
ScriptingSupport 12.0.4
Shear 12.0.2
Smart Blur 12.0.2
Smudge Stick 12.0
Snap Art 3 3.0.0
Solarize 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Spatter 12.0
Spherize 12.0.2
Sponge 12.0
Sprayed Strokes 12.0
Stained Glass 12.0
Stamp 12.0
Sumi-e 12.0
Targa 12.0.2
Texturizer 12.0
Tiles 12.0.2
Torn Edges 12.0
Twirl 12.0.2
Underpainting 12.0
Vanishing Point 12.0
Variations 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Water Paper 12.0
Watercolor 12.0
Wave 12.0.2
WIA Support 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
Wind 12.0.2
Wireless Bitmap 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])
ZigZag 12.0.2
Plug-ins that failed to load: NONE
Flash:
Yale
Gallery Wrapper
Edge FX CS5
Analog Photo FX
Mini Bridge
Kuler
Access CS Live
CS Review
CS News and Resources
Installed TWAIN devices: NONEkrwebb wrote:
The operating system has no problems with the filenames ... it is Photoshop that is not handling the names correctly.
Just tried this out on my Windows 7 64 bit system, and I get the same results using Photoshop.
When I save a file in Photoshop CS5 64 bit with the name 047. Crayon - Abstract the file is saved as 047. Crayon - Abstract without a file extension, no matter what document type I select in the drop-down.
In Word I get the expected result:
When I save a file in Word with the name 047. Crayon - Abstract the extension is automatically added (047. Crayon - Abstract.docx)
Maybe you are looking for
-
I've got a problem with my iPod colour...I've just bought a new iPod and then i wanted to clear iTunes AND iPod updater. But the problem is that the iPod updater won't unistall. There's a warning saying: internal failure Error Number: 0x80040707 Desc
-
Program wont start fatal error:
When I start dreamweaver I get a fatal error XML parasing fatal error: Invalid document structure line: line:, file: C:\users\hh\appdata\roamimg\adobe\dreamweaverCS5.5\en_us\configuration\workspace\app developer.xml This program used to work thought
-
Hi, anyone can explain the "sh class-map list type qos" in XR platforms ? is this command used to know how many types of class-maps configured in one router ?
-
ITunes 100% completely broken
So, I get home from class today and turn on iTunes (v.7.1.1). the program stays open for about 30 seconds and then quits unexpectedly. It asks me to reopen or send a report. I reopen. Nothing happens. It asks me to try again or send a report. I tell
-
Hi, My program works fine initially, but it encounters the following error after running the program for sometime. It can occur at any time and page, thus cannot be predicted. My program is actually of j2ee structure where it will read from a .txt fi