Search results for query: *

  1. G

    Custom Save button that recognizes the form it is on?

    I am using VB 2010. I wanted to put the code below into a save custom control. The problem is that how do I get a custom control to recognize the form the custom control save button sits on? Is it possible to have the code below in a button custom class? If so it would be good because the...
  2. G

    Preformat data before loading into textbox?

    I am using VB.Net 2010. This is the problem. I have data in an Oracle database. The numbers in Oracle are not in currency format. They a straight up numbers. No dollar signs or commas. When I load it into a textbox, I want the data to be converted into a currency format. Here is the problem...
  3. G

    Apply format when loading data on screen

    I am using VB.Net 2010. Presently I am trying to create a currency textbox. I am using the FormatCurrency command to format the text in the textbox. I put it in the LostFocus event of the text box. It works. When the user leave the textbox it adds dollar signs, commas, and periods, for example...
  4. G

    Custom transparent label becomes disfigured on my custom groupbox

    I am using VB.Net 2010. So I have 2 problems with my custom group box. I created a custom label and a custom group box. Problem 1) If I try to change my custom group box font to size 8, will only go to 8.25. Problem 2) If I place a transparent label on my custom group box, whenever I make a...
  5. G

    Parent Class Winform?

    Sorry for the double post everyone. I don't know how that happened. I tried the visual inheritance picker. But it has problems. I get an error message that reads: "No Build assemblies contain compenents to inherit from. Build the current applcation or click on Browse and select a peviously...
  6. G

    Parent Class Winform?

    Classes with Windows Forms? I am using VB.Net 2010. I am creatig custom controls. The reason I am doing this is because if I create a parent textbox. Then all children textbox will inherit the parents attributes. If later I decide to make a change, then I only have to change it once at the...
  7. G

    Can't create new DLL?

    Don wrote: "Did you remove the reference to the old assembly from your project and did you add a reference to the new assembly in your project? " No I did not. I thought that if a drop a dll and ad a new dll, even if it is the same name, that the controls on the form would go away and I would...
  8. G

    Can't create new DLL?

    I am using VB.Net 2010. I am creating my own custom controls. I moved the old custom control DLL to another directory. I created a new DLL and copied it to the directory where the application resides thus replacing what was there. When I fire up the application I get an error that says "...
  9. G

    Parent Class Winform?

    I am using VB 2010. Recently I have had good success with custom controls. I am able to create a parent control like a command button that contains all preferences to our application. I use my own custom controls instead of what ships with Microsoft. Because I am using custom controls, I can...
  10. G

    One control many validations?

    I am using VB.Net 2010. I have 2 questions. Suppose that I wanted to create one custom control like a textbox. In the textbox, it will have all the typical code you find in a desktop application. For example, I need a letter only textbox, numbers only textbox, this textbox can't be empty...
  11. G

    Flexible Custom Control ?

    I am using VB.Net 2010. At our firm we have several textboxes. We have the typical white background with black letters. Then if it is a mandatory textbox, it is a yellow background with black letters. Then there is letters only textbox, followed by numbers only, then there are combinations of...
  12. G

    My child control does not refresh

    I am using VB.Net 2010. So here is my problem. I created a custom control. I wanted this to be my base class so that all textboxes are the same. If I want to say change the background color I can change it in one place. I created my base class. It had a yellow background. Then I created a Win...
Back
Top