Chris,

It looks like you are on the right track.   Just a comment on a
programming approach that may help reduce some coding and
troubleshooting.

Since you are using VB.Net consider using strong typing instead of
CreateObject.

On the Property Pages screen (Project -> Properties -> Build) set the
Option Explicit and Option Strict to On.  This will enforce strong
typing and ensure that all vars are defined.

Instead of:

Dim remedyServer 
remedyServer = CreateObject("BMC.ARSystem.Server")

Use this:

Dim remedyServer As New BMC.ARSystem.Server

If you haven't already, set a Reference to the BMC.ARSystem.dll file.


There are a few advantages to using strong typing in VB.Net.  

1. You can make use of the IntelliSense drop-down list of methods and
properties in the objects.  When you type "remedyServer" and then a "."
you can see all the options available to you.  

2. Allows you to code faster and helps eliminate typos.  When you select
a method or property from IntelliSense you don't have to type out the
method/property, just select it. This also speeds development.

3. Strong typed code executes faster because the compiler already knows
what type of object it's dealing with at design time instead of waiting
until run time.


HTH.

Stephen





-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Lane
Sent: Tuesday, August 15, 2006 2:08 AM
To: [email protected]
Subject: Re: Need help w/ .NET & CreateEntry

Tim,

Tks. for the info.  This is the first week I have ever had the necessity
to interact w/ remedy.  By trade I am an applications developer, but I
also get tasked w/ interactivity solutions.  This particular one needed
to have a web form interact w/ various platforms then feed into remedy
and since I have never used remedy, I had no idea what the method to
their madness was.

Currently I am rewriting the code to access a regular form and see if
that works.  Either way, I will send feedback within the next 24-48 hrs.

-Chris

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

Reply via email to