-
Funny Trick!
If you want to use procedures stored inside a DLL file, you just add a reference to it in your project. :o
However, what if you wanted to use procedures stored inside an EXE file? VS.NET wont allow you to add a reference to an EXE file. :confused:
Here's a simple solution (I think it only works with .NET assemblies though): Rename the EXE file to a DLL file. After you do so, .NET doesn't seem to know the difference between that and a 'true' dll file. You can use any public procedures declared within it. I don't know why anyone would need to do this though (If you do, your not a really good programmer), its just a funny thing I found out when experimenting with DLL's and EXE's in .NET. :cool:
-
-
if MS heard that , they'll release .Net 2.:D