Difference Between VB6.0 And VB2010?
Jun 12, 2012I have studied VB 6.0 but have hardly any knowledge of .NET. Can someone please tell me the difference between the three versions namely VB6.0, VB 2010 express and VB.NET?
View 1 RepliesI have studied VB 6.0 but have hardly any knowledge of .NET. Can someone please tell me the difference between the three versions namely VB6.0, VB 2010 express and VB.NET?
View 1 RepliesMost conversion tools will still use VB6 syntax And so don't many people coming to .NET from VB6 - drives me nuts.Rewrite your program from scratch using all .NET syntax and not legacy VB6 syntax still supported in the .NET world.
View 9 Repliesim using visual basic 2010 express and im wanting to know how i can display the CPU usage (over all CPU usage like you would find on the task manager), the RAM usage, the temperature, and the frames per second all in separate list boxes.I have searched around on the internet for a long time looking for the code's to do this, none seem to be compatible with the 2010 express version.
View 12 RepliesIm creating a program that shows the CPU usage (already have the code for the CPU usage) frames per second etc, what im needing is the code snippet fordisplayinghe current FPS in a list box, but i also want the FPS to automatically refresh once a second
View 2 RepliesI am creating an RTF file programatically so that user input can be formatted and I can control the font.There's two problems:
1. vbNewLine doesn't seem to work. I've also tried vbCrLf and that doesn't work either. I just want to introduce another blank line and not sure why it's not working.
2. Is there a way to use tab print positions to format things so they're not all just aligned left, center or right? (like tab(20); something etc..)
Here's my code:
Public Class Form1
Private Property richtextbox1 As Object
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim something As String
[code]....
I'm using VB2008 SP1 Express Edition, but I want to install VB2010 Beta 2 Express Edition. I use Vista but next week I'm going to install Windows 7, Could this harm my Windows 7 Installation?
View 6 RepliesI have a simple for loop with the following code
For i As Integer = 0 To 4
Snake(i).X = (120 - 20 * i)
Snake(i).Y = 120
SnakeBody(i).Location = New Point(Snake(i).X, Snake(i).Y)
Snake(i).Facing = 3
Next i
But for some reason I unable to debug it. I place a breakpoint on the line Snake(i).X = (120 - 20 * i) and When I try to see what the values are the second time the loop iterates it simply exits the loop.
i make the vb homework first, connect the mdb file, then login. In the mdb file, there have login account and password.when i run the program, it have some problem:"dataAdapter.Fill(dt)" highlighted, The 'Microsoft.Jet.OLEDB.4.0xxxxxxx.mdb' provider is not registered on the local machine.
[Code]...
I have a DLL that I made in FORTRAN to do some number crunching. It works in VB6 and in VBA within Excel. But I cannot get it to work in VB2008 or VB2010. If I try to access it the subroutines in the DLL I get either, 1) Structure of DLL invalid error or 2) Cannot find the DLL error.
Here is my VB2010 code for a smaller demo app that came with the FORTRAN development system. Again, this works with VB6 and VBA but not with VB.net
vb.net
Imports System
Imports System.Runtime.InteropServices
Public Class Form1
[code]....
I've a dynamic integer array to which I wish to add new values. I've looked elsewhere but couldn't find anything definitive.
Dim TeamIndex(), i As Integer
For i = 0 to 100
'TeamIndex(i).Add = <some value>
Next
I'm wanting to use a bit of code to in a VB2010 application, however the code is in VB6. How would I go about converting this from VB6 to VB2010? I've personally never done a conversion of complete code like this.
Here is the link: [URL]
I am trying to check for a file on the system then run that file. Please to do laugh to hard at my code.
[Code]...
How do i connect MySQL to VB2010. eg Provider=???
View 2 RepliesI created a program using VB 2008 to aid me on design work-related calculations that uses Access mdb file for displaying info. and calculations. But I experienced an alarming problem when I converted it to VB 2010 The program execution works in VB 2010 but it can't display the data from an mdb database file.
To simplify and simulate the problem, I created a simple identical program in VB 2008 and VB 2010 showing a window that displays a data extracted from an mdb database file. Both programs run as intended in each environment. When I open the VB 2008 created program under VB 2010, VB 2010 converts it and when I run the program, it doesn't display the data at all.
Private Sub txtTerm_KeyPress(KeyAscii As Integer) '4078D0
[Code]...
I just converted my project from vb6 to vb2010 and am getting this error
Error11Name 'cdPrintSettings' is not declared.C:\Users\IT\Desktop\trial\TETRAD_.NET_UPGRADE\TetradUpgrade.NET\frmInvestorStatementPrintDialog.vb278Tetrad upgrde
what differences between vb2008 and vb2010.(OOP)
View 3 Repliesdisable the alt tab alt f4 and windoww?
View 3 RepliesI am an Engineer and have been programming VB6 for 10 years and now writing in VB2010 Professional.I am trying to write technical data to Excel which works fine with this code: In a module I dimension
Public appExcel As Object
Public wbook As Object
Public wsheet As Object
[code]....
I got this code by recording macros and transferring the code. Everything after the "=" sign gets the error "is not declared. It may be inaccessible..."
eg .LineStyle = xlContinuous The error items are shown in itallics.
I sure would appreciate some code that opened current worksheet, write to the worksheet and do just those formats that I mentioned (cell color, border).
I designed a listview inj VB2010 using a tutorial on the web. It has Add, Delete, & Edit buttons. I added a fourth button to print the contents of the listview but it only printed in Portrait. The code I used to try to print in lanscape is below. What needs to change?
Private
Sub
btnPrevieworPrint_Click(ByVal
[code]....
Is it possible to import a vb6 project into VB2010?
View 1 RepliesIs it possible to import an old visual basic 5 project into 2010?
View 3 Repliesi am trying to make a webbrowser in VB2010, but one major roadblock that has been in my way for a while, is the fact that i can't get my bookmarks bar to work
i have no code to show you and i am completely open to ideas as long as i use a toolstrip just make sure that the bookmarks work and they are Saved when the program is closed and opened again.
Notes:
instead of "WebBrowser1" use:
"
CType(TabControl1.SelectedTab.AttachedControl.Controls.Item(0), WebBrowser).PutWhateverHere()
"
(i am using a dotnetbar tabcontrol so i need the "AttachedControl")
the toolstrip i am using in this case is called "BookmarksBar" so please don't use "ToolStrip1"
And so I decided to make a multithreaded application :'( I am new to multiple threads - so my problem is this...4 Threads1 Array of lets say 100 stringsHow do I make the 4 threads access the same array - also, once one string has been used(read) - it will be removed by a function that I have written already.
View 4 RepliesI am developing an application add-on that needs to reference a DLL contained in theapplications install folder. Trouble is the application install folders are not always the same from one machine to another.I am able to read a registry key that gives me the path to the DLL.I've done a lot of Google searching and have found the"References.AddFromFile(filename)" function but when I try to use this in VB2010 I get an error message saying "AddFromFile is not a member of VSLangProj.References".
View 5 Replies-Add /nosplash to shortcut by right click short cut, click properties and in target, put a space and add it.
-Disable F1. (Environment->Keyboard)
-Disable "Animate environment tools" (Environment->General).
-Disable Start Page (Environment->Startup).
[code].....
My project that I had built used spreadsheets and charts within the forms to provide the user with the necessary data. This worked fine for VB2008 as it had all of the ActiveX office web components built into it. It seems that VB2010 has a different set of base components and emphasis office 14.0. I was wondering how people have gotten around this or if they can. I tried using DataGridView, but it doesn't seem to be able to do what I want to do. I need the ability to have users enter data into a table and then use that information to be able to build graphs real-time based on their data.
View 2 RepliesI am an engineer programming in VB2010 Professional. I am trying to format a chart in Excel from VB, I looked at the following link. I wish there was actual complete code along with the structure.
[code]...
My OS is Vista Home Premium (64-bit) SP2. I've been working with VS 2010 Beta 2, wrote a few apps, and downloaded the Aug 2009 DirectX SDK. I have all of the source code for a game I wrote ten years ago (with VB5 using DirectSound and DirectInput from DX7) and I would like to get it working with the latest VB and DirectX (and use Direct2D also) but the first problem is that I can't even find how to "include" directx into a project. I was hoping to make a small example app to figure out what I need to do to update my code and what capabilities D2D has, but I can't even get out of the gate with DirectX.
View 6 RepliesI am using XDocument to parse an XML file. The first thing I'm trying to do is count the number of <entry> elements under the root. I have this code:
dim xmldoc as Xdocument = Xdocument.parse(string variable)
Messagebox.show(xmldoc.root.<entry>.Count)
I will paste the string containig the XML below (it's kinda long, but not too much). Everytime I run this script, it says there are 0 <entry> child elements, but that's clearly not the case. I'm not sure what I'm doing wrong here.. not sure if it has something to do with namespaces or what.
[Code]...