Click here to Skip to main content
16,004,977 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: autogenerate column in datagridview in vb.net 2005 Pin
coolestCoder28-Jan-07 2:22
coolestCoder28-Jan-07 2:22 
Questioncrystal reports using vb.net 2005 Pin
pankajgarg1228-Jan-07 0:34
pankajgarg1228-Jan-07 0:34 
Questioneventscheduler Pin
Doritkatz27-Jan-07 23:56
Doritkatz27-Jan-07 23:56 
QuestionHow to display a grid on form in vb 2005 Pin
Mekong River27-Jan-07 23:54
Mekong River27-Jan-07 23:54 
QuestionRegistration Free COM with VS 2003 Pin
Atara27-Jan-07 23:34
Atara27-Jan-07 23:34 
AnswerRe: Registration Free COM with VS 2003 Pin
Christian Graus28-Jan-07 0:24
protectorChristian Graus28-Jan-07 0:24 
GeneralRe: Registration Free COM with VS 2003 Pin
Atara28-Jan-07 1:03
Atara28-Jan-07 1:03 
AnswerRe: Registration Free COM with VS 2003 Pin
Atara31-Jan-07 2:42
Atara31-Jan-07 2:42 
I solved it with the help of:

(1) Escape DLL Hell - Simplify App Deployment with ClickOnce and Registration-Free COM
(VS 2005 Article)
http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/

(2) Registration-Free Activation of COM Components: A Walkthrough
(VS 2003 Article)
http://msdn2.microsoft.com/en-us/library/ms973913.aspx

(3) oleView.exe
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\oleView.exe (or . . . \Tools\Bin)
oleView.exe: File->View TypeLib


The solution:

1. The main manifest (myProg.exe.manifest):

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
type = "win32"
name = "myProg"
version = "1.0.0.0" />
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="myAxFile.X"
version="1.0.0.0" />
</dependentAssembly>
</dependency>
<dependency>... more files ...</dependency>
</assembly>

2. The myAxFileN manifest (myAxFileN.X.manifest):

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
type="win32"
name="myAxFileN.X"
version="1.0.0.0" />
<file name = "myAxFile.ocx">
<comClass
clsid="{...clsid...}"
threadingModel = "Apartment" />
<typelib tlbid="{...tlbid...}"
version="1.0" helpdir=""/>
</file>
<comInterfaceExternalProxyStub
name="myAxName"
iid="{...iid...}"
proxyStubClsid32="{00020424-0000-0000-C000-000000000046}"
baseInterface="{00000000-0000-0000-C000-000000000046}"
tlbid = "{...tlbid...}" />
</assembly>
The id are taken from oleView.exe: File->View TypeLib generated file.

I hope it will help you to start digging your specific needs.




Atara
GeneralRe: Registration Free COM with VS 2003 Pin
Atara4-Feb-07 23:11
Atara4-Feb-07 23:11 
QuestionVBS File Pin
Mohammad Daba'an27-Jan-07 20:30
Mohammad Daba'an27-Jan-07 20:30 
AnswerRe: VBS File Pin
Christian Graus27-Jan-07 20:41
protectorChristian Graus27-Jan-07 20:41 
GeneralRe: VBS File Pin
Mohammad Daba'an27-Jan-07 21:04
Mohammad Daba'an27-Jan-07 21:04 
GeneralRe: VBS File Pin
Christian Graus27-Jan-07 21:47
protectorChristian Graus27-Jan-07 21:47 
GeneralRe: VBS File Pin
Mohammad Daba'an27-Jan-07 22:06
Mohammad Daba'an27-Jan-07 22:06 
GeneralRe: VBS File Pin
Christian Graus27-Jan-07 23:06
protectorChristian Graus27-Jan-07 23:06 
GeneralRe: VBS File Pin
Mohammad Daba'an27-Jan-07 23:11
Mohammad Daba'an27-Jan-07 23:11 
GeneralRe: VBS File Pin
Christian Graus27-Jan-07 23:23
protectorChristian Graus27-Jan-07 23:23 
GeneralRe: VBS File Pin
Mohammad Daba'an27-Jan-07 23:32
Mohammad Daba'an27-Jan-07 23:32 
GeneralRe: VBS File Pin
Christian Graus28-Jan-07 0:23
protectorChristian Graus28-Jan-07 0:23 
GeneralRe: VBS File Pin
Mohammad Daba'an28-Jan-07 0:48
Mohammad Daba'an28-Jan-07 0:48 
GeneralRe: VBS File Pin
Christian Graus28-Jan-07 8:30
protectorChristian Graus28-Jan-07 8:30 
QuestionNew to vb.net Pin
v45030527-Jan-07 20:09
v45030527-Jan-07 20:09 
AnswerRe: New to vb.net Pin
Mohammad Daba'an27-Jan-07 20:28
Mohammad Daba'an27-Jan-07 20:28 
AnswerRe: New to vb.net Pin
Christian Graus27-Jan-07 20:40
protectorChristian Graus27-Jan-07 20:40 
AnswerRe: New to vb.net Pin
Nilesh Hapse28-Jan-07 19:49
Nilesh Hapse28-Jan-07 19:49 

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.