Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 4th, 2005, 12:31 PM
Authorized User
 
Join Date: Dec 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Flex grid in VBA - Excel

Hi,
Can any one tell me how to add msflexgrid in VBA. I know how to add flexgrid in VB but i couldn't find it in VBA. i don't have VB in my machine now. I also tried downloading MSflexgrd.ocx and registered but when i tried to add to the userform the error message says: "the control could not be created because it is not properly licensed".

So can any help me with this...

Thanks
Johnson

 
Old January 18th, 2005, 10:48 AM
Registered User
 
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default


hi Raj

I am also facing the same problem with msflexgrid control and vba.

But i am facing the problem in deployment scenario. In my dev machine i hav VB. In my deployment machine i dont hav vb.

Did you get the solution. Please help me

with regards
krithi

 
Old January 18th, 2005, 01:21 PM
Registered User
 
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have actually found myself with the same problem, I have also noticed a problem using the trim function. But on the client workstation I've been able to right click on the toolbox and add the MSFlexGrid, then add it to the project and it will then work ok, but I haven't figured out how to make it show up on its own.

 
Old January 18th, 2005, 04:39 PM
Registered User
 
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Found this today searching for the answer:
http://groups-beta.google.com/group/...8dc3c68e545815

might help, here is a selection of it:
We had this same problem with several active X controls,
including MSFlexGrid.
This is what we did:
We put the following in a setup.bat file in folder <X>:


---------------
echo off
copy controls\*.* c:\winnt\system32
c:
cd \winnt\system32
installcontrols
Echo on
Echo "Done"
pause

----------------
Put the following in file called InstallControls in a
folder <X>\Controls
regsvr32 msflxgrd.ocx


maybe that will help!

 
Old January 20th, 2005, 02:26 PM
Registered User
 
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Another issue i've found (i'm working on this most of the day at work now) is that I develope it on Windows 2000 Pro, and it works ok on other 2000 Pro computers, but it doesn't work on XP!

Anyone else notice that?

jake

 
Old January 26th, 2005, 07:13 AM
Authorized User
 
Join Date: Dec 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Jake,

I tried the link but i still have the same problem. The process says the msflxgrd.ocx registered but when it tried to drag the flexgrid over the form the error appears: ""the control could not be created because it is not properly licensed".

Can any help me with this... Its driving me crazy.....

Thanks

Johnson


 
Old January 27th, 2005, 11:48 AM
Registered User
 
Join Date: Jan 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found this site: http://www.10tec.com/ the other day which sales a solution for $100. I downloaded the trial and it actually works great, it is a very powerful tool that saved the day. You might want to look into getting it. Another idea is to go into the VB editor and under the menu item Tools click References and make sure that only the needed References are checked, I found about 5 extra references in mine that were causing problems. That might help some also!

Good luck,
jake

 
Old February 1st, 2005, 07:40 AM
Authorized User
 
Join Date: Dec 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Jake

It seems to very useful, but the problem is its a demo...

Thanks a lot

Johnson








Similar Threads
Thread Thread Starter Forum Replies Last Post
data save problem from flex grid naveed77 Pro VB 6 0 December 28th, 2007 02:37 AM
save and update data problems using flex grid naveed77 Beginning VB 6 0 December 6th, 2007 03:57 AM
VS Flex Grid Version 7 abdulqadirpk VB Components 0 December 27th, 2006 07:16 AM
flex grid [email protected] General .NET 0 January 12th, 2006 01:18 AM
flex grid entry jady VB Databases Basics 1 September 29th, 2004 11:07 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.