Compile Using Framework 1.5 Instead Of 4.0?
Jan 10, 2011
lot of computer users don't have Framework 4.0 and aren't interested in installing it. I can build my programs in 2005 Express but I have Framework 4.0, and if the computer user doesn't have 4.0 the user gets an error. Is there any way to specify that framework 1.5 be used for the build? (I'm assuming I could find 1.5 somewhere.)
View 5 Replies
ADVERTISEMENT
Jun 29, 2010
I've been passed a solution that has a vb.Net 2.0 project that references to a .Net 3.5 library. The library compiles with out problem but the vb project does not. It complains of missing objects which are in the library which are correctly added in the imports. Also I see a yellow yield sign next to the reference library also when I add the reference it complains of the framework version difference. Any help is apritiated. Also I'm using VS10. Imported the projects with no errors. A colleague has this working on VS9.
View 1 Replies
Apr 20, 2009
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.
[code]....
View 5 Replies
May 21, 2010
I am work on VB.net 2003 Framework 1.1 for last 3.5 years in windows Application.We are currently migrating to VB.net 2008 framework 3.5, but i don't know about the features which related to ADO.net and which is important to performance. I know linq to SQL but our architecture is made in .net 2003 so we should follow this.Any features which is very important to enhance the performance?
View 2 Replies
Feb 2, 2011
I have a solution that I wish to upgrade from Vb.net framework 1.1 to framework 4.0. The solution consists of a number of projects, all but one of which compile to dll's. The master project compiles to a executable which provides a menuing system which dynamically loads the dll's and connects to entry points.
The projects contain normal classes, numbers of forms and also controls, which are either usercontrols or are inherited extensions of standard windows controls.There are a number of third party components (eg reporting and grid controls from Component One, Ribbon control from DevExpress etc).
[Code]...
View 4 Replies
Apr 7, 2009
How come software created in an older framework version won't run on a newer framework version? Actually whenever i try to run some old specific software having .net 3.5 framework on my PC they show they needs .net framwork 1.1 . What a bad thing?My newer version of Photoshop ans Ms office open all lower version files.
View 6 Replies
Nov 24, 2011
I work for a small company and we are planning to build our own framework using .net . For example if a dropdown is placed in the form and set the custom property to Users, then the users list from db from has to populate. The developer will drag and drop the custom control and set the connection string in config file. Other things are to be managed by the framework.
View 4 Replies
May 13, 2010
c# - Are Microsoft Entity Framework and ADO.NET Entity Framework (.edmx) the same?
View 7 Replies
Sep 27, 2010
I am using Visual Basic 2010 Express and I am trying to compile a very simple project that uses an OCX that I downloaded and is on my desktop. How do I include this in the compile so that I can just forward the exe to another user?
View 4 Replies
Aug 4, 2010
I got a situation where I have a group of projects in a solution. All the projects are dll's except one - which is an exe. When I run the project, it compiles all the dll's except one of them - for some reason this dll needs to be manually compiled.
I have my options set to save projects on run and to build projects that are out of date. This works for all my other dll's except this one.
Do I have something set wrong in this particular dll?
View 7 Replies
Mar 15, 2012
Let's say that I have an entire project build in C# and other project build VB and I made a reference to this VB project Because this two projects need to interact between each other. Is this possible? the compiled code of this two project could live together??. Also if i made the same project VB and C# the compiled version are the same??
View 4 Replies
May 1, 2011
Let me explain a bit.... let's say I already have MARIO.EXE and I want to create another (let's call it) SETUP.EXE that must have 2 buttons 'Yes' & 'No' How can I build the setup.exe and bundle these two apps together and when the newly exe (mario.exe + setup.exe) is created and launched : -if the 'yes' button is pressed it should continue with the mario.exe installation process -if the 'no' button is pressed then quit. What i don't know is the code and and how can I compile these 2 exe in a single one.
View 10 Replies
Feb 24, 2012
Im using Visual Studio 2008 in Windows 7. Recently I cannot debug(F5) any projects because this following error is appearing
Error while trying to run project: Could not load file or assembly 'WindowsApplication5' or one of its dependencies. The module was expected to contain an assembly manifest.
View 3 Replies
Jun 21, 2010
I have a small form program that is basically an interface for installing different software packages so that we can distribute a CD with our products that our customers can just pop in the drive, autorun, and click the button to install what they need. The problem that I am running into is unlike when I had built this same program in VB6, the program rewritten in VB.net will not run on some machines, and shows me an error: .net Framework initialization error. required version of .net framework v2.0.50727.
I realize that it is asking for that version of .net framework in order to run, but what I would really like to know is if there is a way to make my exe non-dependant on this so that it will run on any machine. Requiring my customers to install .net framework in order to access an interface designed just to idiotproof the installation of some setup files and provide easy access to a few pdf's really would just defeat the purpose.
View 4 Replies
May 14, 2009
I'm trying VB.Net for the first time, and I must say, after spending two hours pulling my hair out (literally!) and trying one thing after another, I am severely disheartened. I just want to compile a simple .vb file.
I used notepad to create a helloworld file. Then my problems started. The book I'm using told me to use a command prompt, and enter:
vbc helloworld.vb
No dice, though. The vbc command was kicked out by the command prompt. I installed Microsoft Visual Basic 2008, and tried again. No dice. Double checked to make sure I had all my updates - check, but still nothing. So I just went ahead and double clicked the the helloworld.vb file. It displayed the text, but still didn't compile, and it wouldn't even allow me to debug it.
View 7 Replies
Nov 5, 2009
heres my code :
If File.Exists(TextBox2.Text) Then
If File.Exists(Application.StartupPath & "config.vb") Then
Dim pr As New Microsoft.VisualBasic.VBCodeProvider()
Dim cp As New CompilerParameters()
[Code]...
View 6 Replies
Dec 7, 2009
Compile app to a single exe
View 1 Replies
Mar 13, 2012
Is there any way that I can compile a piece of C# code written on a file, then insert it in a function and run it(under VB.net)?[url]...
View 8 Replies
Sep 11, 2010
Is it possible to compile images ("Img1, Img2,Img1000" and so on) into a .avi video format or any other kind of video in Visual Basic? If so, how?
View 2 Replies
Jul 18, 2010
i was trying to accomplish to that task with codedom classes, but i can't compile my code!May you post here an example which does succesfully that?Here are son additional information i forgot to write before,my current code is this:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim CodeDomProvider As CodeDomProvider = CodeDomProvider.CreateProvider("VB")
Dim fl As String = "Form1.vb"
[code]....
I guess the code in the source file is incorrect...What should i write there?
View 12 Replies
Jun 12, 2009
file with extension vb(*.vb) can compile to exe using vb.net coding. how to compile to exe using vb.net coding if use own extension(not *.vb) ?
View 5 Replies
Jan 15, 2010
I recently upgraded my PC and software from XP 32-bit to Windows 7 64-bit. I'm using VS 2008 and SQL Server 2008, and I write code in VB.Net. I'm interested in compiling my code in 64-ibt. Under Visual Studio, I see three different places to specify which CPU to compile under: 1. In Solution Explorer, click 'My Project', then Compile->Advanced Compile Options->Target CPU.
2. On VS menu, Build->Configuration Manager->Active solution platform.
3. If #2 is set to x64, then in Solution Explorer, click 'My Project'->Compile, and at the top, Platform (if #2 is not set, the only option available here is Any CPU).
[Code]....
View 6 Replies
Mar 28, 2009
I get the following error message when I try to compile anything, I've tried creating several different projects and they all do the same thing. does anyone know anything about this and how to fix it?
Error2An error occurred while signing: Failed to sign bin\Release\app.publish\\setup.exe. SignTool Error: Signtool requires CAPICOM version 2.1.0.1 or higher. Please
copy the latest version of CAPICOM.dll into the directory that contains
[code].....
View 2 Replies
Jul 20, 2011
I'm trying VB.Net for the first time, and I must say, after spending two hours pulling my hair out (literally!) and trying one thing after another, I am severely disheartened. I just want to compile a simple .vb file. I used notepad to create a helloworld file. Then my problems started. The book I'm using told me to use a command prompt, and enter:vbc helloworld.vbNo dice, though. The vbc command was kicked out by the command prompt. I installed Microsoft Visual Basic 2008, and tried again. No dice. Double checked to make sure I had all my updates - check, but still nothing. So I just went ahead and double clicked the the helloworld.vb file. It displayed the text, but still didn't compile, and it wouldn't even allow me to debug it.
View 3 Replies
Jun 8, 2011
I'm wanting to compile my project to a single exe so that I can add it to a flash drive and be able to run the program without having to install anything.
View 4 Replies
Jun 17, 2010
I've a problem when I try create the file (.exe).I don't know where compile the file.[URL]..
View 3 Replies
Jan 22, 2011
where in 2005 VB can I add compile and run buttons
View 1 Replies
Sep 22, 2009
I can't find the right software to compile my old VB6 code.I don't like to upgrade is to 2008. More than 10.000 lines of code...
View 1 Replies
Mar 19, 2009
I'm trying to compile java files in a folder that contains a batch compiler. The application starts the compiler and redirects the output to a textbox in the form.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim mypro As New Process()
Dim myproinfo As New ProcessStartInfo(FolderBrowserDialog1.SelectedPath + "/compiler.bat")
myproinfo.UseShellExecute = False
[code].....
My compiler is like this.
@echo off
Title Compiler
"C:\Program Files\Java\jdk1.6.0_01\bin\javac.exe" *.java
pause
View 8 Replies
Sep 18, 2010
I have a project that I have been working on for about a year. I open it up now and it will not run. I am using sharpdevelop. It is erroring on this line of
Protected Overrides Sub OnCreateMainForm()
Me.MainForm = My.Forms.MainForm
End Sub
Here is the stack trace:
[Code]....
View 1 Replies