Neural Nettwork (ANN) Extension - Printable Version +- Small Basic Forum (https://litdev.uk/mybb) +-- Forum: Small Basic (https://litdev.uk/mybb/forumdisplay.php?fid=1) +--- Forum: Extensions (https://litdev.uk/mybb/forumdisplay.php?fid=3) +--- Thread: Neural Nettwork (ANN) Extension (/showthread.php?tid=83) |
RE: Neural Nettwork (ANN) Extension - z-s - 10-01-2024 You could edit your old post JR RE: Neural Nettwork (ANN) Extension - jrmrhrb00 - 10-01-2024 LitDev, I am trying to graduate our program ZWWL934.000 to visual basic. it doesn't like neuralnetwork.new. It says neuralnetwork has no constructors (BC30251). I can't figure out how to fix it. Seems like it doesn't like the structure. Could you look at this and see if it is something you understand? i included a file that shows what visual studio shows if it opens. Thanks, JR RE: Neural Nettwork (ANN) Extension - litdev - 10-01-2024 Hi, I think this the same as: https://litdev.uk/mybb/showthread.php?tid=83&pid=996#pid996 New is a reserved keyword and the link shows the fix. RE: Neural Nettwork (ANN) Extension - jrmrhrb00 - 10-01-2024 LitDev, Your right. I forgot all about that one. So, I did get it to graduate and it runs OK. JR RE: Neural Nettwork (ANN) Extension - jrmrhrb00 - 10-01-2024 LitDev, Here's another one. This is your best Ann program and I am trying t get it to graduate and run. It does graduate but it won't run. Your thoughts. JR If this works like the last one visual studio shows the error. None of what visual studio shows makes any sense to me. It would be good to get this one working as it is the most complex program. RE: Neural Nettwork (ANN) Extension - litdev - 10-01-2024 Error message looks like it is trying to create an exe with no file name? I assume this is at compile time (not run time), and the exe was not created. 1] Try following the link BC2032 2] Google the error message 3] Open the project properties (right click on project in Solution Explorer window) and look for a file path for output that isn't set? If this gets you nowhere you may want to zip up the ENTIRE solution folder and upload it somewhere and I can have a look, but following leads, guessing, googling, checking settings, rumaging about looking at the solution and project properties/file, simplifying etc etc is the name of the game. Nobody knows all the answers, the main skill is how to trace it down. The previous [New] issue was completely new to me until I googled the error message to find the solution. EDIT BC2032 - reported when passing invalid filename as the value of /doc switch to vbc.exe - sounds to me like the settings have been set to export xml (/doc) but the file name not set in the settings. If this doesn't make sense then google a bit deeper! RE: Neural Nettwork (ANN) Extension - jrmrhrb00 - 10-01-2024 QDZM107.000 this program will graduate successfully. Then you can see how it runs in visual basic. Then to get it running you need to import litdev, and smallbasicann. Just create a new line 1 and type: imports litdev, smallbasicann. You do have to put brackets around the [new] keyword line 38. Also, in the project reference manager you need to browse and find the litdev.dll and the smallbasicann.dll. Once you put these in the manager they will stay there. To get it to show anything in the console you need to change the application to a console application. Maybe there is a better way, but that works. To do that go to project at the top then click properties. JR LitDev, Could you try this out? I just want to be sure that it works for anyone that wants to try it. It does work with original small basic with the lidev.dll and smallbasicANN.dll. When I graduate the program it does automatically load visual studio 2022. Thanks, JR RE: Neural Nettwork (ANN) Extension - z-s - 10-02-2024 I guess csharp would be easier to work than vb.net in visual studio. I am great fan of my new favourite tools: 1) Sharp develop unofficial update that works till .net 4.8 2) dnspy the things that ilspy can't decompile dnspy makes them super clear. Compiling a small basic exe and decompiling to vb.net and csharp is easy through ilspy or dnspy RE: Neural Nettwork (ANN) Extension - jrmrhrb00 - 10-02-2024 Z-S, Could you try out the above? I just want to be sure that my directions work. Also, where did you download sharp develop from? JR This program is probably the best example of a program written by LitDev that uses the litdev, and smallbasicann extensions and shows how to use them. RE: Neural Nettwork (ANN) Extension - z-s - 10-02-2024 Sharp develop: https://github.com/mgeee35/SharpDevelop-5.2.1 I will try it |