Search results for query: *

  1. B

    Opening a PDF File

    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...
  2. B

    Opening a PDF File

    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?
  3. B

    Sorting a String Array

    Thank you Hauptra! That wasn't exactly what I needed but it was enough to get me headed in the right direction. Thanks again.
  4. B

    Sorting a String Array

    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...
  5. B

    Appending Byte() to another Byte()

    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...
  6. B

    Appending Byte() to another Byte()

    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".
  7. B

    Appending Byte() to another Byte()

    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...
  8. B

    Appending Byte() to another Byte()

    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...
  9. B

    MessageBox.Show

    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 &...
  10. B

    Appending Byte() to another Byte()

    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
  11. B

    Adding attributes

    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"...
  12. B

    TextBox help limit input characters

    Is it possible to now allow certain characters to be entered into a textbox while the user is typing them in?
  13. B

    A potentially dangerous Request.Form value was detected from the client

    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...
  14. B

    string to xml

    Thank you for your help!
  15. B

    string to xml

    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...
  16. B

    Formatting and Integer

    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?
Back
Top