| Upgrade from VB 6 to VB Net 2003 (2 replies, VIP) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I need to upgrade a project I created in VB 6 to VB Net 2003. When I opened the file in VB Net it went through its upgrade steps but my forms are missing a lot of the labels. How do I resolve this problem? |
|
| Message Box in .Aspx form (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I am getting this error message when I run Aspx form of a Visual Basic .Net Application "It is invalid to show a modal dialog or form when the application is not running in UserInteractive mode. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application. " Line 37: title "MsgBox Demonstration" ' Define title. Line 38: ' Display message. Line 39... |
|
| WinForm MDI Child in VB6 MDI (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hi, When migrating af huge windows system from VB6 to C#, it has to be done in small steps in order to be feasible. The system I'm working on is an MDI system in VB6. We would like to be able to migrate a few windows at a time. Thus we need to be able to make a WinForm an MDI child of a VB6 MDI form. It is easy enough to invoke the WinForm from VB6. This is done by COM enabling it, and providing p... |
|
| "My Profile" Tab shuts down vb.net (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hi everyone. I recently upgraded to visual basic .net and am having problems with the start up page. When I click on the "Online Resources" or "My Profile" tab, the application just closes completely. I have tried shutting down my virus software completely to eliminate the issue of script blocking, but it doesn't seem to have helped. I also tried to reinstall the software, but only visual basic (f... |
|
| Scoping of Variables (3 replies, VIP) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I converted a VB6 project to .NET. The 2 .bas files in the project became .vb of course. The mainline .vb module declares a group of variables as public. The procedures in the other module (.vb file) thinks thinks these variables are undeclared when they are used. How do I properly declare these variables so they are globally accessible in the whole solution? |
|
| Question about Implementing VB 6.0 Interface in vb.net (2 replies, VIP) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hi, I have an interface in vb 6.0. It has a property set member, which takes a parameter by reference. When I try to implement this interface in my vb.net project, it gives me an error saying that "cannot implement property set because there is no matching property on interface". I think .NET does not allow parameter to be passed ByRef in property statements. Here is my property set statement in v... |
|
| VB 6 Code Upgrade Dialog Box (5 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Is the VB 6 Code Upgrade Tool available for Visual Studio 2002? When I go to my tools menu I do not see as an option. If it is available or if there is a 3rd party tool, where can I get it? |
|
| Code Advisor: Do as you say, not do as you do? (3 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Over the past few months, I have seen a number of ardent recommendations to use the Code Advisor to facilitate upgrading from VB 6 to VB.NET. However, I'm not seeing any responses to questions about the Code Advisor, at least those from Bill C. and moi. I did not install Code Advisor until after I ran Office Update last week. Perhaps, the update is preventing the Code Advisor from working properly... |
|
| Problems upgrading (6 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| If I try to open a VB6 project using Visual studio.net 2002, I get the following error Visual Basic Upgrade Wizard An unexpected exception occurred overflow or underflow in the arithmetic operation, ... I also have a problen in VB6 with the Code advisor Errors were encountered whil attempting to remove and then add 'Fixit' source code comments Any ideas as to why these are appearing? Maybe they ar... |
|
| Code Adviser for VB 6 (4 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I just installed and tried using the Code Adviser for the first time. I tried on 3 different projects. and got the following error: "Errors were encountered while attempting to remove and then add 'FixIt' source code comments" All I did was click on the leftmost toolbar button Add Fixits. How do I circumvent this problem? In one case, the project consisted of a single module containing: Option Exp... |
|
| FileOpen(2, "lpt1", OpenMode.Binary) (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I upgraded a VB project. When I tried executing, I got error that "FileStream will not open Win32 devices such as disk partitions and tape drives". How am I supposed to copy to the printer in binary mode? http://www.standards.com/; See Howard Kaikow's web site. |
|
| Error in system.windows.forms.dll When running converted apps (4 replies, VIP) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hi, I am just starting to convert a VB6 application to VB.NET. I ran the conversion Wizard and this created a new project in VB.NET however whenever I run the program I get: An unhandled exception of type 'System.StackOverflowException' occurred in system.windows.forms.dll This happens with code running in the debugger or from a compiled version of the code running outside the VB.NET IDE. Is this ... |
|
| The VB6 to VB.Net Upgrade Dialog Tool Part II (2 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| There is actually a tool that upgrades snippets of VB 6.0 code as opposed to the whole project. As described in this link. http://msdn.microsoft.com/library/default.asp?url /library/en us/vbcon/html/vbconupgradingvisualbasic60codewithupgradevb6codeadd in.asp. What I want to know is if this tool is available in VS 2002 and if so and it doesn't show up in my tools menu what can I do to get it there.... |
|
| ComboBox class, CB_INSERTSTRING , VB.NET and marshalling... (5 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hello All, let me pose a simple question about combobox and the CB INSERTSTRING message. Suppose for instance that I already have a combobox handle, how can I declare and use the SendMessage function just for insert a new item into the combobox ? Of course, the combo box DO NOT belong to my process, so I can't use the standard properties of that class. In fact, I need to "put" a new entry in the c... |
|
| Error while upgrading 2002 to 2003 (4 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| I have a project which is running error free in VB.Net 2002 in a live environment. Now I need to upgrade it to 2003. While building the project it is showing the below error. This is happening only for some forms. The others are working fine. Quote : C:\Transactions\BL SFE.resx Resource transformation for file 'BL SFE.resx' failed. Possible Version mismatch. Type System.Globalization.DateTimeForma... |
|
| Accessing Registry (2 replies, VIP) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hi, I'm accessing a Managed Assembly (VB.Net) thru an Unmanaged code (VB). The Managed Assembly is accessing registry, performing read/ Write oprtaions. But when I'm trying to call Managed Assemlies Methods from Unmanaged Assembly, it is giving Registry Permission Failed. Error Message is :: "Request for the permission of type System.Security.Permissions.RegistryPermission, mscorlib, Version 1.0.5... |
|
| Saving Projects on Network (2 replies, VIP) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hi I installed Visual Studio but I can't run the projects code that are saved on the Network Drives only locally. Any suggestions how to overcome that? Regards Meir |
|
| How i can print 4 pictures in one page (2 replies, VIP) |
| microsoft.public.dotnet.languages.vb.upgrade |
| How i can print 4 pictures in one page |
|
| registry problem (3 replies, VIP) |
| microsoft.public.dotnet.languages.vb.upgrade |
| hi, I wrote an applicatoin in vb 6.0 to access the registry.It works fine for windows 98.But it does not work for windows 2000.can any one tell me how to access registry through vb in windows 2000. thanks ********************************************************************** Sent via Fuzzy Software @ http://www.fuzzysoftware.com/ Comprehensive, categorised, searchable collection of links to ASP & ... |
|
| Cab files for window controls in .Net (2 replies, VIP) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hi, I have developed a .Net control and compiled it to support COM interop. Now the control works like an ActiveX control, I would now like to automatically download the control whenever accessed to client PCs. I donnot want to place my dll on webserver. Is it possible that the control gets automatically registered on client PC. Like what we used to do with Vb6 ActiveX controls, all we need to do ... |
|
| How to initialize structure fields? (2 replies, VIP) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Hi all, I need to define a strcture and define an arrary of it, then initial each array like the following: public structure MyStruct Dim A as Int32 Dim A as Int32 Dim x as Int32 Dim y as Int32 Dim Z as Int32 End structure Dim myData(20) as MyStruct myData(0) (1, 1, 1, 1, 1) myData(1) (2, 2, 2, 2, 2) myData(2) (3, 3, 3, 3, 3) .... myData(20) (20, 20, 20, 20, 20) What is the correct syntax? Thanks ... |
|
| .NET Migration (8 replies, VIP) |
| microsoft.public.dotnet.languages.vb.upgrade |
| We are investigating options for converting our VB6 code to VB.NET. We have had some discussions with ArtinSoft about their code migration products and consulting services. Does anyone know of other companies that provide similar products and/or consulting services for .NET migration? Thanks in advance. Dot Net Guru |
|
| Distrubution Rights (2 replies, VIP) |
| microsoft.public.dotnet.languages.vb.upgrade |
| We are thinking of upgrading from vb 6.0 professional to vb.net standard. What legal rights do I have with vb.net standard to distibute apps created with this version either within the company or elsewhere? I'm familiar with the 6.0 licensing in that professional was needed but now there is no standalone vb.net professional. Any help here would be great as I can't find a page on the ms site dealin... |
|
| How to use recordset in vb.net (3 replies) |
| microsoft.public.dotnet.languages.vb.upgrade |
| How can I use recordset equavilent in VB.NET, means I can use oledb.oledbcommand or oledb.oledbDataAdaptor Class but they don't provide anything like rs.EOF (recordset in vb6). Also I have to use datareader which gets only single record at a time so if I want to iterate on entire table then what object should I use. |
|
| How can i use "Any" datatype and implement WriteFile function in .net ? (6 replies, VIP) |
| microsoft.public.dotnet.languages.vb.upgrade |
| Greetings! I've difficulty while declaring WriteFile function in .net. Can anyone please help me out? If possible give me a source code. I'm scanning image then storing in the memory and it's a Tiff Image. Then I need to write in the file, this is where I'm getting stuck and no idea how to move on. Your help will be highly appreciated. Declaration: Private Declare Function WriteFile Lib "kernel32"... |
|