Click here to Skip to main content
15,919,613 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Visual Basic IDE Pin
indian14324-Nov-08 21:07
indian14324-Nov-08 21:07 
GeneralRe: Visual Basic IDE Pin
Christian Graus24-Nov-08 21:23
protectorChristian Graus24-Nov-08 21:23 
GeneralRe: Visual Basic IDE Pin
indian14324-Nov-08 21:33
indian14324-Nov-08 21:33 
GeneralRe: Visual Basic IDE Pin
Paul Conrad25-Nov-08 18:33
professionalPaul Conrad25-Nov-08 18:33 
AnswerRe: Visual Basic IDE Pin
N a v a n e e t h24-Nov-08 21:24
N a v a n e e t h24-Nov-08 21:24 
GeneralRe: Visual Basic IDE Pin
indian14324-Nov-08 21:30
indian14324-Nov-08 21:30 
GeneralRe: Visual Basic IDE Pin
N a v a n e e t h24-Nov-08 21:32
N a v a n e e t h24-Nov-08 21:32 
AnswerRe: Visual Basic IDE Pin
Jon_Boy25-Nov-08 1:23
Jon_Boy25-Nov-08 1:23 
It sucks that you're still on VB6, here's what I would do

indian143 wrote:
When I compile it, it is compiling but when I run it it is saying compilation error "User-defined type not defined".

Sounds like there is a variable not defined for a udt. Like the code below:

Private Type udtScannerInfo
    strLoadID As String
    strLoadDate As String
End Type

Private muScannerInfo(1 To 2) As udtScannerInfo


indian143 wrote:
When I added a library and tried for running the application then I got the following message "No creatable public component detected"

Sounds like a problem with the class.

Open your main project. Go to references. Write down the names of all the custom vb6 projects that are being referenced (those created in house).

Open each one separately and compile it. After you have compiled all the sep references, you should test them individually. Open up a new instance of VB6, and add it in just 1 of the vb6 projects as a reference and instantiate the objects in that .dll. Ensure each .dll works like this. If you find one that doesn't work, you've narrowed down which one is broken.

If all of them compile and they can all be used in a simple vb6 test app, then go back to your main app and continue debugging there. If you're having registry problems (aka: .dll hell), download and run dial-a-fix to repair the corrupt registration keys.

Any suggestions, ideas, or 'constructive criticism' are always welcome.

"There's no such thing as a stupid question, only stupid people." - Mr. Garrison

GeneralRe: Visual Basic IDE Pin
indian14325-Nov-08 2:02
indian14325-Nov-08 2:02 
Questionoracle connection in background worker Pin
captainmogo24-Nov-08 6:36
captainmogo24-Nov-08 6:36 
QuestionHow to Solve Dead Lock problem in Sql Server 2005 Question Pin
pdnet24-Nov-08 1:36
pdnet24-Nov-08 1:36 
AnswerRe: How to Solve Dead Lock problem in Sql Server 2005 Question Pin
Dave Kreskowiak24-Nov-08 2:05
mveDave Kreskowiak24-Nov-08 2:05 
QuestionI am not able to open the report for my VB6.0 application using Crystal Reports 9 in the client machine Pin
manoharbalu23-Nov-08 23:17
manoharbalu23-Nov-08 23:17 
AnswerRe: I am not able to open the report for my VB6.0 application using Crystal Reports 9 in the client machine Pin
Christian Graus23-Nov-08 23:18
protectorChristian Graus23-Nov-08 23:18 
GeneralRe: I am not able to open the report for my VB6.0 application using Crystal Reports 9 in the client machine Pin
manoharbalu23-Nov-08 23:23
manoharbalu23-Nov-08 23:23 
GeneralRe: I am not able to open the report for my VB6.0 application using Crystal Reports 9 in the client machine Pin
ChandraRam23-Nov-08 23:34
ChandraRam23-Nov-08 23:34 
GeneralRe: I am not able to open the report for my VB6.0 application using Crystal Reports 9 in the client machine Pin
Tom Deketelaere23-Nov-08 23:34
professionalTom Deketelaere23-Nov-08 23:34 
GeneralRe: I am not able to open the report for my VB6.0 application using Crystal Reports 9 in the client machine Pin
manoharbalu23-Nov-08 23:39
manoharbalu23-Nov-08 23:39 
GeneralRe: I am not able to open the report for my VB6.0 application using Crystal Reports 9 in the client machine Pin
Tom Deketelaere24-Nov-08 0:02
professionalTom Deketelaere24-Nov-08 0:02 
GeneralRe: I am not able to open the report for my VB6.0 application using Crystal Reports 9 in the client machine [modified] Pin
Dave Kreskowiak24-Nov-08 2:03
mveDave Kreskowiak24-Nov-08 2:03 
GeneralRe: I am not able to open the report for my VB6.0 application using Crystal Reports 9 in the client machine Pin
ChandraRam24-Nov-08 20:45
ChandraRam24-Nov-08 20:45 
GeneralRe: I am not able to open the report for my VB6.0 application using Crystal Reports 9 in the client machine Pin
Dave Kreskowiak25-Nov-08 2:24
mveDave Kreskowiak25-Nov-08 2:24 
GeneralRe: I am not able to open the report for my VB6.0 application using Crystal Reports 9 in the client machine Pin
ChandraRam25-Nov-08 6:27
ChandraRam25-Nov-08 6:27 
GeneralRe: I am not able to open the report for my VB6.0 application using Crystal Reports 9 in the client machine Pin
Dave Kreskowiak24-Nov-08 2:04
mveDave Kreskowiak24-Nov-08 2:04 
GeneralRe: I am not able to open the report for my VB6.0 application using Crystal Reports 9 in the client machine Pin
Mycroft Holmes24-Nov-08 15:31
professionalMycroft Holmes24-Nov-08 15:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.