How do you save a report from VB?

Post Author: calvin
CA Forum: .NET
How do you save an updated Crystal Report (CRXI) from a VB.Net (2005) program?
We're using the ReportDocument object model, not the CrystalViewer
& it appears there's a SaveAs method but not Save.Worse, the SaveAs doesn't seem to work. I get a convoluted error message that essentially says the file is in use, even when I'm saving it to a new filename. (The file it's referring to is the copy of the original file in the Temp directory.) I can post a screen capture of the entire error message if anyone thinks it will be useful.
Thanks.

Post Author: calvin
CA Forum: .NET
"Curiouser and curiouser. said Alice." I feel like I'm in Wonderland-the SaveAs works for some reports, but not for others. The task is to create an application consisting of a VB.Net program and a set of reports. The reports must be able to be run 'stand-alone' in Crystal Reports XI, and also to be run under control of the VB program. The report output is to go to PDF, not to be viewed online. It's absolutely amazing, to me, how little support there is for this type of thing. Why? Possibly it's considered simple-and it seems like it should be, except that some reports won't run under control of the VB program. When I got involved there had been a database change so the problem initially appeared to be running the VerifyDatabase command. (The reports being tested ran fine after they'd been fixed up in Crystal-but this wasn't expected to be the last database change so there was still a need for a programmatic fixup.) After running the VerifyDatabase command in the VB program the 'fixed' report couldn't be saved to verify that the report had been fixed-and it still wouldn't run. Now, I'm leaning towards the idea that the database change was a red herring. We've found some reports that have been fixed up but still won't run. Mostly they just 'hang'. If we get any output at all (usually after killing the application) it's the same record reported over and over. Anybody got any ideas?

Similar Messages

  • How do you save a picture from email to the iPhoto?

    How do you save a picture from email to the iPhoto?

    Click and hold on the Save button, and a menu appears, listing each attached file’s name along with a Save As button. Select any individual file, and you’ll save just that attachment to disk. But the really nice feature is the final menu item—Add to iPhoto. That’s right; with one button click-and-hold, you can add all of a message’s attached images to iPhoto.
    From Macworld.

  • How do you save an image from messaging

    How do you save an image sent with messaging In ios7 on my iphone?  I can't find the option and it does not automatically do this.

    Press on the image to bring it up full-screen and then press the export button in the bottom left and then choose where to send it or save it.

  • How do you save MP3's from Safari?

    I just recently switched from 9.1 to OSX. I'm now using Safari and I'm on a webpage with MP3's to download. The site invites you to left-click to listen to an MP3 and right-click to save it. Well, my Powerbook G4 has just the single button.
    Under 9.1, you could hold down the button for a second and you'd get a menu that included "save as". That menu doesn't appear under OSX. Safari automatically opens Quicktime within a Safari window and begins playing the MP3.
    If I try to save the MP3, Quicktime tells me I need to upgrade to QT Pro first.
    I can't believe there's not a way to save MP3's from a website in OSX without upgrading to Quicktime Pro. Does anyone know how to do it?
    By the way, these are just plain MP3 files - iTunes doesn't recognize them as Podcasts to download, so I haven't found a way to save them via iTunes either.
    John

    Control-click on them and choose 'Download Linked File'.
    Often, command-clicking on them saves the file to the download page too.
    Hope this helps.
    M

  • How do you save your music from the iPod to your pc

    I just purchased the new 5th gen ipod touch. I would like to save the music on my old 4th gen ipod onto my computer. How do I do that?

    For non-iTunes purchases you need a third-party program like one of those listed here:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • How do you save my files from the recovery HD.

    My Macbook keeps processing, so I went to the recovery hd amd mac os x utilitiles.  from this point i am trying save my files so i can erase disk using disk utility.  any ideas.

    If you have an external hard drive, you can use the Restore tab in Disk Utility to copy the contents of one disk to another.  Note that this will erase the destination drive, and may very well fail.  You could also use the command line in the Terminal from recovery mode and copy files that way, but that requires knowledge of how to use Unix filesystem commands.  You could also try connecting the Mac to another Mac via Firewire target disk mode and copy the data that way.
    Alternately, if your Mac won't start up, you could try just repairing the hard drive with Disk Utility and then installing Mac OS X on top of your existing system.  That will replace all the system files but leave your files and apps alone.  (Of course, things can go wrong in cases like this, so making some kind of backups would be a good idea.)

  • How do you save an image from Adobe Flash Scene7 (without printscreen)?

    Here is an example of what I am looking to do.
    I want to figure out how to locate and save the original (LARGE) image shown here in the zoom box.
    http://walmart.scene7.com/walmart/flash_zoom.jsp?company=WalMart&sku=15571806&config=WalMa rt/zoom_config&default=1113000251129&title=My%20Little%20Pony%20Bundle&categoryid=4171
    Any ideas?
    Thanks in advance...

    you can use the bitmapdata class'es draw() method to create a scaled image that you want.  you can then save it using one of the third party bitmap save classes and server-side script.

  • How do you stop the report from printing prior to the page you want to print. seems like a waste of

    I have an officejet 6500 E709 series printer.
    I was wondering if there is a way to have it stop printing the report prior to my page printing.  it is wasting alot of ink.  Thanks

    I think the printer doesn't do this on its own... which OS and apps are you using?
    - Although I am an HP employee, I am speaking for myself and not for HP.

  • How do you save an image from the internet to your firefox os phone

    Save images to your phone

    Hi xpdos,
    Thanks for using Firefox OS. We don't currently support downloading an image from the browser, but we have landed a fix that will appear in a future update.
    Regards,
    Michelle

  • How do you save photos from import or Photo Stream to an album?

    How do you save photos from import or photo stream to an album?  I have a MacBook Air (which keeps telling me my start-up disk is full) and I am trying to organize photos so there aren't duplicates and triples.  I have photos in events, last import, photos and albums....I feel like they are all taking up space.  If I move a photo from photo stream to an album, then delete the photo from photo steam its deleted from the album.  That doesn't make sense to me.  There should be a way to clean up photo stream, and events, and last import by putting photos into albums.  Even more bizarre; I imported photos from my 4S, and only a fraction of them transferred over. 
    I am completely lost.  Any help would be appreciated.
    Thank you!
    sarah

    and I am trying to organize photos so there aren't duplicates and triples.  I have photos in events, last import, photos and albums....I feel like they are all taking up space.
    Sarah,
    Only the photos you are seeing in the events and the Photo Stream will take up space. iPhoto stores each photo only one. After you import it, it will be assigned to one event.
    Then you can use it in many albums and projects. Using the photo this way will only reference the one single copy of the photo in the event. The albums don't store the photos and do not require additional space. If you delete a photo from an event, it will be removed from all albums that have been using the this photos.
    What you are seing are not actually duplicate photos but different ways to access the same photos.
    The "Last event" is the same event as the last one you imported. It is there for a quick access to your recently imported photos.  Photos is a quick access to all photos in your library as an endless stream of photos. These are also no duplicates.
    So if you want to save space and delete photos, do that by browsing your events. Deleting a photo from an event will delete the original image file and remove the photo from all albums, books, and other products. You have only duplicate photos, if you are seing the same photo twice in an event.
    Even more bizarre; I imported photos from my 4S, and only a fraction of them transferred over.
    That is a different problem, but it may be related to to fact that you need to free space.
    If you get a warning, that the system needs space, don't do anything but update the backup of your mac and move files to an external disk to free space.
    It is not save to keep working, when the system is running out of space.
    How much free space do you have? Anything below 15GB free space is really critical.
    -- Léonie

  • How do you save from Photoshop back to iPhoto?

    How do you save your external edits from Photoshop back to iPhoto?
    Fine, I know how it can be done ONCE : you simply flatten the image and then hit Save, and you see your edited image in iPhoto.
    But, what if you FIRST want to save the .psd document complete with layers outside iPhoto, THEN flatten the image and save as a jpeg back to iPhoto? I tried this yesterday. I saved as a PSD file - with all layers and a new name - to my Pictures folder. Then I flattened the image and wanted to save it to iPhoto, but the temporary iPhoto location had disappeared from the Photoshop Save dialogue and Photoshop now displayed it under the new name.
    This is annoying : you've got to save the PSD document first in order to preserve the layers. But when you do this, you lose the ability to save the image a second time, all layers flattened, back to iPhoto.

    But if I'd flattened the psd without saving it as a psd, I could simply have saved it back to iPhoto (I've done that before).
    Hold on - perhaps that's the answer...
    What if..
    1. I flatten the image and Save it back to iPhoto, then ...
    2. Undo the 'flatten image' in Photoshop, then save THAT version as a psd?
    I'll try this and let you know if it works.
    ETA - Yay it works! Shoulda thought of that right off. I blame toothache

  • How can you save videos from an iPad to an external memory?

    How can you save videos from an ipad to an external memory?

    There are some wireless external hard drives that can be used with the iPad.
    Best iPad External Hard Drive Storage Options
    http://www.unlocktips.com/2012/11/best-ipad-mini-external-hard-drive-memory-stor age-options/
    iPad Storage Solutions
    http://www.ipadstoragesolutions.com/iPadWirelessStorage.php
    SanDisk Connect Wireless Media Drive http://www.sandisk.com/products/wireless/media-drive/
    Another option:
    Expand your iPad's storage capacity with HyperDrive
    http://www.macworld.com/article/1153935/hyperdrive.html
    On the road with a camera, an iPad, and a Hyperdrive
    http://www.macworld.com/article/1160231/ipadhyperdrive.html
     Cheers, Tom

  • How do you save PDF to a USB flash drive from iPad 2

    How do you save PDF to a USB flash drive from iPad 2

    You can't, the camera kit connection kit which has a USB connection only supports the copying of photos and videos to the Photos app, and doesn't support the copying of any content off the iPad - you will either need to go via your computer.

  • How can you save from photoshop to pdf with intact formlayers?

    How can you save from photoshop to pdf with intact formlayers?

    No, it is form layers for a cutting machine, when you save to pdf from ill or indesign you can select make acrobat layers but not in photoshop.
    Do anyone have a sullotion?

  • How do you Save a PDF file from iTunes U

    After downloading a PDF file from iTunes U, how do you save it to read later ?

    When I download the file from iTunes U, it automatically opens in a new web browser tab, when I try to open in iBooks or adobe reader nothing happens, it is still in the web browser tab, checked the PDFs in iBooks but the file didn't save there, it doesn't seem to give you an option to save the file ???

Maybe you are looking for

  • I need help figuring out what is wrong with my Macbook Pro

    I have a mid 2012 Macbook Pro with OS X Mavericks on it and for the past few weeks it has running VERY SLOW! I have no idea what is wrong with it, i have read other discussion forums trying to figure it out on my own. So far i have had no luck in fix

  • Accessing site files on .mac for iweb when hard drive crashed w/out backup

    Hello, My hard drive crashed. I built my website on iweb, had it stored on my desktop before being able to actually back it up. I have been able to grab my site files from idisk, but cannot drag & drop the website into my desktop, so I can update it.

  • Solution Manager Configuration

    Hi All, I want to configure Solution Manager for Support Activities and their reporting like creation of tickets by end user, resoultion time according to category. I need a documentation on the same if possible some configuration document. Help on t

  • How to set username and password at line vty 0 4?

    hi guys, would like to know how i can set username and password so when i telnet to the router, i can login as username and password..? thks, ken

  • OSX hanging intermittently

    I recently bought a new 13" MacBook Pro 2.53GHz, I haven't even had it a month yet. I'm having a problem where the OS will hang intermittently. Let me explain. I first noticed the problem when playing videos back with quicktime. All of a sudden playb