Jump to content

How to Opens JPEG Diagram through VB.Net in Windows Image Viewer

- - - - -

  • Please log in to reply
2 replies to this topic

#1
DrDotNet

DrDotNet

    Newbie

  • Members
  • Pip
  • 4 posts
Hi, I want to build an application on VB.Net in which when someone selects clix the button which contains a model No. of Cell Phone, a JPEG Diagram should be opened in Windows Image Viewer Instead of Picturebox of Form because the users have to Zoom, Rotate and Save the diagram.... I an using Visual Studio 2010, I searched a lot but I never find a single solution how to do this ?? therefore, I need help can any body tell me how to do this? how to code will be executed??

Thankx 4 any suggestion...

#2
Blimp

Blimp

    Programmer

  • Members
  • PipPipPipPip
  • 154 posts
Use :

System.Diagnostics.Process.start("LOCATION OF IMAGE")

For example

System.Diagnostics.Process.start("C:\images\myimage.jpg")


#3
DrDotNet

DrDotNet

    Newbie

  • Members
  • Pip
  • 4 posts
Great, its working.. but I want to use existing Images from My.Resources, and its not working on it.. is there any other solution ??
Thankx 4 response




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users