I've done this a few times.
In a solution I have a project, Say P1, and need another project that will
contain much code that is similar to that of P1.
I hope no one gets hung up on why I don't somehow share the code.
So, I copy the folder P1 is in, change the new folder name, and is VS2005 to
change all occurrences of P1's name tp P2's name.
Then open the solution and include P2 into the solution.
Now I'm wondering if P1 has some GUID, or reference to the registry that
I've copied so that something that should be unique is now being used twice.
Anyone familiar enough with inside VS2005 to know if what I'm doing need
correcting or avoiding?
Thanks 10 1951
Frank,
Don't worry most of us don't need your code especially not if you don't know
the Mutex
Cor
" Frank" <fr***@a-znet.comschreef in bericht
news:eH**************@TK2MSFTNGP05.phx.gbl...
I've done this a few times.
In a solution I have a project, Say P1, and need another project that will
contain much code that is similar to that of P1.
I hope no one gets hung up on why I don't somehow share the code.
So, I copy the folder P1 is in, change the new folder name, and is VS2005
to change all occurrences of P1's name tp P2's name.
Then open the solution and include P2 into the solution.
Now I'm wondering if P1 has some GUID, or reference to the registry that
I've copied so that something that should be unique is now being used
twice.
Anyone familiar enough with inside VS2005 to know if what I'm doing need
correcting or avoiding?
Thanks
Frank,
Is your project/objects COM enabled? If they are then you need to worry
about GUID's if they are not, you probably don't...
That being said, you can use "Project - Properties - Application - Assembly
Information" to get to the GUID used by your project
Using "Edit - Find and Replace - Find in Files" for "Guid" should get you
any other guids that are used on types (classes, structures), you're looking
for the Guid attribute, not variables of type Guid.
FWIW: Rather then copy the entire project, I would create a new project,
than use "Project - Add Existing Files" to add the files of the old project
to the new project. I would consider using the "add as link" feature so
there is only a single copy of the file...
--
Hope this helps
Jay B. Harlow [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
" Frank" <fr***@a-znet.comwrote in message
news:eH**************@TK2MSFTNGP05.phx.gbl...
I've done this a few times.
In a solution I have a project, Say P1, and need another project that will
contain much code that is similar to that of P1.
I hope no one gets hung up on why I don't somehow share the code.
So, I copy the folder P1 is in, change the new folder name, and is VS2005
to change all occurrences of P1's name tp P2's name.
Then open the solution and include P2 into the solution.
Now I'm wondering if P1 has some GUID, or reference to the registry that
I've copied so that something that should be unique is now being used
twice.
Anyone familiar enough with inside VS2005 to know if what I'm doing need
correcting or avoiding?
Thanks
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:uN*************@TK2MSFTNGP02.phx.gbl...
Frank,
Don't worry most of us don't need your code especially not if you don't
know the Mutex
What is this all about?
Did you intend this for someone else?
I'm sure you don't need or even want my code!
>
Cor
" Frank" <fr***@a-znet.comschreef in bericht
news:eH**************@TK2MSFTNGP05.phx.gbl...
>I've done this a few times.
In a solution I have a project, Say P1, and need another project that will contain much code that is similar to that of P1.
I hope no one gets hung up on why I don't somehow share the code.
So, I copy the folder P1 is in, change the new folder name, and is VS2005 to change all occurrences of P1's name tp P2's name.
Then open the solution and include P2 into the solution.
Now I'm wondering if P1 has some GUID, or reference to the registry that I've copied so that something that should be unique is now being used twice.
Anyone familiar enough with inside VS2005 to know if what I'm doing need correcting or avoiding? Thanks
"Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.netwrote in
message news:ON**************@TK2MSFTNGP04.phx.gbl...
Frank,
Is your project/objects COM enabled? If they are then you need to worry
about GUID's if they are not, you probably don't...
That being said, you can use "Project - Properties - Application -
Assembly Information" to get to the GUID used by your project
Using "Edit - Find and Replace - Find in Files" for "Guid" should get you
any other guids that are used on types (classes, structures), you're
looking for the Guid attribute, not variables of type Guid.
FWIW: Rather then copy the entire project, I would create a new project,
than use "Project - Add Existing Files" to add the files of the old
project to the new project. I would consider using the "add as link"
feature so there is only a single copy of the file...
I'll do the checks you mentioned.
Can't use a single copy because the procedure is only to generate something
like a template- that is, a point to start changing and adding.
Thanks
>
--
Hope this helps
Jay B. Harlow [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
" Frank" <fr***@a-znet.comwrote in message
news:eH**************@TK2MSFTNGP05.phx.gbl...
>I've done this a few times.
In a solution I have a project, Say P1, and need another project that will contain much code that is similar to that of P1.
I hope no one gets hung up on why I don't somehow share the code.
So, I copy the folder P1 is in, change the new folder name, and is VS2005 to change all occurrences of P1's name tp P2's name.
Then open the solution and include P2 into the solution.
Now I'm wondering if P1 has some GUID, or reference to the registry that I've copied so that something that should be unique is now being used twice.
Anyone familiar enough with inside VS2005 to know if what I'm doing need correcting or avoiding? Thanks http://msdn2.microsoft.com/en-us/lib...ing.mutex.aspx
" Frank" <fr***@a-znet.comschreef in bericht
news:%2****************@TK2MSFTNGP02.phx.gbl...
>
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:uN*************@TK2MSFTNGP02.phx.gbl...
>Frank,
Don't worry most of us don't need your code especially not if you don't know the Mutex
What is this all about?
Did you intend this for someone else?
I'm sure you don't need or even want my code!
>> Cor
" Frank" <fr***@a-znet.comschreef in bericht news:eH**************@TK2MSFTNGP05.phx.gbl...
>>I've done this a few times.
In a solution I have a project, Say P1, and need another project that will contain much code that is similar to that of P1.
I hope no one gets hung up on why I don't somehow share the code.
So, I copy the folder P1 is in, change the new folder name, and is VS2005 to change all occurrences of P1's name tp P2's name.
Then open the solution and include P2 into the solution.
Now I'm wondering if P1 has some GUID, or reference to the registry that I've copied so that something that should be unique is now being used twice.
Anyone familiar enough with inside VS2005 to know if what I'm doing need correcting or avoiding? Thanks
Some, not all, usercontrols have for example:
....ControlNotes\AssemblyInfo.vb(19):'The following GUID is for the ID of the
typelib if this project is exposed to COM
....ControlNotes\AssemblyInfo.vb(20):<Assembly:
Guid("299A6415-243D-42AB-9B8A-8E168555F99B")>
why some but not all?
I used your suggestion:
"Project - Properties - Application - Assembly Information"
and verified that some have a GUID and some don't.
Thanks, all the GUIDs I saw have different values, although I don't know why
they have any at all. What are they used for?
"Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.netwrote in
message news:ON**************@TK2MSFTNGP04.phx.gbl...
Frank,
Is your project/objects COM enabled? If they are then you need to worry
about GUID's if they are not, you probably don't...
That being said, you can use "Project - Properties - Application -
Assembly Information" to get to the GUID used by your project
Using "Edit - Find and Replace - Find in Files" for "Guid" should get you
any other guids that are used on types (classes, structures), you're
looking for the Guid attribute, not variables of type Guid.
FWIW: Rather then copy the entire project, I would create a new project,
than use "Project - Add Existing Files" to add the files of the old
project to the new project. I would consider using the "add as link"
feature so there is only a single copy of the file...
--
Hope this helps
Jay B. Harlow [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
" Frank" <fr***@a-znet.comwrote in message
news:eH**************@TK2MSFTNGP05.phx.gbl...
>I've done this a few times.
In a solution I have a project, Say P1, and need another project that will contain much code that is similar to that of P1.
I hope no one gets hung up on why I don't somehow share the code.
So, I copy the folder P1 is in, change the new folder name, and is VS2005 to change all occurrences of P1's name tp P2's name.
Then open the solution and include P2 into the solution.
Now I'm wondering if P1 has some GUID, or reference to the registry that I've copied so that something that should be unique is now being used twice.
Anyone familiar enough with inside VS2005 to know if what I'm doing need correcting or avoiding? Thanks
Cor
Someone else is probably looking for help on mutex and not getting it
because your sending the help to me!
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:ee*************@TK2MSFTNGP02.phx.gbl...
http://msdn2.microsoft.com/en-us/lib...ing.mutex.aspx
" Frank" <fr***@a-znet.comschreef in bericht
news:%2****************@TK2MSFTNGP02.phx.gbl...
>> "Cor Ligthert [MVP]" <no************@planet.nlwrote in message news:uN*************@TK2MSFTNGP02.phx.gbl...
>>Frank,
Don't worry most of us don't need your code especially not if you don't know the Mutex
What is this all about? Did you intend this for someone else? I'm sure you don't need or even want my code!
>>> Cor
" Frank" <fr***@a-znet.comschreef in bericht news:eH**************@TK2MSFTNGP05.phx.gbl... I've done this a few times.
In a solution I have a project, Say P1, and need another project that will contain much code that is similar to that of P1.
I hope no one gets hung up on why I don't somehow share the code.
So, I copy the folder P1 is in, change the new folder name, and is VS2005 to change all occurrences of P1's name tp P2's name.
Then open the solution and include P2 into the solution.
Now I'm wondering if P1 has some GUID, or reference to the registry that I've copied so that something that should be unique is now being used twice.
Anyone familiar enough with inside VS2005 to know if what I'm doing need correcting or avoiding? Thanks
"Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.netwrote in
message news:ON**************@TK2MSFTNGP04.phx.gbl...
Frank,
Is your project/objects COM enabled? If they are then you need to worry
about GUID's if they are not, you probably don't...
Not sure what this means. I never expect to use these usercontrols with
COM. Of course, I dont't know what the IDE, or framework does with them
>
That being said, you can use "Project - Properties - Application -
Assembly Information" to get to the GUID used by your project
I've found this and find that some projects have GUIDs and some don't.
There is also a check box for COM-Visible but it is checked even if there is
no GUID.
Should that box be checked - as far as I know I have nothing to do with COM.
Some of these projects cane from VB6 - maybe the GUID came from there. Is
there any reason I should have GUIDs for non-COM dotNET code?
Thanks
Frank,
Thanks, all the GUIDs I saw have different values, although I don't know
why they have any at all. What are they used for?
As the comment states:
...ControlNotes\AssemblyInfo.vb(19):'The following GUID is for the ID of
the typelib if this project is exposed to COM
The GUID in AssemblyInfo.vb is the same guid as found under project
properties.
>Is your project/objects COM enabled? If they are then you need to worry about GUID's if they are not, you probably don't...
Not sure what this means. I never expect to use these usercontrols with
COM.
COM is based on GUIDs. If you are using your components from COM (aka they
are COM enabled) then the GUIDs are important. If you are using the
components purely from .NET, then the GUIDs are not important.
Of course, I dont't know what the IDE, or framework does with them
The IDE & Framework uses them for enabling COM interop.
--
Hope this helps
Jay B. Harlow [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
" Frank" <fr***@a-znet.comwrote in message
news:uq**************@TK2MSFTNGP03.phx.gbl...
Some, not all, usercontrols have for example:
...ControlNotes\AssemblyInfo.vb(19):'The following GUID is for the ID of
the typelib if this project is exposed to COM
...ControlNotes\AssemblyInfo.vb(20):<Assembly:
Guid("299A6415-243D-42AB-9B8A-8E168555F99B")>
why some but not all?
I used your suggestion:
"Project - Properties - Application - Assembly Information"
and verified that some have a GUID and some don't.
Thanks, all the GUIDs I saw have different values, although I don't know
why they have any at all. What are they used for?
"Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.netwrote in
message news:ON**************@TK2MSFTNGP04.phx.gbl...
>Frank, Is your project/objects COM enabled? If they are then you need to worry about GUID's if they are not, you probably don't...
That being said, you can use "Project - Properties - Application - Assembly Information" to get to the GUID used by your project
Using "Edit - Find and Replace - Find in Files" for "Guid" should get you any other guids that are used on types (classes, structures), you're looking for the Guid attribute, not variables of type Guid.
FWIW: Rather then copy the entire project, I would create a new project, than use "Project - Add Existing Files" to add the files of the old project to the new project. I would consider using the "add as link" feature so there is only a single copy of the file...
-- Hope this helps Jay B. Harlow [MVP - Outlook] .NET Application Architect, Enthusiast, & Evangelist T.S. Bradley - http://www.tsbradley.net
" Frank" <fr***@a-znet.comwrote in message news:eH**************@TK2MSFTNGP05.phx.gbl...
>>I've done this a few times.
In a solution I have a project, Say P1, and need another project that will contain much code that is similar to that of P1.
I hope no one gets hung up on why I don't somehow share the code.
So, I copy the folder P1 is in, change the new folder name, and is VS2005 to change all occurrences of P1's name tp P2's name.
Then open the solution and include P2 into the solution.
Now I'm wondering if P1 has some GUID, or reference to the registry that I've copied so that something that should be unique is now being used twice.
Anyone familiar enough with inside VS2005 to know if what I'm doing need correcting or avoiding? Thanks
"Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.netwrote in
message news:50**********************************@microsof t.com...
Frank,
>Thanks, all the GUIDs I saw have different values, although I don't know why they have any at all. What are they used for?
As the comment states:
>...ControlNotes\AssemblyInfo.vb(19):'The following GUID is for the ID of the typelib if this project is exposed to COM
The GUID in AssemblyInfo.vb is the same guid as found under project
properties.
>>Is your project/objects COM enabled? If they are then you need to worry about GUID's if they are not, you probably don't...
Not sure what this means. I never expect to use these usercontrols with COM.
COM is based on GUIDs. If you are using your components from COM (aka they
are COM enabled) then the GUIDs are important. If you are using the
components purely from .NET, then the GUIDs are not important.
Thanks, This clears it up.
>
>Of course, I dont't know what the IDE, or framework does with them
The IDE & Framework uses them for enabling COM interop.
--
Hope this helps
Jay B. Harlow [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
" Frank" <fr***@a-znet.comwrote in message
news:uq**************@TK2MSFTNGP03.phx.gbl...
>Some, not all, usercontrols have for example:
...ControlNotes\AssemblyInfo.vb(19):'The following GUID is for the ID of the typelib if this project is exposed to COM
...ControlNotes\AssemblyInfo.vb(20):<Assembly: Guid("299A6415-243D-42AB-9B8A-8E168555F99B")>
why some but not all? I used your suggestion:
"Project - Properties - Application - Assembly Information"
and verified that some have a GUID and some don't.
Thanks, all the GUIDs I saw have different values, although I don't know why they have any at all. What are they used for?
"Jay B. Harlow [MVP - Outlook]" <Ja************@tsbradley.netwrote in message news:ON**************@TK2MSFTNGP04.phx.gbl...
>>Frank, Is your project/objects COM enabled? If they are then you need to worry about GUID's if they are not, you probably don't...
That being said, you can use "Project - Properties - Application - Assembly Information" to get to the GUID used by your project
Using "Edit - Find and Replace - Find in Files" for "Guid" should get you any other guids that are used on types (classes, structures), you're looking for the Guid attribute, not variables of type Guid.
FWIW: Rather then copy the entire project, I would create a new project, than use "Project - Add Existing Files" to add the files of the old project to the new project. I would consider using the "add as link" feature so there is only a single copy of the file...
-- Hope this helps Jay B. Harlow [MVP - Outlook] .NET Application Architect, Enthusiast, & Evangelist T.S. Bradley - http://www.tsbradley.net
" Frank" <fr***@a-znet.comwrote in message news:eH**************@TK2MSFTNGP05.phx.gbl... I've done this a few times.
In a solution I have a project, Say P1, and need another project that will contain much code that is similar to that of P1.
I hope no one gets hung up on why I don't somehow share the code.
So, I copy the folder P1 is in, change the new folder name, and is VS2005 to change all occurrences of P1's name tp P2's name.
Then open the solution and include P2 into the solution.
Now I'm wondering if P1 has some GUID, or reference to the registry that I've copied so that something that should be unique is now being used twice.
Anyone familiar enough with inside VS2005 to know if what I'm doing need correcting or avoiding? Thanks
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: mike420 |
last post by:
In the context of LATEX, some Pythonista asked what the big
successes of Lisp were. I think there were at least three *big*
successes.
a....
|
by: Jace Benson |
last post by:
Ok I have read alot of things on zend.com, php.net and other sites went
to the wikibooks to try to understand how to use a class. I have this...
|
by: Nashat Wanly |
last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaskdr/html/askgui06032003.asp
Don't Lock Type Objects!
Why...
|
by: orientphoebus |
last post by:
I tried the new Visual Studio 2005 Team System + VSS2005, no Team
Foundation Server. Some questions pop into my head:
1. WITHOUT TFS, can...
|
by: Bob |
last post by:
Winforms application in VS2005 using VB.
Have some code that sets a user setting using the my.settings code
For instance My.Settings.ThisSetting =...
|
by: U S Contractors Offering Service A Non-profit |
last post by:
" Visionary Dreams "
" Leaving New york City leaving to go " GOD noes were
i Don't "
|
by: Tony Girgenti |
last post by:
Hello.
I just finished reading two articles about javascript here:
http://msdn2.microsoft.com/en-us/library/bb332123(VS.80).aspx
I tried some...
|
by: Spam Catcher |
last post by:
Hi all,
From what I read, VS.NET 2005 doesn't precompile web applications into a
DLL for deployment, rather you need to manually precompile...
|
by: Aek |
last post by:
We recently moved our large codebase over from VS7 to 8 and found that
we now get access violations in atexit calls at shutdown when
debugging the...
|
by: concettolabs |
last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
|
by: better678 |
last post by:
Question:
Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct?
Answer:
Java is an object-oriented...
|
by: teenabhardwaj |
last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
|
by: Kemmylinns12 |
last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
|
by: Naresh1 |
last post by:
What is WebLogic Admin Training?
WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
|
by: jalbright99669 |
last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was...
|
by: Matthew3360 |
last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function.
Here is my code.
...
|
by: Matthew3360 |
last post by:
Hi,
I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
| |