Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

print image whit office application or windows application

Discussion in 'Information Technology' started by GhysBoy, Jul 28, 2006.

  1. GhysBoy

    GhysBoy
    Expand Collapse
    Guest

    Hi all,

    I have form contain box load image when the form is open or swicht to
    another image whit a next button. It is possible to create a code when I
    click on the image to print this image whit windows photographic application
    or another. I like windows photographic application because when i print,
    it is possible to fit whit multiple format... the image load in my form
    load whit this code :

    thanks for your help

    Private Sub Form_Current()
    Dim strBase As String, strChemin As String
    On Error GoTo err_plan
    Me.Image.Picture = ""
    ' Répertoire de base
    strBase = CurrentProject.Path & "\Plans livre renvoi\"

    ' Chemin complet de l'image
    strChemin = strBase & "1-0001.tif"

    ' Charger l'image
    Me.Image.Picture = strChemin

    exit_AfficherCroquis:
    Exit Sub
    err_plan:
    Me.Image.Picture = ""
    Resume exit_AfficherCroquis
    End Sub
     
  2. Loading...

    Similar Threads Forum Date
    Footprints Of Guru Nanak In Sri Lanka History of Sikhism May 27, 2016
    Sikhism Preserving the Sikh heritage in Print Sikh Sikhi Sikhism Jan 12, 2016
    Guru Nanak's Foot-Prints in Baghdad's Sands Blogs Oct 22, 2015
    My Story Printed in Sikh Review Sept 2015 Issue Convert's Corner Oct 19, 2015
    Sakhis In The Footprints Of Guru Nanak... Redeeming Noorshah-the Magical Woman Of Kamroop History of Sikhism Mar 18, 2015

Share This Page