Remove A Module From A Project In Vb Express 2008?

Feb 25, 2010

Does anyone know how I can remove a module from a project in vb express 2008 without physically deleting the module?

View 5 Replies


ADVERTISEMENT

Run Vb 2008 Express Project To The Internet?

Mar 11, 2010

How your guys run the IIS? I am just done a project (vb.net with access) on the vb 2008 express, but not sure the steps to set up and run the project on the internet with IIS?

View 2 Replies

Using VB 2008 Express Edition For Project?

Aug 24, 2011

Im using VB 2008 Express Edition for my project. This is my problem. I have multiple forms in my application and when i run it, the debugger doesnt show any error.But when i change the start up form I dont see the form which i expected to run first.

View 2 Replies

Add A User Control To 2008 Express Project?

Jun 26, 2011

Is there any way I could add a user control to my VB 2008 Express project?

View 4 Replies

Building A 2008 Express Project Referencing A Dll

Jun 5, 2009

I have written a program in VB.NET 2008 Express that references a .NET managed dll. I simply added a reference to the dll to the project. I then 'Imports' the dll at the beginning of the program and then can use it. Everything works fine when I am running the program in debug mode (and it uses the dll as intended), but as soon as I go to build the project I get an errors that it "Could not reslove this reference" and "Namespace of type specifier in the Imports 'ModbusTCP' doesn't contain any public member or cannot be found." The dll is located in a different location on my hard drive to the project location, but this was referenced when I 'added reference'.

View 2 Replies

Deploying Vb 2008 Express Edition Project?

May 2, 2010

i have a project and i used NSIS to create a Setup file. I am able to install it to my system but some parts of the program do not work (and they work when i run my project in VB). For example i have a Back Up option that creates a back up but this does not work when i run the application via the installation file. Probably it has something to do with the directories?

If System.IO.Directory.Exists(CurDirectory + "Backup Folder") = False Then
System.IO.Directory.CreateDirectory(CurDirectory + "Backup Folder")
End If

how can i make it work from the installation file? Do i need to copy something somewhere?

View 4 Replies

Edit The Project In VB 2008 Express Edition?

Apr 18, 2009

I have built a web browser using Visual Basic 2008 Express Edition, but I don't know how to open the .exe file back in Visual Basic so that I can improve it and fix some problems that are in it. Can someone tell me how I can edit the project in Visual Basic 2008 Express Edition?

View 3 Replies

Save Different Versions Of A Project In VB 2008 Express Edition?

May 3, 2009

I am using using Visual Basic Express edition 2008. How can save / save as my project in different version when I make changes to the code? i.e. save the same project whenever I make a change in the code and keep the previous version of the code for future reference?

View 3 Replies

Connect A SQL Express 2005 Database To A VB Project In Studio 2008

Feb 9, 2010

I have been learning about working with databases and VB. I have coded the connection string for a MS Access database to my VB project but i cannot establish a connection with my sql mdf database.

The code i used to connect to MS Access is:

<Dim dt As New DataTable()/>
<Dim match As String = ""/>
< Dim connStr As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & _

[Code]....

What is the connection code in order to manipulate data from the mdf file. Is it similar to the above code.

View 8 Replies

Deploy A 2008 Express Class Library Project (addin Dll)?

Mar 16, 2009

I'm not sure if this is the right forum or not but...I've written my first VB.NET 2008 Express Class Library project (addin dll) and now I need to deploy it. I see Windows Form Applications have a Publsh tab (ClickOnce) in the project properties window but my class library project does not. How do I deploy a VB.NET 2008 Express Class Library project?

View 8 Replies

IDE :: Add New Item On Project Menu Hangs Visual Basic 2008 Express?

Jan 16, 2009

For some reason, the Add New Item command on the Project Menu is hanging VB on my Vista based machine.but now, it hangs. By that I mean the the little circle cursor spins and spins and spins... This happens even when all I do is start VB, start and new project. and then try to add something, eg. another form, a class, anything except "existing item".

View 1 Replies

IDE :: Database Access From A Visual Studio 2008 Express Edition Project?

Mar 3, 2008

I would like to access to a SQL Server Database from my Visual Studio project.

I have SQL Server 2005 Express Edition installed on my PC and I have a database with some tables.

In Visual Studio, I open the Database Explorer and I try to create a database connection.

The Add connection dialog box proposes to enter a database *file name* but I cannot select a database *server* and a database *name*.

Perhaps, is it a restriction because it is a free version ?

Within Visual Web Developer 2008 Express Edition, I can select a database *server* and a database *name* !

View 5 Replies

Make Installation File From Project Developed In Express Edition 2008?

Apr 30, 2010

How i can make an installation file from a VB project developed in VB express edition 2008?So i can give it to someone and they can install it on their system.

View 1 Replies

Microsoft VB 2008 Express Edition Error When Attempting To Start A New Project

Aug 27, 2010

I'm, following the tutorial on creating your first program in Visual basic. I'm instructed to start a new project, and select windows form application. When I hit okay I get the following error:"Could not load file or assembly 'Microsoft.Build.Engine, Version 3.5.0.0, culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified."

View 1 Replies

Find A VB Express 2005 2008 Photo Album Tutorial Project From About 3 Years Back

Oct 6, 2011

About 3 years ago i came across a vb project for a photo album, it was on online tutorial and I followed it and after some custom tweaking I found it was quite usefull. Unfortuatly the original sourcecode has long since vanished.The project was fairly easy to follow and I remember the author had a photo image of his sailing boat and a yellow labrador (just trying to jog some memories here) :).

Anyway; I have searched high and low for it but can not find it. I'm pretty sure it was on a msdn or some other microsoft forum and was to do with VB 2005 or VB 2008 edition of Visual studio.

View 3 Replies

Move Item/project To Other Project/computer VB 2005 Express

Feb 21, 2009

VB 2005 Express Visual BasicI want to move (part of) projects to different projects/ computer.I used File - export template- and was able to save templates of whole project or item(s).They saved nicely in a subdirectory called "templates" as zip files.How do I import to 1/ other project on same pc?2/ To a different computer?I tried copy zip files into corresponding folder on new system. No luck.

View 5 Replies

1 Serialport 3 Forms - Currently Attempting To Use A Module In Vb 2010 Express?

Feb 26, 2012

I 'm a beginner and have a project that I'm using to turn lights on and off. I need to use separate forms for display on remote monitors. My problem is each form needs the same serial port open to work and the port won't open unless it's closed in the previous form. Using a module works for opening and closing the port, but only for one round. If I try to revisit a form I already accessed it doesn't work.

Public Sub sp1(byval SerialPort1)If Form2.SerialPort1.IsOpen = TrueThen Form1.SerialPort1.Close() If Form3.SerialPort1.IsOpen = TrueThen Form3.SerialPort1.Close() Form1.SerialPort1.Open() end sub
Public Sub sp2(byval SerialPort1) If Form1.SerialPort1.IsOpen = TrueThen Form1.SerialPort1.Close() If Form3.SerialPort1.IsOpen = TrueThen Form3.SerialPort1.Close() Form2.SerialPort1.Open() EndSub
Public Sub sp3(byval SerialPort1) If Form1.SerialPort1.IsOpen = TrueThen Form1.SerialPort1.Close() If Form2.SerialPort1.IsOpen = TrueThen Form3.SerialPort1.Close() Form2.SerialPort1.Open() EndSub
end Module

View 2 Replies

.net Express 10 Speed In New Project Versus Old Upgraded Project?

Feb 24, 2012

If I put this piece of code in a new fresh vb.net form, add a button and two labels and start debug I get execution time of about 11.5s.If I put the same piece of code in a new form in an old project upgraded from an earlier version of vb.net, start debug I get an execution time of 7.5s.So I do exactly the same in the two projects but get different execution times.

What do I have to do with the fresh new project to get the same execution time ?I am not interested in improving the code to be able to calculate primes faster. I just want to know what is the significant difference between an old upgraded project and a new fresh one. I am using windows 7 64bit on a 2,4 Ghz Intel quadcore.

Public Class Form2
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim l, h, p As Integer

[code]....

View 1 Replies

IDE :: What Is The Purpose Of 'Merge Module Project'

May 11, 2012

I'm am wanting to create a setup Project and see that there is an option to create a Merge Module Project. The description is not clear to me. That is, it says 'Create a Windows Installer Merge Module project to which files can be added'

View 2 Replies

Keep Each Module Separate And Call EXE's Or Should Create One Large Project?

Dec 15, 2009

The company I work for has a VB6 project that is using an ACCESS database.The project consists of seperate modules such as Accounts Payable, Payroll, General Ledger, and Inventory.At the current time each module is a seperate project in VB6 and the EXE files are called when needed.In total there are about 1300 forms in the project.We are moving from ACCESS to Sql Server and from VB6 to VB2008.The question that I (we) have is as follows; Should we continue to keep each module seperate and call the EXE's or should we create one large project?What are the pros and cons for each way?Is there something written that explains the advantages of either?

View 5 Replies

Adding A Module To Project - Variables Never Get Set To The Values In The Text Boxes?

May 4, 2011

Form1 has 2 public string variables defined and initialized to "" (an empty string).Form2 has 2 text boxes and a button. When the button is clicked the public variables on Form1 get set to the values in the text boxes.This works fine.I recently had to add a module to my project so that I could use Main as the startup item. Ever since doing that the above no longer works.The variables never get set to the values in the text boxes. They just stay empty.My Main code is simply this for now:

Dim f As New Form1
Application.Run(f)

View 1 Replies

VB 2010 Express - Remove Or Add Several References

Jan 21, 2011

I have taken my project that seemed to have several bugs in VB2008 Express and upgraded to 2010. I had to remove or add several references again. I don't have any more errors but I have the following 5 warnings that keep me from compiling the build. I was wondering if anyone could give me some suggestions on what these mean or how to take care of the problem. I will list the warnings below. I'm on a Win XP machine with Office 2010 (if that might affect things).

Warning1A reference was created to embedded interop assembly 'ADODB' because of an indirect reference to that assembly from assembly 'AxInterop.OWC11'. Consider changing the 'Embed Interop Types' property on either assembly.PE Files

[CODE]...

This last one I have gotten before but when I tried to update the components it only caused my program to become corrupt and tons of errors. I'm not sure if I did something wrong previously or if this might have been a random occurrence.

View 2 Replies

VS 2008 - Timer - Project A References Project B So Can Open A Large Form In Project B

May 5, 2010

For reasons that are beyond my control, I have three Projects. Projects A and B reference project C. Project A references project B so that it can open a large form in project B. I now need to open that large form from project C, but VB won't allow me to add a reference from C to B because that would create a circular dependency. I found a way around it, though. I created a Timer in A, and when I opened C from A, I passed in that timer. When the user performs a certain action, I enable the Timer from A, and this causes C to open B for me.

View 2 Replies

Remove Kernel32 Dll From Project

Jul 23, 2009

I want to migrate vb.net project onto linux platform using mono, but I am getting one problem system.dllnotfound exception: kernel32.I like to ask ,when does visual basic add this kernel32 dll. can I remove this kernel32 dll from my project?

View 2 Replies

Implement Calendar With .net Express 2008 And MSSQL 2008 Express?

Sep 21, 2009

how I can implement my calendar with VB .net express 2008 and MSSQL 2008 Express. How do I get it to work with datasets, binding source etc.If I go to Properties>settings my connection string is:

Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|CalendarDatabase.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True

and I have a table with fields:-

CalendarID
Subject
Location
Purpose

[code]....

I can Add the event to the calendar I have the necessary items on my form linked to my table and I can save them to my table:

Me.Validate()
Me.CalendarTableBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.CalendarDatabaseDataSet)

But I cant keep the event displayed on my calendar when I close it and open it again.

View 1 Replies

Unable To Load VB2010 Express Because Cannot Remove VS2010 Beta (Error 1402)

May 6, 2010

I have been trying to install VB2010 Express, which directs me to uninstall VS2010 Beta. I have been primarily successful in this, but I keep getting error 1402, as follows:Form "Microsoft Visual Studio 2010 Professional Beta 2 Setup - Update Page":

Uninstalling Components:

[completed - check] Microsoft Office Development Tools for Visual Studio 2010 (x64)
[completed - check] Microsoft Visual Studio 2010 Professional Beta 2
[pending - double bar] Microsoft Visual Studio Macro Tools

[code]....

View 1 Replies

IDE :: Export Project From Pro To Express?

Oct 14, 2011

I originally created a project in Visual Studio Professional 2010. I then saved it and was hoping to be able to open it in the Express (2010) version. When I try to open the project it directs me to a page: [URL]

Do I have to go into the Pro version and export it in a specific way?

Note: By export it I mean just copying the directory (and sub directories), the solution was in.

View 2 Replies

Remove All Trace Of A Component From Project?

Jul 15, 2011

I have been making a order processing system for a friends company and have 99% completed it. i was going through everything double checking all the components and i put a "DotNetBar" component on the form but then deleted it as i didnt need it. i only have a trial version of the dotnetbar and do not plan on publishing the software with the component on.

so after i deleted the component from the form i built a test version of the system and installed it on a different computer but when installing an error appeared saying something along the lines of dotnetbar component cannot be found. i couldn't find any trace of the component in the page.designer.vb file.

im by far no expert in vb (this is the first real program i have developed for actual use), i cannot find any way of getting all traces of the component of the project.

View 2 Replies

Proper Update And Delete Code For SQL Express In 2008 Express Edition?

Oct 3, 2011

I'm just using the default SQL Server Express in my vb 2008 express edition as my database server for my database operation. When I tried to update the records on my table I got a runtime error which indicates the error on this line 'myCommand.ExecuteNonQuery()'and it highlights a yellow background on it. The runtime error says "SqlException was unhandled: An expression of non-boolean type specified in a context where a condition is expected, near 'Number'. ".

Imports System.Data.SqlClient
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Dim myConnection As New SqlConnection
Dim myCommand As New SqlCommand

[code]....

View 3 Replies

Unhandled SqlException In VB 2010 Express Thta Does Not Occur In VB 2008 Express?

Oct 16, 2010

I tried to start using VB 2010 Express with a program I originally developed with VB 2005 Express that I moved to VB 2008 Express successfully a couple years ago. It uses a database file (*.mdf) that is on the computer ( not out on a server). When attempt to run the program in debug mode, I get the following error "An attempt to attach an auto-named database for file C:Documents and SettingsTomMy DocumentsQuizzing StuffQuestion Database 2010QuizQuest ionGameQuizQuestionGameinReleaseQuizQuestionDB.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share."

I first made a copy of the entire project folder that was working in VB 2008 Express and gave it a different name. In VB2010 I opened the project in the copied folder and it said it successfully converted the project. I am able to open the Data Source inthe Designer and see the database structure as I expect. I think the project is still using SQL Server 2005 Express (because it is what is checked in the list of prerequisites on the Publish tab).

Note, I have programmed off and on for many years, but fairly new to using databases and SQL Server.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved