Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 19th, 2004, 03:41 PM
Authorized User
Join Date: Jan 2004
Location: lahore, punjab, Pakistan.
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default Compier Error: procedure decleration does'nt match

I am using VB 6.0
I have MDI for that has 4 Menus
Previously few of the items of a menu have index
so I assign index to every item of all the menus
and it gave me error when I compile
"Procedure decleration doesnot match description of event or procedure having same name"

convention followed for assigning index is somthing like this
Add 1
   itm 1 11
   itm 2 12
        subitm of itm2 121
        subitm of itm2 122
        subitm of itm2 123
   itm3 13
Delete 2
   itm 1 21
   itm 2 22
        subitm of itm2 221
        subitm of itm2 222
        subitm of itm2 223
   itm3 23
I assigned index because I want to diable mnu items for differant users according to their previllages.

So How to remove the error ........
It is due to the index I've given coz I've commented that sub and it gave me error on other sub and so on............

Reply With Quote
  #2 (permalink)  
Old January 19th, 2004, 05:33 PM
Friend of Wrox
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts

I think the problem is in the menu event, that now requires an extra parameter (the menu item index). To find the error, start the application with a full compile (Ctrl+F5, as I recomend to do always instead of F5), and the IDE will show you the line with the compilation error.
Reply With Quote
  #3 (permalink)  
Old January 20th, 2004, 03:10 AM
Authorized User
Join Date: Jan 2004
Location: lahore, punjab, Pakistan.
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts


Reply With Quote

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
template match doesnt match the required node Tomi XSLT 2 March 12th, 2007 06:24 AM
Error: "Ambiguous match found" Ser_Supremo C# 3 November 7th, 2006 06:58 AM
XSLT Decleration Error. lafilip XSLT 8 July 20th, 2006 04:33 PM
Type Miss match error for Server.CreateObject Deepmala Classic ASP Components 0 December 6th, 2005 02:50 AM
Type miss match error Deepmala Classic ASP Databases 0 December 6th, 2005 02:36 AM

All times are GMT -4. The time now is 06:01 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.