473,663 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help Looping Through my Inbox and extracting attachments

Can anybody help with the following: I have some old VB6 code that loops
through my inbox looking for emails with attachments and then save them to
the hard drive. The code is very simplistic so I thought it would be dead
easy to migrate it to C#, however it is proving more difficult than I first
thought.

The VB code is as follows:
Set oSession = CreateObject("M API.Session")
oSession.Logon( "Outlook", , False)

Set oInbox = oSession.Inbox

For Each oMsg In oInbox.Message
oMsg.Attachment s(1).WriteToFil e {path}
Next

My C# alternative so far is:
MAPI.Session oSession = new MAPI.Session();
MAPI.Folder oFolder;
oSession.Logon( "Outlook", vEmpty, false, true, 0, true, vEmpty);
oFolder = (MAPI.Folder)oS ession.Inbox;
MAPI.Messages oMsgs = (MAPI.Messages) oFolder.Message s;

The problem I am having is not being able to loop through the messages so I
can check who sent it and does it have an attachment?

Is it possible to translate the VB6 code to C#?

Many thanks

Steve Le Monnier
Aug 2 '06 #1
8 3184
Steve,
Have you tried

MAPI.Session oSession = new MAPI.Session();
MAPI.Folder oFolder;
oSession.Logon( "Outlook", vEmpty, false, true, 0, true, vEmpty);
oFolder = (MAPI.Folder)oS ession.Inbox;
MAPI.Messages oMsgs = (MAPI.Messages) oFolder.Message s;

foreach (MAPI.Message oMsg in oMsgs)
{
//use oMsg variable here
}

I dont know what type 'MAPI.Message' should really be (i may be right),
but you will be able to find out from looking at the 'MAPI.Messages'
collection type.

HTH,
James

Steve Le Monnier wrote:
Can anybody help with the following: I have some old VB6 code that loops
through my inbox looking for emails with attachments and then save them to
the hard drive. The code is very simplistic so I thought it would be dead
easy to migrate it to C#, however it is proving more difficult than I first
thought.

The VB code is as follows:
Set oSession = CreateObject("M API.Session")
oSession.Logon( "Outlook", , False)

Set oInbox = oSession.Inbox

For Each oMsg In oInbox.Message
oMsg.Attachment s(1).WriteToFil e {path}
Next

My C# alternative so far is:
MAPI.Session oSession = new MAPI.Session();
MAPI.Folder oFolder;
oSession.Logon( "Outlook", vEmpty, false, true, 0, true, vEmpty);
oFolder = (MAPI.Folder)oS ession.Inbox;
MAPI.Messages oMsgs = (MAPI.Messages) oFolder.Message s;

The problem I am having is not being able to loop through the messages so I
can check who sent it and does it have an attachment?

Is it possible to translate the VB6 code to C#?

Many thanks

Steve Le Monnier
Aug 2 '06 #2
Yeah I've tried that, I get an error message stating:

Error 1 foreach statement cannot operate on variables of type
'MAPI.Messages' because 'MAPI.Messages' does not contain a public definition
for 'GetEnumerator'

VB6/.NET doesn't care and lets you take shortcuts but C# requires everything
to be strongly typed. It's a real bind as what I want to do can be done with
6 lines of VB but I'm trying to keep everything in C#.

Cheers

Steve
"pigeonrand le" <pi**********@h otmail.comwrote in message
news:11******** **************@ 75g2000cwc.goog legroups.com...
Steve,
Have you tried

MAPI.Session oSession = new MAPI.Session();
MAPI.Folder oFolder;
oSession.Logon( "Outlook", vEmpty, false, true, 0, true, vEmpty);
oFolder = (MAPI.Folder)oS ession.Inbox;
MAPI.Messages oMsgs = (MAPI.Messages) oFolder.Message s;

foreach (MAPI.Message oMsg in oMsgs)
{
//use oMsg variable here
}

I dont know what type 'MAPI.Message' should really be (i may be right),
but you will be able to find out from looking at the 'MAPI.Messages'
collection type.

HTH,
James

Steve Le Monnier wrote:
>Can anybody help with the following: I have some old VB6 code that loops
through my inbox looking for emails with attachments and then save them
to
the hard drive. The code is very simplistic so I thought it would be dead
easy to migrate it to C#, however it is proving more difficult than I
first
thought.

The VB code is as follows:
Set oSession = CreateObject("M API.Session")
oSession.Logon( "Outlook", , False)

Set oInbox = oSession.Inbox

For Each oMsg In oInbox.Message
oMsg.Attachment s(1).WriteToFil e {path}
Next

My C# alternative so far is:
MAPI.Session oSession = new MAPI.Session();
MAPI.Folder oFolder;
oSession.Logon( "Outlook", vEmpty, false, true, 0, true, vEmpty);
oFolder = (MAPI.Folder)oS ession.Inbox;
MAPI.Messages oMsgs = (MAPI.Messages) oFolder.Message s;

The problem I am having is not being able to loop through the messages so
I
can check who sent it and does it have an attachment?

Is it possible to translate the VB6 code to C#?

Many thanks

Steve Le Monnier

Aug 2 '06 #3
Steve,
Don't you just love it! Have you tried,

for (int i =0; i< oMsgs.Count; i++)
{
MAPI.Message oMsg = oMsgs[i];
//do your thing here
}

oMsgs.Count might be oMsgs.Length ...

Cheers,
James

Steve Le Monnier wrote:
Yeah I've tried that, I get an error message stating:

Error 1 foreach statement cannot operate on variables of type
'MAPI.Messages' because 'MAPI.Messages' does not contain a public definition
for 'GetEnumerator'

VB6/.NET doesn't care and lets you take shortcuts but C# requires everything
to be strongly typed. It's a real bind as what I want to do can be done with
6 lines of VB but I'm trying to keep everything in C#.

Cheers

Steve
"pigeonrand le" <pi**********@h otmail.comwrote in message
news:11******** **************@ 75g2000cwc.goog legroups.com...
Steve,
Have you tried

MAPI.Session oSession = new MAPI.Session();
MAPI.Folder oFolder;
oSession.Logon( "Outlook", vEmpty, false, true, 0, true, vEmpty);
oFolder = (MAPI.Folder)oS ession.Inbox;
MAPI.Messages oMsgs = (MAPI.Messages) oFolder.Message s;

foreach (MAPI.Message oMsg in oMsgs)
{
//use oMsg variable here
}

I dont know what type 'MAPI.Message' should really be (i may be right),
but you will be able to find out from looking at the 'MAPI.Messages'
collection type.

HTH,
James

Steve Le Monnier wrote:
Can anybody help with the following: I have some old VB6 code that loops
through my inbox looking for emails with attachments and then save them
to
the hard drive. The code is very simplistic so I thought it would be dead
easy to migrate it to C#, however it is proving more difficult than I
first
thought.

The VB code is as follows:
Set oSession = CreateObject("M API.Session")
oSession.Logon( "Outlook", , False)

Set oInbox = oSession.Inbox

For Each oMsg In oInbox.Message
oMsg.Attachment s(1).WriteToFil e {path}
Next

My C# alternative so far is:
MAPI.Session oSession = new MAPI.Session();
MAPI.Folder oFolder;
oSession.Logon( "Outlook", vEmpty, false, true, 0, true, vEmpty);
oFolder = (MAPI.Folder)oS ession.Inbox;
MAPI.Messages oMsgs = (MAPI.Messages) oFolder.Message s;

The problem I am having is not being able to loop through the messages so
I
can check who sent it and does it have an attachment?

Is it possible to translate the VB6 code to C#?

Many thanks

Steve Le Monnier
Aug 2 '06 #4
If only it was that easy.

I'm surprised how little sample code their is on this topic... but given how
difficult it is to do anything may be that's why. If I can't crack this soon
then it's back to VBScript :-(

Thanks anyway.
"pigeonrand le" <pi**********@h otmail.comwrote in message
news:11******** *************@b 28g2000cwb.goog legroups.com...
Steve,
Don't you just love it! Have you tried,

for (int i =0; i< oMsgs.Count; i++)
{
MAPI.Message oMsg = oMsgs[i];
//do your thing here
}

oMsgs.Count might be oMsgs.Length ...

Cheers,
James

Steve Le Monnier wrote:
>Yeah I've tried that, I get an error message stating:

Error 1 foreach statement cannot operate on variables of type
'MAPI.Messages ' because 'MAPI.Messages' does not contain a public
definition
for 'GetEnumerator'

VB6/.NET doesn't care and lets you take shortcuts but C# requires
everything
to be strongly typed. It's a real bind as what I want to do can be done
with
6 lines of VB but I'm trying to keep everything in C#.

Cheers

Steve
"pigeonrandl e" <pi**********@h otmail.comwrote in message
news:11******* *************** @75g2000cwc.goo glegroups.com.. .
Steve,
Have you tried

MAPI.Session oSession = new MAPI.Session();
MAPI.Folder oFolder;
oSession.Logon( "Outlook", vEmpty, false, true, 0, true, vEmpty);
oFolder = (MAPI.Folder)oS ession.Inbox;
MAPI.Messages oMsgs = (MAPI.Messages) oFolder.Message s;

foreach (MAPI.Message oMsg in oMsgs)
{
//use oMsg variable here
}

I dont know what type 'MAPI.Message' should really be (i may be right),
but you will be able to find out from looking at the 'MAPI.Messages'
collection type.

HTH,
James

Steve Le Monnier wrote:
Can anybody help with the following: I have some old VB6 code that
loops
through my inbox looking for emails with attachments and then save
them
to
the hard drive. The code is very simplistic so I thought it would be
dead
easy to migrate it to C#, however it is proving more difficult than I
first
thought.

The VB code is as follows:
Set oSession = CreateObject("M API.Session")
oSession.Logon( "Outlook", , False)

Set oInbox = oSession.Inbox

For Each oMsg In oInbox.Message
oMsg.Attachment s(1).WriteToFil e {path}
Next

My C# alternative so far is:
MAPI.Session oSession = new MAPI.Session();
MAPI.Folder oFolder;
oSession.Logon( "Outlook", vEmpty, false, true, 0, true, vEmpty);
oFolder = (MAPI.Folder)oS ession.Inbox;
MAPI.Messages oMsgs = (MAPI.Messages) oFolder.Message s;

The problem I am having is not being able to loop through the messages
so
I
can check who sent it and does it have an attachment?

Is it possible to translate the VB6 code to C#?

Many thanks

Steve Le Monnier

Aug 2 '06 #5
Steve,
Just found this on MS - any good?

http://msdn.microsoft.com/library/de...rp05152003.asp

James.

Steve Le Monnier wrote:
If only it was that easy.

I'm surprised how little sample code their is on this topic... but given how
difficult it is to do anything may be that's why. If I can't crack this soon
then it's back to VBScript :-(

Thanks anyway.
"pigeonrand le" <pi**********@h otmail.comwrote in message
news:11******** *************@b 28g2000cwb.goog legroups.com...
Steve,
Don't you just love it! Have you tried,

for (int i =0; i< oMsgs.Count; i++)
{
MAPI.Message oMsg = oMsgs[i];
//do your thing here
}

oMsgs.Count might be oMsgs.Length ...

Cheers,
James

Steve Le Monnier wrote:
Yeah I've tried that, I get an error message stating:

Error 1 foreach statement cannot operate on variables of type
'MAPI.Messages' because 'MAPI.Messages' does not contain a public
definition
for 'GetEnumerator'

VB6/.NET doesn't care and lets you take shortcuts but C# requires
everything
to be strongly typed. It's a real bind as what I want to do can be done
with
6 lines of VB but I'm trying to keep everything in C#.

Cheers

Steve
"pigeonrand le" <pi**********@h otmail.comwrote in message
news:11******** **************@ 75g2000cwc.goog legroups.com...
Steve,
Have you tried

MAPI.Session oSession = new MAPI.Session();
MAPI.Folder oFolder;
oSession.Logon( "Outlook", vEmpty, false, true, 0, true, vEmpty);
oFolder = (MAPI.Folder)oS ession.Inbox;
MAPI.Messages oMsgs = (MAPI.Messages) oFolder.Message s;

foreach (MAPI.Message oMsg in oMsgs)
{
//use oMsg variable here
}

I dont know what type 'MAPI.Message' should really be (i may be right),
but you will be able to find out from looking at the 'MAPI.Messages'
collection type.

HTH,
James

Steve Le Monnier wrote:
Can anybody help with the following: I have some old VB6 code that
loops
through my inbox looking for emails with attachments and then save
them
to
the hard drive. The code is very simplistic so I thought it would be
dead
easy to migrate it to C#, however it is proving more difficult than I
first
thought.

The VB code is as follows:
Set oSession = CreateObject("M API.Session")
oSession.Logon( "Outlook", , False)

Set oInbox = oSession.Inbox

For Each oMsg In oInbox.Message
oMsg.Attachment s(1).WriteToFil e {path}
Next

My C# alternative so far is:
MAPI.Session oSession = new MAPI.Session();
MAPI.Folder oFolder;
oSession.Logon( "Outlook", vEmpty, false, true, 0, true, vEmpty);
oFolder = (MAPI.Folder)oS ession.Inbox;
MAPI.Messages oMsgs = (MAPI.Messages) oFolder.Message s;

The problem I am having is not being able to loop through the messages
so
I
can check who sent it and does it have an attachment?

Is it possible to translate the VB6 code to C#?

Many thanks

Steve Le Monnier
Aug 2 '06 #6
Cheers James

I've read the article and download the sample code... and eureka it does
what I need. It seems the author has written his own wrapper around mapi to
provide for the missing enumrator.

It's very clever and more importantly it works... but boy what a pain
considering it could be done with 6 lines of VB code. MS need to make some
improvments here.

I'm going to play with this further, but might consider using VBScript to
get the attachments out before switching back to C# to process them.

Thanks for all your help today

Steve
"pigeonrand le" <pi**********@h otmail.comwrote in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
Steve,
Just found this on MS - any good?

http://msdn.microsoft.com/library/de...rp05152003.asp

James.

Steve Le Monnier wrote:
>If only it was that easy.

I'm surprised how little sample code their is on this topic... but given
how
difficult it is to do anything may be that's why. If I can't crack this
soon
then it's back to VBScript :-(

Thanks anyway.
"pigeonrandl e" <pi**********@h otmail.comwrote in message
news:11******* **************@ b28g2000cwb.goo glegroups.com.. .
Steve,
Don't you just love it! Have you tried,

for (int i =0; i< oMsgs.Count; i++)
{
MAPI.Message oMsg = oMsgs[i];
//do your thing here
}

oMsgs.Count might be oMsgs.Length ...

Cheers,
James

Steve Le Monnier wrote:
Yeah I've tried that, I get an error message stating:

Error 1 foreach statement cannot operate on variables of type
'MAPI.Messages ' because 'MAPI.Messages' does not contain a public
definition
for 'GetEnumerator'

VB6/.NET doesn't care and lets you take shortcuts but C# requires
everything
to be strongly typed. It's a real bind as what I want to do can be
done
with
6 lines of VB but I'm trying to keep everything in C#.

Cheers

Steve
"pigeonrandl e" <pi**********@h otmail.comwrote in message
news:11******* *************** @75g2000cwc.goo glegroups.com.. .
Steve,
Have you tried

MAPI.Session oSession = new MAPI.Session();
MAPI.Folder oFolder;
oSession.Logon( "Outlook", vEmpty, false, true, 0, true, vEmpty);
oFolder = (MAPI.Folder)oS ession.Inbox;
MAPI.Messages oMsgs = (MAPI.Messages) oFolder.Message s;

foreach (MAPI.Message oMsg in oMsgs)
{
//use oMsg variable here
}

I dont know what type 'MAPI.Message' should really be (i may be
right),
but you will be able to find out from looking at the 'MAPI.Messages'
collection type.

HTH,
James

Steve Le Monnier wrote:
Can anybody help with the following: I have some old VB6 code that
loops
through my inbox looking for emails with attachments and then save
them
to
the hard drive. The code is very simplistic so I thought it would
be
dead
easy to migrate it to C#, however it is proving more difficult than
I
first
thought.

The VB code is as follows:
Set oSession = CreateObject("M API.Session")
oSession.Logon( "Outlook", , False)

Set oInbox = oSession.Inbox

For Each oMsg In oInbox.Message
oMsg.Attachment s(1).WriteToFil e {path}
Next

My C# alternative so far is:
MAPI.Session oSession = new MAPI.Session();
MAPI.Folder oFolder;
oSession.Logon( "Outlook", vEmpty, false, true, 0, true,
vEmpty);
oFolder = (MAPI.Folder)oS ession.Inbox;
MAPI.Messages oMsgs = (MAPI.Messages) oFolder.Message s;

The problem I am having is not being able to loop through the
messages
so
I
can check who sent it and does it have an attachment?

Is it possible to translate the VB6 code to C#?

Many thanks

Steve Le Monnier


Aug 2 '06 #7
No worries. Glad i could help.

James

Steve Le Monnier wrote:
Cheers James

I've read the article and download the sample code... and eureka it does
what I need. It seems the author has written his own wrapper around mapi to
provide for the missing enumrator.

It's very clever and more importantly it works... but boy what a pain
considering it could be done with 6 lines of VB code. MS need to make some
improvments here.

I'm going to play with this further, but might consider using VBScript to
get the attachments out before switching back to C# to process them.

Thanks for all your help today

Steve
"pigeonrand le" <pi**********@h otmail.comwrote in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
Steve,
Just found this on MS - any good?

http://msdn.microsoft.com/library/de...rp05152003.asp

James.

Steve Le Monnier wrote:
If only it was that easy.

I'm surprised how little sample code their is on this topic... but given
how
difficult it is to do anything may be that's why. If I can't crack this
soon
then it's back to VBScript :-(

Thanks anyway.
"pigeonrand le" <pi**********@h otmail.comwrote in message
news:11******** *************@b 28g2000cwb.goog legroups.com...
Steve,
Don't you just love it! Have you tried,

for (int i =0; i< oMsgs.Count; i++)
{
MAPI.Message oMsg = oMsgs[i];
//do your thing here
}

oMsgs.Count might be oMsgs.Length ...

Cheers,
James

Steve Le Monnier wrote:
Yeah I've tried that, I get an error message stating:

Error 1 foreach statement cannot operate on variables of type
'MAPI.Messages' because 'MAPI.Messages' does not contain a public
definition
for 'GetEnumerator'

VB6/.NET doesn't care and lets you take shortcuts but C# requires
everything
to be strongly typed. It's a real bind as what I want to do can be
done
with
6 lines of VB but I'm trying to keep everything in C#.

Cheers

Steve
"pigeonrand le" <pi**********@h otmail.comwrote in message
news:11******** **************@ 75g2000cwc.goog legroups.com...
Steve,
Have you tried

MAPI.Session oSession = new MAPI.Session();
MAPI.Folder oFolder;
oSession.Logon( "Outlook", vEmpty, false, true, 0, true, vEmpty);
oFolder = (MAPI.Folder)oS ession.Inbox;
MAPI.Messages oMsgs = (MAPI.Messages) oFolder.Message s;

foreach (MAPI.Message oMsg in oMsgs)
{
//use oMsg variable here
}

I dont know what type 'MAPI.Message' should really be (i may be
right),
but you will be able to find out from looking at the 'MAPI.Messages'
collection type.

HTH,
James

Steve Le Monnier wrote:
Can anybody help with the following: I have some old VB6 code that
loops
through my inbox looking for emails with attachments and then save
them
to
the hard drive. The code is very simplistic so I thought it would
be
dead
easy to migrate it to C#, however it is proving more difficult than
I
first
thought.

The VB code is as follows:
Set oSession = CreateObject("M API.Session")
oSession.Logon( "Outlook", , False)

Set oInbox = oSession.Inbox

For Each oMsg In oInbox.Message
oMsg.Attachment s(1).WriteToFil e {path}
Next

My C# alternative so far is:
MAPI.Session oSession = new MAPI.Session();
MAPI.Folder oFolder;
oSession.Logon( "Outlook", vEmpty, false, true, 0, true,
vEmpty);
oFolder = (MAPI.Folder)oS ession.Inbox;
MAPI.Messages oMsgs = (MAPI.Messages) oFolder.Message s;

The problem I am having is not being able to loop through the
messages
so
I
can check who sent it and does it have an attachment?

Is it possible to translate the VB6 code to C#?

Many thanks

Steve Le Monnier
Aug 2 '06 #8

"Steve Le Monnier" <st*********@no .spam.hotmail.c omwrote in message
news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
I'm going to play with this further, but might consider using VBScript to
get the attachments out before switching back to C# to process them.
You might want to look into JMail from www.dimac.net.

Aug 2 '06 #9

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

Similar topics

0
2096
by: Dafella | last post by:
The following is code from Xeoport. It is suppose to access my pop3 account and load email into Mysql database. It's not inserting and there is no log or anything to tell me why. Here is the page. http://www.dafella.com/xeoport/ The original coder left no contact info. The reason I think it's the code is because of another issue.
27
15032
by: gRizwan | last post by:
Hello all, We have a problem on a webpage. That page is sent some email data in base64 format. what we need to do is, decode the base64 data back to original shape and extract attached image from it. Any help will be highly appriciated. Thanks
0
1176
by: Bob Bykerk | last post by:
Hi guys, I am integrating the outlook inbox into a personnel database and have successfully linked the table. I can see where an e-mail has attachments, but can't get to them. Has anyone done this using VBA ? Cheers, Bob
0
919
by: Saurabh Sharma | last post by:
Hi I have recieved a mails in which attachments are of form .eml and .msg and those attachmenst further have same attachments and at the end there are doc attachments. I want to extract these doc attachments. Please tell me how to go about it. Thanx
1
2165
by: tom north | last post by:
What I am after would be a VB script perhaps using CDO to access the inbox of a mailbox, and push or pull messages in or out to a flat file directory on disk -- Tom North
0
1219
by: Prash | last post by:
I have a requirement where in i need to download attachments (doc files) from the email inbox. I tried using axWebBrowser1 control embedded on the form. I allow the user to login to the inbox and from there if the user clicks on a button on the form i need to take control and start downloading the attachments. I tried enumerating the links and filter out the download file links. When i tried using WebRequst to download the file, the...
1
1139
by: azmir10 | last post by:
Hi everyone, I'm currently doing an interface program of 'near real time updating database' involving Visual Basic 6.0 and MapObjects. I'm having a problem in extracting attachments from Outlook. Is there any solution and coding sample for my problem. For reviewing my program, send e-mail to me: sam_ex104 "AT" yahoo "DOT" co "DOT" uk
3
31831
by: GayathriP | last post by:
This article discusses about how can we access the inbox through MAPI using C# .NET. It also discusses about how to store the attachment in the local directory, how to create a folder in the inbox Need to add the reference Microsoft CDO 1.21 Library to the project //Declarations MAPI.Message objMsg, objMsg_Arch; MAPI.Messages objMsgs; MAPI.Attachment objAttach; MAPI.Attachments objAttachments;
2
1097
by: pnd1234 | last post by:
Hi, i am doing a project which represent message attachments in a xml view.I currently implemented the system in a tree view.Like if a message contains word file, zip file,image file , swf file as attachment then it represents the over all attachments in a tree node like message in root node with attachments doc, image file and swf as its child node. Further, if there are image or charts inside word document i have to represent this as a...
0
8345
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8768
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 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...
0
7368
agi2029
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...
1
6186
isladogs
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...
0
5655
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4181
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...
0
4348
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1999
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1754
bsmnconsultancy
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...

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.