How To Access Build Version Info In VS2010 VB
May 6, 2011
I would like to build a text string that is the build version of my program. In VB6 I would use the values retrieved from App.Version.Major/Minor. I have looked for something similar in VS2010 VB but unable to find it. I did find information on the .NET framework, but I am looking for a build version of my program.
View 3 Replies
ADVERTISEMENT
Mar 6, 2009
We're using team build with AssemblyInfoTask to increment the build number in a nightly build. The build number is displayed in the application using My.Application.Info.Version.Build.This has been working fine for years. But since we branched the sources and started using file references instead of project references (have no idea if that's what causes the problem), the last build number is displayed instead of the current one.
The compiled files (dll's and exe's) have the correct build number, if checked by right clicking the file in Explorer and viewing detailed properties. However when the same exe-file is executed, the UI displays the previous build number.If I edit the AssemblyInfo.vb file manually (just set another number, save the file, and set it back again), both file properties in Explorer and the UI at runtime displays the correct build number. How can this happen? What can be done to avoid this strange behavior?
View 1 Replies
Jun 10, 2010
Is there any way to make my programs use a lower version of net.framework other than the newest version 4 that comes with VS2010?I use my programs within a closed network and there isn't an easy way for me to install any software since I'm not the administrator.
View 3 Replies
Jun 24, 2010
I have a XML file with the latest application version number, I have this loaded into a variable, how can i compare this against the application.info.version to see if it's the latest version??
View 3 Replies
Jun 17, 2009
I was able to build both debug and release versions of my VB code before now I no longer have the option to build a release version. How do I turn it back on
View 3 Replies
Mar 14, 2011
I just updated to VS2010 SP1, but I cannot be certain this problem didn't exist prior to the update.When I build my project the version in /bin/debug builds, but nothing builds in /bin/release. I do not remember making any changes that would affect this, but nothing I do now will get the release version to build.
In the Application settings under "Compile" I have Configuration set to Release and the Build output path is "binRelease For Debug I also have Configuration set to Release.
There doesn't seem to be anything else left to change/adjust - but no matter what I seem to do nothing builds in the bin/release folder.
View 1 Replies
Mar 23, 2011
I have a XML document that im loading in to VS2010 This is the first time iv looked at XML in this sort of way
[Code]....
What i want to achieve is reading the Information from the XML document and then writing it to my back office (SQL) again this is for my own personal Use, i just want to get use to reading info from a XML file and doing things with the information i recieved from the file.
View 3 Replies
May 20, 2010
I am using VS2010. I have a project that has been deployed for several years. Project builds fine but now suddenly I get the message "Cannot publish because a project failed to build. This program is been updated and published hundreds of times.
View 11 Replies
Dec 17, 2010
I can create a brand new empty console app in Visual Studio 2008 and add a reference to c:myfilesCrystalDecisions.Enterprise.Framework.dll and verything works just fine.If I do the same thing with the same file in Visual Studio 2010 (after changing my targeted framework to 3.5), I get the error that "CrystalDecisions.Enterprise.Framework.dll or one of its dependencies, requires a later version of the .NET Framework than the one specified in the project." In Visual Studio 2010 it won't work unless I change my targeted framework to 4.0. How is it possible that a DLL could be incompatible with version 3.5 of the framework in VS2010, but compatible in VS 2008?
View 4 Replies
Mar 28, 2011
I have an application that will not load unless my local SQL Server is running on an Vista Home Premium machine. This started after a .Net 1 to .Net 4 conversion. I am using a sub main sub that is not being called (msgbox is not fired when entering the app), however, I see the app through taskmgr with increasing memory usage, but then the app is removed from the list. By design, if the program cannot locate a SQL Server a form pops up with a connection box to locate the SQL Server for the app. How it determines if it has a valid connection is the program looks for a connection string in the registry, then attempts to connect to it, however, none of this code executes because of the failure to enter into the sub main.The two machines I have tried the 32 bit app on
XP Pro: Failed / Using SQL Server 2008 Express
Windows 2003 Server: Works / Using SQL Server 2008 Developer
Both machines have .Net 4 Client Profile with Extended?
View 10 Replies
Oct 8, 2011
I'm wondering how do I get a version of an external executable when Launcher_Load, then after version is found I want it to Label1.Text = "[version]"I've tried searching through websites and from codes I found it didn't manage to do the job.
View 2 Replies
Jan 30, 2010
[code]....
View 2 Replies
Aug 3, 2011
i'm using VB 2010 Express and I want to change the Executable Version Info?
View 2 Replies
Jan 5, 2010
My question is im rebuilding an app i made years ago but i want to add the auto update i have the file downloader down to a T but i dont wanna use the Click once auto-update So i want to read a text file from a online server and then check if the version info inside matches the my.setting.build string inside my application if it doesnt it opens theupdate.exe the that dose what i have it programmed to to
View 3 Replies
Aug 21, 2011
I am trying to create an autoupdater for my application, and I came up with an idea to use the "After build" event to export the application version to txt file.Just a simple txt file with lets say "1.0.1" in it.
View 2 Replies
Jun 4, 2010
Due to the July 13 end of life support for IE6 minus SP3, I am planning on checking the build version of the browser once logging in. I am able to return the browser major and minor versions but cannot find a way to get to the build/patch version which tells what SP the user has. I need to confirm the user is using an IE version higher than 6.00.2900.5512.
View 9 Replies
Nov 17, 2009
I've got vb Express and want to increase the version of the build file automatically. I know it can auto change the publish-version, but i never publish files. I use the build option and get the application at: ...Visual Studio 2008ProjectsWindowsApplication1WindowsApplication1inRelease. So how can vb increase the revision or build number automatically?
View 2 Replies
Jan 23, 2012
I am developing an application that will run with a GUI when no commandline args are passed, but can also run invisibly if started from the commandline and passed necessary arguments. I have been asked to include a /version argument that will return a version number. For simplicity this version number can be stored in a variable. Without doing something like writing the version number out to a file, what is the best way for me to return this info to the caller? My app will almost always be started from a script, so the script will have to read the version number and make decisons based on the version.
View 2 Replies
Sep 21, 2009
Every time I compile a new release build in vb.net 2009, the file version number of my main exe is correct, but the assembly version number is the same as the last build instead of the current version even though I manually change the file and assembly version in the design studio to be the same prior to compiling.The only way I can get the assembly version to be correct is to close Visual Studio and delete the obj folder. Then if I open the solution and recompile, all is well.
Here is the information copied from the About box in VS:
Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
[code]....
View 4 Replies
Nov 15, 2011
build a Function or Sub using HTTPRequest that makes a multipart post using that info?
-----------------------------23281168279961
Content-Disposition: form-data; name="ACAO"
-----------------------------23281168279961
[Code]......
View 3 Replies
Feb 8, 2012
Is there a way to make the express version do a "clean build"?
Some of my project compilations have developed a problem which prevents debugging.
"The breakpoint that isn't working will display a message if highilighted with the mouse. The breakpoint will not currently be hit. No symbols have been loaded for this document."
The difference I've seen between the project folders for an app that will debug vs one that will not debug is that there is no ".pdb" file in the folder where the application to be debugged is running.Debug (F5) or "Build" no longer create this file.
Many of the discussion participants suggest deleting the "obj" and "bin" folders before compiling - on the assumption that this will "force" a "clean build" - is that supposed to be true? My express version has no "clean build" option, and deleting the obj and bin folders doesn't cuase them to be completely rebuilt.
Is "msbuild" the only way to force a complete build when you have the express version?
Also - how do I determine/control which net framework vision vs2010 express is using?[code]...
View 5 Replies
Feb 1, 2010
I want to add version info to my mobile device exe fileand apparently the following line is not supported in CF (windows mobile 6.0), ideas?:<Assembly: AssemblyFileVersion("1.0.0.0")>I want to be able to to right-click on the .exe after it is copied over to the PC and have the version displayed in a version tab just like any other .exe. I would then be able to read this version in code from a VB6 program.
View 1 Replies
Feb 27, 2011
The version in the Publish page of the project properties is set to 1.4.0.1, but My.Application.Info.Version.ToString returns "1.0.0.0"
View 7 Replies
Nov 6, 2010
I have an existing VB6 application which permits two or more users to work with local relicated MS Access databases. At start-up and shut down the local database synchronize with the master database (if the network permits dialogue) using
mDb1.Synchronize etc.
I am trying to port the application over to VS2010 and I cannot find anything equivalent to permit occasional synchronizing of various replicated MS Access databases with the master database (again, if the network permits contact between the two machines). Has anyone found a way of doing this for Access databases (not SQL Server databases)?
Works fine in VB6 but VS2010 has me beaten at the moment.
View 9 Replies
Oct 7, 2011
how to update fields in an Access database through VB. What I'm supposed to do subtract the quantity of the daily orders from the inventory quantity. My textbook is a little bit vague at this point, because the only way it describes updating the DB is manually through the BindingSourceNavigator. I don't want to enter it manually, I want it to subtract the quantity from the orders table.
Public Class frmMicroland
Private Sub frmMicroland_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code].....
View 1 Replies
Mar 31, 2009
How they relate and differ from each? What are the best practices for version control? Is there a primer about publish online? Or a good book?
And is it possible to make ClickOnce and a msi in one solution of VS 2008? If so, is there any conflict or pitfall?
BTW I am using VB if that makes any difference.
View 1 Replies
Jan 3, 2011
I am using Server Explorer in VS2010 to connect to an Access 2007 .accdb database. I started getting 'No error message available, result code:E_UNEXPECTED (0x8000FFFF). However, my program runs from Debug and accesses the data.My connection string is Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:MypathDatabase1.accdb. I exited my project and created a new project and tried to add a connection. I could not connect to Access 2007 or Access 2003 databases (.mdb).I had to exit VS2010 and start it again before it started working again.
View 3 Replies
Oct 29, 2010
Ok, so I`ve been studying a bit of VB lately.. bought a few books and read lot`s of articles and seen hours of instructional videos, and I slightly start to get the hang of a few things.. :) I`ve recently started a fun little project, but I seem to lack a bit of knowledge to reach my goal. I`ll first try to describe my project:
[Cde]...
View 1 Replies
Jan 7, 2010
I have code below which determines the version of Access.It runs quickly on most PCs. We also have four terminal servers. On two of the terminal servers it runs fine. On the other two, this code takes over 15 seconds to run.All four terminal servers have Access 2003 runtime. I can't figure out why it would take longer to run on two servers. Would it be permissions? Or some mistake in the way the Access runtime was installed?
' Determine the Access version by creating an
' Access.Application object and looking at
' its Version property.[code]......
View 4 Replies
Jun 11, 2011
The company I work for has old databases that were built in Access '97. They've since upgraded to Access 2003, 2007 of course, and are in the process of upgrading to 2010, but a couple of databases still only work in '97.
I'm tasked with trying to find a way to make sure the database is only opened in Access '97. I can easily open up an instance of Microsoft Access using VB and I know how to check which version is open in the code as well, but I'm wondering if there is a way to specify which version I need to open in the code. I'm using Visual Studio 2010 and would be willing to use C# or C++ if it's "easier to do"/"only possible" in one of those languages.
View 1 Replies