Jump to content

All Activity

This stream auto-updates     

  1. Last week
  2. VB6 to 2017 C# Migration

    Hi Ramya, Code migrated not necessarily compiles without requiring manual changes and having installed in the machine where the VS.Net code is located all thirdy party components required by the vb6application and are used via COM interop by the .Net migrated code. After migrating the vb6 code you may need to address the following issues in order to have the code compiling: 1. Make sure all dll's (COM and Assembly ones) and thirdy party components used by the vb6 application and used via COM Interop by the migrated code are installed on the development machine where Vs.Net code is located. If dll's required by the migrated code are not in the .Net development environment, then, missing references errors are thown by Vs.Net. 2. EWIs review: In the generated code you may find some messages inserted by the Upgrade tool that provide some useful information about code patterns/methods/events that have not a direct equivalent in .Net and require your attention: a.UPGRADE_TODO: (1065) Error handling statement (Resume Next | On Error Goto) could not be converted. b.UPGRADE_TODO: (1067) Member <member> is not defined in type <type> c.UPGRADE_ISSUE: (2064) <Object> (method | property | event) <member> was not upgraded d.UPGRADE_WARNING: (206) Untranslated statement in <method> e.UPGRADE_ERROR: (1010) The preceding line couldn't be parsed 3. If the converted application connects to a Database, some adjustments in the connection string may be needed. Please le tme know if this resolve your question. Regards, OlmanQ
  3. VB6 to 2017 C# Migration

    Hi, We are trying to convert vb6 to C# using winforms from Windows10 and facing the following issues after conversion. Code is not compiling in VS. We are seeing errors where dlls are missing or dlls are not loaded or referenced properly. Please let us know what needs to be done in order to get this issue resolved at the earliest. We have around 22 projects within solution and every project has the same issue. Thank you in advance! Ramya
  4. COM or no COM

    As Olman said above, not all properties, methods, or events from ActiveX components are guaranteed to be supported by newer, equivalent classes in .NET
  5. Earlier
  6. Migration issue from VB 6 to VB.NET 2017

    Hi Devashi, I looks like your vb6 application is using that component/reference that is used in the migrated application as well via COM Interop. Before migrating a vb6 application, make sure the source code to be migrated compiles, that would help you to know if there are missing components/references. Some of those components can be converted to .Net equivalents but some others don't so they would be used via COM Interop. All those components that would be used via COM Interop by the migrated code will need to be properly installed in the machine where the .Net code is executed. Please let me know if that answers your question. OlmanQ
  7. Hi, I am trying to migrate an old project which was done in Visual Basic 6 to the latest Visual Studio 2017 VB.NET. I found your tool after carefully searching the internet and tried to use it to migrate my project. I was successfully able to migrate with some minor issues. However, I am unable to compile the application in Visual Studio 2017 since it gives me the following error: Severity Code Description Project File Line Suppression State Error Did not find a registered ActiveX control in 'C:\Windows\System32\msdxm.tlb'. armDriverVBNetSupport D:\VB-Project1_.Net\Upgraded\armDriverVBNetSupport\AXIMP Could you please help?
  8. Upgrade hangs

    Hi Nas, The vb6 code is compiling on the machine where it's being migrated? I think I 'll need more info about the issue. Is it possible for you to send me the project being migrated. My email is oquesada@mobilize.net Regards, OlmanQ If so, it is possible for you to send me the project being migrated?
  9. Upgrade hangs

    The version of VBUC is: 8.0.21218.1 Regards, VBUC-Support-Files.zip
  10. Upgrade hangs

    Hi Nas, I'd like to ask you a couple of things: 1. Version of VBUC. You can get this info in the about windows. 2. Upgrade Log file. You can get it by going to the Upgrade section, then choose Open Upgrade Log. Regards, OlmanQ
  11. Upgrade hangs

    Hi, What could be the reason why an ugrade hangs during upgrade? Also cpu for the "Freedom Engine COM Server" at 100% Many thanks
  12. What is the output target architecture of WebMAP3?

    Hi John Thanks for share. Best regards Cyberops
  13. VBU.exe has encountered a problem and needs to close...

    Hello Symantec User Session has encountered a problem and needs to close. We are sorry for the inconvenience. ____________________________________________ Best Perdisco Assignment Help in Australia
  14. .dvb to vb.net

    Hi Shreenivas, The VBUC tool does not support dvb files as this is a proprietary AUTOCAD format so it's out of our control. Regards, OlmanQ
  15. .dvb to vb.net

    Hi Olman, Just like VBA in Excel, AutoCAD too has a VBA. Unlike Excel the project (the forms, modules, classes and a special class ThisDrawing) is stored in this file. Like a VB6 project it also stores the dll and ocx refences. I am unaware how the .dvb file can be read without AutoCAD application.
  16. .dvb to vb.net

    Hi, Could you please send me a vb6 sample including that file? I tried creating a vb6 project from scratch, then adding the attached dvb file, but VB6 is not able to add that file to a valid vb6 project.
  17. .dvb to vb.net

    I have some forms, modules and classes designed in VBA 6 in AutoCAD. These are stored in a file with extension .dvb. Is it possible to convert these to vb.net? I would like to try it out and for that I have created a sample .dvb file for purpose of trials. I am attaching the sample file for reference. TrimedDVB.dvb
  18. COM or no COM

    Thanks. This mostly answers the questions. You mentioned that the interop may bock some of tbe properties and functionality of the original Active-X. Does it also mean that the .Net equivalents are designed to retain all the properties and functionality of the original Active-X?
  19. COM or no COM

    Hi, The Visual Basic Upgrade Tool (VBUC for short) support the conversion of some COM/Activex components to .Net equivalents, however, it's possible some properties or methods may not be supported in .Net. At the end of the day an Activex is not a .Net component and given that VS.Net creates an interop wrapper to communicate the .Net Framework with the COM component in practice, some functionality of the Activex could cause memory-leaks. It is also possible some component design properties are not accessible in .Net. In regards with your second question, for a COM / Activex component to work in .Net, the in application must be compiled in 32 bits. If you want to have a 64bits app, yuou need to replace all COM functionality by .Net. Please let me know if you have any other question. OlmanQ
  20. COM or no COM

    While migrating from vb6 to vb.net we are offered a choice to use COM or not (i.e. use SS??? components). 1) What should be the deciding criteria? 2) Would the interop components work on 64bit Windows 10 professional?
  21. Some errors occured

    Please try this one: https://github.com/Microsoft/msbuild/issues/778 Regards, Olman
  22. Some errors occured

    I am also having this exact problem and using VS 2015 update 3. Tried going to the link above but the page is not found. Any updates?
  23. MultiDimensional Array with ArraysHelper

    Thanks Kevin, I'm glad to hear the issue is gone. As you mentioned, by just modifying the property return type would fix the issue. Cheers, OlmanQ
  24. MultiDimensional Array with ArraysHelper

    Hey Olman, Just discovered the small error - the class that in which the object is instantiated from has a property of a single dimensional array. It's now fixed, but I've attached snippet if you're still interested. Thanks, Kevin castArrayError.cs
  25. MultiDimensional Array with ArraysHelper

    Thanks Kevin, Could you please include the definition of mobjEmployeeL2.EmployeeArray in both languages VB6 and C#, and the definition of astrGridData in vb6? OlmanQ
  26. MultiDimensional Array with ArraysHelper

    Error occurs on line 74. Comments above, from line 69 -71. Thanks, Kevin VBUC_CastArray_Sample.cs
  27. MultiDimensional Array with ArraysHelper

    Hi Kevin, Could you send us a code sample where this error is happening? Please includes all variables definitions. Regards, OlmanQ
  1. Load more activity
×