p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 (http://p2p.wrox.com/forumdisplay.php?f=226)
-   -   Page 393,394 where is the GAC?where is the new directory? (http://p2p.wrox.com/showthread.php?t=75023)

Grace June 30th, 2009 05:23 AM

Page 393,394 where is the GAC?where is the new directory?
 
1. On the page 393, you mentioned to register an assembly into the GAC, you simply need to drag the relevant.dll file into the GAC(located in the c:\winnt\assembly on Windows 2000 or c:\windows\assembly on Windows XP).
My question at this point, where is the GAC? I need to create a file - GAC, and do the rest the steps?

2.On the page 393, Gacutil Utility, What I should to type in after the Gacutil -i ?

3.On the page 394, 7. Open Windows Explorer and create the new directory that you specified in the previous step, if it doesn't exist, and the copy the InternetFavorites.dll into this directory. My question at this point is what is the exactly steps? I mean if I open the Windows Explorer, I will find the Developer Assemblies file, actually I could not find the Developer Assemblies?

bnews987 July 1st, 2009 12:30 PM

I am not sure I understand all of your questions, but here is some help.

The GAC looks like a folder in windows explorer. It is c:\windows\assembly on most users machine. That folder is the GAC.

You could copy your dll into the GAC by dragging and dropping it.

To use the Gacutil, navigate to the location of your dll and put the ddl name after the -i or /i. for example, "DLL Name.dll"

All you need to do is create a folder named Developer Assemblies on c:\ at this point.

Bryan

Grace July 2nd, 2009 02:55 AM

1. Actually there is no GAC on the c:\windows\assembly?
2. I did the steps on the page 393, and I opened the Windows Explorer there is no Developer Assemblies?

Grace July 2nd, 2009 04:43 AM

Can you tell me where I can see this Developer Assemblies on the windows explorer, after I did the steps on the page 393?

I really cannot get the result as Figure 12-6.

bnews987 July 2nd, 2009 01:35 PM

Is there a folder at c:\windows\assembly? If so, that is the GAC.

bnews987 July 2nd, 2009 01:36 PM

Developer Assemblies is a folder you need to create on your c drive. After you create it, you can see it.

Grace July 2nd, 2009 02:44 PM

When I clicked on the c:\windows\assembly, there is no folder name GAC, what is wrong?
I REALLY CANNOT DO THE REST STEPS on the page 393 ~ 394.

bnews987 July 2nd, 2009 03:07 PM

There is no folder named GAC. c:\windows\assembly is the GAC. You should the assembly names of those installed in the GAC when you browse to c:\windows\assembly. You will not find a folder named GAC. Hope this helps, Bryan

Grace July 3rd, 2009 04:05 AM

As you said on the page 393 to drag the relevant.dll file into the GAC, HOW DID YOU DRAG .DLL INTO GAC? I already drag this InternetFavorites.dll into GAC - c:\windows\assembly thousand times, it won't work,???????


All times are GMT -4. The time now is 10:46 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.