microsoft.public.dotnet.languages.vb.upgrade Archive - October 2001
Post a message to this list
Messages
Page: 12
Controls on other forms (3 replies)
microsoft.public.dotnet.languages.vb.upgrade
How do you reference a control on another form within your application? Everytime I attempt to do this I receive the message, "This reference to a non shared member requires an object reference, and none is supplied." The help page for this message is blank. In VB6 you could use a statement such as: Sub Label1 Click() form2.label1.caption form1.label1.caption End Sub Thanks, Mark
Will final version upgrade common controls. (3 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hi all, loaded beta 2 onto a clean 2000 machine, and let it upgrade as it wished (W2K sp2,IE6,MDAC2.7 etc ....) Loaded our app, and it started to give exception errors in the upgrade wizard saying it couldn't find MSCOMCTL2.OCX etc .... I guess it has "upgraded" them, and now can find them when it needs to reference them for the existing project. Will this be fixed in the final release so it autom...
Forms Collection replacement (2 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
In VB6, I enumerated all my MDI child forms using the Forms collection and dispatched a close message to each one. Is there an easy equivalent in VB.Net? The Wizard suggests that I have to maintain my own collection now
ActiveX Exe's (3 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
I need to know what the equivalent of a Single Instance class in an ActiveX exe project is. It's essential that I have a seperate NT PID, process ID, for each user attaching to this program. Our company uses a database which requires an open connection at all times. In our current configuration, we have a single instance class in an ActiveX exe that remains in memory the for the duration of the cl...
Create dll in VB.NET (2 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
Sorry for my english When i create dll in vb.net and i want install it to COM it writes:"One or more files do not contain components or type libraries.These files cannot be installed".The same code i put to VB6 and everything was OK.Should i add something to the code or change in preferences? Thanks. Michal Steller
richtx32.ocx (2 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
Where can I find a richtx32.ocx for .net beta 2. The one from VB6 when registering reports invalid access to memory location asm atl
COM ParamArrays (3 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
When upgrading I was trying to leave some DLLs in VB6. One of the problems was the use of ParamArrays. The message on upgrade said this was not supported in Beta2. Will it be supported in Release? Bruce L C
Upgrading Project Group (2 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
I have a VB6 application that consists of many dll's. Many of them are project compatible, some are binary compatible. How am I supposed to upgrade this? When I try to open a project (in order to invoke the upgrade wizard) it will not list the project group that I want to select. Does the upgrade wizard not handle project groups? Bruce L C
How to create & use a native dll while upgrading from VB6 to VB.NET? (3 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
I have an Active x dll project in VB6 which generates a dll absolutely fine which I am able to add as reference in other projects after registering using regsvr32.When I tried to upgrade the same thing to VB.NET and try to use the dll generated by VB.NET, I could not register the dll using regsvr32.It says there is no entry point to the dll.This dll couldn't be added to another project as referenc...
PaintPictue functionality is where .... (2 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hi, With VB6 to resize (scale, maintaining aspect ratio) an image, I used code like: Picture1.PaintPicture Picture2.Picture, imgX, imgY, imgW, imgH where X & Y and H & W were calculated based on the images actual size (in pictue2) & the available display space (picture1). With VB.net, I can load an image from a file, but have yet to stumble on a graphic function to do the resize can someone get me...
intellisense (4 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
I noticed that the intellisense in VS.NET isn't quite as good as the intellisense in the VB6 editor. For instance, if I press Ctrl J to popup the list, it doesn't select the nearest match based on the text in front of the cursor. Also, if I select a new entry, it doesn't replace the text in front of the cursor either. I have to delete it manually. That was a useful feature. Any reason why it was d...
Create Child Object at Runtime (2 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
I'm not sure how to phrase my question in VB speak, but.... Is there a way to add a custom object as a child object programatically at run time? I know I can do the following within a method: dim obj As New SpecialObject(). But if you do this the object will go out of scope and be released when the method ends. Being a VFP programmer I can do the following: ThisForm.AddObject("ObjectName", Special...
VB6 & vb.net on same machine? (9 replies)
microsoft.public.dotnet.languages.vb.upgrade
Would it be practical to run both; I want to keep my current stuff as is but start using vb.net to play with.
How to create and use the native dll while upgrading to VB.NET (2 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
I have an Active X dll project in VB6 which I am abe to generate and register and use in other projects as references.I tried to upgrade this project to VB.NET. and tried to generate the dll.This dll I am unable to register and use in other project.It says that the dll cannot be loaded coz there is no entry point to the dll.What should be done?
how to inherits Event (2 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
I want to create a base class which has a base event. the child class will Inherits the event. so I can concentrate the Event pool. I donot know how to do this . need help
Upgrading User Controls? (4 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
I have read that User Control upgrades are still not supported in the Beta 2 upgrade wizard. Is this feature going to be in the RC? Ken Hanson
picturebox no longer a simple frame container! (3 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
It seems that in VB.NET the old picture box that we all love to use as a container for other objects, isn't a container any more! Why was this change made?
How to write a COM+ in VB.NET ? (2 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
Need help and example in creating COM object/component in VB.NET. Example : Public Function SumAB(byval a as integer, byval b as integer) as integer SumAB A B End Function TQ Mr Art NDT Software Consulting Penang, Malaysia *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
Event-handling for MSAgent on VB.NET (2 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
Does anyone know how to trap and handle events, for the MSAgent ActiveX control, when it is placed on a VB.NET form? I am not getting events like Click(), etc. thanks, Dan
COM objects and Visio 2002 (3 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hi, I am writing a COM Addin for Visio 2002 using VB6. I have been trying for the last several days to upgrade to VB.net beta 2 without much luck. I am looking for the following advice: 1. Is Visio ready integrating with ".net" or should I be waiting for Microsoft to send out a new version that is ".net" compliant? 2. If I should go ahead, How do I get my visio com addin launched from the Visual S...
Control Arrays in Custom Controls (4 replies)
microsoft.public.dotnet.languages.vb.upgrade
I have a VB6 custom control I'm trying to re implement in VB.Net. The overall control acts as a keypad for use on a Touch Screen system. Each "key" on the keypad is a button control, loaded as an array. This way, trapping events is all done in one place as is setting captions, fonts colors etc. It also helps when I add another row or column of buttons I can dynamically load / unload them as requir...
adding nodes to treeviews (2 replies, VIP)
microsoft.public.dotnet.languages.vb.upgrade
This must be a very simple one, but anyway: I'm populating a TreeView control in VB.NET , and would like to use a key for each node, the same way as we did in VB6. It seems that this property has gone from the TreeNode. Any ideas? Cheers Rik
ComboBox.ItemData problem (6 replies)
microsoft.public.dotnet.languages.vb.upgrade
Hi all, just wondered why there was an issue upgrading a ComboBox from VB6 to .NET .... Unfortnately the wizard can't seem to finish the upgrade ... regards Jason
Collection Object (4 replies)
microsoft.public.dotnet.languages.vb.upgrade
NewEnum function is not a member of VB.NET collection object.What is the equivalent here.
Same App Control Subclass Available in Toolbox? (7 replies)
microsoft.public.dotnet.languages.vb.upgrade
When designing an application, there are many times when it is necessary to create a set of controls that provide additional functionality through subclassing and then being accessed programatically in the same applicaiton or if the classes are compiled and included in subsequent applications, the controls can be included in the Visual Designer. BUT and this is a BIG BUT!! ..NET needs the ability ...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification