Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
I want to use the GPConnNet.dll library to be able to connect to the database but I am missing some values in the configuration, mainly in the following sentence "
Dim cn As New System.Data.Odbc.OdbcConnection
Dim cmd As New System.Data.Odbc.OdbcCommand
Dim rst As System.Data.Odbc.OdbcDataReader
Dim resp As Integer
Dim GPConnObj As Microsoft.Dexterity.GPConnection
resp = Startup()
'Create the connection object
GPConnObj = New Microsoft.Dexterity.GPConnection
'Make the connection. Use the connection string to set default
cn.ConnectionString = "DATABASE=TWO"
GPConnObj.Connect(cn, "LocalServer", "LESSONUSER1", "access")
'Check the return code
If (GPConnObj.ReturnCode And ReturnCodeFlags.SuccessfulLogin) = _
'Specify the command to execute - Retrieve all customers
cmd.Connection = cn
cmd.CommandType = CommandType.Text
cmd.CommandText = "Select * From RM00101"
rst = cmd.ExecuteReader
'Display the name of the first customer
'Close the connection
'Dispose of the connection object
GPConnObj = Nothing
resp = Shutdown()
", What keys do I need for this DLL to Work?the version of GP that I am using is GP2016 with Sqlserver Version 2012 R2
If you need registration keys for GPConnNet.dll, open a support case with the Dynamics GP systems team and we can get those keys for you. They're based on the customer or partner name, so if there aren't already keys that have been provided, we can spin up new ones.
Business Applications communities