 |
|
 |
Just listing class names in the article = no real article
|
|
|
|
 |
|
 |
Not really an article. It's just a code snippet with no real concrete methods in it. It doesn't demonstrate a concept, but seems to be an update to another articel you have. There's no discussion of any concepts, nothing on how the implementations, ... it doesn't really teach anything.
|
|
|
|
 |
|
 |
Hi,
How to assign attachments of contacts in Vcard?
|
|
|
|
 |
|
 |
Hi,
Where is the link to the overview of the class vCard and, if exist, a use example.
|
|
|
|
 |
|
 |
First off, thanks for the article!
I'm not a VB.NET programmer (I'm C#), so maybe the answer is obvious, but I copy and pasted your code, and I've run into a problem with adding a new email. The class compiles file, but when I attempt to add a new email with this code, it doesn't work.
dim c as vCard = new vCard()
dim em as vCard.vEmail = new vCard.vEmail(email.text)
c.vEmails.Add(em)
The error comes back as a compiler error
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30469: Reference to a non-shared member requires an object reference.
I have no idea what this is talking about. I've tried to create the vEmails collection, but I get an error on that as well. Any thoughts?
Thanks!
Erick
|
|
|
|
 |
|
 |
Not sure, but what line is the error occuring on? In VB.NET, shared is the same as static in C#.
http://www.onlinescorekeeper.com/
|
|
|
|
 |
|
 |
The error is occuring on the line:
c.vEmails.Add(em)
And having spent a night getting some sleep, I see my problem now. I was referencing the type name, and not the member name. When I tried with
c.Emails.Add(em)
it works. It's amazing what a good night's sleep will do.
Thanks for the response!
Erick
|
|
|
|
 |
|
 |
That's a good example of why I shouldn't have put the vEmails class inside of the vCard class I think. That's what namespaces are for!!
http://www.onlinescorekeeper.com/
|
|
|
|
 |
|
 |
I skimmed through the code... I see that you can build a vCard, but I don't see a method for reading one.
|
|
|
|
 |
|
 |
Sorry, I didn't create any code to read a vCard. I pretty much leave the reading up to Outlook and other PIM apps.
http://www.onlinescorekeeper.com/
|
|
|
|
 |
|
 |
? Can you please post a snippet of how to use this code?
Thanks!
|
|
|
|
 |
|
 |
In Class vURLs, the function Add seems to have an error in it.
Surely:
If Value.Preferred Then
Dim item As vURL
For Each item In Me.InnerList
Value.Preferred = False
Next
End If
Should read:
If Value.Preferred Then
Dim item As vURL
For Each item In Me.InnerList
item.Preferred = False
Next
End If
Cheers,
Adrian.
|
|
|
|
 |
|
 |
in most cases a vCard is attached to an email.
How can I drag such a vCard and drop it in my application tu access
the data of the vCard.
|
|
|
|
 |
|
 |
Hi I was just wondering if you have an example of hot to use this great code.
|
|
|
|
 |
|
 |
Hi there,
What you have done seems nice, but could give an example or demo project how to use your code.
That would be great
Thanks A lot
Gabriel
vbnetuk@yahoo.co.uk
|
|
|
|
 |
|
 |
Just guessing but ...
Dim myCard As New vCard.PIMExports.vCard
Dim Email As vCard.PIMExports.vCard.vEmail
Dim Phone As vCard.PIMExports.vCard.vTelephone
Email.EmailAddress = "email@address.com"
Phone.TelephoneNumber = "2042351319"
myCard.FirstName = "fName"
myCard.LastName = "lName"
myCard.Emails.Add(Email)
myCard.JobTitle = "CEO "
myCard.Organization = "Company"
myCard.Telephones.Add(Phone)
txtT.Text = myCard.ToString
|
|
|
|
 |