Save image with SaveToFile() method

Hello Guys,
I have a signature pad which works with vb script. It works fine but when I add SaveToFile method to it it gives me errors.
the vb script is as follows:
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft FrontPage 4.0">
<TITLE></TITLE>
<SCRIPT language=vbscript>
          'declare a variable to hold the signature data
          dim SignData
          sub ClearSign()
               'ClearSign() method clears the signature on the IntegriSign Control and all the associated data
               window.document.IntegriSign1.clearsign()
          end sub
          sub GetSignData()
               'GetSignData method of IntegriSign returns the complete data associated with the signature.
               'this data can be used to reproduce the signature at a later time using OpenSign() method
               SignData=window.document.IntegriSign1.getsigndata()
          end sub
          sub OpenSign()
          if signdata<>"" then
               window.document.IntegriSign1.OpenSign(Signdata)
          end if
          end sub
          </SCRIPT>
</HEAD>
<BODY leftMargin=0 topMargin=0>
<form name=integrisignfrm>
<center>
<TABLE cellSpacing=1 cellPadding=1 width=386
align=left border=0 height="399">
<TR>
<TD height="24">Signature:</TD>
<TD height="24"><OBJECT id=IntegriSign1 classid=clsid:12F4A97E-21DD-11D4-AE59-0050BAD438CD VIEWASTEXT width="170" height="90"></OBJECT></TD>
</TR>
<tr>
<TD height="40"><INPUT id=cmdGetSignData onclick="GetSignData()" type=button value="Get Sign Data" name=cmdSetSignerDetils1 style="WIDTH: 135px; HEIGHT: 24px" size=46></TD>
<TD height="40"><INPUT id=cmdClearSign onclick="ClearSign()" type=button value="Clear Sign" name=cmdClearSign style="WIDTH: 135px; HEIGHT: 24px" size=46></TD>
</tr>
<tr>
<TD height="40"><INPUT id=cmdOpenSign onclick="OpenSign()" type=button value="Open Signature" name=cmdOpenSign style="WIDTH: 135px; HEIGHT: 24px" size=46></TD>
</tr>
</TABLE>
</center>
</form>
</BODY>
</HTML>
This works fine but when I add these two lines to it it stops working.
In the head:
sub SaveToFile()
window.document.IntegriSign1.SaveToFile("C:\Documents and Settings\user\Desktop\Sign.JPEG", 170, 110, eSign3.FILETYPE.JPEG)
end sub
in the body:
<tr>
<TD height="40"><INPUT id=cmdSaveToFile style="WIDTH: 135px; HEIGHT: 24px" onclick=SaveToFile() type=button size=46 value="Save To File" name=cmdSaveToFile></TD>
</tr>
What I want to do is get the signature and save it to the file in my hard drive but it doesn't work. Any help please!!! I appreciate your help.
Thanks,
Atousa
Edited by: Atousa.M on Aug 25, 2011 4:17 PM

Atousa.M wrote:
I have a signature pad which works with vb script. It works fine but when I add SaveToFile method to it it gives me errors.Since neither my brain nor my computer contain a VBScript interpreter I am unable to determine what these errors are. Tip: when asking a question relating to error messages, it is usual to include the error messages.
Furthermore, the question does not appear to be on topic for this forum: the place for questions about Microsoft proprietary products is surely a Microsoft forum, rather than an Oracle one?

Similar Messages

  • PSE 11 - How save image with printer color profile?

    I use an outside service to make prints. How can I save an image in PSE 11 in either TIFF or JPEG format with the color profile for the outside lab's printer? Thanks.

    You can print a photo using the correct printer profile for the lab printer. In the print dialog box , go to "Page Option>Color Management" and then choose Color Handling as "Photoshop Managers color". Now click the printer profile dropdown and choose the profile for your lab printer. If you are not able to find the profile for you printer  then choose "Printer Manages Color"
    To your second question the answer is that you cannot save the image with the correct colors for printing. You can only convert the profile of your image to Adobe RGB which matches gamut of most printer profiles using "Image Menu>Convert Color Profile and choose Adobe RGB.

  • Can't save image with Photoshop.

    We do often have a issue where we can not save the open image in Photoshop CS 6. To this day the problem appears when the image contains Adjustments Layers with Layer Masks.
    It does not matter if we try to save the image locally or on a network volume, we do only get a prompt telling us there is a Program Error. Trying to save as TIFF with layers instead of the preferred PSD format
    does not make any difference also.
    If we create a new image and copy all layers with masks and all the photoshop paths, this image can be saved and the original image can also be saved if we do a flattening prior to saving.
    I do believe this is a bug in photoshop and has nothing to do with corrupted images or other computer related issues. We are working with Macintosh and experience this problem in both Mac OS 10.8.5 and 10.9.3

    JPG compression does not support transparency, I think you
    have to convert it to png of gif first.

  • Save image with histogram clipping

    I really like the way some of my images look when I set the histogram to show clipping. I'd like to save the images in that state (with the clipping showing: red for white, blue for black). Can anyone tell me how to do this?   Many thanks in advance!

    Take a screenshot if quality is not the first concern.
    And reimport this in LR.
    Otherwise Photoshop can do that, though you will need to mask the whites and the blacks and fill in the color by yourself.
    Frans

  • Trying to save image with opacity changed, but no transparency is save with png

    I'm saving it as png24, the transparency box is checked. Here are the steps I'm following:
    1. In layers window, right click on layer and select blending options.
    2. Add outer glow effect and just take the defaults.
    3. Back in layers window, I open the layer effects dropdown and select linear dodge (add)
    4. Slide the opacity level down to 85%. Image now looks as I want it.
    5. Save for web, transparencey box is checked, saving as png24, image looks correct in the save window.
    6. Save the file.
    Now when I open the file in Preview(Mac), or download it to the android app I'm writing, image shows up with no transparency, opacity is at 100%.
    What I am doing wrong?
    Thanks for any help.....

    Preview just shows transparency with a gray background. And I'm not sure how your android app would show it.

  • Default Image with created Method on HTML Client

    Hi,
    I have an entity called "Users" and I would like to show a default image for the user when New User screen appears.
    Somebody knows how to achieve that on the "created" method of entity for HTML (JavaScript)?
    Thanks in advance!
    Jesús

    HI Helmut,
    When you help secure your application, the final step is to publish it. When you publish for the first time, you must provide authentication information for a default administrator. When you publish again, you don’t have to repeat this step.
    To provide authentication information when you publish an application
    1.  
    In the LightSwitch Publish Application Wizard, choose the Security Settings page, and then choose the Yes, create an Application Administrator option button.
    2.  
    In the User Name text box, enter a username.
    3.  
    If you’re using Windows authentication, you must specify a valid Windows logon name that has the form Domain\Username.
    For this issue, you can also repair your Lightswitch, and check whether it helps fix it.
    For this issue, here are a few suggestions that might help:
    •Clean and Rebuild - Cleaning and rebuilding your current Project (Right-click > Clean, Right-click Rebuild respective) and see if that makes any difference at all. 
    •Consider Restarting Visual Studio - If these issues are still persisting after the above steps, try restarting Visual Studio (and even your local machine
    Please let me know if there is anything that I can do to help.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Photoshop CC wont let me save image with layers as a png or jpg

    I am a beginner and just got Ps last night. I have edited a photo and only put one effect on it, stroke. When i try and save the file as a png or jpg, or really anything other than a psd it tells me that it cannot save the layers the i used in that format. How can i save my edited picture as a png or jpg or convert a psd file to jpg or png?

    If you want transparency for the web there are two choices PNG and GIF. Gif only supports 255 mapped colors when you want transparency and transparent pixels are empty 0% opacity.  PNG supports full color and an Alpha channel for transparency partial transparency is supported. GIF file are very small.
    There are also animated GIF file that browsers support.  While you can create animated png file many browsers don't support them and some browsers like Chrome have an add-on that will support animated png files. Photoshop will save Animated GIF but has no support for animated PNG.

  • Save image with transparent background

    Hello,
    I use the IMAQ vis in labview to cut out from a tif image an object that appears on a grey spotty background and paste the object on a "clean" background. Currently the "clean" background is white. The image is saved as a tif file and read in photoshop where the object is rotated to match a predefined orientation. The problem is that the white background also rotates which is not desirable. When the manipulation is done entirely in photoshop (cutout + pasting + rotation), the clean background and the object are placed in different layers. Is there a way to do this in Labview, that is to create an image where the background and the object would be read by photoshop as being in different layers? Alternatively, can the clean background be  made transparent in labview. I understand the png  files  can have a transparent background. How can I specify that the background is transparent instead of white?
    Thank you for your help
    Jean-Michel Maarek

    Hi Jean-Michel,
    It appears that this issue is already being addressed in another forum post. 
    Vu

  • I can no longer save images from websites. It starts the download. It stays in my Download manager however the image doesn't save. How can I fix this?

    When I attempt to to save an item with right click "save as" I select my directory and then click save. This brings up the download manager. However once the image has "downloaded" I cannot find the file. The file name remains in my Download manager but the file is physically not on my computer. Both the Open and Open Containing file are greyed out. I can still save Images with other browsers.

    It is possible that your anti-virus software is corrupting or removing the downloaded files or otherwise interfering with downloading files by Firefox.
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See "Disable virus scanning in Firefox preferences - Windows"
    * http://kb.mozillazine.org/Unable_to_save_or_download_files

  • Lion install did not update background/screen saver images

    I installed of Lion on my Macbook and it did not update the background/screen saver images with the new ones, anyone know why?

    Check your Macintosh HD/Applications/ folder for a program called "Install OS X Mountain Lion" and then open this to run the installer.

  • Replace apple tv 3 screen saver images?

    Is there a way to replace the default nature screen saver images with my own?

    Seasons Greetings
    Yes, choose the photos you wish to share from iTunes on your computer (file > homesharing > choose photos...) select apply/sync, then select the photos you have just chosen from the screensaver settings on the Apple TV.

  • "Save image" button of Camera Raw does not save JPEG with modifications made.

    I am using Bridge CC to process my RAW images and make modifications to some JPEG images as well.  I have no need to further alter images in Photoshop at the moment, so I do all modifications in Camera Raw. After altering my images, I then press the "save image" button at the left bottom corner of Camera Raw and choose the settings to save in JPEG.  However, when I upload these JPEG images to a website or when I email them, the image is uploaded without the modifications I had done!  It seems to me that Camera Raw is saving JPEGs the same way it does for RAW images, in a non-destructive manner, only attaching instructions for the images to be displayed properly on Photoshop. But when I save an image in JPEG, I expect the image to be saved entirely with the modifications I made while still keeping the original RAW file.  What goes on then?  What is Camera Raw doing and how do I get to save a modified image in JPEG with Camera Raw?  Would you please explain?
    Many thanks for your help,
    Beza

    Hi,
    What version of camera raw and operating system are you using?

  • How can I configure the save page mode (to save DEFAULT WITH OR WITHOUT images and other dependencies in a folder)?

    I like it that I can save webpages with or without dependencies in a separated folder. And its implementation in Firefox (e.g. it remembers how I saved something before, and that way becomes the default) can also be good sometimes. But usually it is not.
    Usually I want to save pages as HTML-only. Sometimes, but only sometimes I have to save a page as a whole (I don't know the name of the feature). But after I save something with dependencies, I often forget that, and don't care about this option. Firefox, however, doesn't forget it, and saves thousands of unimportant images, until I notice it and switch it off again.
    This is not good.
    I tried Google Chrome, which simply don't remember how I saves something before, and always select the complete page option for default. It is exactly the opposite of the perfect solution (in my opinion). The best would be if the browser would save everything as HTML only, if I don't change it. Or it would be even better if I could configure it manually (turn this remembering feature on/off).
    This is not a beginner's problem, so it would be good if only a config option solved this. I imagine that already exists a config option for this, but I could not find it. I found only the "browser.download.save_converter_index" option, which depends on how I used it last time.
    Is there a config option for this? Or should I report this in the Firefox brainstorm page?
    Thank you for your time
    D. J. S.

    That choice is remembered in the Integer pref <b>browser.download.save_converter_index</b>
    0: Web Page, complete (default)
    1: Web Page, HTML only
    2: Text files
    If you want to reset that choice to HTML only on every start of Firefox then you can use this line in the file [http://kb.mozillazine.org/user.js_file user.js]
    <pre><nowiki>user_pref("browser.download.save_converter_index", 1);
    </nowiki></pre>
    See also http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

  • Photos in my from my iPhone have same numbering as photos from my dig camera.  They all go into iPhoto fine but when I backup to my ext hard drive it will only save one with the name IMG 1002 and I have two separate images both with that name.  Help?

    Photos in my from my iPhone have the same numbering as photos from my digital camera.  They all go into iPhoto fine but when I backup to my ext hard drive it will only save one with the name IMG 1002 and I have two separate images both with that name.  How do I get them all to save on my ext hard drive and hope do I prevent this numbering overlap in the future?  I'm really hoping I don't have to go through and manually rename every single picture.  Thanks.

    How are you backing up the photos?  The best way is to backup the library itself as that will preserve your organizational efforts as well as all metadata like keywords, titles, faces, places, books, etc.
    You can use a backup application that does incremental backups.  Thus only the first backup is a full one and subsequent backups just copy those files that are new or changed. I use Synk Pro.  The lower cost version, Synk, will do the same job.  Other similar apps can be found at MacUpdate.com.  
    OR: upload your camera to a folder on the Desktop. There you can rename the files to something that is more informative than just the file name.  I use the date (international format) along with a brief desc: 2007-1-20-adian1stbday-001.jpg.  File renaming apps can also be found at MacUpdate.com.  Also you can give the folder an informatve name which will become the Event name when you import the folder of photos into iPhoto.
    OT

  • How can I save an image with background transparency as an eps in photoshop?

    I have to submit an eps of my logo and I would like it to have a transparent background. I have googled this many times, followed all of the suggestions and I'm still having trouble.

    Follow the help text in PhS CS2. I have shown importat guidelines by bold text:
    "To save a path as an image clipping path
    Draw a work path that defines the area of the image you want to show.
    Note: Paths are vector-based; therefore, they have hard edges. You cannot preserve the softness
    of a feathered edge, such as in a shadow, when creating an image clipping path.
    In the Paths palette, save the work path as a path.
    Choose Clipping Path from the Paths palette menu, set the following options, and click OK:
    For Path, choose the path you want to save.
    For Flatness, leave the flatness value blank to print the image using the printer’s default value.
    If you experience printing errors, enter a flatness value to determine how the PostScript interpreter
    approximates the curve. The lower the flatness value, the greater the number of straight lines used
    to draw the curve and the more accurate the curve. Values can range from 0.2 to 100.
    In general, a flatness setting from 8 to 10 is recommended for high-resolution printing
    (1200 dpi to 2400 dpi), and a setting from 1 to 3 for low-resolution printing (300 dpi to 600 dpi).
    If you plan to print the file using process colors, convert the file to CMYK mode.
    Save the file by doing one of the following:
    To print the file using a PostScript printer, save in Photoshop EPS format, DCS, or PDF format.
    To print the file using a non-PostScript printer, save in TIFF format and export to Adobe InDesign,
    or to Adobe PageMaker® 5.0 or later.   "
    An image with clipping path contains everything outside the path as transparent.
    Tested actually by PhS CS6.
    Photoshop is not the right tool. Better use Illustrator or InDesign (ID for logos which are not too complex).
    Graphical objects in IL or ID reside on a transparent background without any selection or clipping path
    (PostScript concept).
    Best regards --Gernot Hoffmann

Maybe you are looking for

  • How to Start with XI

    Hi every one, How to work with XI, can any tell me any article, information, getting started, configuring settings...like that.... introduction of XI.... thanku.. regards sunil

  • How to Move the Shared Services Registry to a different SQL Server

    I have an Essbase installation purely running Essbase and Financial Reporting/Web Analysis. The Shared Services database is held in SQL Server 2005 on one hardware platform and I need to move it to an alternative hardware platform also running SQL 20

  • CKEditor - Blob Display in Contributor UI - W

    Folks, We recently upgraded to 11.1.6.1. It seems like text blobs are displayed in the contributor UI as a big "W". We have to edit the asset to see the text in blob attributes. Is there a way to allow a blob/text to be displayed in the Contributor i

  • PO deletion issue

    Hello, I am trying  to delete the line item is PO against which i have done GR,IR & 922-Rejection & rejection invoice. While delecting system shows as error as " difference b/w GR & IR qty" Plz suggest.

  • My ipad mini is a little bent?

    Recently I observed that my iPad mini is a little curved at the left back side. Now this curve is so small that you cannot see it easily, unless u hold it at an angle or keep it on a flat surface. I am really worried about this because I have never d