Results 1 to 3 of 3

Thread: Unable to embed an OLE object in an Access OLE field

  1. #1
    Join Date
    Jan 2009
    Posts
    125

    Unable to embed an OLE object in an Access OLE field

    Hey Folks,

    I have installed Windows Xp SP2 on my system. I had also installed Microsoft Office 2003 with Access 2003 on my pc. The problem is that whenever i try to embed an OLE object in an Access OLE field, it shows an "OLE Server Error" error message on the desktop screen. When i tried to configured the above issue by running Regsvr32.exe on my system, but couldn't resolve the above issue. Can any body help me out to resolve the above problem? Any kind of help would be appreciated.


    Thanks.

  2. #2
    Join Date
    Apr 2008
    Posts
    4,642

    Re: Unable to embed an OLE object in an Access OLE field

    This problem may occur if you have Norton AntiVirus 2000, Norton AntiVirus 2001, Norton AntiVirus 2002, Norton AntiVirus 2003, or Norton AntiVirus 2004 installed on your computer. This problem may also occur if you have run Norton's LiveUpdate and have installed the Script Blocking update for Norton AntiVirus 2001, Norton AntiVirus 2002, Norton AntiVirus 2003, or Norton AntiVirus 2004.

  3. #3
    Join Date
    May 2008
    Posts
    4,570

    Re: Unable to embed an OLE object in an Access OLE field

    When you install Microsoft Office 2003, the Setup program removes all the standard components from Office XP (such as Photo Editor) that you previously had installed on your computer. As a result, Access 2003 cannot find the OLE Server that can display an image file (such as a .jpg file or a .gif file), and you cannot view the embedded graphic files or the linked graphic files.

    Steps to reproduce the behavior

    1. Start Access 2003.
    2. Open the Northwind.mdb sample database.
    3. In the Database window, click Tables under the Objects section.
    4. In the right pane, double-click Create table in Design view.
    5. Create a table that is named TestImage with the following details:

    Table: TestImage
    Field Name: FldImage
    Data Type: OLE Object

    6. Open the TestImage table in datasheet view.
    7. In datasheet view, right-click the FldImage field, and then click Insert Object.
    8. Select Create from File, and then click Browse.
    9. Locate the .jpg image file. Select the .jpg image file, and then click OK.
    10. Click OK.
    11. On the File menu, click Close.
    12. In the Database window, click Forms under the Objects section.
    13. In the right pane, double-click Create form by using wizard.
    14. In Form Wizard, select Table: TestImage from the Table/Queries drop-down list.
    15. Click--> to move all fields from the Available Fields list to the Selected Fields list.
    16. Click Finish.
    17. If the form is not already open in form view, open the form in form view.

    Notice that when you view the data in the table in datasheet view, the value of the OLE object is shown as a package image or as a bitmap image. Additionally, when you view the form that displays the OLE object in form view, the embedded image file does not appear. However, you can see the file icon for the image file that is embedded in the form.

Similar Threads

  1. Use Of Auto Increment field In Access database
    By Pony in forum Software Development
    Replies: 5
    Last Post: 03-02-2011, 10:24 PM
  2. Field properties in Ms Access 2007
    By Bansi_WADIA in forum Windows Software
    Replies: 5
    Last Post: 08-01-2010, 05:10 AM
  3. Multi Field value field in Microsoft Access
    By Erubiel in forum Windows Software
    Replies: 3
    Last Post: 20-11-2009, 12:55 AM
  4. How to combine two field in access
    By X-Man in forum Windows Software
    Replies: 3
    Last Post: 08-06-2009, 11:16 PM
  5. To access a text field from another form
    By Sanket07 in forum Software Development
    Replies: 6
    Last Post: 06-02-2009, 06:42 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,118,295.57238 seconds with 16 queries