CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1

    Question DataGrid window doesn't work when app is distributed

    I've got a VB6 application that I'm trying to distribute and I'm using INNO to create the installer. I love INNO and it works great, but I appear to be missing some components. When I run the application, I have some SSOLEDBGrid controls that don't appear to be working. When I try to load one, it just gives a blank MsgBox window. What could I be missing?

  2. #2
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: DataGrid window doesn't work when app is distributed

    Either a missing OCX, DLL or reg entries would be my guess.

    Try using the Vb package and deployment wizard and then compare the list of files to those you are using.
    Always use [code][/code] tags when posting code.

  3. #3

    Re: DataGrid window doesn't work when app is distributed

    Ya, I figured it was one of those but I can't figure out which. I have every file from the deployment wizard in my INNO script and still nothing. Is there an easy way to find out what files it's trying to use?

  4. #4
    Join Date
    Jul 2005
    Posts
    1,083

    Re: DataGrid window doesn't work when app is distributed

    Say Windows (development & installation) & SSOLEDB version
    IMO Sheridan controls are not good
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

  5. #5

    Re: DataGrid window doesn't work when app is distributed

    Everything is on XP.

    Stupid question, how do I get the SSOLEDB version? What DLL does that come from?

  6. #6
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: DataGrid window doesn't work when app is distributed

    Look under your project components or references and locate it in the list then you should be able to see the filename and location.

    I would not be using the Sheridan control though.
    Always use [code][/code] tags when posting code.

  7. #7

    Re: DataGrid window doesn't work when app is distributed

    Here's a screenshot of both References and Components. I don't see Sheridan or SSOLEDB specified.

    Name:  2013-01-30 12_40_39-WINXP-AS-BLUESTONE.png
Views: 1114
Size:  16.0 KB

    Name:  2013-01-30 12_41_00-WINXP-AS-BLUESTONE.png
Views: 1133
Size:  15.8 KB

  8. #8
    Join Date
    Jul 2005
    Posts
    1,083

    Re: DataGrid window doesn't work when app is distributed

    OCX Control = ssdw3b32.ocx
    version = 3.1...
    Infragistics
    The company, based in Cranbury, NJ,[17] was established in November 2000 when ProtoView Development Corporation and Sheridan Software Systems, Inc. merged.[18] Besides its U.S. headquarters in New Jersey, Infragistics has offices in eight other countries including the UK, Germany, Australia, France, Japan, India, Bulgaria and Uruguay.
    JG


    ... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...

  9. #9

    Re: DataGrid window doesn't work when app is distributed

    I'm distributing that with my app. The weird thing is that my app works on some machines but not others. Really getting confused as to what is causing this!

  10. #10
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: DataGrid window doesn't work when app is distributed

    Well when you say it works on some machines and not others what are the things in common or different on these machines. OS? Development environment installed? Office installed? Other 3rd party software?

    Does the control need to be registered? Is it being registered? Does it have any dependency files that may be missing or need to be registered?
    Always use [code][/code] tags when posting code.

  11. #11

    Re: DataGrid window doesn't work when app is distributed

    I just ran Dependency Walker on a machine with a brand new install and here's what I'm seeing...

    Name:  2013-01-30 16_05_10-Clipboard.png
Views: 1133
Size:  21.4 KB

  12. #12

    Re: DataGrid window doesn't work when app is distributed

    Also interesting, the OLE32.dll versions are different between the systems...

    WORKING: 5.1.2600.6168 (xpsp_sp3_gdr.111101-1829)

    NOT WORKING: 5.1.2600.5512 (xpsp.080413-2108)

    What patch/hotfix/etc updates this DLL?

  13. #13
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: DataGrid window doesn't work when app is distributed

    Well what you showed would suggest that it may be XP service pack 3

    I would suggest that SP3 be installed on all XP machines


    Then again.... I just looked at mine and am running XP Pro KN Version 2002 with SP3
    My version of the dll matches the one above where you say it is not working.
    Last edited by DataMiser; January 30th, 2013 at 04:57 PM.
    Always use [code][/code] tags when posting code.

  14. #14

    Re: DataGrid window doesn't work when app is distributed

    I agree and I checked that, but the machine I checked where my app isn't working has SP3 installed.

  15. #15
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: DataGrid window doesn't work when app is distributed

    I checked on another machine I have here and it has version 5.1.2600.6010

    That machine is running XP MCE SP3

    Checked on my Windows 7 PC and it is using Version 6.1.7600.16385

    No idea if that control may be related to the problem you are having.
    Always use [code][/code] tags when posting code.

Page 1 of 2 12 LastLast

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

Featured