.NET API does include a FieldLabelChanger C# program as source. As the name indicates, this program allows for changing labels of fields on a selected view of a selected form. Internally it does a SetField API method call after altering a display property (label). You will get sufficient hints about how to go about the CreateField usage I hope. As said this is in C#. And .NET API itself, while supports COM usage (thus in VBS), it is better used in .NET environments (C#, VB.Net) - so prefer to use it in those environments if at all possible, especially for heavy duty usage like creating/manipulating form/field definitions.
Regards Appajee -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Scott Parrish Sent: Wednesday, September 03, 2008 2:16 PM To: [email protected] Subject: Re: .NET API CreateField example using VBS (UNCLASSIFIED) You may want to take a look at driver.exe to do this. You will find information about in the C API Reference manual. Scott Parrish IT Prophets, LLC (770) 653-5203 www.itprophets.com -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Michaud, Christopher W Mr CTR USA MEDCOM Sent: Wednesday, September 03, 2008 5:09 PM To: [email protected] Subject: .NET API CreateField example using VBS (UNCLASSIFIED) Classification: UNCLASSIFIED Caveats: NONE All, Does anyone have a VBS example of the syntax required to use the CreateField method, and if possible setting the properties of the new field, using the .NET API? I need to loop through many forms and add the same field and it seems this might be the most efficient way. Thank you, Christopher Michaud Remedy System Administrator/Developer US Army Medical Information Technology Center (USAMITC) Core Technology Division - Systems Engineering Branch Office: 210.295.3589 DSN: 421-3589 Classification: UNCLASSIFIED Caveats: NONE ________________________________________________________________________ ____ ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" ________________________________________________________________________ _______ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

