Jump to content

All Activity

This stream auto-updates     

  1. Yesterday
  2. Hi, Support. So, I've two questions: 1)where I can download analyse tool for vb6 apps for WebMap? 2)In my vb6 app we use 3th part tools like Janusgrid and Aebacus, WebMap can migrate this vb6 code exists for Janusgrid or Aebacus? Thank you.
  3. Earlier
  4. OlmanQuesada

    Documentation for UpgradeHelper projects

    You can find inline documentation in the helper classes and you're also free to edit them. The recordset helper tries to infer the right command type, but when the basic clauses are not fulfilled it has to get the database schema to find if the recordset is populated by querying to a table name. Retrieving the schema has a very important impact on the performance, so in this case modifying the source code by using the exec keyword would help to reduce the performance. Regards,
  5. MichaelLotosh

    Documentation for UpgradeHelper projects

    I get expected results with or without "exec" keyword. It's just with "exec" keyword I get results 10 times faster. With "exec" keyword the code enters first "if" statement in getCommandType function and exits function right away. Without "exec" keyword the code continues to get DB schema which takes long time. Like I said before, It would be nice to have some documentation to better understand if some functions needs to be modified/removed in UpgradeHelper projects. Here is the sample code that I use to populate recordset: ADORecordSetHelper rs = new ADORecordSetHelper(""); DbConnection connCurrent = UpgradeHelpers.DB.AdoFactoryManager.GetFactory().CreateConnection(); rs.CursorLocation = mCursorLocation; connCurrent.ConnectionString = ConnectionString; connCurrent.Open(); DbCommand TempCommand = null; TempCommand = connCurrent.CreateCommand(); TempCommand.CommandText = "SET ANSI_WARNINGS OFF"; TempCommand.ExecuteNonQuery(); rs.Open(SQLQuery, connCurrent, mLockType); rs.ActiveConnection = null; UpgradeHelpers.DB.TransactionManager.DeEnlist(connCurrent); connCurrent.Close(); connCurrent = null; return rs;
  6. OlmanQuesada

    Documentation for UpgradeHelper projects

    Hello Michael, In my understanding, the recordset is populated by executing a stored-procedure. Could you provide us a quick sample of how the recordset is populated? If you use the "exec" keyword when executing stored procedures the results is the expected?
  7. MichaelLotosh

    Documentation for UpgradeHelper projects

    Hello, Do you have any documentation for UpgradeHelper projects? I just had an issue with ADORecordSetHelper.getCommandType function. Our project calls stored procedures without "exec" keyword. getCommandType function is trying to load db schema in order to identify CommandType. Each query loads about 10 times slower with this function. You normally don't see the difference if the form is using couple of SP calls, but on heavy DB forms the difference could be several seconds! getCommandType function even after loading DB schema still ignores SPs and assigns default "Text" type to CommandType. It would've been nice to know before that we don't need this function since it assigns "Text" type to all DB calls anyway.
  8. OlmanQuesada

    rs.getProperties().Item("Unique Table")

    Hello, ADO.Net does not provide that functionality as classic ADO or ADODB does, that’s why the VBUC generate a stub indicating that property is not supported. In order to achieve the same functionality will require changes in your migrated code. The VBUC converts classic ADO components (like the recordset) to ADO.Net components. In specific, the recordset is migrated to a helper class that inherits from the System.Data.Dataset object. This class includes methods/properties to emulate the behavior of the classic Recordset when possible, but there are some of them that cannot be emulated as ADO.Net does not provide any way to recreate them. For instance, using the <Recordset>.Properties(“Unique Table”) to indicate which table to be updated when the recordset is populated via a SQL JOIN statement. To get the functionality described above, you can use the <RecordsetHelper>, the Update/Insert/Select clauses must be provided in order to perform those operations. You can use the SQlInsertQuery, SQLUpdateQuery and SQLDeleteQuery properties of the RecordsetHelper class to indicate the Sql statement to use to execute SQL operations. As a workaround to this, Update/Insert/Delete SQL must be specified to perform those operations (here some info from Microsoft : https://docs.microsoft.com/en-us/aspnet/web-forms/overview/data-access/advanced-data-access-scenarios/updating-the-tableadapter-to-use-joins-cs)
  9. KevinKor

    rs.getProperties().Item("Unique Table")

    We populate the recordset with a join of table1 and table2. In some other place in the code, we need to update the record from table1. Without rs.Properties("Unique Table") = "table1" the recordset will update the records from both tables and not just table1. It then calls the method, getProperties, which is in the NotUpgradedHelper class.
  10. Arvind

    OWC Charts Conversion - From Classic ASP to ASP.NET

    Hi Alberto, This really makes me feel how silly I was. Yes, it did work! Thanks your help! Since the DLL was already under a subfolder of the selected root, I thought it automatically finds the DLL. Lesson learnt! Thanks, Arvind MR
  11. AlbertoEspinoza

    OWC Charts Conversion - From Classic ASP to ASP.NET

    Hello, For this specific scenario, the VBUC was unable to resolve the reference to the dll containing the class OWC.Chart. In these circumstances, you can right click over the unresolved createobject in that list, and choose the "Set Reference manually" to indicate the location of the dll containing that class. Please let me know if that works for you. Regards,
  12. Hello, I recently bought the Mobilize VBUC to convert from Classic ASP to ASP.NET for one of my website. While conversion, the tool is unable to resolve the references for OWC Charts. I am sure there is a DLL file (msowc.dll) in our code path, with which the tool can resolve the reference. But it fails to resolve the same. Please find the error below: Could you please let me know if Mobilize does not recognizes OWC Charts? or Can you help to fix this issue? Note: My application uses Chart depictions, which uses OWC. Thanks, Arvind MR
  13. AlbertoEspinoza

    rs.getProperties().Item("Unique Table")

    Hello Kevin, Could you share a sample code in VB6 where that is happening, please?
  14. Hello, VBUC didn't convert the code: rs.getProperties().Item("Unique Table").setValue("tableColumnName"); Do you have any recommendations on how to handle it?
  15. KevinKor

    rs.Properties("Unique Table")

    How would one modify the code to get similar results for an Update method? Currently, the method goes as follows: "AdoRecordSetHelper.getProperties().Item("Unique Table").setValue("table");" Thanks
  16. AlbertoEspinoza

    buy a license

    Hello Thomas, You can contact our sales department via email, info@mobilize.net, Alberto.
  17. bitboss

    buy a license

    Hello, I am looking for to buy the license and didn't find anything. Is there a special web side? Thomas
  18. smithassignment1

    Receive Error License is invalid when try evaluation copy

    That's really a good project to make. i will also thinking to work on it. But I am presently working as a professional content writer.
  19. Hi Danny Paniagua, Here is my PC configuration - Operative System: Windows 10 (Enterprise)- Language: ENU- Edition: Enterprise- Version: 1703 - OS build 15063.1029 Note: I do not see the threshold information. Hope this help. Let me know if you need any additional information. Thanks Chi
  20. DannyPaniagua

    Receive Error License is invalid when try evaluation copy

    Hi Chi, We're trying to figure out what's the problem that you are experiencing on your environment, however our tests work with no issues. We will require of your support identifying the environment characteristics that might be affecting the tool, so we will need more information about your win10 environment in order to try to reproduce the problem you have reported. We have the following configuration: - Operative System: Windows 10 - Language: ENU - Edition: Enterprise - Version: 10.0.10240 (Threshold 1) Can you provide us the information about your configuration? Thanks in advance, Danny Paniagua
  21. The purpose of this document is to provide a quick guide to implement a unit testing project with Microsoft Unit Test Framework in Visual Studio for Managed Code. It contains the basics about unit testing and provides the necessary steps to create a project, create unit tests and run them in Visual Studio Test Explorer. I hope you find it useful. Any question, comment or suggestion is welcome to make the document better. Thanks for reading. Josué. Unit_Testing.pdf
  22. Good to hear that. We will definitely look deeper into the issue to identify what was causing it. Thanks for the feedback.
  23. hi JuanManuel, I am able to make it work on Windows 7. The license is work. Is there any known issue for Windows 10? Thanks Chi
  24. Hi Chi, Let's work this together. To answer your previous question the VBUC can be installed on a Windows 10 computer, it shouldn't be an issue. I want to understand the whole process you are doing so I need a few things from your side. Setting up the VBUC license can be done through the "browse for existing license file". Select the new license you were given. After selecting the license, go to tools>license info. It should appear in here. The next thing I want to check is if you are able to apply the VBUC to a sample code. When you downloaded the VBUC it came in a .zip file. Inside of it, you will find a SampleCode.Zip. Select as the solution on the VBUC the folder (path: Sample_code>SKS>SKS_VB6) and apply the migration process. Please let me know if you still get the issue with this particular project. If you don't get any error the issue might be related to your particular project or the settings selected on upgrade options. If you still get the issue we can set up a meeting, for us to check what is causing the problem. Regards
  25. Hi JuanManuel, Is there a specific step that i need to follow for installing license? Thanks Chi
  26. hi JuanManuel, I reinstalled the software in the original PC with the latest license that you provided, received the error. Then, I installed the software in the different Windows 10 PC, and I received the same issue. Does your software support Windows 10? Thanks, Chi Below is the error from the error log. [04/26/2018 16:36:57:144] [CRASH] VBUC interrupted (Error:-2147221488) [04/26/2018 16:36:57:144] Telemetria - Migration Exception { Message: VBUC interrupted (Error:-2147221488) } [04/26/2018 16:36:57:144] ######### Error Processing project: [04/26/2018 16:36:57:144] VBUC license is invalid [04/26/2018 16:36:57:144] ErrorLength: 23 [04/26/2018 16:36:57:144] ######### [04/26/2018 16:36:57:144] Telemetria - Migration Interrupted { LOCRemaining: 30000 RAM: 2047Mb PreProcessProgress: 0 UpgradeProgress: 0 } [04/26/2018 16:36:57:145] VBMigration.MigrateVb6Project ----> MigrateVb6Project(..., ...) Return=False [04/26/2018 16:36:57:145] VBMigration.MigrateVb6Project ----> END [04/26/2018 16:36:57:145] ExecuteInternal ----> END [04/26/2018 16:36:57:145] ProcessProject ----> ExecuteInternal(...) Result=False [04/26/2018 16:36:57:152] Avoided to create an empty .sln file because the upgraded project was not found. [04/26/2018 16:36:57:152] Total elapsed time: 00:00:01 [04/26/2018 16:36:57:152] ++++++++++++++++++++++UPGRADE ENDED++++++++++++++++++++++++++++++
  27. Hi Chi, Can you please uninstall the VBUC tool and re-install it again, but use the new license as reference.
  1. Load more activity
  • Newsletter

    Want to keep up to date with all our latest news and information?

    Sign Up
×

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