Jay, Thanks for your help with that. Unfortunately it may be beyond my
capacities because I am not certain what the guidance is implying when it
mentions the private to public of the SinkHelper. When I open the modified
dll (il) I see what seem to be classes, and fields and methods. In the
classes area all sinkhelpers are public before any edits. In the fields and
methods there are lines with sinkhelper and they begin with .class and
followed by no designation. Should those be edited to public?
Reference: http://www.microeye.com/resources/res_outlookvsnet.htm
rebuilding the outlook interop assembly 4 1355
Applied the reference below to dll and still get the same collection error
when I try to do a for each on outlook.items, which works in VBA
"Nathan Carroll" <th************ @Bhutan.com> wrote in message
news:e7******** ******@TK2MSFTN GP09.phx.gbl... Jay, Thanks for your help with that. Unfortunately it may be beyond my capacities because I am not certain what the guidance is implying when it mentions the private to public of the SinkHelper. When I open the
modified dll (il) I see what seem to be classes, and fields and methods. In the classes area all sinkhelpers are public before any edits. In the fields
and methods there are lines with sinkhelper and they begin with .class and followed by no designation. Should those be edited to public?
Reference: http://www.microeye.com/resources/res_outlookvsnet.htm rebuilding the outlook interop assembly
Nathan,
Which version of .NET are you using (.NET 1.1 or .NET 1.0)?
Which version of VS.NET are you using (VS.NET 2002 or VS.NET 2003)?
Which version of Outlook were you using (Outlook 2000, Outlook XP, or
Outlook 2003)? (if you are using Outlook XP or 2003 you should be using the
PIA available for XP or 2003 respectively
If you read the acccompaning KB article it indicates this method only works
for VS.NET 2002 (.NET 1.0).
Also remember if you have both .NET 1.1 & .NET 1.0 installed on your machine
there will be two versions of ILDASM & ILASM. One in
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322 & one in
D:\WINDOWS\Micr osoft.NET\Frame work\v1.0.3705
The files in V1.1.4322 are for .NET 1.1, while the files in V1.0.3705 are
for .NET 2.0. Its better not to mix them up.
Hope this helps
Jay
"Nathan Carroll" <th************ @Bhutan.com> wrote in message
news:e7******** ******@TK2MSFTN GP09.phx.gbl... Jay, Thanks for your help with that. Unfortunately it may be beyond my capacities because I am not certain what the guidance is implying when it mentions the private to public of the SinkHelper. When I open the
modified dll (il) I see what seem to be classes, and fields and methods. In the classes area all sinkhelpers are public before any edits. In the fields
and methods there are lines with sinkhelper and they begin with .class and followed by no designation. Should those be edited to public?
Reference: http://www.microeye.com/resources/res_outlookvsnet.htm rebuilding the outlook interop assembly
Suppose this is my problem since I have 1.1 and 2003. Sorry for any
troubles. If you read the accompanying KB article it indicates this method only
works for VS.NET 2002 (.NET 1.0).
"Jay B. Harlow [MVP - Outlook]" <Ja********@ema il.msn.com> wrote in message
news:e5******** ******@TK2MSFTN GP10.phx.gbl... Nathan, Which version of .NET are you using (.NET 1.1 or .NET 1.0)?
Which version of VS.NET are you using (VS.NET 2002 or VS.NET 2003)?
Which version of Outlook were you using (Outlook 2000, Outlook XP, or Outlook 2003)? (if you are using Outlook XP or 2003 you should be using
the PIA available for XP or 2003 respectively
If you read the acccompaning KB article it indicates this method only
works for VS.NET 2002 (.NET 1.0).
Also remember if you have both .NET 1.1 & .NET 1.0 installed on your
machine there will be two versions of ILDASM & ILASM. One in C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322 & one in D:\WINDOWS\Micr osoft.NET\Frame work\v1.0.3705
The files in V1.1.4322 are for .NET 1.1, while the files in V1.0.3705 are for .NET 2.0. Its better not to mix them up.
Hope this helps Jay
"Nathan Carroll" <th************ @Bhutan.com> wrote in message news:e7******** ******@TK2MSFTN GP09.phx.gbl... Jay, Thanks for your help with that. Unfortunately it may be beyond my capacities because I am not certain what the guidance is implying when
it mentions the private to public of the SinkHelper. When I open the modified dll (il) I see what seem to be classes, and fields and methods. In the classes area all sinkhelpers are public before any edits. In the fields and methods there are lines with sinkhelper and they begin with .class and followed by no designation. Should those be edited to public?
Reference: http://www.microeye.com/resources/res_outlookvsnet.htm rebuilding the outlook interop assembly
Nathan,
I'm not sure I needed to know which version you are on, as I will follow up
with some others to see what we can find out.
Stayed tuned!
Jay
"Nathan Carroll" <th************ @Bhutan.com> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. Suppose this is my problem since I have 1.1 and 2003. Sorry for any troubles. If you read the accompanying KB article it indicates this method only works for VS.NET 2002 (.NET 1.0). "Jay B. Harlow [MVP - Outlook]" <Ja********@ema il.msn.com> wrote in
message news:e5******** ******@TK2MSFTN GP10.phx.gbl... Nathan, Which version of .NET are you using (.NET 1.1 or .NET 1.0)?
Which version of VS.NET are you using (VS.NET 2002 or VS.NET 2003)?
Which version of Outlook were you using (Outlook 2000, Outlook XP, or Outlook 2003)? (if you are using Outlook XP or 2003 you should be using the PIA available for XP or 2003 respectively
If you read the acccompaning KB article it indicates this method only works for VS.NET 2002 (.NET 1.0).
Also remember if you have both .NET 1.1 & .NET 1.0 installed on your machine there will be two versions of ILDASM & ILASM. One in C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322 & one in D:\WINDOWS\Micr osoft.NET\Frame work\v1.0.3705
The files in V1.1.4322 are for .NET 1.1, while the files in V1.0.3705
are for .NET 2.0. Its better not to mix them up.
Hope this helps Jay
"Nathan Carroll" <th************ @Bhutan.com> wrote in message news:e7******** ******@TK2MSFTN GP09.phx.gbl... Jay, Thanks for your help with that. Unfortunately it may be beyond
my capacities because I am not certain what the guidance is implying when it mentions the private to public of the SinkHelper. When I open the modified dll (il) I see what seem to be classes, and fields and methods. In
the classes area all sinkhelpers are public before any edits. In the
fields and methods there are lines with sinkhelper and they begin with .class and followed by no designation. Should those be edited to public?
Reference: http://www.microeye.com/resources/res_outlookvsnet.htm rebuilding the outlook interop assembly
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Fritz Switzer |
last post by:
Can anyone provide a small snippet in C# that pulls out the Contacts in
Outlook XP.
I've seen a couple of examples in C++ and VB in previous newsgroup posts,
but either the originals didn't work or my conversion skills are weak. And
if I have to use tlbimp.exe what is the right file to use.
Thanks for the help.
--
Fritz
|
by: lauren quantrell |
last post by:
Is there a way to open the MS Outlook address book using VBA and then
be able to do something with the return value?
I want users to click an icon to open the Outlook address book then
when an address is selected, populate an Access field with the address.
Is this remotely possible?
Thanks,
lq
|
by: John |
last post by:
Hi
I am trying to access outlook contacts folders and delete the contacts that
do not contain a certain category value in the categories field. I have
written the below code but am stuck with the error on the indicated line.
Any help would be appreciated.
Thanks
Regards
|
by: Chris Thunell |
last post by:
I'm trying to loop through an exchange public folder contact list, get some
information out of each item, and then put it into a vb.net datatable. I
run though the code and all works fine until i get to item 250 i get a
"system.invalid cast exception" and "specified cast is not valid". Once i
get this error and try to go to the next record.. every record after gets
the same error... It's like the com connection to outlook has been lost....
|
by: JC |
last post by:
Anybody knows what problem has this code? I think, in the Garbage
Collector? You know the Solution?
The program in the test's case, whit 350 contacts, run OK before number
86. The error is a "Array index out of bounds".
Microsoft.Office.Interop.Outlook._Application olApp = new
Microsoft.Office.Interop.Outlook.ApplicationClass();
Microsoft.Office.Interop.Outlook._NameSpace olNs =
olApp.GetNamespace("MAPI");
| |
by: Brian Hampson |
last post by:
I recently upgraded to Outlook 2007 B2TR and have found that I can no
longer code against MAPI.DLL It's gone :(
Using C#, I used to get the MAPI session, and from that I could change
the out of office. No longer. Does anyone know how to do this using
the new Microsoft.Office.Core and Microsoft.Office.Outlook DLL's that
are supposed to be the new replacements?
Here's what I had that worked until Outlook 2007 came around:
|
by: mwolowski |
last post by:
Hello,
I'd like to add tasks, appointments, etc using c# to outlook
For example i added reference
using OutLook = Microsoft.Office.Interop.Outlook;
and the code:
1.
---------------------
OutLook._Application outlookObj = new OutLook.Application();
|
by: keri |
last post by:
Hi everyone,
After numerous failed attempts at this I am now trying again to solve
this problem. I really would appreciate ANY help as I have been
stumped with this for weeks and weeks!
I have a form (frmappointments) through which I create an appointment
item in my outlook calendar, (and save the appointment to
tblappointments in my database). The appid in my table is set to match
the entryid of the outlook appointment item, using...
|
by: ARC |
last post by:
In case anyone has ran into this yet. The following code used to work with
older versions of the MS Outlook library, but would error out in 2007:
Dim objOutlook As Outlook.Application
Dim objOutlookMsg As Outlook.MailItem
Dim objOutlookRecip As Outlook.Recipient
Dim objOutlookAttach As Outlook.Attachment
Set objOutlook = CreateObject("Outlook.Application")
' Create the message.
Set objOutlookMsg = objOutlook.CreateItem(olMailItem)
|
by: fniles |
last post by:
I am using VB.NET 2005. I created a project using the Microsoft Outlook 8.0
Object Library (Object Model) in my previous machine. Now that I have a new
machine, when I try to compile that program in the new machine, it gives me
erros like "Type 'Outlook.Application' is not defined", "Type
'Outlook.NameSpace' is not defined".
I have MS Outlook in my new machine.
In the new machine when I go to "Add Reference", select the COM tab, the
only...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |