Coder Social home page Coder Social logo

vbe_modules's People

Contributors

petlahev avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

igoreksiz

vbe_modules's Issues

Import items

As a user I want to be able import an item to the active project

I have to be forced to choose a path from where the items should be loaded
but
If I already imported/exported to/from the project, the path should be defaulted for me.

A form with all items from the folder will be displayed adn I'll be able to

  • select all
  • select only certain types (class, module, form)
  • select a specific item(s)

I need to be given with two options

  • Overwrite if already exists (default)
  • Make copy (the item with the same name in the project will be retained)

Open folder dialog reopening

  1. Open office app (e.g. Excel)
  2. Open VBE editor
  3. VBE Menu - VBE modules
  4. Export
  5. Click on the Browse button
  6. Cancel it and Close the * Export* form
  7. Reopen the Export form and again click on the Browse button
  8. Cancel it

Now, the Select Folder dialog will reopen
If you repeat steps 4-7 the Select Folder dialog will reopen as many times as the Export form was opened

Export/Import path should remember last used path for new projects

As an user I may want to export/import from/to many projects.
Currently when I hit the Browse.. button, the selected folder always start on the root _C:_

In many cases it may be useful if I export/import from a new project(it is not saved in configuration setting yet) that the preselected folder in the folder dialog will be the one I last used

Remove components

As an user I want to be able to remove components from an active project.

I should be able to choose which components I want to remove (including all)
The document level components should be just cleared
A confirmation message must be given

Import useforms in non override mode throws exception

Currently user has a choice to import components in non override mode.
In that case if VBE figures out that the same name already exists, it will add a new component and adds ordinal number as suffix like

Module1
Module11
Module12
and so on

However this build-in functionality doesn't work for UserForms and importing a form will cause an exception.

Note, inserting a new UserForm and then rename it won't work as import forms consists from two files.
We need to copy the form we want to import, rename both files (frm, frx) and then import

Mysterious components appear in Export form

  1. Open Excel
  2. Open VBE editor
  3. Select the unsaved VBProject project
  4. VBE menu - VBE modules - Export

This components will be listed in the form however only ThisWorkbook and Sheet1 should be listed there
export components - mysterious components appear

Selection of components cause inconsistency

The forms in the project has a selection panel and a label that displays number of components (including selected). Currently the contol that list components is TreeView.
Manual (de)selection causes inconsistency between what is selected and what the label displays

Also the selection panel should work as a switcher on/off.
For example

  1. the first click on All will check all components
  2. the second click on All will uncheck all components
    The same logic should work with others

selection panel

Export items

As a user I want to be able export any item from the current project.
I should be able to

  • Export all
  • Export only specific type (module, class, forms)
  • Export selected item(s)

If I export first time from this project I need to choose a path where to export
If I already exported from the project, use the known path but give me ability to change it if I need

Settings form for maintaining project

As a user I want to be able to add/change/delete project/paths on a view.

The view will allow me to

  • delete any existing project saved in the settings file - c:\Windows\Temp\VBE\VbeComponentsConfig.xml
  • change path for any existing project with validation
  • add new projectwith path, again with validation

Exporting items throw exception

When I export items which includes empty ThisWorkbook or ThisDocument class sometimes I got error
Invalid procedure call or argument

Sometimes the same scenario works fine.

cm export error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.