Import Picture Command Exits Publisher and ClipArt Gallery

ID: Q104506


The information in this article applies to:
  • Microsoft Windows 3.1
  • Microsoft Publisher versions 2.0, 2.0a
  • Microsoft PowerPoint for Windows, version 3.0
  • Microsoft ClipArt Gallery
  • Microsoft Draw


SUMMARY

HiJaak Pro installs over 41 filters in the [MS Graphic Import Filters] section of the Win.ini file. This can cause problems with certain Microsoft applications, such as Microsoft Draw, Microsoft Publisher, and ClipArt Gallery.


MORE INFORMATION

Microsoft Publisher and ClipArt Gallery


SYMPTOMS

  • If you try to import a picture by choosing the Import Picture command from the File menu or by choosing the Import Picture icon and drawing a box, Publisher may quit unexpectedly and exit Windows without generating an error.


  • If you try to start ClipArt Gallery or import a picture in it, ClipArt Gallery may quit without generating an error message. For example, you may be able to open ClipArt Gallery but not be able to import a picture, or you may be able to import a picture but not add one.


These problems are caused by communication with Commdlg.dll. Publisher needs to pass a string of filename extensions to Commdlg.dll. In some instances, this string becomes too long and the above behavior occurs.

NOTE: Publisher 2.0a no longer exits Windows when this condition exists. Instead, you may see a truncated listing of the file format extensions of the filters found in your [MS Graphic Import Filters] section. Publisher's communication with Commdlg.dll now truncates the list and prevents the unexpected exit problem.


WORKAROUND

Edit your Win.ini file and remove or remark out any filters that you do not use to reduce the entire list to fewer than 40 filters. To remove these lines, simply delete them. To remark out these lines, place a semicolon at the beginning of each one you want the system to ignore.

To edit the Win.ini file:

  1. In Program Manager, choose Run from the File menu.


  2. On the command line, type Win.ini and press ENTER.


  3. From the Search menu, choose Find.


  4. On the command line, type [MS Graphic Import Filters], and press ENTER.


  5. Press ESC key to remove the search window.


  6. Look through this section and remove (delete) or remark out (place a semicolon in front of the line) any filters you do not need or use. All the HiJaak filters start with "HJ." Below is a listing of all the HiJaak filters that are installed with HiJaak Pro.


  7. 
          HJ Amiga ILBM=E:\hjpro\hjimp1.flt,IFF
          HJ ASCII Text=E:\hjpro\hjimp1.flt,TXT
          HJ AT&T Group 4=E:\hjpro\hjimp1.flt,ATT
          HJ AutoCad DXF=E:\hjpro\hjimp1.flt,DXF
          HJ CALS Raster=E:\hjpro\hjimp1.flt,CAL
          HJ Compuserve GIF=E:\hjpro\hjimp1.flt,GIF
          HJ HJ CGM=E:\hjpro\hjimp1.flt,CGM
          HJ DataBeam=E:\hjpro\hjimp1.flt,DBX
          HJ Dr. Halo=E:\hjpro\hjimp1.flt,CUT
          HJ EDMICS=E:\hjpro\hjimp1.flt,ED5
          HJ GEM MetaFile=E:\hjpro\hjimp1.flt,GEM
          HJ GEM Paint=E:\hjpro\hjimp1.flt,IMG
          HJ HP Plotter=E:\hjpro\hjimp1.flt,PGL
          HJ HP LaserJetII=E:\hjpro\hjimp1.flt,PCL
          HJ IBM GOCA=E:\hjpro\hjimp1.flt,GCA
          HJ IBM IOCA=E:\hjpro\hjimp1.flt,ICA
          HJ Inset IGF=E:\hjpro\hjimp1.flt,IGF
          HJ Inset PIX=E:\hjpro\hjimp1.flt,PIX
          HJ JPEG JPG=E:\hjpro\hjimp1.flt,JPG
          HJ Kofax Group 4=E:\hjpro\hjimp1.flt,KFX
          HJ Lotus=E:\hjpro\hjimp1.flt,PIC
          HJ Macintosh PICT=E:\hjpro\hjimp1.flt,PCT
          HJ MacPaint=E:\hjpro\hjimp1.flt,MAC
          HJ MicroGraphix=E:\hjpro\hjimp1.flt,DRW
          HJ Microsoft MSP=E:\hjpro\hjimp1.flt,MSP
          HJ PC Paintbrush=E:\hjpro\hjimp1.flt,PCX
          HJ PhotoCD=E:\hjpro\hjimp1.flt,PCD
          HJ StoryBoard PIC=E:\hjpro\hjimp1.flt,SBP
          HJ Sun Raster RAS=E:\hjpro\hjimp1.flt,RAS
          HJ TIFF=E:\hjpro\hjimp1.flt,TIF
          HJ Targa=E:\hjpro\hjimp1.flt,TGA
          HJ Wicat=E:\hjpro\hjimp1.flt,GED
          HJ Windows Icon=E:\hjpro\hjimp1.flt,ICO
          HJ WMF=E:\hjpro\hjimp1.flt,WMF
          HJ Win OS2 BMP=E:\hjpro\hjimp1.flt,BMP
          HJ Win OS2 RLE=E:\hjpro\hjimp1.flt,RLE
          HJ WordPerfect=E:\hjpro\hjimp1.flt,WPG
          HJ Windows CLP=E:\hjpro\hjimp1.flt,CLP
          HJ Knowledge CPR=E:\hjpro\hjimp1.flt,CPR
          HJ Viewable EPS=E:\hjpro\hjimp1.flt,EPS
          HJ Tektronix P10=E:\hjpro\hjimp1.flt,P10
          HJ Fax Type=E:\hjpro\hjimp1.flt,FAX
          HJ PostScript AI=E:\hjpro\hjimp1.flt,AI
          HJ Win OS2 DIB=E:\hjpro\hjimp1.flt,DIB
          HJ Sun Raster SUN=E:\hjpro\hjimp1.flt,SUN
          HJ JPEG CMP=E:\hjpro\hjimp1.flt,CMP 

Microsoft Draw

In Microsoft Draw, you may receive an error message stating that you have too many filters installed and then Draw may quit. This problem is caused by a limitation in Draw, which can use only the first 15 filters it finds in the [MS Graphic Import Filters] section of the Win.ini file. If Draw finds more than 15 filters in this section, it does not use any of the filters in this section. Use the above steps to remove any unwanted or unused filters from the Win.ini file.

Additional query words: mspub w_draw w_cag win31 winppt macppt pub20 pub20a w_clipgal hijaack hijack

Keywords : kbinterop
Version : WINDOWS:2.0,2.0a,3.0,3.1; :
Platform : WINDOWS
Issue type :


Last Reviewed: January 6, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.