Results 1 to 20 of 20

Thread: [RESOLVED] flex grid control - alternative?

  1. #1

    Thread Starter
    Fanatic Member Navarone's Avatar
    Join Date
    Jun 2003
    Location
    Akron, Ohio USA
    Posts
    740

    Resolved [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?

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    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.

  3. #3

    Thread Starter
    Fanatic Member Navarone's Avatar
    Join Date
    Jun 2003
    Location
    Akron, Ohio USA
    Posts
    740

    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?

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    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.

  5. #5

  6. #6
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: flex grid control - alternative?

    Quote 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.

  7. #7
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    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.

  8. #8
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: flex grid control - alternative?

    Quote 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?

  9. #9

    Thread Starter
    Fanatic Member Navarone's Avatar
    Join Date
    Jun 2003
    Location
    Akron, Ohio USA
    Posts
    740

    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?

  10. #10
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.

  11. #11

    Thread Starter
    Fanatic Member Navarone's Avatar
    Join Date
    Jun 2003
    Location
    Akron, Ohio USA
    Posts
    740

    Re: flex grid control - alternative?

    Your right, it didn't work. Any ideas?
    He who never made a mistake never made a discovery?

  12. #12

  13. #13

    Thread Starter
    Fanatic Member Navarone's Avatar
    Join Date
    Jun 2003
    Location
    Akron, Ohio USA
    Posts
    740

    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?

  14. #14
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    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.

  15. #15
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: flex grid control - alternative?

    Is this an internal application run just within your company or is this a commerical product?

  16. #16

    Thread Starter
    Fanatic Member Navarone's Avatar
    Join Date
    Jun 2003
    Location
    Akron, Ohio USA
    Posts
    740

    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?

  17. #17
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: flex grid control - alternative?

    I use Camtasia to record a movie that demonstrates the use of my app

  18. #18

    Thread Starter
    Fanatic Member Navarone's Avatar
    Join Date
    Jun 2003
    Location
    Akron, Ohio USA
    Posts
    740

    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?

  19. #19
    PowerPoster BruceG's Avatar
    Join Date
    May 2000
    Location
    New Jersey (USA)
    Posts
    2,657

    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.

  20. #20

    Thread Starter
    Fanatic Member Navarone's Avatar
    Join Date
    Jun 2003
    Location
    Akron, Ohio USA
    Posts
    740

    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
  •  



Click Here to Expand Forum to Full Width