IDE :: Upgraded VS2008 To VS2010 / IDE Does Not Work Correctly
Dec 14, 2010
After upgrading my solution with both c# and vb.net projects I have encountered some problems:
1. When for example writing Public Property MaxDate As Date and pressing enter it does not create the Get/Set values
2. Refactoring is not available
3. The properties window is blank when viewing classes (normally I would see Serializable and COM properties to the right)Intellisense works and the above problems work in new projects.
I have a big application which is really working succesfully written in VB.Net version 2005 I am wanting to upgrade this to VS2008/2010 early next year. All versions used would be the fully paid for versions
I am totally clueless about what this upgrade would entail. I cannot afford to re-write the entire application as it is critical to our business.Can I take my code across without too much hassle? And then slowly "re-write" the code to take full use of the new features. Would i need to attend some sort of "new features" course? Or is the accompanying documentation good enough to get by.
im trying to debug javascript using vs2010 but i can't set breakpoints? every time i try to call a function, no matter what function, in javascript, somehow jquery and ms ajax framework javascript captures it and checks if the document is ready (document.onready or other) and never returns the control back to the function im calling!all i have is references to these libraries, script/link references as you do on the top of your master page.
Tomorrow, we have to submit our project for the first review.But I had created it in VS2010 ! But in our labs, we have VS2008, where this project will be copied and reviewed by our tutor.
I know, my project won't open in that system having VS2008 installed. Is there a solution to fix this issue that I'm going to face on tomorrow ?
If I create a new project on VS2010, and add the WMP.dll reference place the WMP control on a blank VB form, build and debug the application it will run just fine.But if I upgrade a project that already had the WMP.dll reference in it, I cannot debug the application because I gives me this error
I've upgraded to VS2010 version 10.0.30319.1 RTMRel; when upgrading my VS2008 project, all is well and appears correct until I run the code. Then I get the following error when I run a report that uses an XSD file for the schema"Inconvertible type mismatch between SourceColumn 'TemplateName' of Byte[] and the DataColumn 'TemplateName' of String.".When I look in the original XSD file and in the new XSD file, one of my fields has been converted from a string to a byte and I have no idea why.
I am working on an ASP.NET project where I use VB.NET within Visual Studio 2010. Some of the other developers on the project are using Visual Studio 2008. We all check our code into single SVN repository. I would like to start using Auto-Implemented Properties within VB.NET ...
Property FirstName as String instead of ... Private FirstName as String
[code].....
My concern is that this could mess up things for those using VS2008. What would happen if someone using VS2008 needed to modify my class that made use of Auto-Implemented Properties? I am assuming that since everything compiles down to IL code then there would be no issue in binary compatibility. Though a problem would arise when editing source.
on vista trying to create a reference to a registered DLL which succeeds with VS2008 but not with VS2010 (get system cannot find the reference specified).on vista and win7 using dependency walker the DLL cannot find IESHIMS.DLL which is in the IE folder.
I am migrating a project from VS2008 to VS2010 (Framework 4)and I keep getting the following error when trying to use databinding with a child property in VB2010.
How may I correctly assign textboxes, dropdownlists & labels to appropriate fields, on successful retrieval of records via a SQL statement? I have 4 tables & therefore, the assigned data don't match the controls. (VS2008)
If you remember in visual basic 6.0 there is a activix called VTAPI that represent the onDTMF event and PlayBackFile method:when user select number during a call, the OnDTMF event retrive the numbers or symbols and PlayBackFile can play a file when incoming call was answered.
My question is: Is there any component that can answer a incoming call and play sound and retrive the data from modem in vs 2005-2008-2010?
My problem is fairly simple: Whichever project I want to deploy in VS2010 just doesn't work. If it's a Windows Forms application or a VSTO plugin, it doesn't matter. I don't even get a proper error message; it's just "Deployment not possible, because a project could not be created." Well, it's just a loose translation, the original message in German is "Verffentlichen nicht mglich, da ein Projekt nicht erstellt werden konnte." Building and running the projects locally doesn't cause any problems. To test it properly, I have even created a new project (Windows Forms) without changing anything, and then again, the same error message, the same problem.Do you know what I'm doing wrong? I don't ever get a proper error message, just that line without any information what actually went wrong. The log also shows only two lines:
WindowsApplication1 wird erstellt.Fehler: Verffentlichen nicht mglich, da ein Projekt nicht erstellt werden konnte.
If I double click on an existing XSD file in a VB project to display the XSd file in Design mode, I get a menu and some instruction, but none of the menu buttons work and my XSD file is not displayed. Does this XSD design mode work properly in VS2010 B2? How do I display the contents of my XSd file?
just had a walkthrough in class and the example code our teacher gave us does not return a value. I am having alot of trouble with my current assignment because I do not see whats wrong with it. It is supposed to take two numbers entered by the user and add them together for a total with a tax rate, but it continues to return all 0's heres what the code looks like:
Public Class Form1 Private Sub BtnCalc_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles BtnCalc.Click
I have a Form that I named "Taulukonvalinta". This has 2 buttons (Ok and Cancel) that are defined as OK and Cancel.However, when I call the actions from my main form, Form1, only the "OK"-action works.>[code]
I have written an MDI text editor, its almost complete, but I cant get the save as menu option to work correctly.
HTML 'This sub routine controls the save as menu option Private Sub SaveAsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles[code].......
So whats happening is that it opens the dialog ok, saves the document to my chosen location correctly, but opens a new document and gives the new document my chosen file name and leaves my saved document with the file name New Document.But when I close all the open screens and then re-open my saved document its all as it should be.
On my software , i have a function for search in the list a member . The function have more fields : Girls , Boy , Old , etc ... but the software doesn't work correctly. I want him to search with several conditions, adding AND. Here is the code :
Vb For Each MemberALister As MemberInfo In _Listemember If Me.Girl.Checked Then If MemberALister.Nom.Contains(Me.Genre.Text) Then
How do I get the SuspendLayout and ResumeLayout to work correctly in regards to a listview. I have added these lines of code before and after I have added the items, yet each item is still being displayed as I add each item.
My code:
Dim x As Integer Dim startTick As Integer = Environment.TickCount lstFiles.SuspendLayout() For x = 0 To UBound(cacheListArray)
[code]....
I am adding 2000 items. This takes 7 seconds. I was told that it should be a lot shorter than that. Is that correct?
New code:
Dim ListViewItemArray(-1) As ListViewItem ReDim Preserve ListViewItemArray(UBound(ListViewItemArray) + 1) ListViewItemArray(UBound(ListViewItemArray)).Text = file.Name
[code]....
Nothing is being added. What have I done incorrectly?
My debugger doesnt work correctly anymore and I want to let it work correctly cause i've done some changes in my project but when I click on debug then it just shows my old layout.
Add a new report to a windows forms project. Now add the table data region from the tools. If you don't already have a strongly typed dataset displayed in the data sources view, get that ready. Now do the tried and true easy-to-use trick of dragging a field from data sources onto the table's details row.
I have an installation of VS2010 with Windows 7 at work and a laptop with Windows 7 X64. I transferred a whole set of project files to the laptop but the directory "Documents" does not exist on the laptop - it is called "My Documents". As such of course I get errors when loading the project on the X64 machine as the resource files cannot be found. I have tried changing the name of the directory to "Documents" to accord with the other PC, and this was apparetnly successful. But, VS still does not "see" the files in the renamed directory. How can I simply change the path name for the resource files so that VS can see these files?
I upgraded my project to VB 2008 and in the designing window, everything looks new and updated. When I run the program, however, it appears to look the same old way it looked in the old VB I upgraded it from. Is there something I can do to make it appear the new way during run time?