P
prodata
Got a problem trying to access a 3rd party DLL from a VB2008 project
(first time I've tried this, so not too clued up on what might be
wrong):
I've got a simple demo VB project from the maker which accesses the
DLL and which works OK, so I know that in principle it should work.
But if I create my own empty VB2008 project and 'Add Existing Item'
for the basic demo form then on testing I can't get past a 'DLL not
found' error.
If I try to add a reference to the DLL I get an error that the file
'may not be accessible or it is not a valid assembly or COM
component', which I guess must be a big clue but one that I can't make
sense of because:
(i) The demo works fine in the same configuration (AFAICT)
(ii) The DLL has been copied into the project's /bin/debug folder
(and so I don't think that it would be inaccessible)
I know this isn't much to go on, but can anyone suggest the type of
reason for the error. Is there, for example, some other way that I
should be introducing the DLL into the project environment other than
'Add Reference'?
(first time I've tried this, so not too clued up on what might be
wrong):
I've got a simple demo VB project from the maker which accesses the
DLL and which works OK, so I know that in principle it should work.
But if I create my own empty VB2008 project and 'Add Existing Item'
for the basic demo form then on testing I can't get past a 'DLL not
found' error.
If I try to add a reference to the DLL I get an error that the file
'may not be accessible or it is not a valid assembly or COM
component', which I guess must be a big clue but one that I can't make
sense of because:
(i) The demo works fine in the same configuration (AFAICT)
(ii) The DLL has been copied into the project's /bin/debug folder
(and so I don't think that it would be inaccessible)
I know this isn't much to go on, but can anyone suggest the type of
reason for the error. Is there, for example, some other way that I
should be introducing the DLL into the project environment other than
'Add Reference'?