Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #2078
| From | John Mott <johnmott@iinet.net.au> |
|---|---|
| Newsgroups | comp.lang.basic.visual.misc |
| Subject | Re: Visual Basic 5 |
| Date | 2014-05-11 16:03 +0800 |
| Message-ID | <at7um95ck6ch9vvb73jqh29dncdvsb4asm@4ax.com> (permalink) |
| References | (2 earlier) <hvr7m99p1j616n5n8n1ufg6lhv1fl6q34s@4ax.com> <20sbm95fdndeum895up5kb276jmjnodeub@4ax.com> <73vbm95bssp5g7cfbb8ujpmarr6rn431va@4ax.com> <bjhmm951ge8cff087cggj7fbuk87ckem6o@4ax.com> <0gvmm9p6usi0t1ec32bj18hmtvehl2bpqu@4ax.com> |
On Thu, 08 May 2014 08:52:59 -0500, ralph <nt_consulting@yahoo.com> wrote: >On Thu, 08 May 2014 17:30:50 +0800, John Mott <johnmott@iinet.net.au> >wrote: > >>Thank you Ralp >> >>I tried to execute your suggestion >> >>1. I do not have RegisterTLB.exe >> >>2. I found regtlibv12.exe in both >> c:\WINDOWS\Microsoft.Net\Framework\v4.0.30319 and >> c:\WINDOWS\Microsoft.Net\Framework64\v4.0.30319 >> >>However I did not have success after running it. >>I opened an elevated cmd prompt and changed to the \Windows\sysWOW64 >>folder and tried " reglibv12 comctl32.ocx" and it said it could not >>find reglibv12. So Ichanged to >>\WINDOWS\Microsoft.NET\Framework\v4.0.30319 and tried >>" reglibv12 comctl32.ocx" and it said successful. >>Unfortunately I still get comct32l.ocx not found errors when I try to >>load source code or run the compiled exe file. >> >>I am not very experienced or knowledgable in system matters. >>Any forther suggestions or can you tell me where I am going wrong ? >>John >> > >First off. My suggestion was narrowly focused on where to find a "Type >Library Registration Tool" in order to follow-through with RW's >suggestion to register the "msdatsrc.tlb" Type Library. > >[Frankly, I was not exactly sure why that would help outside the VBIDE >- but I don't use VB5. <g>] > >To register COM components/controls (.dll, .ocx, ...) you will use >regsvr32. The issue will be determining if the component is 32-bit or >64-bit and thus which regsvr32 to use since Microsoft decided to give >the same name to both. The following discussion pretty much hashes out >all the nusances involved. > >http://stackoverflow.com/questions/4897685/how-do-i-register-a-dll-on-windows-7-64-bit > >It is good to check that everything is located on the target, properly >registered, and to know how to fix registration issues should they >come about, but not totally sure that is your real issue. Since all >the components are there, the mismatch is coming from the fact your >projects are compiled against one version and something else is what >is available. > >Assumptions: >1) You have VB5 SP3 installed on your new platform (Win7 64-bit) >2) You do not get errors when you open VB5 >3) But you do get errors when you attempt to open some projects >That correct? 1) I have V5.0.37.24 installed on win7 64 bit 2) I do not get errors when opening VB5. 3) I do not get errrors opening a simple VB project but do get errors trying to open a more complex project. > >Try this: >Close the VBIDE. >Open the .vbp file of a troubled project in a text editor and delete >the lines that reference comctl32.ocx and comdlg32.ocx. (Or any .oca >reference that may have slipped in.) >Save the file. >Then open the project in VB, open project references, and add the >common control components back. (Again, make sure you do not >accidently select an '.oca'.) >Save the changes to the vbp file and close. >Re-open the project and test. > >Let us know the exact error/s you get, if any. > >-ralph I used a text editor to delete lines refering to comctl32.ocx, comdlg32.ocx and msflxgrd.ocx and the project then opened in VB but showed error messages Error Loading refer to The numerous Frm.logs. Log entries refer to invalid properties. When I tied to run it I got I got compile error: user defined type not defined Dim pn11 as Panel. I then attempted to add the common control properties back in. They showed as being referenced in the text file. Succeeded with the three above mentioned ocx's, but I cannot fathom how to add the Panel property back in. When I try to run the project I get error message saying cant add Panels - method or data member not found. The various Frm logs are showing messages Cannot load control sbar (name of form) ; license not found and Line 122: Class MSComDlg.CommonDialog of control dlgCommonDialog was not a loaded control class. Line 125: The property name _ExtentX in dlgCommonDialog is invalid. Line 126: The property name _ExtentY in dlgCommonDialog is invalid. Line 127: The property name _Version in dlgCommonDialog is invalid. etc In the project available references I have: Visual Basic For Applications Visual Basic runtime objects and proceedures OLE Automation Microsoft Windows Common Copntrols 5.0 Microsoft FlexGrid Control 5.0 All ticked, and many others which do not seem to me to be applicable. I may not have told you of all the error messages, but have endeavoured to give a representation of the applicable ones. I am wondering if we can somehow enable the Panel property whether this will finally fix the loading and running problems. I am becoming more confused fiddling with things that I do not fully understand, hope this all makes sense. John
Back to comp.lang.basic.visual.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-04-25 16:21 +0800
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-04-25 07:46 -0500
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-04-25 10:47 -0500
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-04-26 10:43 +0800
Re: Visual Basic 5 GS <gs@somewhere.net> - 2014-04-26 11:59 -0400
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-04-26 13:48 -0500
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-02 17:02 +0800
Re: Visual Basic 5 Deanna Earley <dee.earley@icode.co.uk> - 2014-05-02 10:29 +0100
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-04 15:44 +0800
Re: Visual Basic 5 GS <gs@somewhere.net> - 2014-05-02 14:21 -0400
Re: Visual Basic 5 RW <RonW@no_domain.invalid> - 2014-05-02 15:27 -0400
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-04 15:48 +0800
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-04 04:03 -0500
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-08 17:30 +0800
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-08 17:58 +0800
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-08 08:52 -0500
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-08 09:47 -0500
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-08 11:38 -0500
Re: Visual Basic 5 RW <RonW@no_domain.invalid> - 2014-05-08 15:20 -0400
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-09 15:32 +0800
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-11 16:03 +0800
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-11 11:29 -0500
Re: Visual Basic 5 GS <gs@somewhere.net> - 2014-05-11 14:28 -0400
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-11 12:59 -0500
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-11 14:04 -0500
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-11 14:32 -0500
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-12 16:49 +0800
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-12 22:34 -0500
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-13 14:51 +0800
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-13 17:12 +0800
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-13 08:01 -0500
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-13 09:36 -0500
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-13 09:43 -0500
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-13 09:55 -0500
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-13 10:16 -0500
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-13 13:24 -0500
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-14 17:30 +0800
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-14 07:05 -0500
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-15 16:58 +0800
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-15 07:37 -0500
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-16 17:24 +0800
Re: Visual Basic 5 Deanna Earley <dee.earley@icode.co.uk> - 2014-05-16 13:58 +0100
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-17 17:13 +0800
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-18 16:05 +0800
Re: Visual Basic 5 ralph <nt_consulting@yahoo.com> - 2014-05-18 04:14 -0500
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-19 17:28 +0800
Re: Visual Basic 5 Deanna Earley <dee.earley@icode.co.uk> - 2014-05-19 10:36 +0100
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-20 16:32 +0800
Re: Source control (Was: Visual Basic 5) Deanna Earley <dee.earley@icode.co.uk> - 2014-05-20 10:19 +0100
Re: Source control (Was: Visual Basic 5) ralph <nt_consulting@yahoo.com> - 2014-05-20 11:59 -0500
Re: Visual Basic 5 John Mott <johnmott@iinet.net.au> - 2014-05-20 16:40 +0800
Re: Visual Basic 5 Deanna Earley <dee.earley@icode.co.uk> - 2014-05-19 08:55 +0100
Re: Visual Basic 5 "Henning" <computer_hero@coldmail.com> - 2014-05-16 12:06 +0200
Re: Visual Basic 5 "Mayayana" <mayayana@invalid.nospam> - 2014-05-04 09:32 -0400
Re: Visual Basic 5 "Bill Skaggs" <eaglecrest@att.net> - 2014-05-04 06:34 -0700
csiph-web