Well here is the code I am currently using... however, it doesn't seem to work everytime. While I am debugging and step through the code, sometimes the file doesn't open, or sometimes the .aspx page just hangs there.
Private Sub OpenPdfFile(ByVal strReport As String)
Dim path As String...
I have an ASP.NET page that creates a set of .PDF files. It then appends them into one big PDF file and saves them to a location on a server.
What is the best way to open this new file in Adobe and still have the .aspx page running?
I have a sting array that I need to sort in a certain order. The array can contain but may not always contain each of the following...
CoverPage
TOC
ReportName1
...
ReportName10
These items are in the array in random order. I need to sort them in the order listed above. The array might only...
Thanks cjard, this post would have helped earlier. I was overlooking the fact that html has that start and end point. And that joining the two together will cause "illegal" html.
I'm not sure how that translates into trying to append bytes of excel.exe into winword.exe, but your point is now...
Thanks again for the help JohnH. Your code is in fact working (kinda). I completely overlooked the fact of conflicting sections in the html. If I output using a different format such as XML, it works as expected... although the XML isn't "well-formed".
How is that? I have two Microsoft Reporting Service reports... I am trying to append them together. Microsoft Reporting Services allows you to export the results/reports in various formats such as HTML, PDF, EXCEL, etc...
I am getting two reports in HTML format and I want to append those...
Thanks for the help JohnH. This doesn't seem to be working though.
Result and Result2 are actually Microsoft Reporting Services Reports that are being returned as Byte Arrays.
My goal is to combine and output these two reports to html (or pdf) as one big report. I am outputing them...
Something like this should work...
'What to Display
If Me.chkGrandTotal.Checked = True Then
MessageBox.Show("Grand Total:" & lblGrandTotal.text, "Amount of Order")
Else
MessageBox.Show(decTotalA.ToString & ControlChars.CrLf & _
decTotalB.ToString & ControlChars.CrLf & _
decTotalC.ToString &...
I have two byte() arrays
Dim result As Byte() = X
Dim result2 As Byte() = Y
I need to append result2 to result. How can I do that?
I essentially need...
result3 = result + result2
I am adding attributes to some textboxes during runtime using this code...
txtOrgName.Attributes.Add("onfocus", "Remove();")
txtOrgName.Attributes.Add("onblur", "Add();")
txtOrgName.Attributes.Add("onkeydown", "KeyDownHandler(btnFindOrg);")
txtOrgName.Attributes.Add("oninput"...
Whenever the character < is entered into any field I get an error saying... A potentially dangerous Request.Form value was detected from the client. I realize that the .NET framework is throwing the error because it can be interpreted as html code that could potentially be harmful. With one of...
I'm not sure if this is the correct forum to post this but here it is anyways...
I am using a webservice that returns a string. The string is in xml format. How do I convert that into something in xml where I can parse through it? Or if there is an easier way to parse it let me know.
Here is...
Is it possible to format an integer without converting it to a string? I want to convert a number like 4 to 0004. I know I can do this using int.ToString.PadLeft(4, "0"c) but is there a way to do this without converting it to a string or other type variable?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.