newb - copy vbproj file for modification - guid

  • Thread starter Thread starter mp
  • Start date Start date
M

mp

Newb question.
I have a project (filename.vbproj) i copied and renamed to reuse some of
what was already set up, rather than rebuilding everything by scratch.

when i open the project and go to project properties | Application |
Assembly Information |
there is a guid for the project - I assume that is the same as the original
one i copied.
Do I need to generate a new guid and paste it into this box and resave the
project to prevent some problem down the line?

Is there a guid generator built in to dotnet or can i use an old vb6 era
guid generator i have?

is that the guid put in the registry somewhere when i build a dll?
 
mp said:
Newb question.
I have a project (filename.vbproj) i copied and renamed to reuse some of
what was already set up, rather than rebuilding everything by scratch.

when i open the project and go to project properties | Application |
Assembly Information |
there is a guid for the project - I assume that is the same as the original
one i copied.
Do I need to generate a new guid and paste it into this box and resave the
project to prevent some problem down the line?

I think it's not a problem as long as you don't create a COM assembly.
Just to be sure,.....
Is there a guid generator built in to dotnet or can i use an old vb6 era
guid generator i have?

is that the guid put in the registry somewhere when i build a dll?


.....in the Professional version, there is the menu item

Tools -> Create GUID

Don't know if it's also there in VB Express.
 
Armin Zingler said:
I think it's not a problem as long as you don't create a COM assembly.
Just to be sure,.....



....in the Professional version, there is the menu item

Tools -> Create GUID

Don't know if it's also there in VB Express.

thanks,
since i'm new to this i don't know if i'm "creating" a com assembly
I am using a com interface of Autocad and accessing it via com interop
the net dll gets loaded into acad's process via an acad command "netload"
so i think i'm not creating a com assembly but not sure
thanks
mark
 
mp said:
thanks,
since i'm new to this i don't know if i'm "creating" a com assembly
I am using a com interface of Autocad and accessing it via com interop
the net dll gets loaded into acad's process via an acad command "netload"
so i think i'm not creating a com assembly but not sure

A COM Dll is an ActiveX Dll like in VB6. By default, a .Net Assembly
is not a COM dll - so don't worry about it ATM.
 
Armin Zingler said:
A COM Dll is an ActiveX Dll like in VB6. By default, a .Net Assembly
is not a COM dll - so don't worry about it ATM.
Thanks
this should be a separaste post, but since your'e here :-) ...

Now I'm looking to see if dotnet has a built in 'writeToFile' type 'command'
or do i have to write my own, by researching file io in dot net.
I have a logging function in vb6 that i can login, logwrite, and logout(open
log file in notepad)
is there an easy way to do that in dotnet or does one have to roll their
own?
thanks
mark
 
mp said:
Thanks
this should be a separaste post, but since your'e here :-) ...

Now I'm looking to see if dotnet has a built in 'writeToFile' type 'command'
or do i have to write my own, by researching file io in dot net.
I have a logging function in vb6 that i can login, logwrite, and logout(open
log file in notepad)
is there an easy way to do that in dotnet or does one have to roll their
own?

I'm not sure what you mean. For example, there is System.IO.File.AppendAllText
and other methods in the File class. That's what you need?

http://msdn.microsoft.com/en-us/library/system.io.file.appendalltext.aspx
 
Back
Top