Quantcast
Channel: Microsoft Dynamics GP
Viewing all articles
Browse latest Browse all 38722

Forum Post: Open Dynamics GP Screen from C#. Code is not working on GP2015, it was working on GP 2010

$
0
0
Below code is working on GP2010 but not in GP2015. Don't know whats wrong. string dexErrorMsg, dexCmd; int dexErrorCode; Dynamics.Application objGPApp = new Dynamics.Application(); dexcmd = ""; dexcmd += "open form RM_Customer_Maintenance;"; objGPApp.CurrentProductID = 0; objGPApp.CurrentProduct = objGPApp.CurrentProduct + ""; dexErrorCode = objGPApp.ExecuteSanscript(dexCmd, out dexErrorMsg); if (dexErrorCode != 0) { MessageBox.Show(dexErrorMsg); } Original Post: https://community.dynamics.com/gp/f/32/t/39562 Mariano any help on this again? Thanks Much Sandip Jadhav

Viewing all articles
Browse latest Browse all 38722

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>