Importing topics overwrites existing image files

Whenever I import a topic from one project into another,
RoboHelp 6 does not check my existing image filenames to make sure
it doesn't overwrite an image with the same name. This happens even
if I create a new folder in the destination project and import into
it. I would expect that it would import the images into that same
folder, instead of overwriting the existing image files.

I'm afraid RH doesn't work like Windows Explorer. The only
way around this is to rename the file being imported or the image
file in the project into which the other files are being imported.
Remember to do this inside your RH project though ;-)

Similar Messages

  • How do you configure AME CS5.5 to overwrite existing output files?

    How do you configure AME CS5.5 to overwrite existing output files?  So far the only options I have found are to increment the output file name or fail.  From the explaination of file increment I would have expected overwrite to be the alternative.  We work daily with the same file(s) on an hourly basis and convert via watch folder to over a dozen file types and network mapped destinations.  Re-using the same file name is critical to the final project (updating website content). Does anyone have any suggestions?

    Has there been any updates on overwriting output files in CS6? This would be extremely helpful.

  • Need advice on how to import / store existing image files into LR etc.

    Hi,
    I am just beginning to use LR 2.3 and I want to start correctly....
    I have been pondering how to begin and I was hoping some of you might point me in the right direction.
    1. I have all of my RAW files on my Mac's desktop and they are organized at the top level by each of the 2 cameras they were taken with and then the sub folders of each organized chronologically with each subfolder titled by the location or subject of the images matter within each folder.
    I want to import these into LightRoom 2.3 in a manner which will preserve this taxonomy. I also want to convert these RAW images into DNG files on import. How do I set up LR2 to do this?
    2. I want the Lightroom files and the image files to live on my external Caldigit eSATA VR drive. This drive is actually 2 disks set to mirror as hardware RAID 1 so it is essence its own backup if one disk dies. How do I point LR to create and store the DNG files on this external drive and then set LR2 to back up so that the LR datafiles also live there? Would you say this is a good way to set this up or should the LR datafiles ( previews etc. live with LR on the OS drive??
    Is RAID 1 as safe as backing up to 2 different HD's?
    Is it best to convert to DNG ( I like the fact that any LR image data is stored with the DNG and is not a sidecar file which could get seperated) or convert to DNG with orginal RAW file incorporated? How massive do these get?
    Is it best to use LR2's backup utility and exclude the LR data from the Time Machine backup?
    Sory for the long question...

    >1. I have all of my RAW files on my Mac's desktop and they are organized at the top level by each of the 2 cameras they were taken with and then the sub folders of each organized chronologically with each subfolder titled by the location or subject of the images matter within each folder.
    >I want to import these into Lightroom 2.3 in a manner which will preserve this taxonomy.
    >I also want to convert these RAW images into DNG files on import. How do I set up LR2 to do this?
    On the Import Photos Screen, pick "Copy photos as Digital Negative(DNG) and add to catalog" from File Handling drop-down at top of screen.
    If your photos are organised as:
    Photos - Camera 1 ...
    - Camera 2 ...
    then Lightroom will reflect that folder view in its Folders panel. Also, when converting to DNG you get to choose destination folder (answers part of your question 2) and multiple organisation choices including "Organize by Original Folder"
    (Take a look at Chapter 4 of the help file for more information: http://help.adobe.com/en_US/Lightroom/2.0/lightroom_2_help.pdf)
    2. I want the Lightoom files and the image files....
    Create your catalog on that drive. Move your images to that drive before importing them, and when converting to DNG on import, choose a folder on that drive as destination on import screen.
    >Is RAID 1 as safe as backing up to 2 different HD's?
    No. RAID 1 is a simple mirror of 1 drive on another; so if you delete a file on drive, it is also deleted from both drives. Likewise, if a file is corrupted on one drive it will also be corrupted on the mirror. RAID 1 is good as a safeguard against single-drive failure; your data will be available from the remaining drive, but it is not a safeguard against user error or file corruption.

  • How to import programmatically an APEX images file using workspace images option and CSS files to APEX?

    Oracle db 11gR2
    Oracle APEX 4.2.1
    Linux RHEL 6.3
    I am importing a images file programmatically into APEX.  And also a CSS file.
    I want to add an images file to my APEX instance but I want to choose the option -- workspace images --.  How does one do that programmatically via the APEX API e.g.?
    I don't want the images tied to an application within APEX.
    Does one do the same thing for CSS files that are imported to APEX?
    thx.

    This is interesting and helpful,  I use the following code to import my APEX database application and run it via SQL*Plus and it works fine for database applications -- what do I need to change/add/modify in order to load the images and CSS files?  NOTE: I want the images to be -- Workspace images -- not tied to any application.  Also, I need to handle the situation where the images and CSS data already exist in the APEX environment as well as when they are not there (i.e. initial install).  Usually it is a case where it is an upgrade so the data already exists in the APEX app and just needs to be updated.
    declare
                      v_workspace      varchar2(35)    := 'WORKSPACE';
                      n_existing_app   number          := 123;
                      n_new_app        number          := 456;
                      v_app_alias      varchar2(35)    := 'WKALIAS';
                      v_parsing_schema varchar2(35) :='WORKSPACE_PARSE';
                      n_secgrp_id      number;
                      v_err_msg        varchar2(200);
                      n_err_num        number;
                      n_workspace_id   number;
                    begin
                      -- get workspace id
                      select workspace_id
                      into n_workspace_id
                      from apex_workspaces
                      where workspace = v_workspace;
                      -- set workspace id
                      apex_application_install.set_workspace_id (n_workspace_id);   
                      -- set security group
                      apex_util.set_security_group_id (p_security_group_id => apex_application_install.get_workspace_id);
                      -- set pasring schema
                      apex_application_install.set_schema(p_schema => v_parsing_schema);
                      -- delete existing app
                      begin
                        wwv_flow_api.remove_flow(n_existing_app);
                      exception
                      when NO_DATA_FOUND then -- do nothing when the application does not exist
                        null;
                      end; 
                      -- set new app id
                      apex_application_install.set_application_id(p_application_id => n_new_app);
                      -- generate offset
                      apex_application_install.generate_offset;
                      -- set application alias
                      apex_application_install.set_application_alias(p_application_alias => v_app_alias);
                      exception
                      when others then        
                        n_err_num := SQLCODE;
                        v_err_msg := SUBSTR(SQLERRM, 1, 200);
                        dbms_output.put_line('Error number = ' || n_err_num);     
                        dbms_output.put_line('Error message = ' || v_err_msg);
                    end;
    @newapp.sql
    commit;

  • Essbase Data Export not Overwriting existing data file

    We have an ODI interface in our environment which is used to export the data from Essbase apps to text files using Data export calc scripts and then we load those text files in a relational database. Laetely we are seeing some issue where the Data Export calc script is not overwriting the file and is just appending the new data to the existing file.
    The OverWriteFile option is set to ON.
    SET DATAEXPORTOPTIONS {
         DataExportLevel "Level0";
         DataExportOverWriteFile ON;     
    DataExportDimHeader ON;
         DataExportColHeader "Period";
         DataExportDynamicCalc ON;
    The "Scenario" variable is a substitution variable which is set during the runtime. We are trying to extract "Budget" but the calc script is not clearing the "Actual" scenario from the text file which was the scenario that was extracted earlier. Its like after the execution of the calc script, the file contains both "Actual" and "Budget" data. We are not able to find the root cause as in why this might be happening and why OVERWRITEFILE command is not being taken into account by the data export calc script.
    We have also deleted the text data file to make sure there are no temporary files on the server or anything. But when we ran the data export directly from Essbase again, then again the file contained both "Actual" as well as "Budget" data which really strange. We have never encountered an issue like this before.
    Any suggestions regarding this issue?

    Did some more testing and pretty much zoomed on the issue. Our Scenario is actually something like this "Q1FCST-Budget", "Q2FCST-Budget" etc
    This is the reason why we need to use a member function because Calc Script reads "&ODI_SCENARIO" (which is set to Q2FCST-Budget) as a number and gives an error. To convert this value to a string we are using @member function. And, this seems the root cause of the issue. The ODI_Scenario variable is set to "Q2FCST-Budget", but when we run the script with this calculation function @member("&ODI_SCENARIO"), the data file brings back the values for "Q1FCST-Budget" out of nowhere in addition to "Q2FCST-Budget" data which we are trying to extract.
    Successful Test Case 1:
    1) Put Scenario "Q2FCST-Budget" in hard coded letters in Script and ran the script
    e.g "Q2FCST-Phased"
    2) Ran the Script
    3) Result Ok.Script overwrote the file with Q2FCST-Budget data
    Successful Case 2:
    1) Put scenario in @member function
    e.g. @member("Q2FCST-Budget")
    2) Results again ok
    Failed Case:
    1) Deleted the file
    2) Put scenario in a substitution variable and used the member function "@member("&ODI_Scenario") and Ran the script . *ODI_SCENARIO is set to Q@FCST-Budget in Essbase variables.
    e.g. @member("&ODI_SCENARIO")
    3) Result : Script contained both "Q1FCST-Budget" as well as "Q2FCST-Budget" data values in the text file.
    We are still not close to the root cause and why is this issue happening. Putting the sub var in the member function changes the complete picture and gives us inaccurate results.
    Any clues anyone?

  • Is there some way to import image files directly into an open document?

    Is there some way of importing a series of image files, say jpegs, directly into an open document, rather than having to open all the image files and having to drag and drop each individual one into the open document? Specifically, I'm a dentist and I often get digital xray images emailed to me from other offices. But they come as 16 or 18 individual image files and I have to put them into a virtual "xray mount", so I can view them all at once, rather than having to open all the images and toggle among them. So I open a blank document in PS (CS4), then I navigate to the folder containing all the image files I received, select all of them and open them all. Back in PS, I now have to select each image tab and drag the image into the blank "mount" and close the image. That new image then becomes its own layer in the "mount" document. But I have to repeat this 18 times for each patient! I was thinking if there was a way to open the new "mount" document then select all the image files and somehow "import" all the image files directly into document - essentially "automate" the process - that'd save me BOATLOADS of time and aggravation! Anyone out there have any suggestions? Thanks alot!! Dr. G.

    Thanks, Curt! When u say "animate" do u mean File | Automate...? Inside Automate, I can't find "Make Frames from Layers"...if you do mean "Animate" I can't find that menu. Zeno replied with a BRILLIANT clarification:
    <<Yes, but after you've got all your images as layers in a new document you can simply Select->All Layers and then drag them all to your document in one fell swoop.>>
    I tried that and it works like a charm! I select all 20 layers in the new document that "stacking" creates and just drag them all onto the virtual "mount" document. That's it! Then I just move each of these layers around as I would otherwise...it's just 1 click and 1 drag/drop. Unless someone comes up with a way to actually "import" all the images directly into the "mount" document, I think this appears to be the most efficient route to follow.
    I really appreciate your guys' assistance! It's so great that you guys monitor the forum and help us out with our Photoshop problems! What an awesome program it is, right?
    Thx again!
    Leon

  • Changing image file names

    hi all.
    can anyone help me find a thread (can i run a search somehow in ("Your Stuff"?) where folks were kind enough to help me understand how to change file names?
    i am reading through some help documentation on Batch Change but i am trying to remember what i should be doing to most efficiently solve my problem.
    basically i have images in aperture which have non-sensical names related to their originally existing in a pc folder organization originally and i would like to both rename them in aperture but also be able to have them EXPORTED to my desktop so i can upload them to the web with some reasonable sounding title such as "client1-town1-HousingType-FirmName-photographer.png" or something similar. right now the images i want to publish are ORGANIZED IN ALBUMS and have names like "folio_construction_other_turtle_134543.png"
    i think i WOULD LIKE to change the name of the master but i am not totally sure about this and when i run a Metadata > Batch Change and pull down version name i get selections that i do not fully understand.
    https://www.dropbox.com/s/yvu1u7eskbmhcik/Screen%20Shot%202012-12-03%20at%201.58 .46%20PM.png
    i /am/ familiar with a handle little tool called Name Mangler which basically allows me to easily delete all the PREFIX information (such as "folio_construction_other_turtle" and then to pre-pend something like "client1-town1-HousingType-FirmName-photographer" in front of the image number which would be ideal...
    apologies for asking this again but until i get through it once i am finding it all a bit tricky.
    THANKS

    Hi Leonie.
    Thank you so much. I am going to be doing a lot of this and just so i understand:
    Delete the images you exported and renamed from your Aperture library before reimporting, to avoid creating duplicates. When deleting from the album that you used to export, use the command "delete version", not "delete from album". Do not delete the projects that the images came from, only the images.
    Can you help me understand which images i am deleting? I mean, is there a way to delete just the images in the ALBUM because if i have to go in and delete the images from a Project there are going to be a lot more images in the Project and it is going to be very hard to tell which images have been renamed and which have not been renamed. If i have to do this by deleting the images in the Project, i suppose i could use one of your suggestions to color all the images in an ALBUM, say yellow, and then see where the images show up in Projects but even then i think it will be a bit tricky. Are you saying i can just delete the images in the ALBUM by doing "Delete Version"?
    Use "File > import" to reimport your image files. I'd put all images that shall be imported into the same project into one folder, and then import each folder on its own.
    OK. So - well - so now i am importing all of the images that i originally had in the Database and they are /basically/ (i moved the folder organization around a little bit while the images were on my desktop in this first attempt...) - they are basically getting IMPORTED into Aperture now with the "new" images coming into the database into a new Project that is named according to the Album that they were in?
    This is a little tricky for me. Will the old Albums still exist? What if i had more than one Album with an image in it. Also, this "new" image will be in a /new/ Project but will it still be in the OLD PROJECT with the old name? Or, i guess i am getting a little confused as to how this will work.
    Select the project in the Library Inspector, that you want to import the folder of images into, then set the "Destination" in   "Import settings > Aperture Library" brick to this project  and set "Store Files" to "In the Aperture Library".
    OK. I can try this here soon. What does Store Files in the Aperture Library do? I guess these images are getting imported as if they are new and they are getting imported with no external references?
    Set "Rename files" to "None" or "version name". Both will keep the name you edited.
    OK. Not sure i totally understand but i can try this as well. I guess this is making sure Aperture will keep the original names.
    THANKS

  • Import Problems and Missing Images

    Hi
    Firstly apologies for this being so long and so detailed, but I wanted to include as much as possible to narrow down options.
    I'd like to say before describing the problem(s) that I use lightroom 2 and have not knowingly changed any settings since I started using it last year.
    It seems I've been having a problem with Importing and haven't been aware of it. I wondered if anyone can throw any light on the situation, or help pinpoint the problem(s) and provide any solutions. All images I've imported since starting with Lightroom have been stored in folders according to date taken.
    Today I tried importing photos all taken on the same day, on the same memory card. The images had never been imported, or on the computer before. I used import from device and left it to get on with it. When I checked back, only five images seemed to have been imported and three other image file names were shown with grey boxes.most of the images had not been imported, so I started import again.
    This time all the remaining images were imported. However, when I looked across at the 'Folders' list there were now two. Previously I had only ever noticed/used one. The names of the two are "Local Disk (C:)" and "Backup (D)". The first only has three folders in it from July and September 2009. One of these contains the images from the restarted import. They all seem fine. The second [Backup (D:)] contains all othet folders since 2002 and a folder with the first five of today's images.
    The five images from today in "Backup (D:)" are all blurry. Also, when I try to open them I get the following messages. Either "The fie appears to be unsupported or damged" or "The file named IMG... is offline or missing". Although I was concerned, I decided to leave it and look into it later. I then started to work on some photos I'd taken in July, in the folder shown in list "Backup (D:)". All these photos came from a different camera and different type of memory card.
    Halfway through reviewing these images I came across lots of greyed out boxes each with a file name corresponding to photos I had taken. When I click on any of the greyed out boxes, or one of the perfectly clear images I get the same message as above for the five images from today. If I open one of the images from July in Develop and click on 'File' there is no 'export' option. I haven't had time to check yet, but suspect there may be more folders like this one. (Big sinking feeling!)
    Again, apologies for the long description of the problem, but if anyone can help with any of the following questions I'll be very grateful.
    Why has this problem started to occur with 'import' and any suggestions for rectifying it, apart from checking all images straight after importing?
    Even though I have very sharp images in 'Library' and 'Develop' for the July images, have I lost them? If not, where can I find them, or how can I export them? It may be worth mentioning that the memory card the images were originally on has been formatted and I think used since.
    Finally, how can I get back to one safe working list of folders. This includes how do I get the working ones in both lists into one?
    Thanks for reading this and I look forward to any suggestions for any of the problems.
    Graham

    Hi
    An update on the situation. First some more information that may be of relevance later. I started out with LR1 and updated to 2 when it became available. There were a couple of glitches, but when I did, I just imported the settings directly from 1. I can not remember any of the settings I specified now. On my computer I use two physically seperate hard drives, with the 'D' drive being for backups.
    Back to the problem. We can now eliminate faulty files or images. After some exhaustive searching all of my photos are well and healthy in a folder I created in 'My Documents" called "Photos" (how original). In that folder there are sub-folders with dates only and others with names like "imported in 2009 20th July". Each of these folders contains the images imported in to LR on that day (not taken on that day).
    I also have a folder on the 'D' drive called 'Lightroom' that has lots of sub-folders with dates. These contain images imported into LR and are all sorted according to the date taken. I assume that this must be the automatic backup. when I tried to open the folder for the July images that were faulty in LR, I got a 'corrupted' message. The original images are all fine on the 'C' drive in the 'Photos' folder. I'm assuming the corruption probably occured on backup.
    Please correct me if I'm wrong, but this leads me to believe that the issue in LR for me is a database/catalog one. In my first post I explained that under 'Folders' I have somehow regently aqquired a second option ("Local Disk (C:)" and "Backup (D:)"). I only recently noticed this and previously had only one list with folders. What I now need is help in getting LR to offer me the options of the images in "Photos" on the 'C' drive.
    When I go to "File\Recent" in the catalog section of LR I'm offered two options.
    The first is "Lightroom 2 Catalog-2.Ircat-(Filepath to Lightroom)\Backups\2009-09-05 1155" This option is ticked.
    The second is "Lightroom 2 Catalog-2.Ircat-(Filepath to Lightroom)" This option is not ticked.
    When I look in the "Lightroom" folder, that I assume LR created in "My Documents" I can see a sub-folder that relates to the first option in the "Backups" folder.
    I'll post this now, but if detailed information about all the folders, sub-folders and files displayed in the "Lightroom" folder could help, I could provide it.
    Thanks again for reading this and the help/suggestions so far. Any thoughts, suggestions, or solutions will be much appreciated.
    Graham

  • EXPDP overwrite existing

    Hello everyone.
    I would like to ask if there is a way for expdp to overwrite existing dmp files in data pump dir?
    Best regards
    Marcin Migdal

    Hi!
    Look here:
    [http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#sthref96]
    You can not overwrite a dumpfile but maybe using substitution variables will also solve your problem.
    yours sincerely
    Florian W.

  • Topic title overwritten with file name when importing html-file

    I have a problem in RH8. When I import a html-file that has a topic title that is different to the file name, RH somehow overwrites the topic title with the file name. The html-files that I need to import into my help project DO have a topic title (with the html tag 'Title') so this is not caused by an empty og non-existing title tag.
    I have searched the forum and found that this was also an issue in RoboHelp 6 and by then fixed in a service pack. I have long ago installed the two service packs to RH8, but I can see in the 'read me' for the service packs, that this has not been dealed with.
    I also have RH 7 installed on my pc, and the problem does not occur in a RH 7 help project.
    Best Regards

    Yes, I am sure I am not mixing up Topic Title and Topic Heading.
    The files are generated in a Access database created by our own developers. We have used this database for generating html-files for our RH-projects for years without any problems.
    Below I have copied the HTML code from one of theese files (with the file name '10001.htm') before importing it into RH8:
    <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
    <html>
    <head>
    <title>
    Agreement
    </title>
    <LINK rel='StyleSheet' href='default.css'>
    </head>
    <body>
    <h1>
    Agreement
    </h1><p>
    An agreement is a written obligation between a project and a contracting party regarding the
    participation in the project, delivery to the project, or transfer of the project&#39;s products
    and services. Please see Vejledning: Aftaler og aftaleparter.
    </p>
    </body>
    </html>
    And after importing it to RH8:
    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="generator" content="Adobe RoboHelp 8" />
    <title>10001</title>
    <link rel="StyleSheet" href="default.css" type="text/css" />
    </head>
    <body>
    <h1>Agreement</h1>
    <p>An agreement is a written obligation between a project and a contracting
    party regarding the participation in the project, delivery to the project,
    or transfer of the project's products and services. Please see Vejledning:
    Aftaler og aftaleparter.</p>
    </body>
    </html>

  • Lightroom Unable to Import HDR Image File Opened as Smart Object

    I just started using Nik HDR Efex Pro and created an image file in PS CS4 Extended which was opened as a smart object and saved to play around with later.  The image shows up in Photoshop as "[image number]_hdr.tif" and both PS CS4 Extended and CS5 have no problem opening it.  But I cannot import it into LR3.  LR3 gives me a dialogue box which says in effect that the image file cannot be imported because it is corrupt or unsupported.  I am guessing the latter because (perhaps) as a smart object the image file is 32bit(?)  In any event, has anyone tried and had luck importing to LR3 in this circumstance?  Is it "operator error" or just something LR cannot handle?  Also, if you have encountered this problem, do you have a workaround?  Thanks in advance.

    Hi,
    The backend for middleware should be same as what it was in MI.
    the erro comes when the corrosponding structure in a bapi doesnot exists in current backend.
    Please check if the structure ZEFLMI_DOC_HDR_T51 exists in backend.
    Thanks,
    Rohit

  • My image files will NOT show up when I import them

    I CANNOT see my image files when I import them. This is the case regardless of whether I import them directly from my image files, or from my Flash library. They WILL NOT show up in the stage area, although the panel on the right shows the file! What can I do to correct this? I am using Flash CS4 which I need for my Digital Design classes through the Art Institute of Pittsburgh! I will FAIL this course if I can't get this program to work properly!!

    Here are a few things to check:
    Do you have anything else on Stage that might be covering them up? Is your target layer locked? Is the layer visibility turned off?
    Are you doing this in an existing document, or a brand new document?

  • Question on importing existing Images from 2.2.2

    What is the easiest way of importing existing images from OVM2.2.2 to OVM3.0.3 , would it work if I just import the .img files as disks and 'create virtual image' with them? Currently I zip them up and import as templates, but thats very slow process.

    Thanks for the quick reply, I've just been told they now want a code 39 code instead of ITF. This means I should be able to import a CSV file and convert it to the code 39 font which technically solves my problem. If I create linked text boxes and import the barcode data it should all fall in to place.
    Appreciate the help Haakenlid

  • RoboHelp does not ask if I want to overwrite existing files

    I got a new laptop this week so I had to re-install RoboHelp 8 on my new laptop.  I also installed the two patches available for RoboHelp 8 as well.
    When I import .htm files into my RoboHelp Project it is overwriting existing files without asking me if I want to overwrite any existing files.  It is also overwriting my style sheet if the file came from another project with the same style sheet name.  I cannot figure out how to configure RoboHelp so that it will always ask me if I want to overwrite a file if an file with the same name already exists in my project.
    I've never had this issue in the past with any version of RoboHelp or with RoboHelp 8.0.2.208.  Any idea on how to configure RoboHelp so it will ask me if I want to overwrite existing files?

    I just ran a test and the first import did not issue any warnings but it would not have overwritten anything. The next import did issue the expected warning in respect of files that would be overwritten.
    There is nothing to configure but it does appear to be working as expected.
    Try importing the same htm file twice into the same project, create a test project for the purpose.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • If image file not exist in image path crystal report not open and give me exception error problem

    Hi guys my code below show pictures for all employees
    code is working but i have proplem
    if image not exist in path
    crystal report not open and give me exception error image file not exist in path
    although the employee no found in database but if image not exist in path when loop crystal report will not open
    how to ignore image files not exist in path and open report this is actually what i need
    my code below as following
    DataTable dt = new DataTable();
    string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
    using (SqlConnection con = new SqlConnection(connString))
    con.Open();
    SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
    cmd.CommandType = CommandType.StoredProcedure;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    foreach (DataRow dr in dt.Rows)
    FileStream fs = null;
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dr["Image"] = imgbyte;
    fs.Dispose();
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();
    and exception error as below

    First: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
    Second : Drag And drop this image Filed Where I want.
    private void LoadReport()
    frmCheckWeigher rpt = new frmCheckWeigher();
    CryRe_DailyBatch report = new CryRe_DailyBatch();
    DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
    DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
    DataTable dt = GetImageRow(table, "Footer.Jpg");
    report.SetDataSource(dt);
    crv1.ReportSource = report;
    crv1.Refresh();
    By this Function I merge My Image data into dataTable
    private DataTable GetImageRow(DataTable dt, string ImageName)
    try
    FileStream fs;
    BinaryReader br;
    if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    else
    // if photo does not exist show the nophoto.jpg file
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    // initialise the binary reader from file streamobject
    br = new BinaryReader(fs);
    // define the byte array of filelength
    byte[] imgbyte = new byte[fs.Length + 1];
    // read the bytes from the binary reader
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dt.Rows[0]["Image"] = imgbyte;
    br.Close();
    // close the binary reader
    fs.Close();
    // close the file stream
    catch (Exception ex)
    // error handling
    MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
    return dt;
    // Return Datatable After Image Row Insertion
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

Maybe you are looking for

  • Can't use my new iPhone 5 cause of incorrect software!

    Hi, I have a Macbook 4,1 using OSX verion 10.5.8. I have just purchased an iPhone 5 and I have tried to restore this to my iPhone 4s' last backup but it says that I need iTunes 10.6.8 or later. I have tried to download this but it then says that I ne

  • Selecting an entire row with the help of Checkbox

    Hi and Evening to Everybody, I have a Scenario where i need to select an entire row using the check box. Let me first define the Situation. I created a Simple Sql-report where the first column is a Simple Checkbox and the second column is a display o

  • Need guidance for impdp

    Hi all, I have a situation here. I am a table dump from production which i need to import in the test database. In the production the tables are having some constraints,indexes,triggers etc the test databases also have the triggers,constraints and in

  • What happened to drag and drop in Lion?

    Before Lion I dragged photos and movies out of iPhoto onto my desktop, now when I do that they disappear. Do I have to use export now? That seems like a long work around. Anyone have any suggestions?

  • Help changing fqdn?

    When I set up my server, I used the fqdn for our school website, which was fine except that the website is hosted elsewhere, and so when someone inside the school tries to go to school website (which I would like everyone to use as home page) the ser