Search results for query: *

  1. M

    Question Read an XML File

    I spend ages looking for an answer and can't find anything, post a question and suddenly i find the answer. What i have done is loaded the xml file into an xmldocument, then specifying the node to start at and then iterating over all the nodes in that list.
  2. M

    Question Read an XML File

    Hi all, I am using VS2008 and am trying to read an xml file This is the xml file i am trying to read - <SJA JobNo="4311" SurveyDate="19-Apr-2007 12:49" Weather="clear, dry and bright" Surveyor="Luke Dawson" Site="" SurveyType="DevTS" HandS="HS110=7/HS111=1/HS112=site...
  3. M

    VB.NET and HTML email embed image

    Hi all, I am not sure that this is even possible but i thought i would ask. In my application currently when an html file is emailed out the images are not accessible as they are stored on a network machine. As long as the email is within the network the images can be seen. The problem...
  4. M

    Converting html to pdf

    Hi all, I am trying to convert an html file to a pdf file and am having trouble. I am using VS2003 and .NET 1.1 and am unable to use recommended addons. I need a free solution I have come across iTextSharp but am having trouble using it - has anyone else used this and got any advice, or any...
  5. M

    Combo box font colour

    Thanks for that, it has helped a lot and i have it working Thanks again
  6. M

    Combo box font colour

    Hi all, Is it possible to have a combo box that has different colour items? I have a combo box with a list of users and if they are disabled i want them to be in gray rather than black, is this possible? Thanks in advance
  7. M

    Message Box

    Thanks for that JohnH The program launches an instance of word with some text and when a button is clicked (inside word) a check is carried out. If that fails i want to show a message box to tell them the problem. The error is that the message box is displayed behind the open word window...
  8. M

    Message Box

    Hi all, I am having trouble with message boxes This is my message box MsgBox( strMessage, MsgBoxStyle.Exclamation, "Cannot approve" ) and i want it to appear on top of all the forms. Currently when the message box appears it appears behind another window. Is there a way to make it...
  9. M

    Printer information

    Hi all, When i am printing i give the users the chance to select which printer they want to print from and how many copies they want to print. What i am trying to do is when they select the printer from the combo box a number of labels are filled in with the information about the printer...
  10. M

    Duplex printing

    OK, i am giving the first method a go. When it talks about the print escape codes, is there a way to find out what other printers have as theres?
  11. M

    Duplex printing

    I tried the CanDuplex and Duplex properties but it didn't make any difference, PrintDialogue.PrinterSettings.Duplex = Printing.Duplex.Vertical Wouldn't the other option requrie a huge rewrite of the current code? something i do not have time to go.
  12. M

    Duplex printing

    Yes, i have found and looked at that and tried the options. However, they didn't work and the file was still coming out on two pages.
  13. M

    Duplex printing

    Hi all, I am having a lot of trouble with printing duplex(double sided) pages. I know the printer can print duplex because i have from it. Is there a way to set the setting before the print is sent to the printer? I am using the PrintOut function to print to a network printer. Any...
  14. M

    List View Images not showing

    Hi all, I have a list view that displays information and images, however every now and then the images do not show up. There does not seem to be any sort of pattern, it seems completely random. If anyone has experienced this before or has any ideas why could they please help. Thanks in...
  15. M

    Wierd Error Message MissingMethodException

    Don't worry, i have been able to solve it. It was to do with an update, however i went on windows update and downloaded the latest updates and it solved the problem. I could not tell you which one it was because i do not know. Thanks anyway vis781.
  16. M

    Wierd Error Message MissingMethodException

    Sorry it has taken me so long to get back, i have been very busy. This program has been inherited, and we are trying to fix it. The problem has not always been there, it has only started happening recently. It used to work fine so there is no problem with the code, the problem has appeared...
  17. M

    Wierd Error Message MissingMethodException

    I've found some more out, it appears it could be because of a windows update patch. I have tried a fresh install but the problem still remains, has anyone got any ideas.
  18. M

    Wierd Error Message MissingMethodException

    I have been able to follow the logic through further and have more information. Inherits AxSHDocVw.AxWebBrowser I am inheriting the above reference and trying to use it. MyBase.Navigate( STR_HTML_URL ) This is were it fails and i get the missing method exception. I have AxSHDocVw...
  19. M

    Wierd Error Message MissingMethodException

    Afternoon all, I am using a system on two identical machines and on one i get an error message that i do not understand An unhandled exception of type 'System.MissingMethodException' occurred in MTController.exe Additional information: Method not found: Void...
  20. M

    Toggle button with icon

    Thanks for taking an interest vis781, but i have solved the problem. If the Flatstyle of the button is set to system the image doesn't show, however when i set it to standard it worked fine and i could see the image. Thanks anyway.
Back
Top