You'll have to do two things. In Visual Studio, in the Solution Explorer, right click on your project, and choose Add Reference from the context menu. When the Add Reference dialog displays, choose the Browse tab. Use that to navigate to where ever your UODOTNET.dll file is located.
Second step is to add a compiler directive in your source code like this, Using UODOTNET; (assuming c#) or Imports UODOTNET (using VB). hth Victor St. Clair Jenkon Sr. Analyst [EMAIL PROTECTED] 360-256-4400 Phone 360-256-9623 Fax www.jenkon.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Dzikiewicz Sent: Sunday, March 11, 2007 6:34 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Universe/UniObjects and Visual Studio Dave, I was able to get the COM assembly in the solution explorer. I am now looking at the .Net. How do I go about getting the .Net assembly in the 'game'. What I have tried is to go into the control panel on the PC and go under admin, .Net framework and config, and tried to add. I pointed to the c:\ibm\unidk\uonet\bin\uodotnet.dll. Of course Im just winging it here. It seemed that this made sense. However, it does not appear in the solutions explorer when I try yo add a .Net reference. So, I tried but no cigar. What is the right way to do this ? Anthony -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Jordan Sent: Sunday, March 11, 2007 8:53 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Universe/UniObjects and Visual Studio Hi Anthony Whilst UniObjects works with .Net, it is a COM assembly and needs to be loads as a Comm Component. IBM does provide a .Net assembly for U2, and it would be better to use that. You can add the Com or .Net attributes through the Add references in the Solution Explorer. Regards David Jordan ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.8/716 - Release Date: 3/9/2007 6:53 PM -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.446 / Virus Database: 268.18.8/716 - Release Date: 3/9/2007 6:53 PM ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/