C#
Fermé
trinity666
Messages postés
127
Date d'inscription
samedi 24 mai 2003
Statut
Membre
Dernière intervention
17 août 2011
-
11 juil. 2007 à 10:43
trinity666 Messages postés 127 Date d'inscription samedi 24 mai 2003 Statut Membre Dernière intervention 17 août 2011 - 11 juil. 2007 à 14:37
trinity666 Messages postés 127 Date d'inscription samedi 24 mai 2003 Statut Membre Dernière intervention 17 août 2011 - 11 juil. 2007 à 14:37
1 réponse
trinity666
Messages postés
127
Date d'inscription
samedi 24 mai 2003
Statut
Membre
Dernière intervention
17 août 2011
2
11 juil. 2007 à 14:37
11 juil. 2007 à 14:37
ben jen été reduite a faire cette horreur pour que ca marche
static void pdfToHtml(String pdf, String html) {
char g = '\"';
StreamWriter sw = null;
String str = g+"D:\\Documents\\Visual Studio 2005\\Projects\\ConsoleApplication1\\ConsoleApplication1\\pdftohtml.exe"+g;
try
{
if (File.Exists("D:\\Documents\\pdf2html.bat"))
{
File.Delete("D:\\Documents\\pdf2html.bat");
Console.WriteLine("il a existé");
Console.ReadKey();
}
sw = new StreamWriter("D:\\Documents\\pdf2html.bat");
sw.WriteLine("@echo off ");
sw.WriteLine(str +" "+pdf + " " +html);
sw.WriteLine("pause");
sw.Close();
sw = null;
Process.Start("D:\\Documents\\pdf2html.bat");
}
catch (Exception e) { Console.WriteLine(e.ToString()); }
}
}
:( decue rarement de reponses a mes questions
static void pdfToHtml(String pdf, String html) {
char g = '\"';
StreamWriter sw = null;
String str = g+"D:\\Documents\\Visual Studio 2005\\Projects\\ConsoleApplication1\\ConsoleApplication1\\pdftohtml.exe"+g;
try
{
if (File.Exists("D:\\Documents\\pdf2html.bat"))
{
File.Delete("D:\\Documents\\pdf2html.bat");
Console.WriteLine("il a existé");
Console.ReadKey();
}
sw = new StreamWriter("D:\\Documents\\pdf2html.bat");
sw.WriteLine("@echo off ");
sw.WriteLine(str +" "+pdf + " " +html);
sw.WriteLine("pause");
sw.Close();
sw = null;
Process.Start("D:\\Documents\\pdf2html.bat");
}
catch (Exception e) { Console.WriteLine(e.ToString()); }
}
}
:( decue rarement de reponses a mes questions