CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2000
    Location
    Kansas City, MO
    Posts
    34

    Viewing .TIF files in VB

    Can anyone tell me of a way to view .TIF files in VB that won't require me to write a graphics conversion module of some sort?

    Thanx for the help!

    Old school... six lines a day and I'm done.

  2. #2
    Join Date
    Feb 2000
    Location
    Indiana
    Posts
    308

    Re: Viewing .TIF files in VB

    Use can use the Wang edit control.


  3. #3
    Join Date
    Jan 2000
    Location
    Kansas City, MO
    Posts
    34

    Re: Viewing .TIF files in VB

    Kyle,
    Thank you very much sir! This was exactly what I was looking for. I guess I just didn't scroll far enough down on the components list!
    Again, Thank you very much.

    Justin H.

    Old school... six lines a day and I'm done.

  4. #4
    Join Date
    Feb 2000
    Location
    london
    Posts
    16

    Re: Viewing .TIF files in VB

    add an imgEdit and an imgAdmin control on you form and use this few lines of code to view your tiff file.

    ImgAdmin1.Image = App.Path & "\" & "test.tif"
    ImgEdit1.Image = ImgAdmin1.Image
    ImgEdit1.ImagePalette = 3 'set for 24 bit RGB.
    ImgEdit1.Page = 1 'view first page in file
    ImgEdit1.FitTo 0 'optional best fit
    ImgEdit1.Display




    hope was of help
    ivan


  5. #5
    Join Date
    Jun 2002
    Posts
    84
    Re viewing tiffs:
    The only Image admin/ image edit controls in my available references are Kodak Image Admin Control and Kodak Image Edit Control.
    If I tick either of these I get the message: Name conflicts with existing module, project or object library.

    refs ticked are
    Visual basic for applications
    Visual basic runtime objects and proceedures
    Visual basic objects and proceedures
    OLE automation
    Ms Data formatting obj Lib
    MS DAO 3.6 obj Lib
    Ms scripting runtime
    Ms CDO 1.21 lib
    Ms Data Binding Collection
    Ms Outlook9.0 obj Lib
    faxadmin1.0 type li
    faxcom1.0 type lib
    ms Word 9.0 obj Lib

    Any ideas?
    PS I want to view tiff files and if poss break them up into individual jpg`s
    Thanks in advance

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured