VB Express Publishing Question
VB Express Publishing Question
VB Express Publishing Question
VB Express Publishing Question
VB Express Publishing Question
VB Express Publishing Question VB Express Publishing Question VB Express Publishing Question VB Express Publishing Question VB Express Publishing Question VB Express Publishing Question VB Express Publishing Question VB Express Publishing Question
VB Express Publishing Question VB Express Publishing Question
VB Express Publishing Question
Go Back  Xtreme Visual Basic Talk > > > VB Express Publishing Question


Reply
 
Thread Tools Display Modes
  #1  
Old 09-10-2007, 12:23 PM
BBauer42's Avatar
BBauer42 BBauer42 is offline
Contributor
 
Join Date: Dec 2005
Location: CT, USA
Posts: 448
Default VB Express Publishing Question


All,
I am using VB express. I can't attach a .dll as a reference to a project because it tells me it is not a valid assembly or com component. Thus, when I publish the project and try running the application I get an error saying the .dll can't be found.

I can manually go place the .dll into the windows\system32 directory and that error goes away. However, is there a way to get this file installed in that directory automatically?

Thanks.
__________________
www.sportsloon.com
Reply With Quote
  #2  
Old 09-11-2007, 09:52 AM
BBauer42's Avatar
BBauer42 BBauer42 is offline
Contributor
 
Join Date: Dec 2005
Location: CT, USA
Posts: 448
Default

..bump
__________________
www.sportsloon.com
Reply With Quote
  #3  
Old 09-12-2007, 01:16 PM
BBauer42's Avatar
BBauer42 BBauer42 is offline
Contributor
 
Join Date: Dec 2005
Location: CT, USA
Posts: 448
Default

...bump
__________________
www.sportsloon.com
Reply With Quote
  #4  
Old 09-12-2007, 02:07 PM
BBauer42's Avatar
BBauer42 BBauer42 is offline
Contributor
 
Join Date: Dec 2005
Location: CT, USA
Posts: 448
Default

All,
I am using VB express. I can't attach a .dll as a reference to a project because it tells me it is not a valid assembly or com component. Thus, when I publish the project and try running the application I get an error saying the .dll can't be found.

I can manually go place the .dll into the windows\system32 directory and that error goes away. However, is there a way to get this file installed in that directory automatically?

Thanks.
__________________
www.sportsloon.com
Reply With Quote
  #5  
Old 09-13-2007, 12:19 PM
blindwig's Avatar
blindwigVB Express Publishing Question blindwig is offline
Ultimate Contributor

* Expert *
 
Join Date: Jun 2003
Location: New York, NY
Posts: 1,929
Default

I have no idea why it won't let you add a DLL as a project reference, but as a work around, why don't you just add the DLL directly to the installer so it gets installed that way?
__________________
"Fortunately, I live in the United States of America, where we are gradually coming to understand that nothing we do is ever our fault, especially if it is really stupid." -Dave Barry
Reply With Quote
  #6  
Old 09-13-2007, 12:43 PM
BBauer42's Avatar
BBauer42 BBauer42 is offline
Contributor
 
Join Date: Dec 2005
Location: CT, USA
Posts: 448
Default

Thats what I'm asking... how do you do that in VB Express.
__________________
www.sportsloon.com
Reply With Quote
  #7  
Old 09-14-2007, 12:26 PM
blindwig's Avatar
blindwigVB Express Publishing Question blindwig is offline
Ultimate Contributor

* Expert *
 
Join Date: Jun 2003
Location: New York, NY
Posts: 1,929
Default

Hmm I'm guessing that VBX doesn't have a package and deployment wizard? So you are just publishing your app as a click-once deployment? Hmm - no idea how to help you there.

I'd say look into the error you're getting for trying to add the DLL file. Have you found anything on MS site or anything?
__________________
"Fortunately, I live in the United States of America, where we are gradually coming to understand that nothing we do is ever our fault, especially if it is really stupid." -Dave Barry
Reply With Quote
  #8  
Old 10-11-2007, 03:18 AM
Zuffi Zuffi is offline
Junior Contributor
 
Join Date: Mar 2005
Location: Singapore
Posts: 272
Default

Quote:
Originally Posted by Zuffi View Post
Hi,

I'm not sure whether this apply to VB.Net, but in C# Express, i can Add Reference, and the COM dll will be added to the installation file.

Hope that can work for you.

Best Regards,
Zuffi

P.S: I didn't proceed with the full publishing option, just perform a reference to the "old" .dll file, then proceed to the Publish option and saw that the file is added to the "required" list.

Opps.
I'm sorry, i misread your post.
kindly ignore this post.

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
VB Express Publishing Question
VB Express Publishing Question
VB Express Publishing Question VB Express Publishing Question
VB Express Publishing Question
VB Express Publishing Question
VB Express Publishing Question VB Express Publishing Question VB Express Publishing Question VB Express Publishing Question VB Express Publishing Question VB Express Publishing Question VB Express Publishing Question
VB Express Publishing Question
VB Express Publishing Question
 
VB Express Publishing Question
VB Express Publishing Question
 
-->