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 - litdev - 07-27-2024 Reflection is a .Net thing - so this is C#, VB and it can be done in C++, also similar in other languages like Java. When you get going with VS and git, you can clone LitDev extension and I can point you to where it is used. It is everywhere there since I use it to interact with GraphicsWindow for example present in SmallBasicLibrary.dll - get or set its varaibles, call its methods... When you clone the SmallBasicANN solution there should be 2 projects in it, the ANN dll and a small windows program (exe) to test it. The dll has 2 parts, one the ANN, and second the interface to SmallBasic that calls the ANN methods. The TestANN exe actually bypasses the SB interface and just calls the ANN methods directly. But best if you just poke about a bit once you get it compiled and running. You need to set the exe TestANN project to be the startup project (the one run when you press start). To debug you want the debug setting (then you may want to add break points) etc... RE: Neural Nettwork (ANN) Extension - jrmrhrb00 - 07-27-2024 LitDev, I have the smallbasic repository downloaded and in visual studio. Solution explorer shows both smallbasicann and testann as being loaded. I have testann as the startup object. I get an erorr if I try to debug. It says unable to start debugging. The starup project cannot be launched. Ensure that the correct program is the startup project. Which it is. Any Idea what I am doing wrong? Thanks, JR RE: Neural Nettwork (ANN) Extension - z-s - 07-28-2024 Litdev I just type every first letter capital for good writing RE: Neural Nettwork (ANN) Extension - litdev - 07-28-2024 JR, not sure. That message is if you haven't set the exe project as startup (TestANN). First check does it build (Build->Build Solution). Check that is says in Output(Build) pane that it is built with no errors. Check that the exe has been created in project bin/Debug folder. Maybe share a screenshot. Z-S Capitals just made it hard to read RE: Neural Nettwork (ANN) Extension - jrmrhrb00 - 07-28-2024 LitDev, The build pane just says successful build. No .exe in bin folder. So, how do you send a screen shot with this software? Thanks, JR RE: Neural Nettwork (ANN) Extension - z-s - 07-28-2024 Scroll Down in new replay you will see a Attachments section. RE: Neural Nettwork (ANN) Extension - jrmrhrb00 - 07-28-2024 Thanks Z-S, JR LitDev, Hopefully this works. The botton shows what I get when I hit debug. JR RE: Neural Nettwork (ANN) Extension - z-s - 07-28-2024 Hii JR I think the problem is because you are running The whole solution try running the TestANN alone by opening its TestANN.csproj file. I made some changes and it successful working in sharp develop. https://github.com/zs-3/Small-Basic-ANN RE: Neural Nettwork (ANN) Extension - jrmrhrb00 - 07-28-2024 Z-S, If I follow the below link and then go to TestANN and open it then go down to the .csproj file click it, it just opens the file so I can read it's contents. Can you give me detail of what you did? Thanks, JR RE: Neural Nettwork (ANN) Extension - litdev - 07-28-2024 JR - You have the SmallBasicANN dll set as the startup project! - the warning message is correct. SmallBasicANN project is in BOLD on the Solution Explorer window. Right click on TestANN and set it as the startup project - see my first image from last night where I showed the option doing this. TestANN has to be the startup project - it will be bold when you do it - you cannot run a dll (class library). PS, your TestANN has a red tick next to it showing you have changed something - best to revert whatever changes you made. To revert changes go to the View->Git changes window. It may be a good idea to read some 'getting started with Visual Studio' guides. If the solution has built correctly with no errors, then there will be an exe in your bin/Debug folder - you should have a good look using File Explorer to get used to the folder and files you get with a VS solution. |