Click here to Skip to main content
15,891,184 members
Home / Discussions / C#
   

C#

 
GeneralRe: how can i send data by using connection of another program? Pin
Colin Angus Mackay17-Mar-09 6:40
Colin Angus Mackay17-Mar-09 6:40 
GeneralRe: how can i send data by using connection of another program? Pin
Teuz17-Mar-09 23:58
Teuz17-Mar-09 23:58 
QuestionThread.Sleep() Pin
mrithula817-Mar-09 4:49
mrithula817-Mar-09 4:49 
AnswerRe: Thread.Sleep() Pin
musefan17-Mar-09 4:55
musefan17-Mar-09 4:55 
GeneralRe: Thread.Sleep() Pin
mrithula817-Mar-09 5:08
mrithula817-Mar-09 5:08 
GeneralRe: Thread.Sleep() Pin
dan!sh 17-Mar-09 5:19
professional dan!sh 17-Mar-09 5:19 
GeneralRe: Thread.Sleep() Pin
musefan17-Mar-09 5:19
musefan17-Mar-09 5:19 
QuestionAn exception has been thrown by the type initializers for 'java.io.File'. Pin
abbd17-Mar-09 3:28
abbd17-Mar-09 3:28 
Hello,

I try for an exemple witch convert PDF file to text file, in : http://www.codeproject.com/KB/string/pdf2text.aspx[^]

<br />
using System;<br />
using System.IO;<br />
using org.pdfbox.pdmodel;<br />
using org.pdfbox.util;<br />
<br />
namespace Pdf2Text<br />
{<br />
	class Program<br />
	{<br />
		/// <summary><br />
		/// The main entry point for the application.<br />
		/// </summary><br />
		[STAThread]<br />
		static void Main(string[] args)<br />
		{<br />
			PDDocument doc = PDDocument.load(@"C:\Documents and Settings\abbd\Bureau\1.pdf");<br />
			PDFTextStripper stripper = new PDFTextStripper();<br />
            Console.Write(pdfStripper.getText(doc));<br />
<br />
		}<br />
<br />
		<br />
			<br />
		<br />
	}<br />
}<br />


I have add : PDFBox-0.7.2.dll and IKVM.GNU.Classpath.dll

But i have this exception on line PDDocument doc = PDDocument.load(@"C:\Documents and Settings\abbd\Bureau\1.pdf"); :
An exception has been thrown by the type initializers for 'java.io.File'.

Help me please to resolve this problem, thank you verry mutch.
AnswerRe: An exception has been thrown by the type initializers for 'java.io.File'. Pin
led mike17-Mar-09 4:36
led mike17-Mar-09 4:36 
AnswerRe: An exception has been thrown by the type initializers for 'java.io.File'. Pin
musefan17-Mar-09 4:53
musefan17-Mar-09 4:53 
QuestionWebBrowser and AxWebBrowser differences Pin
Member 465172917-Mar-09 3:14
Member 465172917-Mar-09 3:14 
AnswerRe: WebBrowser and AxWebBrowser differences Pin
led mike17-Mar-09 4:37
led mike17-Mar-09 4:37 
GeneralRe: WebBrowser and AxWebBrowser differences Pin
Member 465172918-Mar-09 0:40
Member 465172918-Mar-09 0:40 
GeneralRe: WebBrowser and AxWebBrowser differences Pin
led mike18-Mar-09 5:53
led mike18-Mar-09 5:53 
Questionsystem information Pin
shefa' isied17-Mar-09 3:08
shefa' isied17-Mar-09 3:08 
AnswerRe: system information Pin
Eddy Vluggen17-Mar-09 3:15
professionalEddy Vluggen17-Mar-09 3:15 
GeneralRe: system information Pin
shefa' isied17-Mar-09 3:24
shefa' isied17-Mar-09 3:24 
GeneralRe: system information Pin
Eddy Vluggen17-Mar-09 4:10
professionalEddy Vluggen17-Mar-09 4:10 
AnswerRe: system information Pin
musefan17-Mar-09 3:21
musefan17-Mar-09 3:21 
QuestionModifying Windows Service app.config file Pin
User 265531917-Mar-09 1:57
User 265531917-Mar-09 1:57 
AnswerRe: Modifying Windows Service app.config file Pin
Michael Bookatz17-Mar-09 2:35
Michael Bookatz17-Mar-09 2:35 
GeneralRe: Modifying Windows Service app.config file Pin
User 265531917-Mar-09 2:41
User 265531917-Mar-09 2:41 
GeneralRe: Modifying Windows Service app.config file Pin
Michael Bookatz17-Mar-09 2:54
Michael Bookatz17-Mar-09 2:54 
GeneralRe: Modifying Windows Service app.config file Pin
User 265531917-Mar-09 2:56
User 265531917-Mar-09 2:56 
AnswerRe: Modifying Windows Service app.config file Pin
Le centriste17-Mar-09 2:43
Le centriste17-Mar-09 2:43 

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.