VS 2010 Upgrade From 2008 To 2010?

Feb 18, 2012

I have just upgraded to 2010 and i am having a problem with my first conversion. Part of the applications form load which as been converted from 2008 to 2010 is to check if a string in my settings is empty or not (databasepath), if its empty then browse for the file. If the user prsses cancel then it should close the application. This was working fine on 2008 but now it gets to Me.Close, goes to formclosing then comes back to where it was in form load and carrys on until it throws an error further down the code where it shouldnt really get to. Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

[Code]...

View 4 Replies


ADVERTISEMENT

VS 2010 Upgrade From 2008 To 2010 - Now LINQ - IntelliSense Is Not Working For LINQ Stuff

Apr 20, 2010

I just upgraded a project from VB 2008 to VB 2010. Before, the project did not use LINQ. I have started implementing it. So, I have updated the target framework from 2.0 to 3.5, and added a reference to System.Core, and imported the namespace System.LINQ to the entire project and also imported System.Data.LINQ into the form I'm working with (because it was not available in the list for Imported Namespaces in the references tab).

It's not throwing any errors now, but my IntelliSense is not working for LINQ stuff.

For example... I write this:

[CODE]....................

Then, if I type S. on the next line, the IntelliSense doesn't grab what it should for S (Only get Equals, GetHashCode, GetType, ReferenceEquals, and ToString, instead of the options I should get like Count, First, FirstOrDefault, etc...). If I Type S.First. then its the same thing, no IntelliSense that lists the available fields for S, just the standard options (Equals, GetHashCode, GetType, ReferenceEquals, and ToString). I should be seeing my column names in my table when I type S.FirstOrDefault.

So any ideas what is going on? When I type the code, for example, MessageBox.Show(S.FirstOrDefault.FirstName), it works perfectly. But it doesn't change the casing of the text (so it would read s.firstordefault.firstname) and no intellisense while doing it. But no errors. BTW - Everything works perfectly when creating a NEW VS 2010 application, it's just my projects upgraded from Visual Basic 2008 that have this issue.

View 2 Replies

Upgrade Path From VB6 (To VS2005Pro, 2008, 2010)?

Jan 20, 2011

I have been using VB6 forever, but I need to to create new app versions for Vista/7, and beyond. My employer bought Visual Studio 2005 Pro a few years back, but i have never opened it.What would be the best upgrade step for me from VB6? Is 2005 adequate, or 2008, or 2010?

We primarily create apps for building and hardware controls, monitoring, logging, and communications. Will be using MySQL in the cloud with apps too.

View 5 Replies

Upgrade 6.0 To Program 2010?

Mar 1, 2012

I have a vb 6.0 program which has .dsr forms. How do I upgrade these forms?

View 2 Replies

Upgrade Wizard In .NET 2010?

May 26, 2010

I know that VS 2003, 2005 and 2008 had the VB6 to VB.NET Upgrade Wizard. Now, on a email list I'm on a said that he cannot open a .vbp file to use the upgrade wizard in VB 2010. Is there no Upgrade Wizard in VB 2010?

View 13 Replies

VS 2010 Upgrade From Vb6 To Vb2010?

Aug 20, 2010

I am upgrading a program from VB6to VB2010.Is there no upgrade wizard for this?When I tried to upgrade to VB2008 I got a message ole_e_cant_bindtosource. Looking online the two suggestions on changing the registry didn't work so I thought I would go straight to VB2010.

View 6 Replies

VS 2010 VB6 Upgrade Wizard?

Jul 9, 2010

I guess this explains why Microsoft didn't include the VB6 upgrade wizard in VS 2010.[URL]...

View 1 Replies

C# - Upgrade Word Documents To 2010?

Sep 20, 2011

Scenario: I have about 14000 word documents that need to be converted from "Microsoft Word 97 - 2003 Document" to "Microsoft Word Document". In other words upgraded to 2010 format (.docx).

Question: Is there an easy way to do this using API's or something? Note: I've only been able to find a microsoft program that converts the documents to .docx but they still open in compatability mode. It would be nice if they could just be converted to the new format. Same functionality you get when you open an old document and it gives you the option to convert it.[URL]..EDIT2: This is my current function for converting the documents

[Code]...

Also it opens word after about 2 or 3 conversions and starts flashing but keeps converting.EDIT3: Tweaked to code above a little bit and it runs cleaner. Takes 1min10sec to convert 8 files though. Considering I have 14000 I need to convert this method will take a reasonably long time.

EDIT4: Changed the code up again. Uses a threadpool now. Seems to run a bit faster. Still need to run on a better computer to convert all the documents. Or do them slowly by folder. Can anyone think of any other way to optimize this?

View 4 Replies

Upgrade From 2k5 To 2010 Global Keyword?

Dec 23, 2009

I want a custom menu when I right click. Like, you know when you right click on your desktop, and you see a bunch of menus, like properties and whatnot. How do I do that with VB.Net? Also, how to add custom?

View 3 Replies

Adding Mailbox With VB - Upgrade To Exchange 2010?

Jan 21, 2011

We are getting ready to convert to Exchange 2010. Currently we're using VB code to add new users to AD and create mailbox for them with specific settings. I've been trying to figure out - what do I need to change in my code in order for the code to work in Exchange 2010 environment. I've seen some references about using Powershell in a remote environment and guessing that AddPSSnapIn will no longer work. Not sure about hardcoding username and password for remote access. Is there any way to avoid it? Whose u/p should it be anyway? AD user who runs the code? Below I'm posting the code that we using in Exchange 2007. Please let me know what I need to change?

[Code]...

View 8 Replies

VS 2010 Apllication Send SMS Through GSM Modems - Upgrade

Sep 16, 2010

I have one about one apllication send SMS trough GSM modems. The application works fine, and without problems. The questions now, is: - I use Huawey E220, to send the SMS, with AT commands. Now, I wanna migrate for better hardware, and try use another GSM Modem. In this case, I was try with Siemens M20 Terminal. But, with this kind of equipment the applicatiosn doesn't work. It was necessary some extra code for establish communication?

View 3 Replies

IDE - Upgrade To 2010 Projects Referencing A Class Library Targeting A Different Framework Fail To Build

Aug 18, 2010

Say I have a Framework 4.0 project that is referencing a class library targeting 3.5. The project will simply not build. It won't give me any valid error message it will just act as though the reference does not exist.

Projects that were working like this in Visual Studio 2008 are no longer working in 2010. Took me forever to figure out what there error is. If I remove the project reference and add it back the intellisense lights up and you can tell a variable referenced in the class library is found. But as soon as you build the project everything is lost. My using statements get underlined, references to the variable all turn grey and project fails to build saying the class cannot be found. Once I make the class library 4.0 as well everything builds. I get the same issue between 4.0 client profile and 4.0 as well.

View 1 Replies

Upgrade From 2003 To 2010 Error "System.SystemException - The Type Library Importer Encountered An Error During Type Verification"

Aug 25, 2011

I've just finished installing VS2010 on my computer. I have a project I built in 2003 that I'm trying to open in 2010. It went through the conversion process and generated this error: System.SystemException - The type library importer encountered an error during type verification. Try importing without class members. : System.MissingMethodException - Method not found: 'Void

[Code]...

View 4 Replies

VS 2010 - Open The File VB 2010 On VB 2008?

Nov 27, 2010

When i try to open the file in Visual Basics 2008 it says: "The selected file is a solution file, but was created by a newer version of this application and cannot be opened"

View 3 Replies

VS 2010 [2008/2010] Opacity Via Textbox?

May 11, 2010

So what I am trying to do is make it so i can set my forms opacity by the the textboxso if i type ' setop .5 ' then it will set the opacity to 50% depending on what integer I type after the setop.

View 7 Replies

VS 2008 - Upgrade/cleanup

Mar 10, 2011

I've had 2008 express on this PC since it came out -- I basically have ONE important project that now is being troublesome.

Just had an "unhandled exception" and "configuration system failed" -- errors I've never received before and I've just made minor changes to the program.

For one, I was thinking about a fresh install of 2010 express (but remember some real problems when I upgraded from 2005, so ??) be afraid ? very afraid?

ALSO --

What are the mandatory files I need to save in a project folder?

If I delete the bin and obj folders (plus?) and let it write new ones will that sometimes cure some problems?

What is a good way to SAFELY keep all your hard work but get rid of possible clutter and ?

Configuration system failed to initialize --

View 6 Replies

VS 2008 : Graphics Upgrade From Vb6?

Apr 16, 2010

In VB6 I have drawn lines on a picturebox and if I display another form the lines remain (I haven't drawn them in the paint event).In vb2008 doing the same the display is erased when another form is displayed.How can I reproduce the vb6 functionality in vb2008?

View 1 Replies

VS 2008 DataGridView Upgrade?

Mar 19, 2011

I have an old VB6 project converted into VB2008 express. It contains a datagrid control called AxMSDataGridLib.AxDataGrid. This is probably legacy control from previous VB versions, am I right?

The application reads data to this grid using ADO and it works most of the time. It is supposed to be read only but I cannot parametrize it correctly and sometimes when I exit the application I get an exception. Now, I seriously lack skills of this IDE and .net framework since I don't know how to get more info about the exception. The exception is just a messagebox saying something like "Key column invalid or not sufficient. Update changed too many columns". This exception comes from this datagrid.

Now, since there's a high probability that this is an old control and I cannot get the exception handled, I was thinking to upgrade it to .net DataGridView. Does anyone know if upgrading this old AxDataGrid to .net DataGridView is possible and how to do it?

I am abit afraid to just delete the old control and replace it with new since the application works and I am not attached to any source control (for reverting changes). Maybe it's possible to make a copy of this project with another name and safely play with it?

View 1 Replies

VS 2010 VB 2010 With SQL 2008 Server Report - Pass Login Information And Selection Parameters To The Report

Apr 13, 2011

I just got into VB 2010 with SQL 2008 Server Report. I was able to create a report as my wish and it's vieable via direct url (URL). But I want to pass login Information and Selection parameters to the report. But I don't want to pass them thru URL, So I want to load them from the application (winform) and launch the report in iexplorer.

View 1 Replies

Upgrade From Express 2008 To Professional?

Oct 27, 2011

i have got the copy of the VS 2008-professional currently i am using & all my projects are in VS-2008 EXPRESS how can i upgrade?

View 4 Replies

VS 2010 Visual Basic 2010 And Crystal Reports 2010?

Oct 2, 2010

When trying to import CrystalDecisions.CrystalReports.Engine, and CrystalDecisions.Shared. I'm getting a green line. What might be the problem?

View 3 Replies

VS 2008 Visual Basic Upgrade Wizard Not Opening?

Oct 11, 2011

I have a Visual Basic 6 program that I would like to update to Visual Basic .NET I am running Windows 7 Professional and have downloaded and installed Microsoft Visual Basic 2008 Express Edition. The problem I have encountered is that when I open my VB6 project file (.vbp) the Upgrade Wizard does not open. Instead, a list of references, objects and forms from my project appear. Is there any other way to run the wizard? Or am I missing something?

View 4 Replies

VS 2010 Connecting VB 2010 Express To SQL Server 2008 Express Database Via IP

Feb 29, 2012

I am trying to make a user account SQL database work with Visual Basic 2008 Express for login purposes, i.e. usernames & passwords. Plan is to host this server so people can login to use the the application and verify they have a valid account. I would like to host all the account information in SQL due to the possiblity of hundreds of users at any given time. I also need the ability to add data to the database for users registering for the first time. The SQL server will need to be able to access the SQL Server databases remote via WAN.

View 3 Replies

VS 2010 Involved VB 2010 And Visual Studio 2010 (WPE PRO)?

Jan 8, 2012

I'm new to visual basic, used it for a few months. My friend is addicted to using a program called Wpe Pro [URL].. and he wanted me to make it more advanced and able to do more stuff.if you no anything about this program please message me

View 5 Replies

VS 2010 .Net 2010 Program .exe Wants Excel 2010?

Aug 4, 2011

VB.Net 2010 program .exe on PC with Excel 2007 gives error when cannot find Excel version 14, which is Excel 2010 I have developed a program in VB.Net 2010 which reads from an Excel spreadsheet. It works fine in the IDE on my computer. I built an .msi and executed it on my computer. I get "Error: 53 - Could not load file or assembly 'Microsoft.Office.Interop.Excel, Version=14.0.0.0, Culture=neutral,PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified."

The only version of Excel on my computer is 2007, which is version 12.0.6557.5000. The version the error says it needs, version 14, is actually the version of Excel 2010.I have put in MsgBox statements to find where the error occurs.

[Code]...

View 2 Replies

Reading Text, Line By Line Was VB6 Now Need To Upgrade To Studio 2008?

Aug 13, 2011

I have a couple of VB6 programs which work 100%, however not under W7, so I need to upgrade them to Visual studio 2008 pro which I own a copy of.The VB6 software used to open a file, read in a line of data and process it then save it in a new file, before going on to the next line input.I need to convert this process to VS2008 pro and can't get my head around it..... getting old you see.I also have a few other needs to do with file handling, but I may be able to sort them myself if I get a start with the above problem....

View 17 Replies

Visual Studio 2010, Outlook 2010 And Windows Application, Return Emails?

Jan 5, 2011

At present I have wrote an application (in-house CRM, vb .net 2010) which allows me to send emails under the selected customer & I categorised these emails.As these are categorised I can return data to display email history in my program by using search criteria:

Dim oMail As Outlook.MAPIFolder = oNS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderSentMail)
Dim sSearch As String
sSearch = "[Categories] = '" + "[" + tAccount.Text.Trim + "]" + "(" + tShipTo.Text.Trim + ")'"
Dim oItems As Outlook.Items = oMail.Items.Restrict(sSearch)

However the limitation to the above is it only looks at sent items & no other folder.My ideal solution would be to display all email correspondence for a certain contact.

View 1 Replies

VS 2010 - Build My Project (or Publish) VB 2010 Makes And Exe And A Couple Ddl Files

Jun 6, 2012

The situation: when i build my project (or publish) Visual Basic 2010 makes and exe and a couple ddl files. when i run the project with the .exe and the other files the program works perfectly.

My problem: I want to share it with friends and it is just a verry little program ( a n internet radio) so i want it to be 1 .exe with out any other instalation needed so i can easly share it to anyone who wants it. when i make an even smaller program and Debud->build it, it is only 1 exe and no instalation needed. so is there a way to make my program to 1 exe only?

View 4 Replies

VS 2010 Addin For Excel 2010 - Getting The Cursor (4 Arrowheads) For Moving The Form?

May 26, 2010

Basics Details:
VS 2010
Making an Addin for Excel 2010
Win 7

Problem:I am not getting the cursor (4 arrowheads) for moving the form.I am using the Panel1_MouseHover to display the cursor. Right now if I choose any other cursor then it is working but the same cursor also displays when I hover the mouse over any other control. I want the cursor to show only in the areas of the Panel where there are no controls.How do I show Tooltips for the images? The play,stop,next, previous,playlist,Hideme(with the smiley),volume are all images and not buttons?

View 9 Replies

VS 2010 Change Version After Install-Visual Studio 2010 Installer

Jun 21, 2010

Well I used the Visual Studio 2010 installer to install my application and I want it to be able to change the version displayed in the in the Add/ Remove Programs (in the Control Panel). How can I do this without going through the install wizard again?

View 3 Replies







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