bulk changing variables names/values - Forum

Forum Navigation
You need to log in to create posts and topics.

bulk changing variables names/values

Helloo good ppl of Neobook/VisualNeo world

I have a question :

Is there any way (maybe through Notepad/Notepad++ or similiar app) to change variable values/names in batch ?

Im making major change to my app to use another databases depending on selection, interface for making entries in all databases  is the same, but in time of making app i did not took in consideration that i would need more then one database. Since i don't have knowledge to manipulate specific entries to be displayed from all data in database, i just created new ones for that.

Here i have issue, i really don't have willpower or time to change every variable in for example [SelectedDatabase] depending on action which one is selected (1,2,3,4....).  All of my variables have specific designation (in this case [AmazonFlex]) which i want to change to [SelectedDatabase] but all in one. In Actions is not problem, but all buttons, input windows, textboxes are pain in the something :D

So, can i do that over text editor, but not to mess entire file ?

I hope I explained my issue well

Thx

 

-edit :

I will add question here, so i dont create new topic :

Where does NeoDbPro saves DatabaseIDs ?

I want to backup those ID's for safe keeping

@nypercro

 

Hi, as far as I know  .PUB file is just ordinary text file, so you can change variable names/values in batch using Notepad/Notepad++ or similar programms.

I've done this myself many, many times without problems.

 

Hope this help!

Cheers!

luishp, Vadim and NyperCro have reacted to this post.
luishpVadimNyperCro

Thx, i didn't want to mess something up. True, last time i tried that was when i used Neobook in DOS, messed up file completely

@nypercro the @dglojnar solution is probably the best one.
Just be sure to backup your file before doing any changes.
The Find and Replace functionality found in most plain text and code editors should be enough to solve your problem, just be careful and test your edited file after each new change.

Regards.