Differences Between Vb2008 And Vb2010
Jun 22, 2010what differences between vb2008 and vb2010.(OOP)
View 3 Replieswhat differences between vb2008 and vb2010.(OOP)
View 3 RepliesI own a copy of vb2005 professional. I need to migrate a vb6 project to vb.net Is there any difference in terms of effort to migrating to these editions of vb.net
View 3 RepliesI see no options to change. I see the HTML icon but it does not seem to activate. OPtion at the bottom HAS CODE is checked. This code worked in VB2008 but I get the indicated error in VB 2010. I would like to understand what changed.
[Code]....
I created a windows form in VB 2010 and I am trying to view it in 2008, but I get the error message "The selected file is a solution file, but was created by a newer version of this application and cannot be opened".
Is there anyway I can re-save the 2010 project(similar to Microsoft word) in order to be able to open in older version?
How to convert VB2010 Express proj to VB2008
View 6 RepliesDoes anyone have a list of OleDBTypes and how they match up with MS Access and SQL Server Data types. I would like this to be able to better write code for my parameter collections. Plus when looking at all the options availible with intellisense when programming in vb2008 v.s. SQL datatypes, there are some not so obvious choices.Here is the list I get from VB2008 using Intellisense:
OleDb.OleDbType.BigInt
OleDb.OleDbType.Binary
OleDb.OleDbType.Boolean
[code]....
I have used VB (versions 2 - 6) through many years; however, I am crash-course training myself into the VB2008 / VB2010 world kicking a screaming. I would like suggestions as to what SQL database access method should I focus more on in my learning process without making me feel that I'm a million years behind. I know I have WinForms where I can create a datasourse and drag / drop fields or tables on a form to create a grid (not really what I'm looking for).
My trouble isn't so much designing the form but in how I access the database. Theres XML, LINQ to SQL, ADO.NET, and many other methods. Not only do I need to grasp these methods quickly but I also need to know what type of projects I should create. What I mean is...I was thinking that I would design a WinForm app; however, I see that there are WPF apps and others to chose from. This is getting deep. I know it depends on the project that I'm working on. My plans are to write an app based off of either an SQL Express 2008 or SQL Server 2008 database. This first app will be standalone for now but may later become multi-user. I know I'm far behind on my learning curve coming from VB6. I have read a bit on VB2005 / 2008 / 2010. I own
both VB2008 and VB2010. I use VB2008 at work. I know ADO.NET is still alive but by what I read online, it's a dying method and is only kept for backward compatibility. XML and LINQ to SQL and other methods are all pretty new to me.
Is there any advantage to using the VB2010 express version versus the VB2008 express version? Can they be installed side by side or will VB2010 express replace VB2008? I have no issues with the 2008 version, so I don't know if installing the 2010 version would be of any advantage.
View 9 RepliesWhat are the differences between 32 and 64-bit .NET (4) applications?Often 32-bit applications have problems running on 64-bit machines and conversely. I know I can declare an integer as int32 and int64 (certainly int64 on 32-bit systems make problems). Are there other differences between programming an 32 OR 64-bit or a both 32 AND 64-bit compatible application?
View 2 RepliesWould like to build an application and was wondering why someone would choose one language over another.Also is one language used more for a particular type of programming then another (For example, is VB used more for business or Windows development then for web development ?)
View 1 RepliesI am currently learning visual basic 5 on my home computer. I was wondering if someone could tell me what the major differences are between Visual basic 5 and the latest/new editions of VB.
View 3 RepliesWe have legacy character codes that we want to store as numbers in a new system. To increase readibility and general understanding in the code for devs making the migration, I want to do Enums like this..
[Code]...
With this setup, the code will be readable (imagine If Record.Status = Status.Open), and yet the values will be stored in the database as small numbers so it will be efficient. However... I am a VB.NET guy, but everybody wants to code in C#, so I need this sort of structure in C#.After Googling, I discovered the the general .NET equivalent of AscW is Convert.ToInt32("C"). When I try to use that statement in an enum, I get the compiler error "Constant Expression Required".
in order for me to get help on me and my programming partners vb6 rpg, I have to upgrade the project to the vb.net platform, and I am worried that the IDE interface that is used to program the vb side of the rpg is different, so I am wanting to ask any of you if there are any significant changes to the IDE or if it is relatively the same as it was in vb6... I am also hoping that someone here can also help me to see what is wrong with my load/save function... I now thought of something to try to see if that is the issue or not, but the code is still vb6 code, the only difference will be that the program will be upgraded to the .net platform, so if that changes anything in the code, then I am not aware of this as of yet, because I am still downloading the visual studios 2010 express iso right now... so I do not know for sure yet what will be changed.
View 3 RepliesDoes anyone know how to implement in VB an algorithm for final differences that changes the network (the matrix) during the computation (decrease its dimensions)?
View 1 RepliesToday I was playing around with Entity Framework and I've read that the generated IL for C# was different than VB.NET for the following code:
[code]...
As it seems the VB.NET version of this code will contact the database every time the code is executed while the C# version will retrieve the entities from the cache when the code is executed multiple times.Why would they make both languages behave in such a different manner?It was my misconception that both languages just differed in syntax and had almost exactly the same generated IL.Are there any more examples where both languages generated such different IL?
what can C# do that VB.Net can't ? VB.net vs C#.net
main differences between visual basic and C# as well as the pros and cons between the two?
Well i want to compare 2 strings (version one and version two) and get the differences in a format that i can convert to html on my own, like you can view how a post was edited here on stack*overflow* or like svn tracks differences between revisions....
It must be full managed code library.
Like this JavaScript but i need to do it on the server-side..
I've heard that the c# garbage collector can be 'more aggressive' than it's vb.net counterpart. Is this true? Are there any other differences in how garbage collection is run in vb.net vs. c#?
View 5 Repliesi'm using Enumerable.Except to check if a DataTable in memory is in sync with the table in database.
The background is: this DataTable and other frequently used tables are stored in the Cache of a WebApplication. But meanwhile i'm convinced that this is not a good approach because it's a source for nasty errors that are difficult to reproduce/debug.
Therefore i've created a function that checks if database and memory are in sync, otherwise an error-log will be created. This works perfectly. If there is a row in memory that is not in database, this row will be shown below "Difference in database", the same applies in reverse. But if rows exist in both datasources(the PK idRMA) and some values differ, the log will contain this row in two versions(below "Difference in database" and "Difference in database"). It is not easy to see the differences on the first sight.
Q: Is it possible to select only the properties that caused Except to think that first sequence is not in second?
This is the the complete function(the first lines are relevant):
Public Shared Sub CheckRmaMemoryInSyncWithDB()
Dim inSyncText As String
Dim color As Drawing.Color
[Code]......
I am using asp.net and the .net framework 2.0. I may be able to upgrade the servers to 3.5 if the solution is compelling enough. Here is the problem. I have two pieces of xml. I'll refer to piece number 1 as the template and piece number 2 as the actual. Here's a basic example:
[Code]...
I just found an interesting problem between translating some data:
VB.NET: CByte(4) << 8 Returns 4
But C#: (byte)4 << 8 Returns 1024
[code].....
I have 2 text boxes and I load a text file in to each box, the files contents are "almost" exactly the same but not 100%. how would i compare the 2 against eachother and output the difference in percentage? I've made a program once before it was pretty cool it did all these things and it was in VB.Net i just cant remember how i did it.. i do know i counted how many of the sames words exist but i cant remember what else i did.
View 10 RepliesCompare differences between lists?I have two sets of lists below[code]...
View 1 RepliesIn VB, when we adding a new references - in my case web references -, it simply type namespace followed by the class name to make a new object.For example:
Dim obj As NamespaceName.ClassName = New NamespaceName.ClassName
Then I apply this concept in C#. So my code will be:
NamespaceName.ClassName obj = new NamespaceName.ClassName
...and it doesn't work.Actually, is there any difference about Importing Namespace between those two?And also can you give me a little explanation about Project-Wide Default Namespace Imports in VB?
UPDATE:My point is why "In C#, When I've typed NamespaceName, the ClassName was not listed in the Intellisense?".However, it did well in VB, do I have to import something?Maybe, there is something to do with the term "Project-Wide Default Namespace Imports". (CMIIW)
What are the differences between a HashSet(of T) and a list(of T). I recently discovered HashSet and it seems to be substantially faster and uses much less memory than a list, so why use a list at all ?
View 5 Repliesdifferences between HttpWebRequest and WebClient and why I should use either.
View 1 RepliesAfter I have programmed several projects in VB.Net I to my surprise discovered that there are some more than subtle differences between C# and VB.NET LINQ usage.For example, if we want to group elements by multiple properties (columns) we need to create a new anonymous type explicitly:
var procs = from c in Process.GetProcesses()
group c by new {c.BasePriority, c.Id} into d
select d;
whereas in VB.NET more straightforward syntax will already do:
Dim b = From c In Process.GetProcesses()
Group c By c.BasePriority, c.Id Into Group
Select Group
So, one does not need to create a type with "new" here. What are the other differences? good comparison between the LINQ syntax in C# and VB.NET?
NET gurus... How would you convert this very chunk into VB?
[Code]...
When I use an online converter (Telerik), the middle line converts like this: Me.timer.Elapsed += New System.Timers.ElapsedEventHandler(ManageThreads) with 2 errors:
1- "Public eventElapsed is an event and cannot be called directly. Use raiseEvent
2- Delegate requires an Adess Of expression. Do I simply add "Address Of" ?
know where I can get a list of the differences between VB.Net versions? For example, in which version were generics first introduced, and when did the "Using" keyword come into being?
I've tried googling it and all I seem to get are the differences between VB6 and VB.Net, which isn't what I'm after.
I am doing a project. I save a date in the registry. Now, I have to test this date against today's date and calculate the differences in minutes, hours, days, months, weeks and years.I save the date in the registry like this:
Code:
Application.UserAppDataRegistry.SetValue("Date", [Date])
I then made a sub to calculate the differences:
[code].....