VB 2008 Vs VB 2010
Dec 31, 2009
Would I be able to use VB 2008 if I installed 2010 on the same machine? Has anyone used/using 2010? What do you think of it? I installed on a virtual machine, had a power failure and the change were not committed. I did have a chance to look at it for awhile, I would just like some more feed back about this from users if at all possible.
View 3 Replies
ADVERTISEMENT
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
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
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
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
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
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
Nov 11, 2010
I had web application (website?) that was started in VS 08 (this was the VS 08 that comes with SQL Server 2008 - not the full-blown version) and I loaded it in to VS 2010 (this is a recent Professional version upgrade from VS 05 Pro). The web app is a HealthVault application created by the HealthVault Application Manager that ships with the HealthVault SDK.
So, I loaded it in to VS 10 and VS 10 converted it to a VS 10 project and now it won't build. The problem is in the web config file and I normally don't work on web applications so I am completely lost.[code]...
View 1 Replies
Apr 17, 2012
What is difference between visual basic 2008 to 2010 please share difference
View 2 Replies
Mar 24, 2012
i have this Code
'Send Proyect Data to Db
Call StoredProcedure1
'Send asigned persons to Db
Call StoredProcedure2
[code]....
The comment 'Send Proyect Data to Db as the other are pusshed to same level of the code.Is it any way to leave those comment lines at the left margin?
View 2 Replies
May 20, 2010
I have to migrate a software from VB6 to a most modern technology.
1) Does has Visual Basic 2010 Migration Wizard to migrate VB6? I have downloaded the free trial of VB 2010 and I can't open a VB6 proyect
2) It is a good idea use VB2010 or is better go with VB2008?
I have to say that I will learn the language also, my guts says that I should code again everything using VB2010 ( so I am learning the lastest language) although I am not sure?
View 2 Replies
Jul 15, 2010
Can i use the code of vb2008 in vb 2010?
View 4 Replies
Jun 23, 2010
I recently got microsoft expression studio and VS 2010..To test out expression, i created a sweet looking UI, and transferred an old program from VS 2008, but the CSV writing function I have written in the '08 doesn't work with my WPF form in '10.
CODE
Private Sub ReadTimer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ReadTimer.Tick
CurrentPosition.Read()
CurrentPositionValue.Text = CurrentPosition.Values(0).ToString()
[code]....
specifically, the error is, "Computer is not a member of My" ....
View 1 Replies
May 24, 2009
i want to download VS2010 Beta can i download it normally without having any problems in my VS 2008 Pro edition?or do i need to unistall it first?
View 2 Replies
Apr 22, 2011
Am having a hard time co be connected to sql server 2008 enterprise edition.i am using oledb in this fashion
db.connectionstring="Provider=SQLOLEDB.1;User id=helen;password=123;Initial Catalog=mydb; Data Source=server"
but it gives this error: Login failed for user 'Helen'/ Is SQLclient a must to be connected to sql server?
View 2 Replies
Apr 6, 2010
I have used this codes
Imports
System.Data.OleDb
Public
[Code].....
'it's not warking it gave me message {Invalid authorization specification}
can you correct me cn.ConnectionString line ?
View 4 Replies
Mar 31, 2012
I'm new to this forum and have only been working with VB for the past 6 months.I am working on an ADO project, creating a home based movie directory that tracks movies, family and views(movies)I am having a problem with my "Update" from VB2010 to SQL.I am using a date time picker to view the SQL data in the dataset. In that I am not having any issues (txtYear.DataBindings.Add("Text", ds, "Movie.MovieYear")however whenever I try to update and "Send the data" back to SQL Server.[code]I keep getting an error System.Data.sqlClient.SqlException "Invalid column name 'March'.I do realize that this is a formatting issue, i'm just not sure how to format it to the proper date.
View 8 Replies
Jul 16, 2009
I had a .chm file I used in VB2008 and I'm having trouble getting it to work for VB2010. I use the code below to reference the file.
vb
Module HTMPHelpAPI Public Const HH_DISPLAY_TOPIC As Short = &H0 Public Const HH_DISPLAY_TOC As Short = &H1 Public Const HH_DISPLAY_INDEX As Short = &H2 Public Const HH_DISPLAY_SEARCH As Short = &H3 Public Const HH_HELP_CONTEXT As Short = &HF Declare Function HTMLHelp Lib "hhctrl.ocx" Alias "HtmlHelpA" (ByVal hwnd As IntPtr, ByVal lpHelpFile As String, ByVal uCommand As Int32, ByVal dwData As Int32) As Int32End Module
I then call it from my menu using this:
vb
Private Sub HelpToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles HelpToolStripMenuItem1.Click HTMLHelp(IntPtr.Zero, "PE Files Help.chm", HH_DISPLAY_TOC, 0) 'Dim sHelpFile As String 'Dim sStartupPath As String 'sStartupPath = Application.StartupPath.ToString 'sHelpFile = Replace(sStartupPath, "in", "hlp") & "PE Files Help.chm" 'Me.hlpHtmlLocal.HelpNamespace = sHelpFile End Sub
I had found the commented out portion online and tried to get it to work, but nothing will bring up the file. Do I need to have it loaded into VB.Net somehow or point to it or does it need to be in a certain location?
View 1 Replies
Sep 3, 2009
<edit> On 27th January, 2011.If you are using VB.Net 2005 or earlier then please see my 14th post in this thread.</edit>I saw a post earlier on which reminded me about Extension Methods.This led me to create the following code which acts on the base class
[Code]...
View 1 Replies
May 7, 2010
I am trying connect to a SQL Server database i have created using Visual Basic.Both reside on my local machine (PAUL-PC).Here is what i have done so far but i am missing something (or more worryingly i have got it completely wrong).[code]So i have an MDI form and i want to make a connection to SQL Server when that form loads.I do not want to use a DSN if possible so am trying to use Oledb. Not sure also of the DataAdaptor declaration as in previous versions i used many years ago it was recordset.I would like to use a trusted connection to connect.
View 5 Replies
Nov 25, 2010
I have a few projects developed in VS2010 but would like to share them with a fellow programmer who is using VS2008.
View 3 Replies
Jun 5, 2011
I'm trying to convert an old vb project from 2008 to 2010. Ive tried using vb 2010's convert wizard aswell as changing the .sln file manually. When i try to convert the project automatically using the wizard it gives me an error saying that the project type is not supported. Does anybody know a solution to converting my 2008 project to 2010?
View 5 Replies
Nov 27, 2010
First off, this is not for a class. Although I *AM* taking VB classes, I wanted to do something on my own that would help me learn. I find that the examples and assignments in class, are okay, but I would like to do something that I could apply in real life, perhaps apply it to my own work and master many techniques. So this could actually become my own final exam
That being said, I have searched and read all the posts on quizzes and tests and they are usually asking for code answers. No from the beginning development and planning. I am sure eventually, I might ask some code questions, but I would like to start at the beginning and analyze, develop the algorithm/ flow chart, and desk-check first.
View 3 Replies
Apr 21, 2011
Is it possible to downgrade vb version from vb 2010 to vb 2008??
Have a Nice Day
View 1 Replies
Jun 22, 2010
i coded some visual basic codes on visual studio 2010, now my friend cannot view the in his visual studio 2008.. is there any method that can save it into compatible method, so my friend can view the codes also?
View 3 Replies
Apr 15, 2010
I have a VERY perplexing problem in both Visual Basic 2008 & 2010 Express. When I try to debug my project, the program runs without stopping at any breakpoints. If I start the debugging by clicking on Step In, the application just starts running.The Immediate Window has the following line, when I start debuging with Step In:Step into: Stepping over non-user code 'QBPOExport.GlobalFunctions.Main' (QBPOExport.GlobalFunctions.Main is my startup task)
View 2 Replies
Mar 5, 2011
I have done some work in VB 2010 for school and the schools computers have VB 2008. is this going to be a problem? if so how can i fix it so i can open the work in vb2008 because thats where it will get marked.
View 2 Replies
Sep 20, 2010
or saving VB 2010 project for VB 2008 use
View 2 Replies
Feb 19, 2010
make a bug report in Visual basic 2010.
View 25 Replies
Aug 23, 2010
how i could get an image URL on a web page in VB.Net?For example: The user would navigate to [URL] and the google image URL would be stored in a string?
View 2 Replies