473,396 Members | 1,734 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

I don't know enough of what's inside VS2005 to know if what I'm doing need correcting

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
Feb 4 '07 #1
10 2063
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

Feb 4 '07 #2
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
Feb 4 '07 #3

"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


Feb 4 '07 #4

"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

Feb 4 '07 #5
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



Feb 4 '07 #6
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

Feb 4 '07 #7
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



Feb 4 '07 #8

"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
Feb 4 '07 #9
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

Feb 5 '07 #10

"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



Feb 5 '07 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

303
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. orbitz.com web site uses Lisp for algorithms, etc. b....
16
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 project I want to do that I am sure would work great...
0
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 Lock(typeof(ClassName)) or SyncLock GetType(ClassName) Is Bad Rico...
0
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 VSS2005 integrated with VS2005? What I like is the VS6...
1
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 = "New setting" then My.settings.Save() to...
0
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 "
16
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 javascript testing in VS2005, SP1, VB , .NET 2.0,...
8
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 before release. However, I have a web application in...
20
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 application in VS2005. This occurs in static...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.