Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

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

VB.NET form image viewer

  • Please log in to reply
2 replies to this topic

#1 DrDotNet

DrDotNet

    CC Lurker

  • New Member
  • Pip
  • 4 posts

Posted 22 January 2012 - 09:09 AM

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...
  • 0

#2 Blimp

Blimp

    CC Addict

  • Advanced Member
  • PipPipPipPipPip
  • 199 posts
  • Location:West Sussex, England
  • Programming Language:Java, C++, C#, PHP, (Visual) Basic, Python, JavaScript, Transact-SQL

Posted 25 January 2012 - 01:18 AM

Use :

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

For example

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

  • 0

#3 DrDotNet

DrDotNet

    CC Lurker

  • New Member
  • Pip
  • 4 posts

Posted 26 January 2012 - 07:41 AM

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
  • 0





Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download