Some error apper to me in my declerations

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi EveryBody:

I have 4 decleration for four functions:
Function Next............................
Function Skip.............................
Function Reset.............................
Function Clone...........................
Can Any body told me why I got Under line error under word Next, Also
I have 4 decleration for four Subs as follow :
Sub Next ...............
Sub Skip................
Sub Reset..............
Sub Clone..............
Also as the previous question I got Under line error under word Next ?Why ?

Also I Have the following decleration:
Sub Select()
I got Under line error under Select
Function Resume() As Integer
I got Under line error under Resume
<PreserveSig()> _
Function Do(<[In](), MarshalAs(UnmanagedType.Interface)> undoManager As
IOleUndoManager) As<MarshalAs(UnmanagedType.I4)> Integer
Also I got Under line error under Do
Also I have Implement statment as follow:
Implements IOleUndoUnit
also I got under line error under implements word ?

Any body can told me how can I handel all these error where they are defined
inside class ?

Any help or redirection will be appreciated

regard's

Husam
 
Husam said:
Hi EveryBody:

I have 4 decleration for four functions:
Function Next............................
Function Skip.............................
Function Reset.............................
Function Clone...........................
Can Any body told me why I got Under line error under word Next,

Do you remember
For
Next
? ;-)

Next is a reserved word. Use

function [Next]

instead. Same with Select, Do, Resume etc. Put them in square brackets.

Armin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top