Open sanketgroup opened 3 years ago
You can freely use this dll in Vb.net project as both use either .netcore or .netframework
As this library is written in c# you need to build it in c#
My suggestion is to instead of building and referencing dll you can directly reference project so whenever you build your project this library is build along with it So you will get latest API available in library provided you sync project with GitHub
Can you please help with the following error? I converted to c# code to VB.Net
@sanketgroup How can I what is error? Either Screenshot Errors list or copy paste error shown in error list or hover over red underline statement to get error details
I seen several other mistakes wait let me create example app
Copy pasting whole c# code is wrong You write code according to VB as different languages use different syntax
Added VB example check now
and while adding reference don't select dll as you already added project to solution you can directly add project reference Right click project => add reference => In projects menu select project
It would be great if you can share the VB.Net project. I did not copy-pasted from C#, just to shorten the video I copy pasted from Notepad.
Example project is in examples folder
I did not copy-pasted from C#, just to shorten the video I copy pasted from Notepad.
Any way you are using code in c# Ex: Imports System.windows.forms is not required here and , Partial class Form also related c#
See example project you will known difference
While Opening WinForms_VB.sln, getting the following error.
Project '......\TallyConnector-NETFramework\TallyConnector\TallyConnector.csproj' targets 'net5.0'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.7.1'. WinForms_VB
You referenced wrong project .net5 project Add reference to .netframework project
Ok, i added .netframwork project, the same which you had helped to work. Getting following error. "Type 'TallyConnector.Tally' is not defined."
Right click project => add reference => In projects menu select project
Did You added reference as shown above???
Working perfect, Thanks a lot.
can you please let me know is it possible to use in VBA
can you please let me know is it possible to use in VBA.
Yeah, it is possible to use it in VBA, Install nugget and use.
It would be great if you can share the VB.Net project. I did not copy-pasted from C#, just to shorten the video I copy pasted from Notepad.
please provide video
I have developed my own Tally Connector in VBA after lots of online search. These documentation helped a lot Thanks. https://documenter.getpostman.com/view/13855108/TzeRpAMt#6762b3d4-7e44-4b17-87cf-9cebf3279c6b
Thanks lot
From: "ssplopal" @.> To: "Accounting-Companion/TallyConnector" @.> Cc: "ArunK199723" @.>, "Comment" @.> Sent: Wednesday, April 26, 2023 9:33:30 PM Subject: Re: [Accounting-Companion/TallyConnector] VB.Net option (#7)
CAUTION: This is an External E-mail . Please stay alert towards attachments, links and sender address.
I have developed my own Tally Connector in VBA after lots of online search. These documentation helped a lot Thanks. [ https://documenter.getpostman.com/view/13855108/TzeRpAMt#6762b3d4-7e44-4b17-87cf-9cebf3279c6b | https://documenter.getpostman.com/view/13855108/TzeRpAMt#6762b3d4-7e44-4b17-87cf-9cebf3279c6b ]
— Reply to this email directly, [ https://github.com/Accounting-Companion/TallyConnector/issues/7#issuecomment-1523673798 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/A67HZHDWUOALYG4UGSAIUQDXDFBNFANCNFSM47LJGJCA | unsubscribe ] . You are receiving this because you commented. Message ID: @.***>
What is the best option to use this in VB.Net instead of C#.
Is it okay to build DLL in C# and then use that TallyConnector.dll into VB.Net project? Would be there any issues with some syntaxes and functions ?