Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Commandline argments

Hi

Which argments are need to give in commands line argments?

sConnectionString = Environment.GetCommandLineArgs.GetValue(1)

replied

Hi Thippa,

I'm not 100% sure what you are asking here - are you asking what value to put there, how to put it there or what it does?

In the SDK samples, the connection string is set as a command line argument, and this is the string that the UI uses to connect to the running Business One GUI.

In the samples, there are the following instructions:

' 2.
'     a. Project->Properties...
'     b. choose Configuration Properties folder (place the arrow on Debugging) - or go to Start Options on Debugging tab in VS 2005.
'     c. place the following connection string in the 'Command line arguments' field
' 0030002C0030002C00530041005000420044005F00440061007400650076002C0050004C006F006D0056004900490056

Hope this answers your question,

Regards,

Niall

SAP Business One Forums

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question