﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>A1VBCode Forums / Visual Basic (VB 4/5/6) / General Visual Basic  / Great Plains - VBA 6 - Import Package Error / Latest Posts</title><generator>InstantForum.NET v4.1.1</generator><description>A1VBCode Forums</description><link>http://www.a1vbcode.com/vbforums/</link><webMaster>forums@a1vbcode.com</webMaster><lastBuildDate>Thu, 20 Nov 2008 09:59:41 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Great Plains - VBA 6 - Import Package Error</title><link>http://www.a1vbcode.com/vbforums/Topic24788-3-1.aspx</link><description>One of the things I tried was simply going on one of the non-development computers (without VB6 installed) and creating my form from scratch within the Great Plains VBA.  As soon as I tried adding a DataGrid to the form, it said "The control could not be created because it is not properly licensed."  &lt;br&gt;&lt;br&gt;I communicated with Microsoft through a support ticket, and according to the representative, I would have to install full blown Visual Basic 6 on the other computer in order for my DataGrid to work.  I need both design-time and run-time licensing for the control.  The reason I need design-time I believe is because when I import a *.package file, it adds my form and references into their VBA editor.  So even if they aren't going to be modifying my form, the option is still available. &lt;br&gt;&lt;br&gt;The representative at Microsoft recommended trying a FlexGrid instead.  So I tried the same thing on the non-development computer, and got the same licensing problem when trying to add the FlexGrid to the form.  &lt;br&gt;&lt;br&gt;I cannot install Visual Basic 6 on all of the computers I want to use this on....&lt;br&gt;So my question now is....  Is there an alternative to the DataGrid and FlexGrid that will work in VBA and allow me to display (and possibly edit?) information from one table in a MSSQL2000 database?  What would be the best way for me to do this if there isn't something similar to a DataGrid?</description><pubDate>Fri, 09 May 2008 11:39:47 GMT</pubDate><dc:creator>Onyx962</dc:creator></item><item><title>Great Plains - VBA 6 - Import Package Error</title><link>http://www.a1vbcode.com/vbforums/Topic24788-3-1.aspx</link><description>I developed a new User Form using VBA 6 for Great Plains 8.0. This new form contains a DataGrid control and an ADO Data Control for use in connecting to and updating a table in a SQL Server 2000 database. Once I had my form working correctly on my own PC, I exported a package from the Customization Maintenance dialog. This package contains the new form (frmMiscUnmatched), and the following references:&lt;br&gt;&lt;br&gt;Microsoft ActiveX Data Objects 2.8 Library&lt;br&gt;Microsoft ADO Data Control 6.0 (SP6) (OLEDB)&lt;br&gt;Microsoft DataGrid Control 6.0 (SP6) (OLEDB)&lt;br&gt;&lt;br&gt;&lt;br&gt;The first time I attempted to import this package into a different Great Plains installation, I received the following errors:&lt;br&gt;&lt;br&gt;Name: frmMiscUnmatched &lt;br&gt;Type: User Form&lt;br&gt;Errors during load. Refer to 'C:\Program Files\Microsoft Business Solutions\Great Plains\s3f0.log' for details. -- Inside that log file was this error: "Line 2: Property OleObjectBlob in frmMiscUnmatched could not be set."&lt;br&gt;&lt;br&gt;Name: Microsoft ADO Data Control 6.0 (SP6) (OLEDB)&lt;br&gt;Type: Reference&lt;br&gt;Object library not registered.&lt;br&gt;&lt;br&gt;&lt;br&gt;I did some research and discovered that the computer I was attempting to install to did NOT have MSADODC.OCX in System32, which is needed for the Microsoft ADO Data Control. I added this file to the System32 directory and registered it using the following command: "regsvr32 C:\Windows\system32\MSADODC.OCX"&lt;br&gt;&lt;br&gt;&lt;br&gt;Then, I tried importing the same package again. This time I got the following errors:&lt;br&gt;&lt;br&gt;Name: frmMiscUnmatched &lt;br&gt;Type: User Form&lt;br&gt;Errors during load. Refer to 'C:\Program Files\Microsoft Business Solutions\Great Plains\s3f0.log' for details. -- (log file contains the same error as before)&lt;br&gt;&lt;br&gt;Name: Microsoft DataGrid Control 6.0 (SP6) (OLEDB)&lt;br&gt;Type: Reference&lt;br&gt;Name conflicts with existing module, project, or object library.&lt;br&gt;&lt;br&gt;&lt;br&gt;I removed the DataGrid component from the package and attempted to import it that way. That eliminated the confliction error that I listed above. However, the error from the log file still remains: ("Line 2: Property OleObjectBlob in frmMiscUnmatched could not be set.") &lt;br&gt;&lt;br&gt;I found this thread here, it looks like the OP is having the exact same problem as me: http://www.tek-tips.com/viewthread.c...1174691&amp;page=1&lt;br&gt;&lt;br&gt;I followed the link someone suggested at the bottom of that thread and ended up downloading VB6Cli.exe (http://support.microsoft.com/default...;en-us;194751). This is a utility designed to fix License problems with ActiveX Controls that ship with Microsoft Visual Basic 6.0. I tried running it on the other computer I am trying to install to, and I got this message: "Microsoft Visual Basic 6.0 was not detected on this system".&lt;br&gt;&lt;br&gt;On my own PC, I have the full Visual Basic 6.0 installed. The other computer only has VBA.  I am thinking that this is the problem.  But is there a faster way for me to get the needed components onto the other computer instead of completely installing Visual Basic 6.0?&lt;br&gt;&lt;br&gt;&lt;br&gt;If anyone has any other ideas or input into my current situation, I would greatly appreciate it!&lt;br&gt;&lt;br&gt;Thanks.</description><pubDate>Wed, 30 Apr 2008 17:02:13 GMT</pubDate><dc:creator>Onyx962</dc:creator></item></channel></rss>