Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
March 2007
April 2007
May 2007
July 2007
August 2007
October 2007


all groups > vb.net upgrade > october 2003

Filter by week: 1 2 3 4 5

System.TypeInitializationException
Posted by Darrell Wesley at 10/31/2003 11:32:27 AM
I have a project which is located on an AS400 server and when I open it in the IDE it states that it is not in a "not fully trusted by .NET runtime" and that security exceptions might be raised. Well sure enough when I attempt to run it an "Unhandled exception of type 'System.Security.Secu...more >>

Visual Basic .NET Standard Locking.
Posted by Doug at 10/30/2003 12:42:07 PM
Hi There - my computer locks when I am in VB.NET, standard edition. This seems to occur when I am scrolling left to right. I've also experienced this same scenario in Microsoft Publisher. I believe the problem to have something to do with my controls. (I'm not using anything advanced, j...more >>

Error when upgrading from vb6 to .Net
Posted by Richard at 10/30/2003 7:36:42 AM
I'm trying to upgrade a vb6 project to .net and I get the following error when the wizard tries to upgrade the files "Exception occurred: Invalid system configuration (unable to locate Microsoft.VisualBasic.UpgradeExtensions.dll). Please run setup again." I have reinstalled Visual Studio ....more >>

Back-ordered VB standard.net
Posted by bartholet at 10/27/2003 4:02:41 PM
Does anyone know how can I find out when they plan to ship? I ordered on 10/15 and they still have it back-ordered with no indicated expected ship date. Many thanks for your help. ...more >>

ByRef ParamArray alternative
Posted by DonKolafa at 10/27/2003 11:26:46 AM
Is anyone aware of a reasonable syntax or procedural substitute for the 'ByRef ParamArray' of VB6. It may seem a trivial change to 'ByVal ParamArray' in VB.NET, but if you have a very large number of parameters, that you wish to change....you are up a creek. My specific problem is emulating a...more >>

VS.Net Upgrade Apply to VB.Net Standard?
Posted by Bob Heitzman at 10/26/2003 12:43:27 PM
We purchased the CD set to update VS.Net to the latest version. Can I practically and legally apply that update to VB.Net Standard? ...more >>

VB.Net Which Framework In Use
Posted by Bob Heitzman at 10/26/2003 9:53:42 AM
VB.Net Standard Help, About states that the .Net Framework 1.0 is in use. I have downloaded and installed 1.1 SDK. How do I persuade VB.Net to utilize 1.1? ...more >>

Check for Updates - Errors Encountered
Posted by Bob Heitzman at 10/26/2003 9:02:17 AM
I have VB.Net Standard (MS Development Environment 7.0.9466 in Help). When I click on Help, Check for Updates I get an error message the Visual Studio .Net setup encountered errors while attemping to download required files. Check your Web and brosers configuration.... Check for Updates does...more >>



Type 'AxMSComctlLib.AxImageList' is not defined.
Posted by Howard Kaikow at 10/24/2003 9:13:01 AM
I have an example for Listview from pages 518-531 of the Visual Basic 6 Black Book by Steven Holzner. The book was published by Coriolis. As far as I know, they are no longer in business. Any pointers to who may have taken over their titles? The sample code file in the listview directory was ...more >>

Visual Basic.Net Deluxe Learning Edition
Posted by Jose L. Garrido at 10/23/2003 9:29:54 PM
I just baught the VISUAL BASIC.NET Deluxe Learning Edition from a well known bookstore - strink wrapped and all and when I opened the box I found a set of MSDN cds and no Step by Step CD or the Visual Basic.Net CD. What's up with that! Is someone out there running around with my purchase! ...more >>

VP6 forms saved as VB5. - .NET Upgrade not possible
Posted by MarcT at 10/23/2003 4:40:16 PM
Hello, I am trying to upgrade a VP6 project to .NET. When I upgrade to .NET, the forms as not upgraded. ..NET says that it is a VB5 form. When I open the FRM file with notepad I see VB5 in the header. But I never had VB5 on my computer. I start a new VB6 project from scrach and it is stil...more >>

queryengine error
Posted by Sachin Palewar at 10/22/2003 8:44:26 PM
hi, i created a dataset in runtime. then inserted records into it in runtime too. then i saved dataset as xml files. then i use to display report using data from these xml files. reports are displayed on my comp correctly. but when i install application on another machin. while displaying r...more >>

Form Size Mystery
Posted by Darrell Wesley at 10/22/2003 6:27:37 AM
I have a VB6 application that has run thru the conversion process to VB .net. All compile time and run time errors have been cleaned up and the application does run. One puzzle remains to be solved. The application uses an MDI form as well as 3 child forms which may or may not be all on s...more >>

How many labels can a form suport in VB.Net ?
Posted by Peter at 10/22/2003 1:45:03 AM
hi there, i'm developing an aplication that uses 4 forms. Each form has about 2000 labels, when I try to open my third form, an error ocurrs, but no error mesage appears. I've realised that if I try to crate a form collection like: sub Test() Dim f as new Form1 f.show end sub and if...more >>

A question about drawing!
Posted by mynfred at 10/22/2003 1:34:58 AM
hi, In my solution, I want to display a black rect when mouse moves. the location of the rect is changed according the mouse position. following code process the mouse move event ------------------------------------------------------- Dim ptOrigin As New Point(e.X, e.Y) ...more >>

Upgrading VB .NET Standard 2002 with service pack 5?
Posted by Dave Combs at 10/21/2003 11:52:18 AM
I'm trying to figure out a problem with event handling in VB .NET Standard (2002). As part of that, I figured I'd updated to the latest service pack. I downloaded the Visual Studio 6.0 Service Pack 5 software (I'm running VB .NET, not the full-blown Visual Studio .NET, if that makes any diff...more >>

Visual Studio requires Internet Explorer 6.0 or greater to run properly. Please re-install Internet Explorer 6.0. Please help out
Posted by Britto Raj at 10/21/2003 10:41:55 AM
I unstall IE 6.0 and Install IE 5.5.Now i try to open a .Net VS Editor.Its giving the error.Please help me out to work with IE5.5 with .Net VS editor Thanks ...more >>

How to highlighting a button control?
Posted by mynfred at 10/19/2003 8:43:29 PM
hi, I want to keep the button control selected status after I clicked it. How? Thanks in advance! mynfred ...more >>

System.NullReferenceException gets raised when not raised with VB 6 code
Posted by Howard Kaikow at 10/18/2003 9:02:07 AM
If a VB 6 module contains, say: strQuote = "H""K" strLogFile = "Write.txt" intFile = FreeFile Open strLogFile For Output As #intFile Write #intFile, strQuote The code excutes as expected. The Help for the VB 6 Write states "Note You should not write strings th...more >>

Upgrade issues using Business Objects 5.0 Library
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 10/17/2003 2:49:25 PM
I upgraded a vb 6.0 demo that displays Business objects to a .NET project. However, the vb 6.0 project uses this: oleBODocument.CreateEmbed (frmMain.DefInstance.oleBODocument.sourcedoc) to actually display the report. This was not upgraded in the .NET project. How can i display the ...more >>

A question about Form postion!
Posted by mynfred at 10/15/2003 9:53:25 PM
hi, I place a button on a form, and the function of click it is: ---------------------------- If (m_frmFrmObjProp.IsDisposed) Then m_frmFrmObjProp = New FrmProperties m_frmFrmObjProp.Owner = Me m_frmFrmObjProp.OwnerInstance(Me) Else ...more >>

Error when upgrading from VisualBasic 6.0 to VB.NET.
Posted by Lou at 10/14/2003 2:53:41 PM
hi folks, i have this Visual Basic 6.0 project that i am trying to convert to VB.NET. so i opened the VB 6.0 VBP file in Studio .NET and it took me straight to the Upgrade wizard. So i clicked Next on everything and it started doing it, but then it gave me an error and it just stopped. ...more >>

Can't decide should i upgrade from VB 6 to VB.NET or not.
Posted by Lou at 10/14/2003 2:52:55 PM
hi folks, here is the deal. i inherited this huge VB 6.0 application from a previous developer and my job is to make it work. i've been told it's almost finished, but i myself have not compiled it so i don't know. it's pretty big, my initial estimation would be about 20,000-25,000 lines ...more >>

<%@ Page aspcompat=true %>
Posted by sarit at 10/14/2003 12:18:09 PM
Hello, How do I write this definition in the .NET environment: <%@ Page aspcompat=true %> Thanx, Sarit. ...more >>

How to get hWnd of a control?
Posted by mynfred at 10/14/2003 1:47:23 AM
hi, In VB.net, I want to call GetWindowLong, declare like this: ------------------------------------------------------- Private Declare Function GetWindowLong Lib "User" (ByVal hWnd As Integer, ByVal nIndex As Integer) As Long ----------------------------------------------------------- ...more >>

VB DLL Call
Posted by Enoch Chan at 10/14/2003 12:38:27 AM
I used the following declaration to access a dll "drawlib" Declare Function DrawCircle Lib "drawlib" () as single The dll "drawlib" need to be copied into Windows system folder. I prefer the dll "drawlib" to be stroed on the working folder. How can I change the declaration in order to ac...more >>

A question about Form?
Posted by mynfred at 10/14/2003 12:28:00 AM
Hi, Everybody, In my solution, I want to place a form in another form's fixed position and fixed size. On main form named formMain, a button exits, when click it, can use Show() Method to pop a form name form1 , but how to make form1 always above formMain, and it can minimized wh...more >>

How to judge a form object's status?
Posted by mynfred at 10/13/2003 11:08:45 PM
hi, I construct a Form1 and another form2 , In Form2,I dim a object of form1,which name is m_frmForm2, 1)I show it by call m_frmForm2.Show() 2)m_frmForm2's form pop up. Then, I can hide this form by 1)m_frmForm2.Hide() 'this form2 still exists, but hiden 2)m_frmForm2.Close() 'this form...more >>

How to create a control dynamicly and this control can be selected?
Posted by mynfred at 10/13/2003 10:59:56 PM
Hi, Everybody, I'm a beginner for vb.net. What I want to look for help is 1)how to create a control dynamicly, maybe a button ,a textbox or other control? 2)User can select it and can change it's size like VS.net Form designer in runtime. Look forward to you help. Thanks in advance...more >>

How to create DLLs in VB.NET
Posted by Bhaskar at 10/13/2003 10:03:29 PM
Hi All, Is there any way to create DLLs in VB.NET?. Regards, Bhaskar....more >>

Images in VB.Net 2003
Posted by Dave Roberts at 10/13/2003 2:05:42 PM
According to a reference I'm working with, there is supposed to be a folder called "Graphics" inside of the folder "Common7", containing images to be used with various controls. My "Common7" folder contains no such folder - I believe I did a full install of the software. I tried loading th...more >>

Why no path listboxes?
Posted by FM at 10/11/2003 2:18:29 AM
Is there a good reason why the Drivelistbox, Dirlistbox and Filelistbox are not part of VBNet. Unless Im missing something they only seem to be part of the compatiblility VB namespace which suggests they wont be supported long term. Surely their usefulness justifies a place in the new product. ...more >>

webclient.upload
Posted by Emanuele ranciaffi at 10/10/2003 12:18:57 PM
I would like details about upload method of webclient object. My code is: Dim Client As WebClient = New WebClient Client.UploadFile("http://www.mysite.com/mytmpdir", "C:\tmp\myfile.txt") after this instruction occurred an error Code error 405: methods not allowed. Thanks in advance for y...more >>

msvb32.dll
Posted by Andre Camelote at 10/10/2003 10:19:42 AM
Aplication want msvb32.dll. I don't have it in my WINDOWS 2000 PROF. What I need make for download. BRGDS...more >>

Icons in VB.NET
Posted by Stephen Turner at 10/9/2003 8:54:34 PM
I have implemented a COM object in .NET, and I simply want to load an icon resource and pass back an IPictureDisp to clients. What is the esiest way to do this? I had used LoadResPicture in VB, but I havent been able to create/load an icon resource in VB .NET. I'm sure that this should ...more >>

Backcolor of TabControl
Posted by Anson Poon at 10/9/2003 9:21:39 AM
Hello, I want to know if it's possible to set the backcolor or a TabControl (not the tabpage). Thank you. Anson ...more >>

IsDate function
Posted by EP at 10/9/2003 7:45:21 AM
I converted an App. from V 6.0 to .Net. I am runing into an issue with a simple IsDate function. Basically it comes up with an error that it can not convert a string to a date. This is the whole purpose of the function (to determine if a value is a date) if not then return False. This is ...more >>

change Form name
Posted by Eric at 10/9/2003 1:38:36 AM
Why wont my app run when I change the name of the Form. I change name property in the properties window from Form1 to frmMain and I get an error when I try to run. It says the exe is missing in the bin folder and I must build the project and retry. I try to build and it says "Sub Main was not fo...more >>

Upgrade Wizard Not Installed
Posted by D.Hartmann at 10/8/2003 2:20:36 PM
I am running Visual Studio.NET on Windows XP Pro. After a clean "Complete" install I try to open a VB 6.0 project and an error message pops up saying that "Visual Basic 6.0 Migration Tool is not installed on this computer". This PC was a clean build and never had Visual Studio 6 or Inter...more >>

ActiveX NNPT & MIME clients
Posted by Jim Spaulding at 10/8/2003 9:34:36 AM
Right now I am failing to get the Distinct NNTP and mime development kits to work on dot.net (they work on VB6) My VB.net client programs are ready to roll if I can just find an ActiveX library to CONNECT to a Newsreader site with a userid/password, download articles, and convert the base...more >>

VB6 and VB.net on same machine
Posted by Jim at 10/8/2003 6:57:46 AM
Is OK to have VB6 and VB.net loaded on the same machine? I have to work on existing programs that are written in both versions. Thanks!...more >>

Experiences
Posted by microsoft at 10/7/2003 4:28:02 PM
I am curious what people/companies who have gone through the change from VB6 to VB.Net think about it now that they have gone through. I am not as interested in porting applications, as I am porting the programmers ;-) We are currently a VB6 house, and are looking at moving towards .net, but ...more >>

Install vb.net
Posted by Simma at 10/7/2003 9:37:38 AM
Hi, I am trying to install visual studio net and i get following error message "Visual Basic .NET Standard - English: [2] ERROR: Error 1305.Error reading from file: d:\Program Files\Microsoft Visual Studio .NET\Msdn\1033\kbsql.hxs. Verify that the file exists and that you can access it. ...more >>

BitBlt
Posted by Phil at 10/7/2003 6:48:27 AM
How do I upgrade VB6 jobs the used BitBlt to run on VB.net? What do I use for the device contexts arguments?...more >>

Crystal Reports to Crystal.NET
Posted by Eric at 10/6/2003 8:10:02 PM
Hi, I have a vb6 app with about 150 reports, using subreports, charts, and most features of crystal 8.5. If I move my app to VS.NET (Not simple, I know), what will the upgrade process be regarding crystal. Thanks for any help. e ...more >>

Apply these corrective pack
Posted by Valentina Dominguez at 10/4/2003 12:09:58 PM
Microsoft Partner this is the latest version of security update, the "October 2003, Cumulative Patch" update which resolves all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three newly discovered vulnerabilities. Install now to m...more >>

VB.Net set property to VB6 control not display correctly
Posted by Anson Poon at 10/3/2003 2:48:32 PM
Hello, VB6 Control (MyControl): 'Contains a Label called Label1 '******************************************************************** Public Property Let Caption(ByVal New_Caption As String) Label1.Caption() = New_Caption PropertyChanged "Caption" End Property '********************...more >>

Changes in DirectX functions
Posted by Ken Allen at 10/2/2003 7:12:30 PM
I've been working on a Directx8 based game in vb for quite a while now, as a learning excercise and when I upgraded to .NET some of the DX funcitons changed. This is just one of them. The second paramater is asking for the first element of the vertex array, as Any. D3DDevice.DrawPrimitiveU...more >>

Upgrading VB6 with WMI to VB .NET
Posted by Howard Kaikow at 10/2/2003 3:15:12 PM
I give below the working VB 6 code, followed by the converted VB .NET code. I've added the error message to the beginning of the VB .NET code. What do I need to do to get this VB 6 code converted to VB .NET? ---------------------------------------------------- Option Explicit Private Sub...more >>

No symbols loaded.
Posted by Everett Welch at 10/2/2003 1:28:16 PM
I'm new to vb.net and could not brag about my vb6 accomplishents either. I've updated a project and spent days fixing syntax and so forth. It builds without fail. When started in any mode I get: 'DefaultDomain': Loaded 'c:\windows\microsoft.net\framework\v1.1.4322 \mscorlib.dll', No symb...more >>


DevelopmentNow Blog