I hope this is the right place to ask, because I can't seem to find an appropriate forum. The newgroups were so better organized and topic specific.I am running VS 2008 Pro SP1 on Windows 7 32-bit SP1. I am trying to get a simple VB Forms app to compile in Release mode rather than Debug. On Windows XP that worked fine for me. Now when I go into the Project Properties and set compile options to "Release" and click Save, when I close the properties page and re-open it reverts to Debug mode.
I have recently been trying to use the extension functions of the generic collections in VB.NET. I have .NET 3.5 installed, however it appears that my project only uses libraries of version 2.0. How can I force VS2005 to use the 3.5 versions so that I can access the extension functions? A C# developer in our office could not find the comparable setting in the VB Project Properties dialog for setting the compiler to use 3.5.
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.
I'm working on a project that is pretty simple, but the most recent version of VB.NET that I have is 4.0.That means, anything I compile, requires that version of the .NET framework. Is there any way to compile with an older version of the framework, or get it to require an older version? I don't want to make everyone upgrade to .Net 4.0 framework, if they already have 1.0, 2.0, 3.5, etc. installed already...
I have created a license system for my application with MySql about half a year ago. What it would do is take the serial number and send it to my server if the key was correct it would return a 0 if its wrong the return value would be a 1.The problem was that when the serial number was entered correctly my program would create a "fake file" for example vb.dll in the system.And on run time my program would check for that vb.dll if the file exist it would skip my trial program and run the app as a full version. Half year later i think creating a "fake file" and checking for it on start up is extremely wrong and that's not very good security.How can i check the difference between a full version and unregistered version?
I am trying to build a COM DLL. VB'08 Express tells me my code builds fine, and I get a DLL file. However, when I try to register it with regsvr32 I get an error message "The module [...] was loaded but the entry-point DllInstall was not found" which seems to indicate that VB did not build the DLL properly.
In vb6 we had an option of compiling VB5 codes. Similarly in Vb.net is there any option of compiling vb6 code as it is with some compatibility changes without upgrading the code to vb.net.
I have a Linq-to-SQL class diagram in my web application containing the two tables in my database (held in a DBPro database project in the same solution). All was working fine yesterday. I start doing some work tonight and note that the solution compiles fine in Visual Studio, but when I run the web app I get a compilation error:
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30002: Type 'FrostAlertDatabaseDataContext' is not defined.
If I have a Win32 Form project that requires to load a text file and also other picture files that is resides in the bin folder, is there anyway that I can deploy into a single standalone EXE file to user so that user won't see the extra files.
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.
I am having trouble finding a code for visual basic 2010 (or 2008) that will compile batch files to a .exe format. (So they can no longer be edited.)So far I've only found one program that does this (And was made in Visual Studios) and the program doesn't even actually work due to some unknown error. It'd be a great help to get a source code or just told that this isn't even possible.
I'm not sure what happened. I saved my project last night and everything was in working order. I opened it this morning and it's not recognizing a lot of the System methods and functions
MsgBox Format FormatCurrency InputBox
Even the constants like vbTab and vbCrLf aren't appearing. Any suggestions on this? I'm running VS2008 Express Edition.
I'm trying to add functionality to my application that will disable buttons and checkboxes depending on what version the OS is when the app is launched. I made a test app to test this but unfortunately I can not get it to work. Here is my code:
'OS Check Dim osValue As Object osValue = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrent Version", "CurrentVersion", "5.2")
[Code]...
*Note - 5.2 is Windows 2003, 6.0 is Vista, 5.1 is Windows XP
i have a simple code that send an e-mail, when i try it running in debug mode it works fine, after compile, i run the exe but the same code doesn't work any more..
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??
I want my application to do something special :D.. jks
I just want it to compare assembly version to the file version something like this (btw i also want it if it is the same i want it to enable a button):
Private Sub StartSplash_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load If Assembly Version = File Version Then
[Code].....
so how do i detect Assembly & File version numbers?
I want to get the major, minor, build and revision version numbers of an EXE, not my vb project.If I do:
FileVersionInfo.GetVersionInfo(sEXEFilePath).FileVersion I get 11.00.00003 It seems to have combined the build and revision numbers into one. In the good old days,
i developed a program using vs 2008 and works well. now i want to distribute to my friends for that which version of .net framework i have to give along with this?
I need to detect if any version of the .NET framework is installed as we are deploying a .NET 2.0 app via logon script (ie XCOPY deployment) to all PCs in our network. The .NET app will be set to start when a user logs in, so we need to determine if .NET 2.0 (or higher) is installed before we deploy the app otherwise the user will get an error each time they log in. Is there any sure fire way to detect .NET via vbscript or batch file? All of the results I have found on google don't seem to be that reliable.
I have recently written a program that detects installed programs in the same way that Add/Remove Programs does but the problem with this is that even Add/Remove Programs does not seem to show the .NET framework on all PCs that have got it installed (like my home PC for example, definitely has .NET 3.5 installed but its not in the Add/Remove Programs list).
I'm writing a code that will check if .net framework 3.5 SP1 is installed before installing the program.The command I found googling around was System.Runtime.InteropServices.Runtime Environment.GetSystemVersion..I wasn't able to verify the correct .net framework version using this command.I'm currently running 3.5 SP1 and this command is showing v2.0.Is there another way to get the correct .net framework version?
this listview gridlines issue hasn't been addressed in vb.net. nothing but faint lines are drawn as grid even when you the property as true... have searched around but couldn't find any...
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" _ (ByVal hwnd As Long, _ ByVal Msg As Long, _ ByVal wParam As Long, _
How could I make an Admin version to where my private airline's admin could could login and make new flights and change the color of the seats so that they are one color for taken and another for available.
Is it possible to reduce the version of .net framework of my application. For example: Host using my application have .NET 2.0 I make changes in my app so that it always run as .NET 2.0 not the latest .NET 3.5
Or another idea i have is to deploy .NET 3.5 in installation package i.e. if he runs my app and it detects .NET version and if its not .NET 3.5 then .NET 3.5 installer should open else my app should run.