
Converting VB4 vbp to vb5 cause GPF
Hi
i'm using VB5 with SP2. I tried to convert a vb4 (32bit) project in vb5.
The project work well in vb4 and used an access database (dao3.5) and
data controls.
The first thing i found is that:
i fill a treeview using some db value for ordering the tree. Well line
like this
CC.Nodes(T!Cod).Text="foo"
with cc a treeview, don't work in vb5 while works in vb4. In vb5 it
necessary to convert T!cod into string (T!cod is just a string)
CC.Nodes(cstr(T!Cod)).text="foo"
i don't know why.
Second PROBLEM is some GPF in VB5 when exit program.
The GPFs appear sometime in vb5db.dll sometime in oleaut32.dll and
sometime gives an unknown lib.
Owing to vb5db.dll i thougth problems were in data controls. I set all
data control behaviour at run time and at sturt up i set only one data
control, so i cut this data control and recreate it. All works..i start
program....i exit and no GPF appear. But if i use program GPF comes
again. I tried to delete all data control and recreate it....nothing...i
deleted all dbcombo and dblist.....but GPF comes and comes.
If you have some idea....e-mail me.
BYE
This is the GPFs result code:
VB5 ha provocato un errore di stack nel modulo KERNEL32.DLL in
0137:bff725c5.
Registri:
EAX=002a0037 CS=0137 EIP=bff725c5 EFLGS=00000287
EBX=ff80d000 SS=013f ESP=0067cbca EBP=0067cbde
ECX=81563980 DS=013f ESI=0067cbee FS=30ff
EDX=81563980 ES=013f EDI=81563980 GS=0000
Byte all'indirizzo CS:EIP:
6a ff e8 b3 86 01 00 eb e7 55 8b ec 56 57 53 8b
Immagine dello stack:
ff80d000 81563990 0067cbee 006d0067 00430065 0067cc48 bff7294f 81563980
0067cbee 011f50fc 016f0028 000000ff 00004b97 00000000 000030c7 39c43537
VB5 ha provocato un errore di stack nel modulo KERNEL32.DLL in
0137:bff725c5.
Registri:
EAX=002a0037 CS=0137 EIP=bff725c5 EFLGS=00000287
EBX=ff80d000 SS=013f ESP=0067cbca EBP=0067cbde
ECX=81563980 DS=013f ESI=0067cbee FS=30ff
EDX=81563980 ES=013f EDI=81563980 GS=0000
Byte all'indirizzo CS:EIP:
6a ff e8 b3 86 01 00 eb e7 55 8b ec 56 57 53 8b
Immagine dello stack:
ff80d000 81563990 0067cbee 006d0067 00430065 0067cc48 bff7294f 81563980
0067cbee 011f50fc 016f0028 000000ff 00004b97 00000000 000030c7 39c43537
VB5 ha provocato un errore di pagina non valida nel
modulo <sconosciuto> in 0000:468b127c.
Registri:
EAX=0004c25e CS=0137 EIP=468b127c EFLGS=00010286
EBX=bff798bd SS=013f ESP=007fef2c EBP=007fef58
ECX=006ac238 DS=013f ESI=80004005 FS=30ff
EDX=00000022 ES=013f EDI=0067ea28 GS=0000
Byte all'indirizzo CS:EIP:
Immagine dello stack:
0f6828a8 bff798bd 005fa3fc 00000000 00000000 bff798bd 81573d6c 00000000
00000000 00000000 00000000 007ff050 2194a45c 0067ea28 2194a6b0 007ff048
------------------------------------------------------------
+ Bruni Emiliano - nick "Emi_B" +
------------------------------------------------------------
+Software developer +Software developer +
+ & + & +
+ internet assistant+ network administrator+
+ + +
+Istituto zoo----profilattico+ -- -- ____ ____ ____ +
+sperimentale ///"G.Caporale"+| | | | | | | S. |+
+dell'abruzzo/// e del molise+| | | | ---- | r. |+
+ 64100 ---- TERAMO +| | | |____ ____| |_l._|+
+ + +
+ http://www.*-*-*.com/ ~ebruni/ + http://www.*-*-*.com/ ; +
+----------------------------------------------------------+