I'm making an expert system using VB.net 2010
I already downloaded the Mommosoft.ExpertSystem.dll in CLIPS.NET
Assuming that I already made the Knowledge-based file with CLIPS, how to I integrate it to VB.NET?
In Visual Studio you right click on solution file > click Add References > add the Mommosoft.ExpertSystem.dll
Then in your VB.Net project you will then be able to call methods in the DLL, eg
Mommosoft.ExpertSystem.DoSomething()
Related
I have an old VB project that I'm converting from WinForms into WPF. I was re-creating the user interface without problems until I tried to locate the Icon that the old application uses. I can't find it in the project files and I can't see a way in visual studio to export it.
Anyone know of a way to accomplish this? I'd like to keep the UI as close to the old UI as possible (users don't like change).
You can extract icon resources from your file. See a free app to do it:
nirsoft.net/utils/resources_extract.html
I am working with Visual Studio 2010 on a Windows 7 64-bit system. I am coding in vb.net. I am trying to use the SpreadsheetGear DLL (D:\VS2010Code\Report Depository\Bin\SpreadsheetGear.dll) in my DashInApps (D:\TWhitsett\DashInApps) project to load my output data to Excel. Can someone assist and guide me in the right direction to get this done?
Right click on your project and click 'Add Reference'. Then point to the SpreadsheetGear DLL in question. You can't just put it in the bin directory and expect it to work without loading it into the project first.
Just to start off, this question does seem very similar to another post Add the DLL (lame_enc.dll) reference to my project, but I haven't been able to successfully apply that answer. I am pretty new to VB.NET so it is very possible I'm simply missing something obvious.
I am trying to link a DLL to a VB.NET 2010 project to allow my VB app to play *.ogg files. I followed some other advice here on the forums and downloaded FMOD's FMOD Ex Programmers API. I am trying to now reference that functionality. These appear to be the files I need to somehow reference.
C:\Program Files (x86)\FMOD SoundSystem\FMOD Programmers API Windows\api\fmodex64.dll.
C:\Program Files (x86)\FMOD SoundSystem\FMOD Programmers API Windows\api\libfmodex64_vc.lib.
I haven't discovered how to add a *.lib reference (or the equivalent), but selecting the DLL as a reference gives the following error.
A reference to 'C:\Program Files (x86)\FMOD SoundSystem\FMOD
Programmers API Windows\api\fmodex64.dll' could not be added. Please
make sure that the file is accessible, and that it is a valid assembly
or COM component.
I'm not sure what I could be missing. Any ideas? Thanks!
In Solution Explorer, double-click the My Project node for the project.
In the Project Designer, click the References tab.
Click the Add button to open the Add Reference dialog box.
In the Add Reference dialog box, select the tab indicating the type of component you want to reference.
Select the components you want to reference, then click OK.
Another approach I was trying is working for me. I found a site with a working example of a LibZPlay VB.NET sample ( http://planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=7789&lngWId=10 ). It runs under VS 2008 and I was able to adapt my project to use LibZPlay (open source library http://libzplay.sourceforge.net/WELCOME.html ) under VS 2008.
That is sufficient for me for now. Thanks for your advice. It was likely some configuration issue or misunderstanding on my end.
Using VB.net 2015 I (could not add or even find a System32 dll) as a reference using Solution Explorer, Tab References. Going to the MAIN Menu, Projects/Add References...
Used Browse and All the System32 dll were visible. Then I was able to load the needed dll.
Is there a way to change the macro editor from this default one:
It feels like such a downgrade from Visual Studio 2010. Can I configure Office to use that instead?
no there is no way to my knowledge, VS.NET does not support VBA.
what you can do if you are creating a new word or excel file is create a managed office solution, having installed the VSTO 2010 (Visual Studio Tools for Office) you are able to create managed documents which are handled inside VS 2010 and the automation language is not VBA anymore but C# or VB.NET instead.
this is a viable solution for new files, for legacy files either you convert them if they are small or you keep old VBA code and old VBA editor as in your picture.
Mark I wish MS made a tool to convert from the old format to the new one! :(
There are things you can do to improve it:
Tools > Options > Editor :
Uncheck "Auto Syntax Check"
Tools > Options > Edit Format:
Customize the colors and font
Install the VBA Rubberduck:
http://rubberduckvba.com/
The RubberDuck does auto-indent for you. It also helps you with "unit testing, source control, from code inspections, and refactorings"
I'm doing VB coding using Visual Studio 2008.
How to import a .dll file into my program?
Can anyone help me please.
Thank you.
Add the reference (From your menu Project->Add Reference and browse for the dll file)
Put Imports DLL.Namespace at the top of your code.
You need to add a reference to the DLL...
Right click references in the project explorer
Click on the browse tab
Browse to your dll
Add a using statement in your code which points to said DLL