Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
2
Erster Beitrag:
vor 4 Jahren, 10 Monaten
Letzter Beitrag:
vor 4 Jahren, 10 Monaten
Beteiligte Autoren:
ICI, Aad Gouka

hModifyStructure.

Startbeitrag von Aad Gouka am 24.06.2013 10:52

Hi all,

I'm using WDModfic for quite a while now and it's working fine if you know how to deal with it.
In a recent topic I read about hModifystructure that repelaces the WDModfic.

In my applications I use a lot of hChangeDirs. hModifystructure("*",xxxxx) doesn't seem to work then. When I use hModifystructure("Filename",xxxxx) evrything works fine. So every file has to be declared with hModifystructure(). Not a problem of course, but I wonder if this is normal behaviour.

Thanks for any tips.

Kind regards,

Aad Gouka

Antworten:

Hi Aad,
I have similar situation with WD18. While it work in WD17 .
I use this function and use variable as name for filename.
All work fine with WD17. Now I'm stuck and wait next WD update and hope
all will be fine again. :)

sTabeleBaze = HListFile("",hLstAll)
i = StringCount(sTabeleBaze,CR)+1
FOR x = 1 TO i
sNazivDatoteke = NoSpace(ExtractString(sTabeleBaze,x,CR))

HourGlass(True)
Message("Database update...")
IF gnVrstaKonekcije = "HFCS" THEN
HModifyStructure(sNazivDatoteke,hmsBackgroundTask)
ELSE
HModifyStructure(sNazivDatoteke)
END
Message("Creating file...")
HCreationIfNotFound(sNazivDatoteke,hDelayedOpening+hChangeCharset)

HourGlass(False)
END

I can imagine what will happen if you make program for end user and after new update, 2+2 are 5 now, and after your next update 2+2 are 6 and when user try to correct with 3+3 you again correct function and 2+2 are again 4. What a mess. Correction of finished applications with every new update. Thats what do PC SOFT. KHM.

von ICI - am 24.06.2013 14:08
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.