473,320 Members | 1,707 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,320 software developers and data experts.

stdole.IPictureDisp

Hi,
I have problem is with return stdole.IPictureDisp in this method if the
computer don't have vs.net installed.
I created a com add-in for outlook 2003 in vs.net 2003 c#.
if I calling
stdole.IPictureDisp Pic =
MatarotHost.ImageToIPicture(Image.FromStream(imgSt reamPic));
And I don't have a vs.net installed in a computer:
I don't get errors, but I can't see the button add-in
The add-in not arrive to this part of the code
OnStartupComplete()
else - everything running OK!
Thanking you in anticipation
Yael
==================================
internal class MatarotHost : AxHost
{
public MatarotHost() :
base("02FD5840-C1A3-448E-8310-98611DF58281"){MessageBox.Show("base");}
public static stdole.IPictureDisp ImageToIPicture(Image image)
{ //only with vs.net installed display this msg!!!
MessageBox.Show("GetIPictureDispFromPicture");
return (stdole.IPictureDisp)AxHost.GetIPictureDispFromPic ture(image);
}
}

Jun 6 '07 #1
1 6178
Hi,
I have problem is with return stdole.IPictureDisp in this method if the
computer don't have vs.net installed.
I created a com add-in for outlook 2003 in vs.net 2003 c#.
if I calling
stdole.IPictureDisp Pic =
MatarotHost.ImageToIPicture(Image.FromStream(imgSt reamPic));
And I don't have a vs.net installed in a computer:
I don't get errors, but I can't see the button add-in
The add-in not arrive to this part of the code
OnStartupComplete()
else - everything running OK!
Hi, please contact me for advises on this problem
my email is

adi39 @btinternet.com

p.s.
You have version problems. Some products can "break" other products,
for example, installing both standard and professional editions will result
in a faulty installation on both, but contact me, I need to know the fine
details to give specific help.
Thanking you in anticipation
Yael

Jun 6 '07 #2

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

Similar topics

1
by: Magnus | last post by:
I use IFontDisp and some other stuff from stdole in VB.NET, but sometimes Visual Studio simply refuses to compile, complaining about various stdole errors (for example, it wants me to add a...
1
by: john | last post by:
I'm working on an add-in and one of the methods in the extensibility model takes an object of type IPictureDisp. How can i get this in .Net? I've tried loading up bitmap, image and icon classes,...
0
by: Shao | last post by:
I am using VS.Net 2003 and I need to create a IPictureDisp pointer that points to a picture object. IPictureDisp *pd; PICTDESC pdesc; memset(&pdesc,0,sizeof(pdesc)); pdesc.cbSizeofstruct =...
2
by: Map Reader | last post by:
Greetings, I am converting an old VB6 application to use .NET. One of the old controls loads icons from the disk and displays them. However, the transparent color turns to blue somewhere in the...
5
by: SJ | last post by:
I have a VS2005 solution that has a class library and a website. Website has a project reference to the class library in the solution. Whenever I try to build the solution the following two lines...
1
by: Craig | last post by:
I am using the msvidctl to capture display input on my pc from a tv card. I would like to press a button to capture an image, so use the "capture" method of the msvidctl object but am unable to...
0
by: Patrick Bates | last post by:
We are trying to convert an existing VB6/ASP application to ASP.Net with VB.Net assemblies. For now, the data access is still handled by ADODB. When I deployed to our Windows 2000 test server,...
8
by: samadams_2006 | last post by:
I'm trying to find the namespace for stdole.dll Is there a tool out there that will help me do this?
0
by: =?Utf-8?B?WWFlbA==?= | last post by:
I created a com add-in for outlook 2003 in vs.net 2003 c#. My problem is with return type stdole.IPictureDisp. if I calling stdole.IPictureDisp Pic =...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.