.NETGURU
microsoft.public.dotnet.languages.vb.upgrade
Up to: Discussion Lists

  • RSS Syndication
  • Post a new message to this list...
    Latest Discussions Archive
    Getting values from a COM object through ByRef parameters. (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I asked this question in C# groups but did not get any response back. I decided to try my luck here. My problem is that I can't get values from a COM object through ByRef parameters using InvokeMember method. Here is a very simple example in VB6 C#: I have a test class called RefTest in TestByRef project. The class has only one method: Public Sub Sub1(ByRef x As String) x "asdf" End Sub In my test...
    VBA code in a VB.Net application (is VSA dead ?) (2 replies)
    microsoft.public.dotnet.languages.vb.upgrade
    Hello We have a VB6 application that integrates an VBA IDE from which the final user can make modifications. We want to pass the application to VB.NET, and the first step, before rethinking the whole application, is to pass the conversion wizard and see how it goes. But we want to keep those client VBA modifications working with the least changes made to them. I've tried integrating VBA in a .NET ...
    VB6 Collections (3 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Any ideas on how I can prepare/massage my vb6 collection classes today for my upgrade tomorrow? I utilize: Public Property Get NewEnum() As IUnknown Set NewEnum m colItems.[ NewEnum] End Property
    Using same .bas file in multiple projects (now called solutions) (5 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Hi, Background In my VB6 days I would use sub folders to organise my projects, keeping the files (.bas, .cls etc) in a sub folder per project Example \vbsource\project01 \vbsource\project02 .... \vbsource\project99 In addition, general purpose code (shared between projects) would go in it's own sub folder ... \vbsource\general VB.Net problem In the VB.Net explorer, it seems that ALL the code for a...
    VB 6 Code Advisor Error (6 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I have atempted to use the code advisor on 2 different machines and both receive an error 430 in the error log. To verify that it was not project specific I created a project that does nothing and it still had the error. Configuration 1: Windows 2000 SP4 VB 6 Service Pack 6 Configuration 2: Windows 2000 SP5 VB 6 Service Pack 3 Here is simple code: Public Sub Main() ' This program does nothing and ...
    Reg Vb6 to VB.NET Migration (3 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Hi, I need to migrate a VB6 application to VB.NET appliaction(Sql Server backend) Pls give me some links where can i get resources, what r the things need to considered before and after migration any links and pointers??? many thanks Dinesh
    Change IP of My local machine? (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Hi, everyone. How can I change the IP address of my local machine with VB 6.0 or VB.net? Thanks, Hawre.
    Biggest problem to upgrade to VB.NET (7 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    What is the biggest problem you have faced in migrating a application from VB 6 to VB .NET ? You are welcome to share your experiences. Thanks
    insert into problem (3 replies)
    microsoft.public.dotnet.languages.vb.upgrade
    Hello I want to insert data from TABLE Master into TABLE tempAr. I have the following so far. Both tables are in a Access Database What am i doing wrong? steve SQLStatement "Insert into tempAr(MasterId,Payment)(Select MasterId,Cust leasePmt from masterwhere cust methodofPayment 2)" SetUpDataBase() reader cmd.ExecuteReader() conn.Close() Private Sub SetUpDataBase() On Error Resume Next conn.Close()...
    Structure having array (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Hi, I am having a structure like Public Structure DriveInfo Dim DriveNumber() As Short Dim DriveType As String Public Sub initialize() ReDim DriveNumber(25) End Sub End Structure I need to find the sizeof this structure. I have used Marshal.sizeof() but it returns an error message that is this structure is unmanaged. Can anybody help me. Thanks in advance. From: Suresh VS Posted by a user from .NE...
    Dim strRdBuffer As String * 1024 (3 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Hi, I get an error on this in Visual Basic .NET. I searched the help file but could not find an answer. I can't even find this type "Dim strRdBuffer As String * 1024" construction in VB6. Particularly the "* 1024". I know I declare a stringbuffer of 1 K but thats all. Regards, Marcel
    List of countries (5 replies)
    microsoft.public.dotnet.languages.vb.upgrade
    Anyone know how I can access the "inbuilt" list of countries in Windows? Thanks. VV
    2 newbie questions (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    From: "Hari" harixseshadri@yahoo.com Subject: 2 extreme newbie ?s Date: Friday, August 13, 2004 2:43 PM I just started programming in Visual Basic.NET about a month ago, so I am completely oblivious as to which libraries to look in. However, I have good experience with Java and C. Below are ten extremely simple questions which I couldn't seem to find the answers to after looking in some text and s...
    Runtime errors after upgrade (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    After upgrading my RDO using application to VB.NET, upgrade wizard created a module UpgradeSupport with one single line of code : Module UpgradeSupport Friend RDOrdoEngine definst As New RDO.rdoEngine End Module But then, there is a run time error on the following line : menSBL RDOrdoEngine definst.rdoEnvironments(0) Can anyone help please? Thanks and regards, Eric
    Set Property problem (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    here i have a list box where in i am displaying all the font in my system, and whenever i select a font from the list i need to set that font to the text inside text box. i have a class where in i am setting the font property Public Class fontproperty Private Property Font() As Font Get Return Font End Get Set(ByVal Value As Font) Font Value End Set End Property End Class but how do i assign this ...
    Stuck in .Net 1.1 (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I have upgraded my system to .NET 1.1, But Visual Studio is still using .NET 1.0. How do I get VS to use .Net 1.1?
    most icons missing after upgrade of .res file to .resx file (4 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Hi Everyone, I'm upgrading a vb6 app to .net2003. I'm using the upgrade wizard to do as much as it can, however most of my res file has gone AWOL! :( All bitmaps are converted, all strings are converted, however only the first 2 of the 400 odd icons make it from the .res file into the .resx file. (when I say 'all' the res file is 9mb is size containing 1000's of strings and 100 odd bitmaps so i've...
    Upgrade Error From VB6 to .net HELP! (3 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I am trying to upgrade a program I wrote with VB6 to .net (Using the 2005 Express Edition Beta). When I try to upgrade I get an error: Upgrade failed: Exception occurred: Could not load referenced component: MSADODC.OCX COMCT332.OCX COMDLG32.OCX MSCAL.OCX I looked around and found the cause is noted by Microsoft: http://support.microsoft.com/default.aspx?scid kb;en us;318597 Can someone help me ac...
    DTS package in vb upgrade to vb.net (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    This may not be the right fourm. Need a little help. I am converting an MSSQL Server wizard generated Export DTS package to vb.net and need the default for a connection object. Here is the code giving me the problem. 'UPGRADE WARNING: Couldn't resolve default property of object oConnection. goPackage.Connections.Add(oConnection) UPGRADE NOTE: Object oConnection may not be destroyed until it is gar...
    Language/API Differences between VB .NET & VB .NET 2003 (3 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I have an instructor that is teaching VB .NET and I need to know if there are any differences between VB .NET and VB .NET 2003 that would make a difference with the text book being used. The book is Visual Basic .NET Introduction to Programming 2e, Sprague. We have other departments that want 2003 but I don't seen any real differences (note I'm not a programmer) between 2002 and 2003 that would ma...
    Upgrading VB6 source-code error (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I have been attempting to upgrade the source code for a VB6 program to VB.Net, but I receive an error message saying: "Upgrade failed: Exception occured: Could not load referenced components: COMCTL32.OCX(1.3.0) COMDLG32.OCX(1.2.0) TABCTL32.OCX(1.1.0) COMCT232.OCX(1.1.0) PCTONE.OCX(1.0.0)" The reason that I am listing the whole message is because there is an article (# 318597) which is nearly iden...
    NetShareGetInfo API Call (3 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Hi All, I've posted this to various other VB newsgroups and haven't got any responses, so I hope there are some intelligent people here who actually have an idea in this area. I've been trying to get the API NetShareGetInfo running in VB.NET. Does anyone have any working examples of getting this to work? I am using the following declaration which I don't even know if it is correct, but I also need...
    activeX dll and vb.net (7 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Is there a way to create an activeX dll with vb.net? In vb6, I created a dll which had common code that my applications used. This dll was placed in system32 and used by the apps. I tried creating a dll with vb.net 2003, and it works fine, however, the dll must be in the same directory as the exe. Otherwise I get an failed to initialize error. Any help would be appreciated. Thank you
    License issue for VB6->VB.NET upgrade (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I have a VB6 application using RDO and this program works fine in my user's PC. Then, I upgrade it to VB.NET using Upgrade Wizard. After upgrade, it still worked fine in my development PC but when I deployed it to my user's PC, it threw a runtime exception "System.Runtime.InteropServices.COMException (0x80040112): Class is not licensed for use" in a RDO related statement (Friend RDOrdoEngine defin...
    i Have a problem (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    can you help me about this problem,the message says: The exception unknown software exception (0xc00000fd) occurred in the application at location 0x77f8ed96. Click on OK to terminate the program Click on CANCEL to debug the program what can i do? From: armend belallari Posted by a user from .Net Guru (http://www.dot-net-guru.com/) Id tH rBoWDlE2UQCCB3FLVdw /Id
    Variable Types - mainly API declarations (3 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Hi Group I am currently fixing up my first converted project (VB6 to VB.NET) I am still need to add the required DELEGATE stuff in order to use enumwindows, however looking at a couple of examples (all different) I notice that the variable types have changed. i.e. VB6 was using LONG, the upgrade routine converts these to INTEGER and all the examples I've seen use IntPtr. As a comparision, below ar...
    Upgrade Option Strict Issue (7 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Hi, I upgraded a VB6.0 application that uses the GetRows method to return a 2 dimensional array into a variable of type variant. In VB.NET the Variant variable is of type object but since it's a two dimensional array I changed it to the following: Dim Array (,) as Object On this line: Array rsRow.GetRows(, , "somefield") Now Option strict is barking: Option Strict On disallows implicit conversions...
    How do I converting eVB projects to VB.NET? (2 replies)
    microsoft.public.dotnet.languages.vb.upgrade
    I have a program that I created for a Handheld PC using embedded VB and I wish to convert it to VB.NET so that I can compile it for use on a PC. Has anyone come across a solution for this?
    Upgrading vb6 crystal drs reports to dot net 2003 (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I ran the client VB6 project throught he upgrade process; however, the Crystal DSRs were not upgraded... is this a common occurrence? or is there a workaround to get the reports upgraded as well? thanks Brian
    Printing various fonts (2 replies)
    microsoft.public.dotnet.languages.vb.upgrade
    I am having some difficulty in using the new style printing in .net. I wish to print a block of text with various different fonts for different sections, but I wish them to appear in the saem document. Aside from some hefty playing with rectangular boxed areas is there any way (with the emphesis on simplicity) that do this? Your help is greatly appriciated!
    Implicit Scope (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I am currently porting a sizeable program from VB6 to .net and have to make sure that all variables are declaired (i.e. it will compile in VB6 with Option Explicit). As I have to create declarations for a number of currently implicit variables I have to determine their scope. What is the scope of an implicit variable? Any help is much appriciated Duncan
    data control problem (4 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I am new to VB.NET. I tried to upgrade my project from VB6 to VB.NET2003. I used ADO data controls to populate the data to datagrids. After the upgrade, the ADO controls does not work properly. (there is no error but no records is retrieved) Is ADODC not working in VB.NET ? If so, what should I use to replace it?
    Print with TextOut (3 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I am in the process of moving many of our programs from VB 6.0 and VBS to VB.NET and ran into a big problem with printing to an embossing machine. These are machines that print information on both sides of a card and one side has a magnetic strip. The program was orignially in VBS but was very limitted to what we could do with it. Anyway to the point. When I try to print to the embosser with a Gen...
    Mixing VB6 and VB.Net resource files (4 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I've an application (VB6) which uses resource dll's (only strings) with a LoadResString function. Now I added some new programs using VB.NET. I want to avoid duplicating the resource files, but I cannot find a way to re use those dll's from .NET. Is there a way how I can read the stringtable from that dll? Or how I can share the rc or res file with both the VB6 and the .Net project?
    Index Controls Windows Forms (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I read somewhere that in the next version from VB.Net Controls with indexes will be supported again like in VB6. Is this correct? Peter
    VB 6 COM Convert to VB.net (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Hi, I have create a COM object in VB6, it work fine, but when I try to use this COM in window 2003 server (This server already install VB.net), I use Component Services to register this COM object, but when I use ASP to test, it have a error " WindowMail error '8007202b'. Automation error A referral was returned from the server. " So I try to upgrade this COM from VB6 to VB.net, It can bulid a DLL...
    loading forms only once. (3 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I am trying to write my first app using dotnet after years of vb6. I am trying to load a form from a "main" form but after I have loaded one instance of the form's class I don't want to load any more. Do I have to keep track of which classes I have instantiated or is there a better way of doing this? TIA Terry W.
    Learn the Science of Meditation. Online. (2 replies)
    microsoft.public.dotnet.languages.vb.upgrade
    Learn the Science of Meditation. Online. Sing the Song of the Soul! Yes, you do get beautiful MP3 files with this course, plus wonderful slide shows and numerous other enlightening material from articles to graphics. This is a comprehensively structured course that goes for a year. Next intake is now open and course commences 1 September 2004. Last semester (March to August 2004) attracted over 15...
    Visual Basic .NET 2003 version (28 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Hi, Which version (standard of professional) do I need (ms website is not clear to me) for: developing windows based programs developing ASPX for internet developing windows mobile applications for PDA's Please let me know, so I can tell my boss what to buy? thanks, Eric
    Will Microsoft provide a .NET MMC designer like that for VB6? (3 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Will Microsoft provide a designer like "the MMC Snap in Designer for VB6" for VB.NET or any other .NET environment in the future? If possible,how long will it appear?
    Confused about VBScript and ASP code running on Windows Server 2003 .Net (2 replies)
    microsoft.public.dotnet.languages.vb.upgrade
    I am really confused about how "regular, old, classic" .ASP files written with server side VBScript code are supported in the new environment of .Net running on Windows Server 2003. I am trying to get a large site of .ASP files running without conversion to ASP.Net user controls and in general, minimal modification. I was making some progress and I thought I understood that ASP was supported withi...
    Functionality of ActiveX EXE (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Hello I've looked for the answer to this question everywhere I can think of with no success, and I feel like I'm probably missing something very simple. I'm in the early stages of migrating quite a bit of code from VB6 to VB.NET. In VB6, I was able to create an ActiveX EXE server that would allow me to maintain persistent object data, even during periods when no clients were connected, using globa...
    How to open a com port like COM1 ? (4 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I used open "com1..." in QuickBasic and it was easy enough to find and use I used the Comm control in VB6 (which i now do not have) and it was also easy enough to find and use BUT i cannot get a clue what to do in VB.net ! I tried whatever search word i could imagine using the help ... I searched the TOC of several books ... And i do not have the VB6 to write a simple program and then upgrade it t...
    How to crop and resize with a picture box? (2 replies)
    microsoft.public.dotnet.languages.vb.upgrade
    I am trying to figure out how to crop and resize a picture when you open it into a picture box. Any help would be great. Thanks. Posted using Wimdows.net NntpNews Component Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
    CreateProcess problems in vb.NET (3 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Hi All :) Would be grateful of advice please. I have code in VB6 working as follows: lngReply CreateProcess(sNull, txtStart, ByVal 0&, ByVal 0&, 1&, NORMAL PRIORITY CLASS, ByVal 0&, sNull, sInfo, pInfo) but alas, the 'equivelant' vb.Net code translated as: lngReply CreateProcess(sNull, txtStart.Text, sa, sa, 1, NORMAL PRIORITY CLASS, 0, sNull, sInfo, pInfo) does not execute cleanly. That is, altho...
    CallWndProc() upgrade problem (3 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Hi all, I've come across a wonderful bit of code for generating a 32 CRC on a file at very high speeds unfortunately, it's in assembly... the code in VB6 works fine, but I can't get the thing to upgrade to .NET :( VB6 code (very edited); Private mvCRC32 As Long ' This value starts at 0 and returns from AddBytes with the file CRC Private mvCRC32Asm() As Byte ' This array is filled with pre compiled...
    vb 2005 Express (from VB6) (3 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Mostly I want to thank the powers that be for a much improved upgrade engine that finally handles printing. Now I should note that my upgrade did not really work, on a fairly simple sample: Private Sub btnPrint Click() Printer.CurrentX 10 Printer.CurrentY 10 Printer.FontSize 30 Printer.Font "Verdana" Printer.FontBold True Printer.Print "Yeah Baby yeah!" Printer.EndDoc MsgBox "Done!" End Sub gives ...
    Printing in VB.Net (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I am right now involved in a vb to vb.net migration. Can you help me in giving me hints/tips in converting statements like: Printer.CurrentX (Printer.ScaleWidth Printer.TextWidth(strTmp) LEFT MARGIN RIGHT MARGIN) / 2) LEFT MARGIN There are too many similar instances, where positions are calculated, where printing should happen. It will be of great help to me if anyone can throw some light on this....
    datagrids (2 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    Hi, all: In VB6, I can do this: private sub someGRD keypress(ascii as integer) 'if user press 'enter' then do.... if (ascii 13) then ....... end if end sub How can I do this in VB.NET? Thanks.
    As Any Not Supported (3 replies, VIP)
    microsoft.public.dotnet.languages.vb.upgrade
    I am currently attempting to port several legacy apps to VB.Net. One thing I am finding is the use of 'As Any' which will not upgrade, often it is easy enough to replace with a specific type, but almost as often it's not, and nothing seems to work as a replacement. Can anyone give me any pointers I could try here?
    Visit the archive for messages from this site.
  • October 2001 (36 items)
  • November 2001 (6 items)
  • December 2001 (9 items)
  • January 2002 (9 items)
  • February 2002 (19 items)
  • March 2002 (15 items)
  • April 2002 (24 items)
  • May 2002 (15 items)
  • June 2002 (9 items)
  • July 2002 (10 items)
  • August 2002 (17 items)
  • October 2002 (21 items)
  • January 2003 (27 items)
  • February 2003 (19 items)
  • March 2003 (9 items)
  • July 2003 (27 items)
  • January 2004 (91 items)
  • February 2004 (17 items)
  • March 2004 (11 items)
  • April 2004 (28 items)
  • May 2004 (9 items)
  • June 2004 (8 items)
  • July 2004 (9 items)
  • August 2004 (37 items)
  • September 2004 (7 items)
    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