• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

a VB Question

 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dear Friends,
The Question is related to V.B and Activex DLL. I have made a "NomanDll1.dll" file with the following code :
Public Function abc()
MsgBox "My name is Noman Iqbal"
End Function
An Standard Exe Project with the follwoing Code :
Private Declare Function abc Lib "NomanDll1" ()
Private Sub Form_Load()
Call abc
End Sub
Now when I run this standard exe project it gives me an error which is "Run-time Error 453 Can't find DLL entry point abc in NomanDll1"

I don't understand the problem. Can any body tell me that why this error is coming and what is it's solution.

Waiting for your reply.
bye
Noman Iqbal.
 
Ranch Hand
Posts: 5399
1
Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Plz move it to correct forum
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi noman you have not given any reference of your dll server in your client application, your client does not know where the dll file is so just go the project->references->browse and give the reference of your dll server
 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sameer is probly correct...i havent made .dll's
for what you are doing, what i have done, is create .bas modules
 
Noman Iqbal
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Friends, I have added the Dll file in the references also but still the same problem.
 
Noman Iqbal
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dear Friends,
Friends what I want is that in V.B I want to make a DLL File which would be like Windows Dll Files (e.g user32.dll) which requires it's decleration of methods and can not be imported in the Project-->References.
The decleration is like when we call some Windows API like "ExitwindowsEX" from "user32.dll". It's decleration is follows :
Decleration of ExitwindowsEx : Public Declare Function ExitWindowsEx Lib "user32" Alias "ExitWindowsEx" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long
Waiting for your reply.
bye
Noman Iqbal (SCJP2 & SCWCD).
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does this have anything to do with JAVA? I realize that it has been posted in the MD forum, but at the very least it needs to be moved to General Computing. Or better yet, maybe a VB forum?
 
R K Singh
Ranch Hand
Posts: 5399
1
Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am going crazy (sorry noman)
Its a good idea of moving it to General computing
 
Noman Iqbal
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok Dear Friends then please tell me a good Vb Forum where I can post this Topic.
Waiting for your reply.
bye
Noman Iqbal.
 
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know of none. Perhaps you could convert your program to Java?
 
R K Singh
Ranch Hand
Posts: 5399
1
Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://www.google.com/search?q=%22Vb+Forum+%22&hl=en&lr=&ie=UTF-8&oe=UTF-8&start=10&sa=N

http://www.visualbasicforum.com/
And what I do remember there are forums in MS offcial site also.
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
microsoft.com ???
 
Randall Twede
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
here is where i go when i have VB questions:
http://www.tek-tips.com/
[ November 27, 2002: Message edited by: Randall Twede ]
 
Sameer Jamal
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try to register your dll file with the command
regsvr32 "path of the dll file"
 
reply
    Bookmark Topic Watch Topic
  • New Topic