Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
7
Erster Beitrag:
vor 3 Monaten, 2 Wochen
Letzter Beitrag:
vor 3 Monaten, 2 Wochen
Beteiligte Autoren:
André Labuschagné, Ola, GuenterP

Importing From Another Project

Startbeitrag von André Labuschagné am 12.03.2017 14:53

Hi All

I do not use WD that much. On WD21. I have created a project. I want to import all the elements into this project from another project. How do I do that?

Andre

Antworten:

Hi André

In your new app open the File menu -> Import -> Windev elements and their dependencies -> select the old app's directory -> add a checkmark before each file name you want to import -> click the green/white OK button.

Best regards
Ola

von Ola - am 12.03.2017 21:42
Hi, the procedure is as follows:

- make the new project and add an analysis with a dummy file in it. Two file items, no more. Generate the analysis and close the project.
- delete the directory MyProject.ana from the new project.
- copy the analysis directory MyProject.ana from the old project to the new one.
- open the new project and edit the Project Description, pointing to the new analysis name, generate the analysis
- open the old project and copy and paste the project code from the old project to the new one.
- proceed as Ola described it ...

von GuenterP - am 13.03.2017 06:00
Hi Ola

I tried that and it did not copy the files to the importing location. It simply pointed to them under Other. Maybe I did something wrong.

Andre

von André Labuschagné - am 13.03.2017 10:15
Thanks Guenter - made a note of the steps.

von André Labuschagné - am 13.03.2017 10:17
Quote
André Labuschagné
Hi Ola

I tried that and it did not copy the files to the importing location. It simply pointed to them under Other. Maybe I did something wrong.

Andre


Hi André

That's weird, but too often Windev's ways are mysterious indeed...

I just re-tried this with the WD21 CRM sample program, imported a window from my main ERP, and the window WAS copied to the CRM directory.

I have done this process several times in the past, too, and it has always worked flawlessly.

You could also try this:
- Take a back-up copy of the whole old app directory.
- Copy the whole old app dir to a new directory
- Rename the old app dir temporarily to something else, so that any references in the new app to the old app's directory create errors. You don't want to mess your original app with any changes you do in the new app.
- do any re-namings and changes you need in the new app and fix all it's errors and make sure it runs ok, before you rename the old app dir back to its original name.

Best regards
Ola

von Ola - am 15.03.2017 08:55
Hi Ola

Yep - the trick is in the renaming so that you can fix the errors in the new app first.

Thanks.

Andre

von André Labuschagné - am 15.03.2017 17:36
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.