Jump to content

All Activity

This stream auto-updates

  1. Yesterday
  2. Last week
  3. Earlier
  4. Hello Prasad, The licensing is done based on a total number of lines of code (i.e. if you have 5 applications of 10,000 lines of code you'll need a license for 50,000 lines of code). We can generate individual licenses for each application or we can generate a single one that lets you migrate all of the apps (at once or independently). We do suggest you migrate the apps that are related (when they have inter-dependencies or shared files) at once. This will ensure those internal references and shared files are generated correctly and prevent some extra work after the automatic migration. Please tell them to reach out to us at [email protected] - Will
  5. Hello Will, One quick question on the licensing part. We have a few applications which had been developed in VB as well as Classic ASP. In order to migrate all these applications, do we need separate license for each application or based on the number of lines, license will be issued? My organization will reach out to your sales team soon for licensing part. Appreciate all your feedbacks Regards, PRasad
  6. Hello Prasad, yes, the same VBUC can be used to convert classic ASP.
  7. We have a few applications which all developed using Classic ASP. Would that be possible to use the same VBUC to migrate into .NET? or do we have any other specific tool which you are providing for the Classic ASP to .NET migration? Regards, Prasad
  8. Visual Basic supports a way to call external classes with the CreateObject() function. The function takes a class name as a parameter. Here's an example: Dim ExcelSheet As Object Set ExcelSheet = CreateObject("Excel.Sheet") In this case, the parameter for the function is a string literal ("Excel.Sheet") and the VBUC will migrate the VB6 code correctly. However... Suppose you have this VB6 code: Const XL = "Excel.Sheet" [some code] CreateObject(XL) In this case the VBUC will display the error "CreateObjects statements using a variable instead of a literal string" in the output code. This is because the value of the variable "foo" can change over time. In this case, it's advisable to replace the variable in the CreateObject syntax with the actual name of the object class being called: CreateObject(Excel.Sheet)
  9. Hello Prasad, Please reach out to us at [email protected] where we can assign you an account manager and a solutions architect that will help you with a license you can use in production and a support package that can help you complete the modernization successfully. - Will
  10. Thank you. I'm able to build and and run the application. but still there are some issues. Would that be possible to provide some assistance from your end? Regards, Prasad
  11. Hi It looks like your application is ready to be opened. - PreProcessInfo contains info compiled by the VBUC regarding the source application. - Upgraded. Folder with the C# converted code - UpgradedSupport. Folder with herlper classes required by the converted code. You can now go to Upgraded folder and open the VS.Net solution contained there and check the C# code. Regards, OlmanQ
  12. Thank you. I have converted one VB application into c#. please find the target location. here i can see three folder. which one needs to be considered? where i need to add the App.Config file?
  13. You're welcome. The current version of the VBUC doesn't have 4.8 as an option, but selecting 4.7.2 will not prevent you from using it. It will be updated once you open it in Visual Studio. - Will
  14. Thank you so much. I was trying the free trail for converting VB 6.0 to .NET. I have .NET 4.8 version installed in my desktop, but in tool, i couldnt see the target version as 4.8. Am I missing something?
  15. Hello, thanks for your interest in our tools. Let me try to address your questions: MSDN: The license will let you migrate one application of up to 10,000 lines of code and put it into production. 1. The recommendation is to go with the latest version of the Framework, however it is important to note that .NET Core / .NET 5 don't have support for all the libraries and you might need some additional manual work. Things such as remoting (when converting COM+ objects) or the VB compatibility libraries will not work there. Also, some third party libraries might not have .NET Core support. This will depend on the things you use on your application. 2. No, the VBUC is licensed per-application. The license file itself will be tied to a particular application or set of applications. 3. Please send an email to [email protected] to get specific pricing for your particular application. The pricing will be based on the size of the application. We can also offer some help with the remaining manual work if you need. 4. There will always be some manual work required to stabilize a migrated application. This might be because of unsupported components or changes between the platform. This will depend on your application and how it is written. Our docs have some information of common issues and how to address them: https://docs.mobilize.net/vbuc/issues-troubleshooting 5. Same answer as above. The manual effort will depend on the type of components used in the application. Normally you will require between 1/5 and 1/10th of the time it would require to do a manual rewrite. Typical VB6 applications will have around 95-98% of automation. Meaning 2%-5% of the lines will require some kind of manual change. You also need to take into account testing. Even if you got 100% automation you still need to test the entire application because all the code is re-generated. Please let us know if you have any additional questions and please send an email to [email protected] to get the pricing information. - Will
  16. We have a few legacy applications developed using Classic ASP and Visual Basic. Now we are thinking to migrate these applications into .NET(4.8/.NET Core/.NET 5.0/.NET 6.0). We are looking for some information regarding the Licensing part. I have seen that if we have MSDC subscription, free license will be provided for converting upto 10000 lines of code. Questions are below 1. What are the recommendations in terms of choosing .NET version for migrations. 2. Would that be possible to use the same free license for multiple applications with lines of code less than or equal to 10k? 3. We have many application with more than 10K lines of code.? what kind of additional license needs to be purchased? 4. Are you forecasting any challenges while using this VBUC for migrations? 5. How much amount of manual effort requires for the issues encountering during the upgrade?
  17. Hi Art, Those features are limited by the browser and the path info of the file is not accessible due to security reasons so different workarounds have to be analyzed. If you want to get more information about this product you can reach our sales engineers in our chat area in Mobilize.net.
  18. I have an ASP.net legacy application that relies heavily on asp:fileupload. We have servers with millions of graphic images in millions of directories and sub directories. When an image needs changing, the user clicks browse for file button and the standard file dialog comes up. Once the requestor selects the image, file path information including the file name is stored in a ticket/database. This way a graphic artist can find the image to fix. So, if the file is g:\media\images\test.png, the ticket/database will contain g:\media\images\test.png and NOT g:\fakepath\test.png. I do know this is a browser security issue that can be overridden because Electron does it (Visual Studio Code for example). Will your conversion process allow this to occur in the converted code?
  19. Hi, This exception is related to late-binding in VB.NET. In this case strGrpName (defined as object in the method definition) is resolved as string in runtime. There're a few options: 1. If strGrpName is always an string, then change its type from object to string in the parameter definition. This will imply the offending line has to be modified as follows: spmGrp.Value = strGrpName 2. If there's not certainty on the real type for strGrpName: it could be strng, integer or any other datatype, then, the offending line could be modified as follows: If (TypeOf strGrpName Is String) Then spmGrp.Value = Convert.ToString(strGrpName) end if Additional if-statements must be added for the other possible types of strGrpName.
  20. After conversion SMP function fails on below highlighted code VB6 Code:Public Function If VBA.IsObject(strGrpName) = Fa GetSPMProp(ByVal strGrpName As Variant, _ ByVal strPrpName As String, _ ByRef blnExists As Boolean) As Variant Dim spmGrp As COMSVCSLib.SharedPropertyGroup Dim spmPrp As COMSVCSLib.SharedProperty Dim blnGrpExists As Boolean ' get the SPM group lse Then Set spmGrp = GetSPMGroup(LockSetGet, strGrpName, blnGrpExists) Else Set spmGrp = strGrpName End If ' create the SPM property Set spmPrp = spmGrp.CreateProperty(strPrpName, blnExists) ' get property value GetSPMProp = spmPrp.Value Set spmPrp = Nothing If VBA.IsObject(strGrpName) = False Then Set spmGrp = Nothing Else 'Set spmGrp = strGrpName End If If GetSPMProp = "0" Then GetSPMProp = "" End If Set spmGrp = Nothing Set spmPrp = Nothing End Function VB.Net Code Public Function GetSPMProp(ByVal strGrpName As Object, ByVal strPrpName As String, ByRef blnExists As Boolean) As Object Dim spmGrp As System.EnterpriseServices.SharedPropertyGroup Dim spmPrp As System.EnterpriseServices.SharedProperty Dim blnGrpExists As Boolean ' get the SPM group 'UPGRADE_WARNING: IsObject has a new behavior. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"' If IsReference(strGrpName) = False Then 'UPGRADE_WARNING: Couldn't resolve default property of object strGrpName. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' spmGrp = GetSPMGroup(COMSVCSLib.__MIDL___MIDL_itf_autosvcs_0001_0164_0001.LockSetGet, strGrpName, blnGrpExists) Else spmGrp = strGrpName-----this line throws error Unable to cast System.string to System.EnterpriseServices.SharedPropertyGroup End If ' create the SPM property spmPrp = spmGrp.CreateProperty(strPrpName, blnExists) ' get property value 'UPGRADE_WARNING: Couldn't resolve default property of object GetSPMProp. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' GetSPMProp = spmPrp.Value 'UPGRADE_NOTE: Object spmPrp may not be destroyed until it is garbage collected. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6E35BFF6-CD74-4B09-9689-3E1A43DF8969"' spmPrp = Nothing 'UPGRADE_WARNING: IsObject has a new behavior. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="9B7D5ADD-D8FE-4819-A36C-6DEDAF088CC7"' If IsReference(strGrpName) = False Then 'UPGRADE_NOTE: Object spmGrp may not be destroyed until it is garbage collected. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6E35BFF6-CD74-4B09-9689-3E1A43DF8969"' spmGrp = Nothing Else 'Set spmGrp = strGrpName End If 'UPGRADE_WARNING: Couldn't resolve default property of object GetSPMProp. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' If GetSPMProp = "0" Then 'UPGRADE_WARNING: Couldn't resolve default property of object GetSPMProp. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6A50421D-15FE-4896-8A1B-2EC21E9037B2"' GetSPMProp = "" End If 'UPGRADE_NOTE: Object spmGrp may not be destroyed until it is garbage collected. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6E35BFF6-CD74-4B09-9689-3E1A43DF8969"' spmGrp = Nothing 'UPGRADE_NOTE: Object spmPrp may not be destroyed until it is garbage collected. Click for more: 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="6E35BFF6-CD74-4B09-9689-3E1A43DF8969"' spmPrp = Nothing End Function
  21. Can you post the before and after code (VB6 and C#)?
  22. I have converted my vb6 code to c#, after conversion i ran the application and i am getting below for CopyMemory function in kernal32.cs Marshal.StructureToPtr(Dest, source, true) Error: System.AccessVoilationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
  23. Hello Senthil, could you provide more information like operative system (Windows, MacOS) and SnowConvert version? another important question is if this exception was thrown the first time that you run SnowConvert or you already ran several times?
  24. In Snowconvert, input an sql file and getting the below exception in step 1. Critical: Error executing task ConversionBeginTask: Object reference not set to an instance of an object. StackTrace = at Mobilize.Common.Store.SqliteStorage.Init()
  25. BobE

    License Costs?

    We realize that it can be off-putting to not be able to provide pricing without learning more about your application. In order to provide pricing for the standard VBUC license, we rely on our assessment tools to determine the size of the application. Size is measured in effective lines of code (ELOC). ELOC ignores blank and comment lines. You can download the assessment tool from here: https://studio.mobilize.net/Assessment/DownloadOfflineAssessmentWizard. Once you've sent us the zipped assessment results, we can turn around pricing options fairly quickly. The report will also provide information to determine the level of automation that you can expect from the VBUC. In addition, it will also tell us about third-party components, Windows API calls, and other potential challenges. All very important to understand, when price alone is not enough to determine over value and return on investment.
  26. Frank

    License Costs?

    Dear sirs. Is there a page on your website where I can see up front the cost of the License?. The truth is that almost no real project is under 10k lines. I would like to know this first before running any trial/test which requires time and research to finally decide if this is the right tool regading cost/benefit. Thanks and best regards.
  27. Hello @Vero I'm reviewing your scenario, and I have some questions, Do you have the legacy application running on any machine? First scenario -- We need to check the reference in order to validate if we can delete the reference. Second scenario -- The reference is used, it means that the references are mandatory to migrate the project using the VBuC tool Third scenario -- if you have the migrated project, but is not compiling? we need to check the references to include the legacy reference or try to replace the reference to use a .Net version. Kind Regards.
  1. Load more activity
  • Newsletter

    Want to keep up to date with all our latest news and information?
    Sign Up
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use