473,581 Members | 2,607 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Casting - Cant convert VB sample.

Hi I was trying to get this VB type code to work in C

Sub SetColumns_Exam ple(
Dim ol As Outlook.Applica tio
Dim MyFolder As MAPIFolde
Dim itms As Item
Dim itm As Objec
Dim dtmStart As Date, dtmEnd As Dat
Dim lngElapsed As Lon
Set ol = New Outlook.Applica tio
Set MyFolder = ol.Session.GetD efaultFolder(10
Set itms = MyFolder.Item
itms.SetColumns "[FullName],[CompanyName]
For Each itm In itm
Debug.Print itm.FullName & ", " & itm.CompanyNam
Nex

Here is my first C# attempt

items.SetColumn s("[FullName],[CompanyName]")
foreach( Object o in items

if(o != null

Console.WriteLi ne(o.FullName); // Gives compile error (251): 'object' does not contain a definition for 'FullName

Heres another attempt

items.SetColumn s("[FullName],[CompanyName]")
foreach( Microsoft.Offic e.Interop.Outlo ok.ContactItem ci in items) // Generates invalid cast exception

if(ci != null

Console.WriteLi ne(ci.FullName) ;

Another attempt

items.SetColumn s("[FullName],[CompanyName]")
foreach( Object o in items

Microsoft.Offic e.Interop.Outlo ok.ContactItem ci = o as Microsoft.Offic e.Interop.Outlo ok.ContactItem
// ci is ALWAYS null... :-
if(ci != null

Console.WriteLi ne(o.FullName); // Gives compile error (251): 'object' does not contain a definition for 'FullName

without the items.SetColumn s, items contains ContactItems, and It works in the simple case. The .SetColumns seems to change the type of object inside

Can Reflection help here in anyway

Thank

Kurt
Nov 15 '05 #1
9 2057
Maybe something like this?

void SetColumns_Exam ple()
{
Outlook.Applica tion ol;
MAPIFolder MyFolder;
Items itms;
// object itm;
Date dtmStart, dtmEnd;
long lngElapsed;

ol = new Outlook.Applica tion();
MyFolder = ol.Session.GetD efaultFolder(10 );
itms = MyFolder.Items;
//IMHO
itms.SetColumns[FullName,Compan yName]
foreach(Item itm in itms)
{
Debug.Print itm.FullName & ", " & itm.CompanyName
}
}

If you will post more code then it will be easier to help you

"Kurt" <an*******@disc ussions.microso ft.com> wrote in message
news:62******** *************** ***********@mic rosoft.com...
Hi I was trying to get this VB type code to work in C#

Sub SetColumns_Exam ple()
Dim ol As Outlook.Applica tion
Dim MyFolder As MAPIFolder
Dim itms As Items
Dim itm As Object
Dim dtmStart As Date, dtmEnd As Date
Dim lngElapsed As Long
Set ol = New Outlook.Applica tion
Set MyFolder = ol.Session.GetD efaultFolder(10 )
Set itms = MyFolder.Items
itms.SetColumns "[FullName],[CompanyName]"
For Each itm In itms
Debug.Print itm.FullName & ", " & itm.CompanyName
Next
Here is my first C# attempt:

items.SetColumn s("[FullName],[CompanyName]");
foreach( Object o in items)
{
if(o != null)
{
Console.WriteLi ne(o.FullName); // Gives compile error (251): 'object' does not contain a definition for 'FullName' }
}

Heres another attempt:

items.SetColumn s("[FullName],[CompanyName]");
foreach( Microsoft.Offic e.Interop.Outlo ok.ContactItem ci in items) // Generates invalid cast exception. {
if(ci != null)
{
Console.WriteLi ne(ci.FullName) ;
}
}

Another attempt:

items.SetColumn s("[FullName],[CompanyName]");
foreach( Object o in items)
{
Microsoft.Offic e.Interop.Outlo ok.ContactItem ci = o as Microsoft.Offic e.Interop.Outlo ok.ContactItem; // ci is ALWAYS null... :-(
if(ci != null)
{
Console.WriteLi ne(o.FullName); // Gives compile error (251): 'object' does not contain a definition for 'FullName' }
}

without the items.SetColumn s, items contains ContactItems, and It works in the simple case. The .SetColumns seems to change the type of object inside.
Can Reflection help here in anyway?

Thanks

Kurt

Nov 15 '05 #2
Well in this case I would get an invalid cast exception in th
foreach(Item itm in itms
line

As I mentioned I tried myself to do th
foreach( Microsoft.Offic e.Interop.Outlo ok.ContactItem ci in items) // Generates invalid cast exception
in my first example

It works if we never do the items.SetColumn s

Before we do the items.SetColumn s, items appears to contain objects that can be casted to Outlook.Contact Item objects. After we do the items.SetColums , items appears to contain objects that CANNOT be casted to Outlook.Contact Item objects

Just wondering what I was doing wrong
----- Vadym Stetsyak wrote: ----

Maybe something like this

void SetColumns_Exam ple(

Outlook.Applica tion ol
MAPIFolder MyFolder
Items itms
// object itm
Date dtmStart, dtmEnd
long lngElapsed

ol = new Outlook.Applica tion()
MyFolder = ol.Session.GetD efaultFolder(10 )
itms = MyFolder.Items
//IMH
itms.SetColumns[FullName,Compan yName
foreach(Item itm in itms

Debug.Print itm.FullName & ", " & itm.CompanyNam

If you will post more code then it will be easier to help yo
Nov 15 '05 #3
Kurt,
Do you have Distribution Lists in your contacts folder?

The Contacts folder will normally contain both ContactItem & DistListItem
objects, however if you manage to get another Item Type in the folder there
may be more!

Also SetColumns itself may be returning an object of a different type, as
you are effectively indicating that you want a subtype of Contact, not a
Contact. I will need to test SetColumns later, as I have not used SetColumns
from .NET yet...

I would use an object variable for the for each itself, then cast it to the
respective object type above.

Something like (untested):
foreach(object itm in itms)
{ if (itm is ContactItem)
{
ContactItem contact = itm as ContactItem; Debug.Print contact.FullNam e & ", " & contact.Company Name }
if (itm Is DistListItem)
{
DistListItem dist = itm as DistListItem ; Debug.Print dist.DLName; }
if (itm Is ???) ' check for SetColumn type of object
... }
If you don't have it, the following site provides a plethora of information
on using Outlook from .NET.

http://www.microeye.com/resources/res_outlookvsnet.htm

Hope this helps
Jay
"Kurt" <an*******@disc ussions.microso ft.com> wrote in message
news:7F******** *************** ***********@mic rosoft.com... Well in this case I would get an invalid cast exception in the
foreach(Item itm in itms)
line.

As I mentioned I tried myself to do the
foreach( Microsoft.Offic e.Interop.Outlo ok.ContactItem ci in items) // Generates invalid cast exception. in my first example.

It works if we never do the items.SetColumn s.

Before we do the items.SetColumn s, items appears to contain objects that can be casted to Outlook.Contact Item objects. After we do the
items.SetColums , items appears to contain objects that CANNOT be casted to
Outlook.Contact Item objects.
Just wondering what I was doing wrong.
----- Vadym Stetsyak wrote: -----

Maybe something like this?

void SetColumns_Exam ple()
{
Outlook.Applica tion ol;
MAPIFolder MyFolder;
Items itms;
// object itm;
Date dtmStart, dtmEnd;
long lngElapsed;

ol = new Outlook.Applica tion();
MyFolder = ol.Session.GetD efaultFolder(10 );
itms = MyFolder.Items;
//IMHO
itms.SetColumns[FullName,Compan yName]
foreach(Item itm in itms)
{
Debug.Print itm.FullName & ", " & itm.CompanyName
}
}

If you will post more code then it will be easier to help you

Nov 15 '05 #4
Kurt,
I'm still investigating this one. I can reproduce the same behavior in VBA &
VB.NET.

I think it has to do with the "type" of object that is returned when you use
Items.SetColumn s, in that I don't think its a normal ContactItem any
longer...

I'll keep you posted.

Jay

"Kurt" <an*******@disc ussions.microso ft.com> wrote in message
news:7F******** *************** ***********@mic rosoft.com...
Well in this case I would get an invalid cast exception in the
foreach(Item itm in itms)
line.

As I mentioned I tried myself to do the
foreach( Microsoft.Offic e.Interop.Outlo ok.ContactItem ci in items) // Generates invalid cast exception. in my first example.

It works if we never do the items.SetColumn s.

Before we do the items.SetColumn s, items appears to contain objects that can be casted to Outlook.Contact Item objects. After we do the
items.SetColums , items appears to contain objects that CANNOT be casted to
Outlook.Contact Item objects.
Just wondering what I was doing wrong.
----- Vadym Stetsyak wrote: -----

Maybe something like this?

void SetColumns_Exam ple()
{
Outlook.Applica tion ol;
MAPIFolder MyFolder;
Items itms;
// object itm;
Date dtmStart, dtmEnd;
long lngElapsed;

ol = new Outlook.Applica tion();
MyFolder = ol.Session.GetD efaultFolder(10 );
itms = MyFolder.Items;
//IMHO
itms.SetColumns[FullName,Compan yName]
foreach(Item itm in itms)
{
Debug.Print itm.FullName & ", " & itm.CompanyName
}
}

If you will post more code then it will be easier to help you

Nov 15 '05 #5
Thanks a lot for answering that Jay. I believe all my test folders contain only ContactItems. There are no DistListItems

Before I call SetColumns on Items, (itm is ContactItem) returns true for each one. After I call the SetColumns, (itm is ContactItem) returns false for every item, as does (itm is DistListItem

if I do a itm.GetType().T oString(), I see that each object is a System.__ComObj ec

It appears as though visual basic can cast this into a ContactItem but C# cannot

Is it likely that functions such as SetColumns will only be useful in visual basic, and c# lacks the casting abilities of VB that a function like SetColumns relies on

I would love to see some example c# code that uses SetColumns, or some similar category of function

What can we use to look inside an object and find out what values of SomeClass will evaluate (itm is SomeClass) to true

Thanks a lot again Jay

----- Jay B. Harlow [MVP - Outlook] wrote: ----

Kurt
Do you have Distribution Lists in your contacts folder

The Contacts folder will normally contain both ContactItem & DistListIte
objects, however if you manage to get another Item Type in the folder ther
may be more

Also SetColumns itself may be returning an object of a different type, a
you are effectively indicating that you want a subtype of Contact, not
Contact. I will need to test SetColumns later, as I have not used SetColumn
from .NET yet..

I would use an object variable for the for each itself, then cast it to th
respective object type above

Something like (untested)
foreach(object itm in itms
if (itm is ContactItem

ContactItem contact = itm as ContactItem Debug.Print contact.FullNam e & ", " & contact.Company Nam
if (itm Is DistListItem

DistListItem dist = itm as DistListItem Debug.Print dist.DLName
if (itm Is ???) ' check for SetColumn type of objec
..
If you don't have it, the following site provides a plethora of informatio
on using Outlook from .NET

http://www.microeye.com/resources/res_outlookvsnet.ht

Hope this help
Ja
"Kurt" <an*******@disc ussions.microso ft.com> wrote in messag
news:7F******** *************** ***********@mic rosoft.com.. Well in this case I would get an invalid cast exception in th
foreach(Item itm in itms
line
As I mentioned I tried myself to do th foreach( Microsoft.Offic e.Interop.Outlo ok.ContactItem ci in items) /

Generates invalid cast exception in my first example
It works if we never do the items.SetColumn s
Before we do the items.SetColumn s, items appears to contain objects tha can be casted to Outlook.Contact Item objects. After we do th
items.SetColums , items appears to contain objects that CANNOT be casted t
Outlook.Contact Item objects Just wondering what I was doing wrong
----- Vadym Stetsyak wrote: ----

Maybe something like this
void SetColumns_Exam ple(


Outlook.Applica tion ol
MAPIFolder MyFolder
Items itms
// object itm
Date dtmStart, dtmEnd
long lngElapsed
ol = new Outlook.Applica tion()

MyFolder = ol.Session.GetD efaultFolder(10 )
itms = MyFolder.Items
//IMH
itms.SetColumns[FullName,Compan yName
foreach(Item itm in itms

Debug.Print itm.FullName & ", " & itm.CompanyNam

If you will post more code then it will be easier to help yo

Nov 15 '05 #6
Kurt,
I have not heard back from Microsoft themselves, I'll reask the question...

However a couple of fellow Outlook MVPs have confirmed the same behavior in
Outlook 2000 and in VBA. So its not a C# feature per se.

As far as I can tell when you use the SetColumns, the objects returned from
the collection are no longer ContactItem's they are some other interface
(IDispatch) and you will need to use Late Binding to get to the
properties... However that's currently only a theory, I'm still
investigating.

There is an article on the following site that uses Late Binding (via
Reflection) to get at properties of CDO, you should be able to do the same
with the above object.

http://www.microeye.com/resources/res_outlookvsnet.htm

I'll see if I can find something in the KB also...

Hope this helps
Jay
"Kurt" <an*******@disc ussions.microso ft.com> wrote in message
news:07******** *************** ***********@mic rosoft.com...
Thanks a lot for answering that Jay. I believe all my test folders contain only ContactItems. There are no DistListItems.
Before I call SetColumns on Items, (itm is ContactItem) returns true for each one. After I call the SetColumns, (itm is ContactItem) returns false
for every item, as does (itm is DistListItem)
if I do a itm.GetType().T oString(), I see that each object is a System.__ComObj ect
It appears as though visual basic can cast this into a ContactItem but C# cannot.
Is it likely that functions such as SetColumns will only be useful in visual basic, and c# lacks the casting abilities of VB that a function like
SetColumns relies on?
I would love to see some example c# code that uses SetColumns, or some similar category of function.
What can we use to look inside an object and find out what values of SomeClass will evaluate (itm is SomeClass) to true?
Thanks a lot again Jay.

----- Jay B. Harlow [MVP - Outlook] wrote: -----

Kurt,
Do you have Distribution Lists in your contacts folder?

The Contacts folder will normally contain both ContactItem & DistListItem objects, however if you manage to get another Item Type in the folder there may be more!

Also SetColumns itself may be returning an object of a different type, as you are effectively indicating that you want a subtype of Contact, not a Contact. I will need to test SetColumns later, as I have not used SetColumns from .NET yet...

I would use an object variable for the for each itself, then cast it to the respective object type above.

Something like (untested):
> foreach(object itm in itms)
> { if (itm is ContactItem)
{
ContactItem contact = itm as ContactItem;
> Debug.Print contact.FullNam e & ", " & contact.Company Name }
if (itm Is DistListItem)
{
DistListItem dist = itm as DistListItem ;
> Debug.Print dist.DLName; }
if (itm Is ???) ' check for SetColumn type of object
...
> }


If you don't have it, the following site provides a plethora of

information on using Outlook from .NET.

http://www.microeye.com/resources/res_outlookvsnet.htm

Hope this helps
Jay
"Kurt" <an*******@disc ussions.microso ft.com> wrote in message
news:7F******** *************** ***********@mic rosoft.com...
> Well in this case I would get an invalid cast exception in the
> foreach(Item itm in itms)
> line.
>> As I mentioned I tried myself to do the > foreach( Microsoft.Offic e.Interop.Outlo ok.ContactItem ci in items)

// Generates invalid cast exception.
> in my first example.
>> It works if we never do the items.SetColumn s.
>> Before we do the items.SetColumn s, items appears to contain
objects that can be casted to Outlook.Contact Item objects. After we do the
items.SetColums , items appears to contain objects that CANNOT be casted to Outlook.Contact Item objects. >> Just wondering what I was doing wrong.
>>> ----- Vadym Stetsyak wrote: -----
>> Maybe something like this?
>> void SetColumns_Exam ple()

> {
> Outlook.Applica tion ol;
> MAPIFolder MyFolder;
> Items itms;
> // object itm;
> Date dtmStart, dtmEnd;
> long lngElapsed;
>> ol = new Outlook.Applica tion();

> MyFolder = ol.Session.GetD efaultFolder(10 );
> itms = MyFolder.Items;
> //IMHO
> itms.SetColumns[FullName,Compan yName]
> foreach(Item itm in itms)
> {
> Debug.Print itm.FullName & ", " & itm.CompanyName
> }
> }
>> If you will post more code then it will be easier to help you
>>

Nov 15 '05 #7
Kurt,
I found this KB article.

http://support.microsoft.com/?id=292062

Which allows you to identify a ContactItem by item type, however you are
still left with Late Binding getting to the properties of the item...

Hope this helps
Jay

"Kurt" <an*******@disc ussions.microso ft.com> wrote in message
news:07******** *************** ***********@mic rosoft.com...
Thanks a lot for answering that Jay. I believe all my test folders contain only ContactItems. There are no DistListItems.
Before I call SetColumns on Items, (itm is ContactItem) returns true for each one. After I call the SetColumns, (itm is ContactItem) returns false
for every item, as does (itm is DistListItem)
if I do a itm.GetType().T oString(), I see that each object is a System.__ComObj ect
It appears as though visual basic can cast this into a ContactItem but C# cannot.
Is it likely that functions such as SetColumns will only be useful in visual basic, and c# lacks the casting abilities of VB that a function like
SetColumns relies on?
I would love to see some example c# code that uses SetColumns, or some similar category of function.
What can we use to look inside an object and find out what values of SomeClass will evaluate (itm is SomeClass) to true?
Thanks a lot again Jay.

----- Jay B. Harlow [MVP - Outlook] wrote: -----

Kurt,
Do you have Distribution Lists in your contacts folder?

The Contacts folder will normally contain both ContactItem & DistListItem objects, however if you manage to get another Item Type in the folder there may be more!

Also SetColumns itself may be returning an object of a different type, as you are effectively indicating that you want a subtype of Contact, not a Contact. I will need to test SetColumns later, as I have not used SetColumns from .NET yet...

I would use an object variable for the for each itself, then cast it to the respective object type above.

Something like (untested):
> foreach(object itm in itms)
> { if (itm is ContactItem)
{
ContactItem contact = itm as ContactItem;
> Debug.Print contact.FullNam e & ", " & contact.Company Name }
if (itm Is DistListItem)
{
DistListItem dist = itm as DistListItem ;
> Debug.Print dist.DLName; }
if (itm Is ???) ' check for SetColumn type of object
...
> }


If you don't have it, the following site provides a plethora of

information on using Outlook from .NET.

http://www.microeye.com/resources/res_outlookvsnet.htm

Hope this helps
Jay
"Kurt" <an*******@disc ussions.microso ft.com> wrote in message
news:7F******** *************** ***********@mic rosoft.com...
> Well in this case I would get an invalid cast exception in the
> foreach(Item itm in itms)
> line.
>> As I mentioned I tried myself to do the > foreach( Microsoft.Offic e.Interop.Outlo ok.ContactItem ci in items)

// Generates invalid cast exception.
> in my first example.
>> It works if we never do the items.SetColumn s.
>> Before we do the items.SetColumn s, items appears to contain
objects that can be casted to Outlook.Contact Item objects. After we do the
items.SetColums , items appears to contain objects that CANNOT be casted to Outlook.Contact Item objects. >> Just wondering what I was doing wrong.
>>> ----- Vadym Stetsyak wrote: -----
>> Maybe something like this?
>> void SetColumns_Exam ple()

> {
> Outlook.Applica tion ol;
> MAPIFolder MyFolder;
> Items itms;
> // object itm;
> Date dtmStart, dtmEnd;
> long lngElapsed;
>> ol = new Outlook.Applica tion();

> MyFolder = ol.Session.GetD efaultFolder(10 );
> itms = MyFolder.Items;
> //IMHO
> itms.SetColumns[FullName,Compan yName]
> foreach(Item itm in itms)
> {
> Debug.Print itm.FullName & ", " & itm.CompanyName
> }
> }
>> If you will post more code then it will be easier to help you
>>

Nov 15 '05 #8
Hi Jay

finally worked it out. I have to use the GetType().Invok eMember() thing. i.e

string fullName = (string)o.GetTy pe().InvokeMemb er("FullName", BindingFlags.De fault |BindingFlags.G etProperty
null, o, null)

Seems a bit long winded but it works

Thanks a lot for your help.
Nov 15 '05 #9
Kurt,
If you are getting a number of properties, you may want to encapsulate the
GetType().Invok eMember() in its own class of "helper" methods...

VB.NET hides the GetType().Invok eMember() from us, which in this case is
nice...

Hope this helps
Jay

"Kurt" <an*******@disc ussions.microso ft.com> wrote in message
news:E0******** *************** ***********@mic rosoft.com...
Hi Jay,

finally worked it out. I have to use the GetType().Invok eMember() thing. i.e.
string fullName = (string)o.GetTy pe().InvokeMemb er("FullName", BindingFlags.De fault |BindingFlags.G etProperty, null, o, null);

Seems a bit long winded but it works.

Thanks a lot for your help.

Nov 15 '05 #10

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

Similar topics

4
25400
by: KC | last post by:
Could some one explain to me the casting rules for sending generic lists, ex. List<Person>, to a function that accepts List<object>? I cannot get the following easy-cheesy app to work. I get the following error: Argument '1': cannot convert from 'GenericsPOC.ArticleCollection' to 'System.Collections.Generic.IList<object>' I tried casting...
23
3498
by: René Nordby | last post by:
Hi there, Is there anyone that knows how to do the following? I have a class A and a class B, that 100% inherits from class A (this means that I don't have other code in class B, than the Inherit statement).
8
5072
by: tom | last post by:
Hi All, I'm stuck whit an issue I can't seem to resolve in C#: I have an arry of bytes which I would like to "recast" to an array of structs with an Explicit layout. I tried the Buffer.BlockCopy method, but that one complains my struct is not a primitive type. Any Suggestions ?
12
13632
by: 6tc1 | last post by:
Hi all, I just discovered a rounding error that occurs in C#. I'm sure this is an old issue, but it is new to me and resulted in a fair amount of time trying to track down the issue. Basically put the following code into your C# app: float testFloat2 = (int) (4.2f * (float)100); Console.Out.WriteLine("1: "+testFloat2); and the result...
33
3637
by: Mark P | last post by:
A colleague asked me something along the lines of the following today. For some type X he has: X* px = new X; Then he wants to convert px to a char* (I'm guessing for the purpose of serializing the object array). I can think of three ways to do this:
6
4250
by: Ken Fine | last post by:
This is a basic question. What is the difference between casting and using the Convert.ToXXX methods, from the standpoint of the compiler, in terms of performance, and in other ways? e.g. this.ContentID = (int)ci.Conid; vs. this.ContentID = Convert.ToInt32(ci.Conid); I tend to use the latter form because it seems more descriptive to me,...
2
2645
by: =?Utf-8?B?VHJldm9y?= | last post by:
Hi, I'm trying to write a general function to simply clear a collection of fields from both a group box and a tab control. Here is what I want my code to look like: private void ClearFields(GroupBox groupbox) { ClearFields((ControlCollection)groupbox.Controls); }
9
3454
by: Taras_96 | last post by:
Hi everyone, I was experimenting with static_cast and reinterpret cast #include <iostream> struct A1 { int a; }; struct A2 { double d; }; struct B : public A1, A2
101
4262
by: Tinkertim | last post by:
Hi, I have often wondered if casting the return value of malloc() (or friends) actually helps anything, recent threads here suggest that it does not .. so I hope to find out. For instance : char *tmp = NULL;
0
7868
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7792
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...
0
8149
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, 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. ...
0
8175
tracyyun
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...
1
5674
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...
0
5364
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...
0
3805
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...
0
3827
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1138
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...

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.