HighTechTalks DotNet Forums  

An expression including function causes termination - follow on

VB.net Upgrade microsoft.public.dotnet.languages.vb.upgrade


Discuss An expression including function causes termination - follow on in the VB.net Upgrade forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default An expression including function causes termination - follow on - 01-28-2005 , 02:59 AM






Hello
I couldn't send follow on message. I am starting a new thread, but
this is to continue the thread with the same title started on 25/01.

Hello John
Thank you for your answer.

No, my application's start-up object is a form. I don't even have the
word Main anywhere through the application.
The sub, which contains the code in question, is called from
CmdOK_Click of the form: Call Reconcile()
There is an error processing command in the sub before the code:
On Error GoTo PcsTableErrorHandler
Interesting that after returning from the function, execution jumps to
End command in the end of the sub rather then to PcsTableErrorHandler
label, which I'd have expected.
I added watch on GetCentre1(PCsRSet.Fields("IDENTIFICATION").Value) .
Maybe, it will be of interest, what the watch window shows:
"Run-time exception thrown:
System.Runtime.InteropServices.COMException - Cannot update. Database
or object is read-only."

I'd be only happy to send whole code, or even project to you. The
project is 1 form and several subs and functions. The code is quite
extensive. After several years, when the application has been used and
developed, often in a hurry, the code is also quite untidy. The
application requires data from a MS Access 2000 database and from
Oracle 9 database and returns data into the same MS Access 2000
database. Maybe, MS will be interested in problems of upgrading such
type of application from vb6 to .NET?

Regards.
Galina

Reply With Quote
Reply




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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.