Poll: Show Advanced UserForm control - Virtual forms - to the world

Be advised that this is a public poll: other users can see the choice(s) you selected.

+ Reply to Thread
Results 1 to 9 of 9

Advanced UserForm control

  1. #1
    Registered User
    Join Date
    11-08-2015
    Location
    Croatia
    MS-Off Ver
    2016
    Posts
    53

    Question Advanced UserForm control

    Hello friends and lovers of Excel.

    For years I have build and use a control in my work that is an advanced UserForm for Excel that helps me to fast and error-free build Excel applications for different purposes from simple Excel workbooks as a template for invoices, to advanced applications. This advanced UserForm is in fact control that links Excel and other databases (Access, MySQL, MSSQL Server) in which, for example, are stored partners or items or ....
    The user designs database, define tables, fields, relations (few minutes) Then this control in runtime builds complete responsive design of the form, grid and edit and master detail, tabbed relations, buttons, filter form ....
    User only needs to write the business logic (if there is a need (calculations on validate, lost focus ...., before-after save,)) within the events that trigger.
    This control is still in Croatian language and there is no installer and no documentation.
    If you think that it will be some use for others in their work, I could translate it to english and create installer and documentation.

    I will put some screenshots of this advanced UserForm.
    If you think that there is some use for this please write your opinion.

    Thank you, Davor

    SC1.png
    Last edited by dageci; 12-02-2015 at 06:23 AM. Reason: Added Poll

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Advanced UserForm control

    A lot of us are unable to see screenshots, images, photos etc. So we have no clue what you are trying to show us.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Registered User
    Join Date
    11-08-2015
    Location
    Croatia
    MS-Off Ver
    2016
    Posts
    53

    Re: Advanced UserForm control

    Hello gmr4evr1 and thank you for your reply.

    This UserForm is a custom control that you can put on worksheet or on excel userform.
    I call it Virtual form because it does not exist in design time but it is created on runtime.
    Each Userform (or as I call it Virtual form) consists from 3 main elements:
    Grid, Edit and Buttons control.

    In order to know how and what to create, virtual forms engine needs to have definitions (that are stored in a file and created by Virtual form Designer).
    In this Designer:
    First we define Virtual Form name, description and the table (or worksheet) from where this Virtual Form gets and manipulate data (for now it supports Access, Excel, MySQL and MS SQL).
    Then we define a Grid and Edit control and the fields (from table or worksheet) that will be in this controls.
    And then we define what buttons we want to use on this Virtual form (Refresh, Filter, New, Edit, Delete, Exit,...., there are predefined buttons with actions or you can create your own in VBA (for example when you click on this button to populate excel cells with selected record in VirtualForm or....)).

    And voila the simple form with grid, edit, buttons, filter is created and ready for use.
    Sounds complicated, but it is not. My main guideline is that it is as simple as possible. It is easy to complicate things, but it is difficult to solve a complicated thing in an easy and understandable way.


    To use this Virtual forms in your excel workbooks there are many ways some of them:
    One way: when you put this usercontrol on your workbook or on UserForm it is a simple treeview control where you can create nodes and attach your Virtual Form to double click of this node
    Second way: You can simply call it from VBA code like this:
    VirtualForm1.ShowVirtualForm "MyVirtualFormName"


    For Advanced users there are also many events that are fired by this control in runtime like:
    BeforeFormOpen
    CommandButtonView
    Menu
    CommandButton
    TxtChange
    TxtValidate
    TxtCheck
    TxtLostFocus
    FlexChange
    BeforeSave
    AfterSave
    EditChange
    GenerateID
    TxtInit
    CommandButtonGroupChange


    With one line of code (SQL) you can show totals, counts,... (whatever we can do with SQL) in an auxiliary grid.

    You can also in runtime reorder and move and reposition the textboxes, columns of grid that are created by the engine

    You can also access these texboxes and labels thruu VBA code to get or set properties (Text, Caption, Backcolor, Left, Top,....)

    There is also an easy way to add relationships to create Master/Details like Order > Oreder Details, Order Notes,

    And more.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Advanced UserForm control

    Hello dageci and welcome to the forum.

    As described and shown in your picture it looks to be a very interesting use of Excel/VBA for more advanced form creation. This may well be useful to some here.

    Is this something you are sharing freely or is there a commercial aspect to it?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Registered User
    Join Date
    11-08-2015
    Location
    Croatia
    MS-Off Ver
    2016
    Posts
    53

    Re: Advanced UserForm control

    Hello Richard, thank you for your reply.
    I didn't decided yet. First I wanted to see whether it will come to be useful.

    I have a bad past experience with free software. Don't get me wrong, they are great, but in some time when the developer had enough, the project is abandoned.
    Donation model sounds very unprofessional.
    Even if I publish it as open source there are tens of thousands of lines of code, and it is not the kind of project where the users themselves going through the code and correct errors and add new functions. The intention of this project is to quickly and efficiently enable users to help themselves in their work.
    Through my experience in creating applications for the last 20 years, the worst is when you rely on a product and suddenly it stops to be maintained and supported. Frustrating and unprofessional.

    In past I bought some products that have come with the source code, but man, it took me a lot of time and frustration to find what I'm looking for. Every developer has his own style of programming.
    I would love that I can give this usercontrol free and establish a team of programmers to take care of users and develop new features in this control. But.....

    What do you and others think:
    donation model
    free with no support and no further development (except sometimes when I find free time)
    or commercial (and at what price)
    Last edited by dageci; 12-01-2015 at 12:18 PM.

  6. #6
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Advanced UserForm control

    I agree with Richard, although I'm unable to see the image, it does sound like it would be useful.

  7. #7
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Advanced UserForm control

    Hi,

    You've clearly thought very carefully about all aspects of this. Not just the basic code for getting the forms created, but also how it it might be used in the real world and the potential maintenance and support problems that arise.

    I know you mentioned design vs run time but do you see this as primarily for developers to create the forms for an application they wish to develop and once the application is issued with all the inbuilt forms the form design code and sheet definitions can be 'thrown away'?
    i.e. in this mode no further support would be necessary - certainly not as far as the automatic form design aspect is concerned.

    I suspect it would be more useful - and used in that way rather than letting any half interested amateur developer user start dabbling and building it in as runtime code to applications they design, with the consequential eventual maintenance problems that would arise.

  8. #8
    Registered User
    Join Date
    11-08-2015
    Location
    Croatia
    MS-Off Ver
    2016
    Posts
    53

    Re: Advanced UserForm control

    Hello,
    the project Virtual Forms consists of three parts. First is the usercontrol that is placed on the worksheet, the second is the stand-alone application Virtual Form Designer (abbreviation VFD) and the third is the 'DefinitionFile.vf' (the file that stores the definition data created with Virtual Form Designer (VFD) and used by VF usercontrol)
    Usercontrol is having one property that is called DeveleperMode (True / False). By default in usercontrol it is False, but in VFD is True (if we open forms from VFD when we are developing our app)
    If you protect the workbook and the VBA code the standard way that is provided by the Microsoft (password protect) the user can not change this property.
    When you distribute your work, you don't need to distribute Virtual Form Designer stand-alone application (VFD) to the user.
    If you want to be able to change and modify the Virtual Form on the user computer you can install the Virtual Form Designer (VFD) stand-alone application on a user machine. But you or your user still can't open the definition file with VFD if he doesn't know the password.
    The initial password to enter VFD is blank (nothing) and if you change it, it is encrypted with an encryption method that I can not tell here. For now the encrypt/decrypt method uses a phrase, but I can change it to use maybe the serial key used to activate the VFD. In this case if someone doesn't know your password or serial number used to install VFD he can't get the password to enter the VFD app to change definitions even though he may know the encryption method. And if you protected workbook and VBA code he can't enter Developer Mode.


    P.S.
    Currently I'm translating the project to English in a way that will be possible to soon use language files also, if there is a desire to use virtual forms in other languages. Then I need to create the installation and maybe some videos on how to use it. Maybe in a week or two there will be something to play with if there are interested people.
    Last edited by dageci; 12-02-2015 at 09:26 AM.

  9. #9
    Registered User
    Join Date
    11-08-2015
    Location
    Croatia
    MS-Off Ver
    2016
    Posts
    53

    Re: Advanced UserForm control

    Just to inform you about the progress of virtual forms.
    Soon there will be available a beta version for those of you who want to help in the development of this project. I work on the website and you can see the progress on the link www.virtual-forms.com
    (There is still a lot to do)
    If you have questions, suggestions or just want to give a nice word, I'm here and I'm there
    Davor

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Excel 2007, Userform Textbox Date Format and Calendar Control Userform
    By riffology in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-03-2014, 06:18 PM
  2. [SOLVED] Help on UserForm control
    By donnep in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-06-2013, 01:03 AM
  3. UserForm (Advanced): Copying controls between tabs in a multipage
    By Jon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-14-2012, 11:11 AM
  4. Advanced Textbox in UserForm - Keep Color of Font Same as Cell
    By abousetta in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-11-2011, 07:05 PM
  5. Running an Advanced Filter using Userform check boxes
    By gr6au in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-21-2011, 04:51 PM
  6. Advanced UserForm
    By Blitskrieg in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-09-2010, 04:40 AM
  7. UserForm Control
    By DCSwearingen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-24-2007, 10:48 AM
  8. [SOLVED] Dim Userform Control
    By donbowyer in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-27-2005, 08:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1