|
-
Nov 9th, 2005, 04:42 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] flex grid control - alternative?
I am running my vb project from a CD, a standalone application. I used a flex grid control in the applicattion, some user who don't have permission on their pc or laptop can't run the program. I believe this is because the flex grid control isn't a standard windows control.
Is there an alternative to the flex grid control that I could use that would have similar properties or does someone know of work around?
He who never made a mistake never made a discovery?
-
Nov 9th, 2005, 07:38 PM
#2
Re: flex grid control - alternative?
Is the flexgrid ocx file (and it's dependencies) on the CD in the same path as the application?
If so, it should run properly AFAIK.
-
Nov 10th, 2005, 08:20 AM
#3
Thread Starter
Fanatic Member
Re: flex grid control - alternative?
The ocx is on the cd, but the flex grid only works if it's installed on the users pc. I have never been able to find away around it. What dependencies does the flex grid require?
He who never made a mistake never made a discovery?
-
Nov 10th, 2005, 06:41 PM
#4
Re: flex grid control - alternative?
Ah, I'm not sure what you could do then.
Unfortunately any other controls aren't likely to help, as they will also be ocx files, and therefore will have the same issues.
-
Nov 10th, 2005, 07:52 PM
#5
Re: flex grid control - alternative?
Do you actually install the program or do you just attempt to run the exe?
-
Nov 10th, 2005, 07:58 PM
#6
Re: flex grid control - alternative?
 Originally Posted by Navarone
... I have never been able to find away around it. What dependencies does the flex grid require?
That's the general idea: every control that is not part of VB's default controls collection (intrinsic controls) must be registered on the system.
-
Nov 10th, 2005, 09:56 PM
#7
Re: flex grid control - alternative?
I thought that RobDog said that you can run a program off the CD? I think you could register the ocx from the cd, and then unregister it, but the problem is you have to do it in a batch file.
-
Nov 10th, 2005, 10:13 PM
#8
Re: flex grid control - alternative?
 Originally Posted by dglienna
... I think you could register the ocx from the cd, ...
You still have to register it ... and the problem with that is - next time you want to run your app from HD it will fail so what's the point?
-
Nov 11th, 2005, 10:50 AM
#9
Thread Starter
Fanatic Member
Re: flex grid control - alternative?
Hey this is quite a discussion going on here, cool!.
The program does not get installed, it was designed to play from the cd. Installation is not an option. Registering of ocx's aren't possible unless the user has admin rights or a person with admin rights registers the ocx's. The cd is being handed out.
I switched to the Listview control in lue of my flexgrid, which seems to have negated the flexgrid issue, now I have another issue. I have a map on the cd that uses the VBImageMap.ocx, it would seem this doesn't want to run either unless you have admin permissions. I am going to try and copy that ocx direclty to the cd and see if that will work.
He who never made a mistake never made a discovery?
-
Nov 11th, 2005, 10:53 AM
#10
Re: flex grid control - alternative?
I suspect you will run into the same issue as you did with the Flex grid. Your VBImageMap.ocx is still an ocx and as such, will have to be loaded and registered on the user's machine.
-
Nov 11th, 2005, 11:05 AM
#11
Thread Starter
Fanatic Member
Re: flex grid control - alternative?
Your right, it didn't work. Any ideas?
He who never made a mistake never made a discovery?
-
Nov 11th, 2005, 11:12 AM
#12
Re: flex grid control - alternative?
You must register - I think it's your only option.
-
Nov 11th, 2005, 11:18 AM
#13
Thread Starter
Fanatic Member
Re: flex grid control - alternative?
Well let me ask this, for my image map could I build the map in say html or XML and run it in VB? Of course it would have to maintain all of its current functionality look and feel.
I need to come up with something that doesn't require registration
He who never made a mistake never made a discovery?
-
Nov 11th, 2005, 11:28 AM
#14
Re: flex grid control - alternative?
XML is (in this case) a storage but you need to have something for your front end to display data, don't you?
If you need some sort of grid maybe arranging labels on the form would work for you? Labels are intrinsic controls and don't have to be registered. Scrolling could be pain but you can manage that with say Picturebox and ordinary scrollbars.
-
Nov 11th, 2005, 11:29 AM
#15
Re: flex grid control - alternative?
Is this an internal application run just within your company or is this a commerical product?
-
Nov 11th, 2005, 11:52 AM
#16
Thread Starter
Fanatic Member
Re: flex grid control - alternative?
This is a application I made for a client, it is an internal application for them, but they hand out the cd at various trade shows and for other business contacts.
--edited--
I was thinking, I already know the map coordinates for each state in the map, could I write a statment that would monitor the mouse coordinates and then compare them to a string of known coordinates and if the mouse falls with in them, you're in Texas or Ohio? Or maybe a picture box of each state overlayed to form the map.
Last edited by Navarone; Nov 11th, 2005 at 11:57 AM.
He who never made a mistake never made a discovery?
-
Nov 11th, 2005, 11:57 AM
#17
Re: flex grid control - alternative?
I use Camtasia to record a movie that demonstrates the use of my app
-
Nov 11th, 2005, 11:59 AM
#18
Thread Starter
Fanatic Member
Re: flex grid control - alternative?
You can see a web version of my cd at www.ddr.com. Click on the interactive map.
He who never made a mistake never made a discovery?
-
Nov 11th, 2005, 03:34 PM
#19
Re: flex grid control - alternative?
I don't know if you want to go down this road, but you could build an interface with rows of labels and textboxes (and whatever other intrinsic controls) and scroll them using the standard vertical and horizontal scroll bars. The overall effect is that of a grid - I would call it a "poor man's grid" or a "low tech grid". If desired, you can look at an example I have of this on my site:
http://www.thevbprogrammer.com/index...ter=9&Topic=17
"It's cold gin time again ..."
Check out my website here.
-
Nov 11th, 2005, 03:39 PM
#20
Thread Starter
Fanatic Member
Re: flex grid control - alternative?
Actually, I replaced the grid with the listView control, so there are no more issue with this particular control. As for the map, I have that under control as well.
Thanks to all of you's who helped.
He who never made a mistake never made a discovery?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|