PDA

View Full Version : Win 7 Registry and my Vedit Serial Number.



rejto
January 5th, 2014, 05:36 PM
Can I get my Vedit Serial Number fom my Wiin 7 Registry ?

Thanks,

-peter

rejto
January 6th, 2014, 11:42 AM
Hi,

I did a little bit more thinking about my question. After studying the Registry.vdm macro I convinced myself that the answer to my question is no.

Then, I realized that my Vedit Serial Number is in my Vedit.ini file. I also came across an old Ziemsky macro which automates the procedure of reading this Serial Number. Here it is,

//----------- 2nd demo: read VEDIT's serial number for displaying in the dialog -------------------


Reg_Set(18, HOME) // prepare a register to hold the path to the original VEDIT.INI
Reg_Set(18, "\VEDIT.INI", APPEND)

Reg_Set(103, ^(READ_STR, "AUTHENTICATION", "SerialNumber", 19, "xxx", @18)^) // read VEDIT's serial# into T-Reg(19)
Call_File(101, "INIFILE.VDM")

(The macro, INIFILE.VDM is available on the Ziemsky website. )


I have a hunch that using these ideas it would be not too difficult to ask Dashboard.vdm tp print out my
Vedit Serial Number.



-peter

rejto
January 7th, 2014, 01:12 AM
Hello,

Indeed, it was not difficult to add the Vedit Registration number to Dashboard. Here are the relevant lines:

------------------------------------------------------

ins_text("Vedit Registration Number is: ")
read_ini(20,"AUTHENTICATION","Registration","|(USER_HOME)\vedit.ini")
ins_newline
reg_ins(20)

-----------------------------------------------------------
Actually, I also did some other minor edting and I would like to upload my edited version of Dashboard_3.0.vdm.
However, I do not know how to upload files.

I would appreciate getting help about uploading files.


Thanks,


-peter

chriz
January 13th, 2014, 03:55 PM
Actually, I also did some other minor edting and I would like to upload my edited version of Dashboard_3.0.vdm.
However, I do not know how to upload files.

I would appreciate getting help about uploading files.


When typing a new message there is a button titled "Go advanced" on the right side just below the editing window.

It opens the current message with advanced editing features, for example with the possibility to attach files.


Christian

rejto
March 27th, 2015, 03:49 PM
When typing a new message there is a button titled "Go advanced" on the right side just below the editing window.

It opens the current message with advanced editing features, for example with the possibility to attach files.


Christian

Thanks Christian.

So, I am uploading my slightly edited version of Dashboard. Once again, as per the original version,
//
// Dashboard displays info about the VEDIT installation, invocation and startup,
// such as file locations, and the enabled/disabled status of various features.
//
In particular, Dashboard displays mos but not all of the Vedit Configuration Strings. I noticed that Vedit also has a Config_String command that displays all of the Configuration Strings and this is that I use in my version.

I have also added other configuraion parameters that I am using. So, I do not have to look them up, pecemeal in the manual. Finally, I have added the Vedit Reistration number.

Incidentally, note that I have been careful aboutseparatingmy additions fm theoriginal one by including the line

//----------------USER EDITED PART ---------------------


-peter

rejto12
September 17th, 2015, 10:10 AM
Hi,


I have just uploaded dashboard_3.0_pr3.vdm to the thread

Needs a slight enhancement of dashborard thread. I would like to continue future correspondence on that thread.

May be the two threads could be merged ?

-peter

Alexander T. Craig
November 1st, 2016, 06:04 AM
If I know, it's unreal

rejto12
December 23rd, 2017, 01:28 PM
Hello,

Indeed, it was not difficult to add the Vedit Registration number to Dashboard. Here are the relevant lines:

------------------------------------------------------

ins_text("Vedit Registration Number is: ")
read_ini(20,"AUTHENTICATION","Registration","|(USER_HOME)\vedit.ini")
ins_newline
reg_ins(20)

-----------------------------------------------------------
Actually, I also did some other minor edting and I would like to upload my edited version of Dashboard_3.0.vdm.
However, I do not know how to upload files.

I would appreciate getting help about uploading files.


Thanks,


-peter


Dear All,

I have just found a "minor bug" in the above line segment, that I have also used in Dashboard_4.0.vdm.

To describe that minor bug, let me start with the relevant lines from the vedit.ini file, edition 4.21.

-------------------------------------------------------------------------------------

; "RegistNumber" is used by VEDIT 6.11 and later;
; "Registration" is kept here for compatibility with older versions.

----------------------------------------------------------------------------------

In other words, in VEDIT 6.11 and later the "Registration" number is no longer relevant. In short, what should be displayed is the VEDIT "RegistNumber" .
I shall correct this oversight of mine in the forthcoming release of Dashboard_4.1.vdm.


I have found this oversight of mine, when I reinstalled my VEDIT program. After reinstalling it, I was sorry to see that for some reason, I have lost my VEDIT Registration number. Then I realized that the new installation program, I believe, installw.vdm, has created a new vedit.ini file. That new file had a "RegistNumber" but no "Registration" number. So, the macro did exactly, that it was supposed to do.


-peter