A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Script error while running .Net Code



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 4th 06, 11:40 AM posted to microsoft.public.outlook.program_forms
Muhammad Usman
external usenet poster
 
Posts: 5
Default Script error while running .Net Code

Hi Community,

I am building an application in .net which creates some items in outlook. I
have built a custom form published in outlook organization library which is
used to open the items created by .net application. When i run .net
application to create items in outlook, in outlook a script error occurs
which says that type Mismatch: UBound at line 241. I have a loop at this line
in the script of the custom form which loops till the UBound(Array). I am
surprised that how this error comes. As in .Net application there is no
script used. And while creating that item, i do not even use the outlook.
How .net application gets connected with the custom outlook form, which
results in error prompt at that specifi line
Please make me out of this problem. Thanking you
Ads
  #2  
Old May 4th 06, 01:17 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Script error while running .Net Code

So you're saying that the custom form has no code behind it or at least no statement on line 241?
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Muhammad Usman" wrote in message ...
Hi Community,

I am building an application in .net which creates some items in outlook. I
have built a custom form published in outlook organization library which is
used to open the items created by .net application. When i run .net
application to create items in outlook, in outlook a script error occurs
which says that type Mismatch: UBound at line 241. I have a loop at this line
in the script of the custom form which loops till the UBound(Array). I am
surprised that how this error comes. As in .Net application there is no
script used. And while creating that item, i do not even use the outlook.
How .net application gets connected with the custom outlook form, which
results in error prompt at that specifi line
Please make me out of this problem. Thanking you

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cancel event not working with .NET code Osi Add-ins for Outlook 1 April 13th 06 03:26 PM
Script error: Object required [email protected] Outlook - Using Forms 1 March 17th 06 10:44 PM
Problem running a VBA script from an Outlook rule Olivier Langlois Outlook and VBA 5 March 16th 06 10:03 PM
Problem running a VBA script from an Outlook rule Olivier Langlois Add-ins for Outlook 5 March 16th 06 10:03 PM
Running query from Access Form commmand using VBA code Berny Outlook and VBA 4 January 16th 06 03:12 PM


All times are GMT +1. The time now is 08:09 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.