Search results

  1. A

    Creating an undo function

    Hello there. I am looking for help from anyone who has designed an undo manager. I have a manager that will save the current form object to a stack array. I fire this method on every controls GotFocus event. However I am thinking - is there a way of only saving when the user has changed the...
  2. A

    Exporting from a form to printer

    Hello all I have a form that consists of multiple copies of a user control (made itself of a label, a textbox and twenty checkboxes). What I'm trying to do is print this form. I don't want the actual form but the controls inside the form. Can someone recommend a way to do this? Many...
  3. A

    What is the problem with using Trace.Writeline("My Text.")

    Hello all - Can someone please advise what the best practice would be for implement traces in my code? I currently just put: Trace.WriteLine((Date.Now) & ": " & System.Reflection.MethodBase.GetCurrentMethod.ToString()) in all my methods that I want to monitor. However I get a feeling...
  4. A

    Can I have an array of controls repeated somehow? (VB.net 2003)

    Not sure how to word this but here goes: I have options that I want a user to be able to select from my CheckListBox. They then click a button and a page containing a list of items from the checklist box appears like this: Item Name | Checkbox 1 | Checkbox 2 |...
  5. A

    Referencing each property in a object using a loop...

    Hi. I have an object which has several public properties named rm1, rm2, rm3 ... rm18. I want to be able to write a loop (for i = 1 to 18) in another class, that allows me to reference the rm(i) numbered property. How do I write this in code? I have already created myObject in the other...
Top Bottom