473,395 Members | 1,696 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

how to integrate "Windows Picture Viewer and Fax Viewer" (shimgvw.dll) of Windows XP in my c# app?

hi all,

i want to use "Windows Picture Viewer and Fax Viewer" in my c# app to
manipulate images, picture viewer is found as a DLL (shimgvw.dll) in
System32 folder of
WinXP.

can some one tell me how can i use it in my C# app?

TIA

- sci

Nov 16 '05 #1
2 6789
OTTOMH you could try adding it as a reference. If it's a COM object it'll
generate an interop assembly and you'll be able to wiggle the interfaces.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Image transition effects, automatic persistent configuration and
design time mouse operations all in April's issue of Well Formed
http://www.bobpowell.net/wellformed.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://royo.is-a-geek.com/siteFeeder...aspx?FeedId=41

"~dr-sci-fi" <sc******@mailandnews.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
hi all,

i want to use "Windows Picture Viewer and Fax Viewer" in my c# app to
manipulate images, picture viewer is found as a DLL (shimgvw.dll) in
System32 folder of
WinXP.

can some one tell me how can i use it in my C# app?

TIA

- sci

Nov 16 '05 #2
i tried it, VS couldn't generate a wrapper for it, i seems to me a legacy VC
DLL, InteropServices may do, but how exactly? need help!

- sci

"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message
news:Oq**************@TK2MSFTNGP10.phx.gbl...
OTTOMH you could try adding it as a reference. If it's a COM object it'll
generate an interop assembly and you'll be able to wiggle the interfaces.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Image transition effects, automatic persistent configuration and
design time mouse operations all in April's issue of Well Formed
http://www.bobpowell.net/wellformed.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://royo.is-a-geek.com/siteFeeder...aspx?FeedId=41

"~dr-sci-fi" <sc******@mailandnews.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
hi all,

i want to use "Windows Picture Viewer and Fax Viewer" in my c# app to
manipulate images, picture viewer is found as a DLL (shimgvw.dll) in
System32 folder of
WinXP.

can some one tell me how can i use it in my C# app?

TIA

- sci


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Paul Rubin | last post by:
I'm writing a Windows program that needs to store some user files. The logical place to store them is in "Application Data", right? Is there a good way to find the correct location of that...
11
by: Codemonkey | last post by:
Hi, I am writing an App in .Net that involves some scheduling of tasks. I was wondering if anybody has come accross any components or examples of how to implement a schedule manager like the one...
0
by: Richard | last post by:
I have 2 projects that can run independently. One is built using Windows Forms Application (.NET) and the other is built on pure C++. Both project runs fine, but when I try to integrate them,...
4
by: Dean Slindee | last post by:
I would like to provide a menu item that the users can click that launches the same "Windows Security" window that doing a Ctrl+Alt+Delete launches, but thru a Process.Start. Is this possible, and...
0
by: lisseut | last post by:
Hi, hope I'm posting to the right forum. I'm using C# under .NET 1.1, Windows XP SP2 I have a form and I've overridden WndProc to print to a text box whenever it receives the WM_NCMOUSELEAVE...
3
by: Carlos Villaseñor M. | last post by:
Hi everyboy I'm new to VB. NET, and I need to know what instruction can use instead "pictre box" control, I need to regenerate the picture in a window after that another window was superimposed...
3
xtianixm
by: xtianixm | last post by:
if i insert a high quality of icon in an imagelist it always return invalid picture is there something to remedy on that?
5
by: Stefano Tonello | last post by:
Hi all, I need to call windows' "open with" dialog from my C# windows form application. After the user selects application, control must return to me (I have to launch directly the process). I...
3
by: daniel.haude | last post by:
Hello people, I'd like to have the functionality known from "real" executables that if I drag-drop a file icon on top of the app, the app starts and has the file's path as command-line argument....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.