1

(1 replies, posted in General)

Is there a way to have the Gantt Chart Panel have both horizontal and vertical scrolling?
Is there a way to hide, move or change the legend location?

Thank you,
  Robb

2

(15 replies, posted in General)

Another option, for a trial App and/or protecting your deployed application.

Engima Virtual Box is a free option that you can use to package all files into one application, if you include the sqlite.db into the package all changes will be reverted upon exiting.

http://enigmaprotector.com/en/aboutvb.html

If you want to protect your files but want to retain data changes, you would create a package including all files but the sqlite.db and put that in the same folder as the packaged files.  (see image) 

For the most security, you will want to ensure your db only contains user data and not any system required information.

3

(2 replies, posted in General)

Perfect.

Robb

4

(15 replies, posted in General)

bemorhona-qt wrote:

Dear rjkantor,

According to you attached project how will the program identify that 365 days have past?

One of two ways,
1) the date of the key has to be encoded into the string and the number of days support
2) the calculated expiration date of support needs to be encoded into the string

Then that is compared to the current date.

Robb

5

(1 replies, posted in General)

I would like the file menu to have a Recent... option which provide a list of the last five projects opened.
This is a simple change, but would add to my productivity, since I tend to open multiple projects over the course of a day.

Thank you,
  Robb

6

(15 replies, posted in General)

DriveSoft wrote:

How to get logical serial number of C:\

ShowMessage(GetHardDiskSerial('c'));

But this number will change if user reinstall Windows.

I would implement a license key system to validate the user and their computer.

Upon the user registering you would ask the user to provide the hard drive serial based on the method shown above.

You would enter this, plus their name and email address as components of the license key (plus anything else  you want to include in the license generation). 
The resulting code, would be given to the user and they would enter the license key which would validate that the computer matches the serial and you would display their name and email in the about screen. 

If you wanted to support multiple computers, you would just add these multiple serials codes into the key generator.  (See image)

Robb

7

(2 replies, posted in General)

If you use a tool like robotask you can process emails via imap and extract the email contents and parse into database fields.  Not a single tool like mvd but it is possible.

Robb

Check out the MVD Copier to copy forms from one project to another.

http://myvisualdatabase.com/forum/searc … 1054709239

9

(2 replies, posted in General)

I have a grid and a few buttons beneath the grid.

Two of the buttons execute [Show Record] (different actions)

If I double click the grid, the proper [Show Record] executes, when I close the show record form and return to my main form the other [Show Record]  executes.  How can I prevent the second [Show Record] button from executing?

Thank you,
Robb

I am getting an error, "03-28-2016" is an invalid date when trying to assign the following

Form1.DateTimePicker1.Date := strtodate(sDateStr);

Please advise.

Rob

11

(5 replies, posted in Script)

Thank you.  That worked.

12

(5 replies, posted in Script)

Sample.zip

The project generates three files:
sample_export.csv which comes from my main table
headerrow.csv which comes from the header row
fOutfile.csv which is my combined file - which does not transform nicely.

My procedure ConcatenateFiles does the final output.

Thanks for your assistance.

13

(1 replies, posted in General)

The export to csv seems to be adding the id at the end of the output line.

Therefore, I get ID twice.  Once where I explicitly request it and then as the last item.  Is this by design?
Can it be suppresed?  I am using the 2.5 beta version.

Example output

1,Amazon,http://www.amazon.com,,888-555-1212,,,,support@amazon.com,1
2,APMEX,http://www.apmex.com,P.O. Box 269073,866-555-1212,Oklahoma City,OK,73126-9073,support@apmex.com,2

Here is my dbsql

select id, Name, URL, Address, Phone, City, State, Zip, Email from vendor

Thank you,
  Robb

14

(5 replies, posted in Script)

I am using the following commands

FrmExport.TableGrid1.SaveToTextFile(SaveDialog.Filename);

and

Frmexport.Memo1.Lines.savetofile(ExtractFileDir(SaveDialog.Filename)+'\'+'headerrow.csv');

I am then trying to concatenate the two files.  The headerrow file is showing as strange characters when concatenated with the textfile.

Are these two commands writing to the same character set?  Each file visually looks ok, but when I combine then using TFileStream the header file is not readable. See attachement https://www.dropbox.com/s/k2kzovxz1cnz6 … 6.pdf?dl=0



Thank you,
  Robb

15

(5 replies, posted in Script)

I am using the SaveToTextFile method.  I want to include a header row, can this be achieved?

Robb

16

(5 replies, posted in Script)

Perfect. Thank you.

17

(3 replies, posted in Script)

Is supporting a compiled dcu possible in a future release?  I would nice to share some functionality but not to provide my source.

18

(5 replies, posted in Script)

I am trying to use the TSelectDirectoryDialog to select a folder.  I know I can use the TOpenDialog but it requires selecting a filename from which I can extract the path.  I would prefer the user to select the destination folder instead.

Thank you,
  Robb

19

(16 replies, posted in General)

I think I figured it out.  Seems to work.

   ComboBox1.Items.Clear;           
  ComboBox1.Items.Add('Red');       
  ComboBox1.Items.Add('Green');

20

(16 replies, posted in General)

is there a way to use the ComboBox as an unbound dropdown list?  In other environments, I could add items to the list items to display within the drop down rather than assigning to a table and field.  Can this be accomplished in mvd?

RK

21

(3 replies, posted in Script)

Is there a way to share compiled procedure and functions within the MVD tool?  If i wanted to share a function or procedure, it would nice to be able to share the dcu that could be reference or included within the script file.

Your thoughts...

22

(5 replies, posted in General)

The sparrow checkbox has the allowGrayed option as True compared to the other checkboxes.

RK

23

(5 replies, posted in General)

Looks like your field Taille is a text field rather than an integer.  If you change the type and rerun your sql it will pull back the proper values.

24

(13 replies, posted in General)

I found a third party tool which will open the encrypted db file.

SQLite2009 Pro
http://sqlite2009pro.azurewebsites.net/

When you select the db, it will show a dialog, File is encrypted or is not a database! click OK

The Enter DB Password screen will come up.

Enter the Encryption Key - same as the PRAGMA key.
Then select the RSA (Compatible with ADO.NET Provider) radio button and then select OK

You should have successfully attached the db.
Enjoy!

25

(13 replies, posted in General)

Yes, it encrypts the database.  If it is a preexisting db, you may need to use the PRAGMA rekey= to encrypt.  Then you can change to PRAGMA key=.  Please ensure you backup your data before trying to encrypt preexisiting dbs.

Yes, third party tools will prompt for password, but they may not be able to decrypt depending on which encryption extension they employ.
I have tried SQLiteManager and wxSQLitePlus and neither will open an encrypted db using my dll.

Robb