473,322 Members | 1,480 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,322 software developers and data experts.

Add compilation time and date to project

Hi

I would like to add form with version data like version number and
compilation time and date.
I would like the time and date to be added automatically to my
project.

How can I do that?
(I can't use a function ehich gives the current time and date bcause
it won't give the compilation time but the current time...)

Thanks in advanced
Yaniv

Feb 22 '07 #1
8 6563
On Feb 22, 7:29 am, "Yaniv" <elgar...@gmail.comwrote:
Hi

I would like to add form with version data like version number and
compilation time and date.
I would like the time and date to be added automatically to my
project.

How can I do that?
(I can't use a function ehich gives the current time and date bcause
it won't give the compilation time but the current time...)

Thanks in advanced
Yaniv
AssemblyInfo.BuildDate

Feb 22 '07 #2
On Feb 22, 4:48 pm, z...@construction-imaging.com wrote:
On Feb 22, 7:29 am, "Yaniv" <elgar...@gmail.comwrote:
Hi
I would like to add form with version data like version number and
compilation time and date.
I would like the time and date to be added automatically to my
project.
How can I do that?
(I can't use a function ehich gives the current time and date bcause
it won't give the compilation time but the current time...)
Thanks in advanced
Yaniv

AssemblyInfo.BuildDate
Sorry but it seems that VB.NET doesn't recognize AssemblyInfo.BuildDate

Feb 22 '07 #3
On 22 Feb, 15:34, "Yaniv" <elgar...@gmail.comwrote:
On Feb 22, 4:48 pm, z...@construction-imaging.com wrote:


On Feb 22, 7:29 am, "Yaniv" <elgar...@gmail.comwrote:
Hi
I would like to add form with version data like version number and
compilation time and date.
I would like the time and date to be added automatically to my
project.
How can I do that?
(I can't use a function ehich gives the current time and date bcause
it won't give the compilation time but the current time...)
Thanks in advanced
Yaniv
AssemblyInfo.BuildDate

Sorry but it seems that VB.NET doesn't recognize AssemblyInfo.BuildDate- Hide quoted text -

- Show quoted text -
How about "My.Application.AssemblyInfo.BuildDate" ?

Feb 22 '07 #4
On Feb 22, 10:34 am, "Yaniv" <elgar...@gmail.comwrote:
On Feb 22, 4:48 pm, z...@construction-imaging.com wrote:


On Feb 22, 7:29 am, "Yaniv" <elgar...@gmail.comwrote:
Hi
I would like to add form with version data like version number and
compilation time and date.
I would like the time and date to be added automatically to my
project.
How can I do that?
(I can't use a function ehich gives the current time and date bcause
it won't give the compilation time but the current time...)
Thanks in advanced
Yaniv
AssemblyInfo.BuildDate

Sorry but it seems that VB.NET doesn't recognize AssemblyInfo.BuildDate
Sure works for me. I didn't just post that from memory, I consulted a
project where I actually used it. As in:

Dim ainfo as New AssemblyInfo

Me.Text = ainfo.Title & " - " & ainfo.BuildDate

Now, the project I did this in was originally written in VS2003 so
there was a file automatically created called AssemblyInfo.vb, which
was replaced by files in the My Project folder for VS2005. And I
converted this project using the VS2005 VB converter and the
AssemblyInfo.vb file is still there.
Feb 22 '07 #5
On Feb 22, 6:29 pm, z...@construction-imaging.com wrote:
On Feb 22, 10:34 am, "Yaniv" <elgar...@gmail.comwrote:


On Feb 22, 4:48 pm, z...@construction-imaging.com wrote:
On Feb 22, 7:29 am, "Yaniv" <elgar...@gmail.comwrote:
Hi
I would like to add form with version data like version number and
compilation time and date.
I would like the time and date to be added automatically to my
project.
How can I do that?
(I can't use a function ehich gives the current time and date bcause
it won't give the compilation time but the current time...)
Thanks in advanced
Yaniv
AssemblyInfo.BuildDate
Sorry but it seems that VB.NET doesn't recognize AssemblyInfo.BuildDate

Sure works for me. I didn't just post that from memory, I consulted a
project where I actually used it. As in:

Dim ainfo as New AssemblyInfo

Me.Text = ainfo.Title & " - " & ainfo.BuildDate

Now, the project I did this in was originally written in VS2003 so
there was a file automatically created called AssemblyInfo.vb, which
was replaced by files in the My Project folder for VS2005. And I
converted this project using the VS2005 VB converter and the
AssemblyInfo.vb file is still there.- Hide quoted text -

- Show quoted text -

It still doesn't work....
The compiler can't recognize AssemblyInfo or
My.Application.AssemblyInfo.BuildDate.

Feb 25 '07 #6
Yaniv,

Here's a link to the VB 2005 AssemblyInfo information. It discusses how to
read and write to the AssemblyInfo...

http://www.codeguru.com/csharp/.net/...cle.php/c9491/

Bruce

"Yaniv" <el******@gmail.comwrote in message
news:11**********************@h3g2000cwc.googlegro ups.com...
On Feb 22, 6:29 pm, z...@construction-imaging.com wrote:
>On Feb 22, 10:34 am, "Yaniv" <elgar...@gmail.comwrote:


On Feb 22, 4:48 pm, z...@construction-imaging.com wrote:
On Feb 22, 7:29 am, "Yaniv" <elgar...@gmail.comwrote:
Hi
I would like to add form with version data like version number and
compilation time and date.
I would like the time and date to be added automatically to my
project.
How can I do that?
(I can't use a function ehich gives the current time and date
bcause
it won't give the compilation time but the current time...)
Thanks in advanced
Yaniv
AssemblyInfo.BuildDate
Sorry but it seems that VB.NET doesn't recognize AssemblyInfo.BuildDate

Sure works for me. I didn't just post that from memory, I consulted a
project where I actually used it. As in:

Dim ainfo as New AssemblyInfo

Me.Text = ainfo.Title & " - " & ainfo.BuildDate

Now, the project I did this in was originally written in VS2003 so
there was a file automatically created called AssemblyInfo.vb, which
was replaced by files in the My Project folder for VS2005. And I
converted this project using the VS2005 VB converter and the
AssemblyInfo.vb file is still there.- Hide quoted text -

- Show quoted text -


It still doesn't work....
The compiler can't recognize AssemblyInfo or
My.Application.AssemblyInfo.BuildDate.

Feb 25 '07 #7
On Feb 26, 12:47 am, "Bruce W. Darby" <kraco...@atcomcast.netwrote:
Yaniv,

Here's a link to the VB 2005 AssemblyInfo information. It discusses how to
read and write to the AssemblyInfo...

http://www.codeguru.com/csharp/.net/...lstudionet2003...

Bruce

"Yaniv" <elgar...@gmail.comwrote in message

news:11**********************@h3g2000cwc.googlegro ups.com...
On Feb 22, 6:29 pm, z...@construction-imaging.com wrote:
On Feb 22, 10:34 am, "Yaniv" <elgar...@gmail.comwrote:
On Feb 22, 4:48 pm, z...@construction-imaging.com wrote:
On Feb 22, 7:29 am, "Yaniv" <elgar...@gmail.comwrote:
Hi
I would like to add form with version data like version number and
compilation time and date.
I would like the time and date to be added automatically to my
project.
How can I do that?
(I can't use a function ehich gives the current time and date
bcause
it won't give the compilation time but the current time...)
Thanks in advanced
Yaniv
AssemblyInfo.BuildDate
Sorry but it seems that VB.NET doesn't recognize AssemblyInfo.BuildDate
Sure works for me. I didn't just post that from memory, I consulted a
project where I actually used it. As in:
Dim ainfo as New AssemblyInfo
Me.Text = ainfo.Title & " - " & ainfo.BuildDate
Now, the project I did this in was originally written in VS2003 so
there was a file automatically created called AssemblyInfo.vb, which
was replaced by files in the My Project folder for VS2005. And I
converted this project using the VS2005 VB converter and the
AssemblyInfo.vb file is still there.- Hide quoted text -
- Show quoted text -
It still doesn't work....
The compiler can't recognize AssemblyInfo or
My.Application.AssemblyInfo.BuildDate.- Hide quoted text -

- Show quoted text -
I'm using VB.NET 2003. This article discuss about VB.NET 2005.
Is this feature supported also at VB.NET 2003 ?

Feb 28 '07 #8
Yaniv,

Sorry about that. It seems that VS 2k2-2k3 have an AssemblyInfo file that
needs to be edited. Here's a link that should help...

http://builder.com.com/5102-6389-5067749.html

Bruce

"Yaniv" <el******@gmail.comwrote in message
news:11********************@h3g2000cwc.googlegroup s.com...
On Feb 26, 12:47 am, "Bruce W. Darby" <kraco...@atcomcast.netwrote:
>Yaniv,

Here's a link to the VB 2005 AssemblyInfo information. It discusses how
to
read and write to the AssemblyInfo...

http://www.codeguru.com/csharp/.net/...lstudionet2003...

Bruce

"Yaniv" <elgar...@gmail.comwrote in message

news:11**********************@h3g2000cwc.googlegr oups.com...
On Feb 22, 6:29 pm, z...@construction-imaging.com wrote:
On Feb 22, 10:34 am, "Yaniv" <elgar...@gmail.comwrote:
On Feb 22, 4:48 pm, z...@construction-imaging.com wrote:
On Feb 22, 7:29 am, "Yaniv" <elgar...@gmail.comwrote:
Hi
I would like to add form with version data like version number
and
compilation time and date.
I would like the time and date to be added automatically to my
project.
How can I do that?
(I can't use a function ehich gives the current time and date
bcause
it won't give the compilation time but the current time...)
Thanks in advanced
Yaniv
AssemblyInfo.BuildDate
Sorry but it seems that VB.NET doesn't recognize
AssemblyInfo.BuildDate
>Sure works for me. I didn't just post that from memory, I consulted a
project where I actually used it. As in:
>Dim ainfo as New AssemblyInfo
>Me.Text = ainfo.Title & " - " & ainfo.BuildDate
>Now, the project I did this in was originally written in VS2003 so
there was a file automatically created called AssemblyInfo.vb, which
was replaced by files in the My Project folder for VS2005. And I
converted this project using the VS2005 VB converter and the
AssemblyInfo.vb file is still there.- Hide quoted text -
>- Show quoted text -
It still doesn't work....
The compiler can't recognize AssemblyInfo or
My.Application.AssemblyInfo.BuildDate.- Hide quoted text -

- Show quoted text -

I'm using VB.NET 2003. This article discuss about VB.NET 2005.
Is this feature supported also at VB.NET 2003 ?

Mar 3 '07 #9

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

Similar topics

4
by: Marcin Kalicinski | last post by:
Hi All, Does anybody has experience compiling XML parser written with boost::spirit on gcc? The parser is based on http://spirit.sourceforge.net/repository/applications/xml.zip samples. What...
3
by: Roel Castro | last post by:
Hello everyone, Could somebody help me how to open time/date item in Control panel by codes in access form modules? Taking in consideration the operating system which is Windows 98, Windows 2000...
2
by: julien | last post by:
Hello, I try to understand was is statically compiled, and what is loaded at tun time. I have 3 binary file: Program.exe, Plugin.dll, and Share.dll Share.dll contains objects used by both...
3
by: Raymond | last post by:
My solution consists of the following project: 1) Data Access project 2) Business Project 3) Web Project 4) Setup Project
1
by: MR | last post by:
Hi, it has been observed that when we try to instantiate a .Net dll for the first time in a session (e.g. from an exe in .Net), it takes almost 10 times compared to subsequent instantiations. ...
9
by: Bob Achgill | last post by:
I would like to use the timestamp on files to manage the currency of support files for my VB windows application. In this case I would only put the timestamp of the file in the management database...
8
by: vitalyt | last post by:
Hi, I have cpp file which consist nested templates. Compilation time without optimization is 1-2 minutes, with -O2 turned on more then 5 hours. :( Could anybody help with that problem? AIX 5.2,...
8
by: bessie | last post by:
I have a registration form that loads into a dava.csv file (code below). I want to add a time/date stamp so that each time someone registers, the last column in the spreadsheet shows the time/date....
5
by: David Portabella | last post by:
Hello, I have the following template class: ++++++++++++++++++++++ template <class Valueclass Test { public: void f() { if (typeid(Value) == typeid(string)) cout << "Value is a string" <<...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.