Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading fields from PDF
Message
From
11/11/2011 17:16:05
 
 
To
11/11/2011 17:04:09
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01528652
Message ID:
01528700
Views:
28
First I get the suggestion to change Public to Dim

Then a suggestion to change Collection to iCollection ( the interface)

I think the error you got before from itextsharp said it was trying to cast as an icollection

( not sure if it is important, but also remember iTextsharp is C# so anything passed into it may be case sensitive )

>>Yes it works. maybe you are missing an import statement ?
>>
>>Imports System.IO
>>Imports System.Collections.Generic
>>Imports System.Diagnostics
>>Imports System.Collections
>>Imports System.Text
>>Imports iTextSharp.text.pdf
>
>It is funny, but, when I have this line:
>
>
>Imports iTextSharp.text.pdf
>
>
>The designer would indicate a "Type expected" on one of the top declaration:
>
>
>        Public oField As Collection = New Collection
>
>
>It seems we cannot use collections when we have an import to iTextSharp.text.pdf. Can you try to add a declaration like that on top of your class to see if you will get the same?


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform