Search results for query: *

  1. O

    Raising Events in ApplicationEvents

    Hi, I have developed a program that I want to run as a single instance form, but I want to handle any new instances trying to occur and process their command line parameters. In the ApplicationEvents StartupNextInstance sub, I raise a custom event FSwitch(). Dim AppEventArgs As New...
  2. O

    Get part of string

    Hi, If I use the Path.GetFileNameWithoutExtension(FilePath) it would return something such as: What i need to get from that file name is the I Hope that this explains what im after James
  3. O

    Get part of string

    Hi, I want to make a function that takes a string and then returns only a specific part of that string. The string the function will take is a path to a file such as D:\Folder\Folder2\Untitled Document_1_2.tif What i want the function to do is return the Untitled Document_1 Portion of...
  4. O

    Opening Image Speed

    Thanks for that, if I'm using this method what would be the best way to zoom in and out of the image?? As the app will be dealing with scanned images they can be quite big so I want to be able zoom to width etc where I can supply the visible width of the screen and the zoom to make the image...
  5. O

    Opening Image Speed

    Hi, Im trying to make a win form that opens multipage tiff files. The code that im currently using is loading the image into a Image Variable (BaseImg) with the following line of code: BaseImg = Image.FromFile("Some path"). Then i iterate throught the baseimg and create a bitmap of each page...
  6. O

    Printing Panel

    HI, I have found the drawtobitmap only gives the visible part of the panel. WIll this not be the same with a panel in a panel? James
  7. O

    Printing Panel

    Hi All, I have been developing a app that uses a panel control that displays a scanned tiff file. I then can add controls to the panel that are transparent and highlight the document and also add controls to the panel that act as 'PostIt' notes. I now want to be able to print the document that...
  8. O

    Outlook warning dialogue

    Hi, I am making a application that automatically sends out emails to a list of addresses from a database. I need to use outlook as the email server is a exchange server and i am not allowed to directly connect using the SMTP details. When i try to send each email i get a warning dialogue...
  9. O

    Move custom controls

    Hi Newguy, Sorry about the delay in the reply, below is the code that im using to load the image: 'open image file --> from opentwain Dim imgFile As New IO.FileInfo(file) If Not imgFile.Exists Then Return Dim ImageFS As New...
  10. O

    Move custom controls

    Hi newguy, Thanks for the suggestion, and I will try that out. When I call the Invalidate(<the new rectange>) to i put that in the custom controls mouse move method? thanks james
  11. O

    Move custom controls

    Hi, I have a win form that has a panel control. I load a tiff file and set it as the panel controls background image, and the measure the images size so that I can set the sroll bar parameters. I the have button, which activate the drawing of a custom control, which issue the mousedown...
  12. O

    Event Handlers

    Hi, I have a panel control on a win form, to which I dynamically add a custom control. The custom control inherits UserControls and in the New() sub, I assign the control a GUID. When a control is added to the form, a variable of type List(Of T) holds the details of where i put the control and...
  13. O

    Highlight part of image

    Thanks for the reply, Will this be anchored to the image, so that when I scroll up and down the highlight will move with it? And do I need to make a new layer on top of the image so that I can draw on it? If so how do I go about that? Thanks James
  14. O

    WPF Annotation

    Hi all, I have been trying to find a way to annotate documents that I scan in. Whilst googling, I came across WPF ability to annotate documents. What I would like to know is it possible using the document viewer to show multi-paged tiff files and to annotate them - highlight and sticky notes...
  15. O

    Highlight part of image

    Hi, Im not sure if this is the right place to post this question, but here it goes: What i am trying to do is open a tiff file and then be able to highlight different areas using my mouse. The way i would want to do this is to use my mouse to draw around the section of the document that I want...
Back
Top