#1
| |||
| |||
Error in VB When I try to run the program gives me this error: Can not set the public user-defined type within a private object module. How to handle this? |
#2
| |||
| |||
Re: Error in VB Do you think this message only with someone you know clarify? The only thing I know is: have any one thing that is entered in the wrong place. If you want to know anything else, shows the portion of code that caused this problem and how is your project organized (which modules, classes, forms, etc.). |
#3
| |||
| |||
Re: Error in VB It seems to me that you have a variable in a class PUBLIC PRIVATE. There all the statements in your class to discover deficiency and properly implement. If you want to resolve this fast, at the risk of |
#4
| |||
| |||
Re: Error in VB Here is the code I am suing, Code: name As String * 20 The age Integer End Type The dim () The Person Dim i As Integer INDX |
#5
| |||
| |||
Re: Error in VB This is where? In a class? In a module? In one form? |
#6
| |||
| |||
Re: Error in VB In a form. Just a form to use this program. |
#7
| |||
| |||
Re: Error in VB Here is the solution. Type Private Exchange by Type (Type Private Person) and Dim for Private (Private I, INDEX As Integer). By the way, this last line, you have Code: Dim i As Integer INDX Code: Private i As Integer, INDX As Integer |
![]() |
|
Tags: visual basic |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting Error message ?Northbridge Error, node 2<0>K8 ECC error.? in CentOS 5.5 | Pawna | Operating Systems | 5 | 04-05-2011 10:50 AM |
error “shmget (lowmem) error: Unknown error 999” on linux | -Wamil- | Operating Systems | 6 | 12-11-2010 11:37 PM |
Server Error: 451, Socket Error: 10053, Error Number: 0x800CCC0F | Eigenberg | Windows XP Support | 3 | 03-06-2008 04:13 PM |
Error displaying page error [Error number: 0x80090305] | shai | Windows Update | 3 | 21-07-2005 01:07 AM |