Click here to Skip to main content
15,916,692 members
Home / Discussions / C#
   

C#

 
GeneralRe: NetworkStream.Write Pin
Ben Fair12-Jan-09 7:43
Ben Fair12-Jan-09 7:43 
QuestionObject type not known at Design TIme Pin
CodingYoshi11-Jan-09 10:00
CodingYoshi11-Jan-09 10:00 
AnswerRe: Object type not known at Design TIme Pin
User 665811-Jan-09 10:46
User 665811-Jan-09 10:46 
AnswerRe: Object type not known at Design TIme Pin
Not Active11-Jan-09 12:31
mentorNot Active11-Jan-09 12:31 
GeneralRe: Object type not known at Design TIme Pin
CodingYoshi11-Jan-09 12:38
CodingYoshi11-Jan-09 12:38 
GeneralRe: Object type not known at Design TIme Pin
Guffa11-Jan-09 20:05
Guffa11-Jan-09 20:05 
AnswerRe: Object type not known at Design TIme Pin
Guffa11-Jan-09 20:02
Guffa11-Jan-09 20:02 
QuestionHow do I write to this class? [modified] Pin
e40s11-Jan-09 8:17
e40s11-Jan-09 8:17 
This following console app attempts to use the PDFToImage class (at bottom of this post):
class MainClass
{
    [STAThread]
    public static void Main(string[] args)
    {
        if (args.Length < 6)
        {
            Console.WriteLine);
            return;
        }

        using (StreamWriter sw = new StreamWriter(args[5]))
        {
            sw.WriteLine(transformPDFToImage(args[0]));	
        }
    }

    private static string transformPDFToImage(string input)
    {
        whatdoiwritehere?PDFToImage(input);...?
    }
}


I've tried...
PDFToImage pdf2i = new PDFToImage(input);...but the compiler responds with The type 'org.pdfbox.PDFToImage' has no constructors defined(CS0143)


If I write...
PDFToImage pdf2i = new PDFToImage();...the compiler responds with 'pdf2i' is a 'variable' but is used like a 'method'(CS0118)



Thanks for any help.


For reference, here's the PDFToImage class definition (written in Java). (In my library, it's since been dotnetized, using IKVM, into a .NET-referenceable DLL): http://svn.apache.org/repos/asf/incubator/pdfbox/trunk/src/main/java/org/apache/pdfbox/PDFToImage.java

modified on Sunday, January 11, 2009 4:59 PM

AnswerRe: How do I write to this class? Pin
Not Active11-Jan-09 8:28
mentorNot Active11-Jan-09 8:28 
GeneralRe: How do I write to this class? [modified] Pin
e40s11-Jan-09 9:17
e40s11-Jan-09 9:17 
GeneralRe: How do I write to this class? Pin
Not Active11-Jan-09 9:32
mentorNot Active11-Jan-09 9:32 
GeneralRe: How do I write to this class? [modified] Pin
e40s11-Jan-09 10:02
e40s11-Jan-09 10:02 
GeneralRe: How do I write to this class? Pin
Not Active11-Jan-09 12:20
mentorNot Active11-Jan-09 12:20 
GeneralRe: How do I write to this class? [modified] Pin
e40s11-Jan-09 16:16
e40s11-Jan-09 16:16 
GeneralRe: How do I write to this class? Pin
Not Active11-Jan-09 16:29
mentorNot Active11-Jan-09 16:29 
AnswerRe: How do I write to this class? [modified] Pin
Luc Pattyn11-Jan-09 16:54
sitebuilderLuc Pattyn11-Jan-09 16:54 
AnswerRe: How do I write to this class? Pin
Pete O'Hanlon11-Jan-09 8:43
mvePete O'Hanlon11-Jan-09 8:43 
GeneralRe: How do I write to this class? Pin
e40s11-Jan-09 9:23
e40s11-Jan-09 9:23 
GeneralRe: How do I write to this class? Pin
Not Active11-Jan-09 9:29
mentorNot Active11-Jan-09 9:29 
QuestionPassword protect information in an application Pin
Karmendra Suthar11-Jan-09 7:06
Karmendra Suthar11-Jan-09 7:06 
AnswerRe: Password protect information in an application Pin
Not Active11-Jan-09 8:30
mentorNot Active11-Jan-09 8:30 
QuestionHelp Creating Sql Class Pin
Calferreira11-Jan-09 7:06
Calferreira11-Jan-09 7:06 
AnswerRe: Help Creating Sql Class Pin
User 665811-Jan-09 7:41
User 665811-Jan-09 7:41 
GeneralRe: Help Creating Sql Class Pin
Calferreira11-Jan-09 8:09
Calferreira11-Jan-09 8:09 
GeneralRe: Help Creating Sql Class Pin
User 665811-Jan-09 8:14
User 665811-Jan-09 8:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.