Click here to Skip to main content
15,902,275 members
Home / Discussions / C#
   

C#

 
GeneralRe: use other name of class Pin
led mike21-May-07 10:35
led mike21-May-07 10:35 
QuestiondataMemember reference row in table Pin
irishdunn21-May-07 9:02
irishdunn21-May-07 9:02 
AnswerRe: dataMemember reference row in table Pin
DoomedOne21-May-07 9:15
DoomedOne21-May-07 9:15 
GeneralRe: dataMemember reference row in table Pin
irishdunn21-May-07 9:18
irishdunn21-May-07 9:18 
QuestionHELP Pin
irishdunn21-May-07 9:49
irishdunn21-May-07 9:49 
AnswerRe: HELP Pin
SimulationofSai21-May-07 10:28
SimulationofSai21-May-07 10:28 
QuestionRe: HELP Pin
irishdunn22-May-07 4:45
irishdunn22-May-07 4:45 
Questionvb.net code to csharp Pin
raj51021-May-07 8:51
raj51021-May-07 8:51 
Can anyone help to convert vb.net code to csharp

Transform XML using XSLT and get HTML code
' then create PDF document from produced HTML code

Set PDFDoc = CreateObject("PDFDocScout.PDFDocument")

PDFDoc.InitLibrary "demo", "demo"
PDFDoc.OutputFilename = "XML2HTML.pdf"
PDFDoc.AutoOpenGeneratedPDF = true

PDFDoc.BeginDocument

' load source XML document
Set xmlDocument = CreateObject("Msxml2.DOMDocument.4.0")
xmlDocument.async = false
xmlDocument.load("Simpsons.xml")

' load XSLT template
Set xslDocument = CreateObject("Msxml2.DOMDocument.4.0")
xslDocument.async = false
xslDocument.load("Simpsons.xsl")

' create XML doc to store result of transformation
Set objResultXML = CreateObject("Msxml2.DOMDocument.4.0")
objResultXML.async = false
objResultXML.validateOnParse = true

' transform XML using XSLT into objResultXML document
xmlDocument.transformNodeToObject xslDocument, objResultXML

' convert produced HTML code from objResultXML document into PDF
PDFDoc.Page.AddHTMLBox objResultXML.xml, 0,0, PDFDoc.Page.Width, PDFDoc.Page.Height, true

PDFDoc.EndDocument ' close PDF document generation

' disconnect from library
Set PDFDoc = Nothing



raj
AnswerRe: vb.net code to csharp Pin
Not Active21-May-07 8:53
mentorNot Active21-May-07 8:53 
GeneralRe: vb.net code to csharp Pin
Dave Kreskowiak21-May-07 9:32
mveDave Kreskowiak21-May-07 9:32 
GeneralRe: vb.net code to csharp Pin
raj51021-May-07 9:42
raj51021-May-07 9:42 
GeneralRe: vb.net code to csharp Pin
Dave Kreskowiak21-May-07 10:06
mveDave Kreskowiak21-May-07 10:06 
GeneralRe: vb.net code to csharp Pin
Not Active21-May-07 9:47
mentorNot Active21-May-07 9:47 
GeneralRe: vb.net code to csharp Pin
raj51021-May-07 9:36
raj51021-May-07 9:36 
GeneralRe: vb.net code to csharp Pin
Dave Kreskowiak21-May-07 9:42
mveDave Kreskowiak21-May-07 9:42 
QuestionCall to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
DoomedOne21-May-07 8:25
DoomedOne21-May-07 8:25 
AnswerRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
Dave Kreskowiak21-May-07 8:29
mveDave Kreskowiak21-May-07 8:29 
GeneralRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
DoomedOne21-May-07 8:46
DoomedOne21-May-07 8:46 
GeneralRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
Dave Kreskowiak21-May-07 9:17
mveDave Kreskowiak21-May-07 9:17 
GeneralRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
DoomedOne21-May-07 9:40
DoomedOne21-May-07 9:40 
GeneralRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
Dave Kreskowiak21-May-07 10:10
mveDave Kreskowiak21-May-07 10:10 
GeneralRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
DoomedOne21-May-07 10:46
DoomedOne21-May-07 10:46 
GeneralRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
Luc Pattyn21-May-07 12:40
sitebuilderLuc Pattyn21-May-07 12:40 
GeneralRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
DoomedOne22-May-07 3:05
DoomedOne22-May-07 3:05 
AnswerRe: Call to Graphics.DrawString thows invalid argument on call to System.Drawing.Graphics.CheckErrorStatus Pin
DoomedOne22-May-07 7:22
DoomedOne22-May-07 7:22 

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.