Berkeley DB and Visual Basic Interoperabiltiy

Hello

I try to use Berkeley DB with Visual Basic 6, but I'm not found information on this subject.
This kind of interoperability is possible?
And if the answer is Yes, how?

Thanks for your help and your time

-----------------------------------------
Hola

Intento using Berkeley DB don't con Visual Basic 6, pero no he found information sober el tema.
¿Este interoperabilidad tipo are posible?
Y if lo are, how could be made?

Gracias por su ayuda y tiempo

Hi fvega,

I'm not aware of any binding Berkeley DB written directly in Basic. However, there is a .NET for Berkeley DB written in c# library and the library must be accessible to the other languages in accordance with CLS as well, as a result, Visual Basic .NET included:
[Berkeley DB for .NET | http://sourceforge.net/projects/libdb-dotnet/]
Maybe you can use the .NET framework and switch from Visual Basic 6 to Visual Basic .NET (vs 7 or later).

If the above didn't help not you could start by analyzing our SWIG code (it is in 'db.i', under 'BDB_HOME/libdb_java') and decide what additional SWIG code you need to add for Visual Basic 6 specific API mapping (data flow between Basic and C).
If you find yourself eventually wrote such a link, please do not hesitate to post here all the details so that others can benefit from.

Best regards
Andrei

Tags: Database

Similar Questions

  • License with Measurement Studio and Visual Basic 2008 Express problem

    Hello!

    I have a license for the professional edition of studio measure 8.5 and I use the express edition of Visual Basic 2008.

    I am trying to use the FFTfunction, but get the exception {"NationalInstruments.Restricted.AnalysisLicenser is unauthorized."}

    Does anyone have an idea?

    Thanks in advance!

    Andreas

    Here is the full error message:

    System.TypeInitializationException wurde nicht Festival.
    Message = "Der Typeninitialisierer as 'NationalInstruments.Analysis.Dsp.Transforms' hat eine exception caused."
    Source = "NationalInstruments.Analysis.Professional"
    TypeName = "NationalInstruments.Analysis.Dsp.Transforms"
    StackTrace:
    BEI NationalInstruments.Analysis.Dsp.Transforms.RealFft (Double [] realData)
    EIB LDS. LDS_Form1.ButtonFFT_Click (Object sender, EventArgs e) D:\devel\LDS\pc\LDS\LDS\LDS_Form1.vb:Zeile 1700.
    bei System.Windows.Forms.Control.OnClick (EventArgs e)
    bei System.Windows.Forms.Button.OnClick (EventArgs e)
    bei System.Windows.Forms.Button.OnMouseUp (MouseEventArgs mevent)
    EIB System.Windows.Forms.Control.WmMouseUp (Message & m, MouseButtons, Int32 clicks button)
    EIB System.Windows.Forms.Control.WndProc (Message & m)
    bei System.Windows.Forms.ButtonBase.WndProc (Message & m)
    bei System.Windows.Forms.Button.WndProc (Message & m)
    EIB System.Windows.Forms.Control.ControlNativeWindow.OnMessage (Message & m)
    EIB System.Windows.Forms.Control.ControlNativeWindow.WndProc (Message & m)
    bei System.Windows.Forms.NativeWindow.DebuggableCallback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW (MSG & msg)
    bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop (Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
    bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner (Int32 reason, ApplicationContext context)
    bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop (Int32 reason, ApplicationContext context)
    EIB System.Windows.Forms.Application.Run (ApplicationContext context)
    BEI Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun)
    BEI Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel)
    BEI Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (String [] command-line)
    EIB LDS. My.MyApplication.Main (String [] Args) in 17d14f5c-a337-4978-8281 - 53493378c1071.vb:Zeile 81.
    bei System.AppDomain._nExecuteAssembly (Assembly, String [] args)
    bei System.AppDomain.nExecuteAssembly (Assembly, String [] args)
    bei System.Runtime.Hosting.ManifestRunner.Run (Boolean checkAptModel)
    bei System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly)
    bei System.Runtime.Hosting.ApplicationActivator.CreateInstance (ActivationContext activationContext, String [] activationCustomData)
    bei System.Runtime.Hosting.ApplicationActivator.CreateInstance (ActivationContext activationContext)
    EIB System.Activator.CreateInstance (ActivationContext activationContext)
    BEI Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone)
    bei System.Threading.ThreadHelper.ThreadStart_Context (Object state)
    bei System.Threading.ExecutionContext.Run (ExecutionContext executionContext, ContextCallback callback, Object state)
    bei System.Threading.ThreadHelper.ThreadStart)
    InnerException: System.ComponentModel.LicenseException
    Message = "NationalInstruments.Restricted.AnalysisLicenser is unlicensed."
    Source = "NationalInstruments.Common"
    StackTrace:
    AT NationalInstruments.Restricted.LicenseBase.ShowUnLicensedBehavior (Type type, object instance)
    BEI NationalInstruments.Restricted.LicenseBase.a (String Type A_0, A_1, A_2 object)
    BEI NationalInstruments.Restricted.LicenseBase.a (Type A_0, A_1 object)
    AT NationalInstruments.Restricted.LicenseBase.RunTimeCheck (Type type, LicenseContext context, object instance)
    BEI NationalInstruments.Restricted.LicenseProviderBase.GetLicense (context, type, object, Boolean allowExceptions instance Type, LicenseContext)
    bei System.ComponentModel.LicenseManager.ValidateInternalRecursive (context LicenseContext, Type type, Object instance, Boolean allowExceptions, license, licenseKey, String & license)
    bei System.ComponentModel.LicenseManager.ValidateInternal (Type type, Object instance, Boolean allowExceptions, license & license)
    bei System.ComponentModel.LicenseManager.Validate (Type type, object instance)
    EIB NationalInstruments.Restricted.AnalysisLicenser... ctor()
    EIB NationalInstruments.Analysis.Dsp.Transforms... cctor()
    InnerException:

    Hi Andreas,

    It is scheduled for any Visual Studio Express edition, because these editions do not allow 3rd party integration. So, you will need to perform some additional steps to get a license to work properly.  Refer to the Measurement Studio for Visual Studio Express Editions support KB (in particular, paragraph 2 pointing you to our help).

    Best regards

  • buffer size and sync with the cDAQ 9188 problems and Visual Basic

    Hi all, I have a cDAQ-9188 with 9235 for quarter bridge straing caliber acquisition module.

    I would appreciate help to understand how synchronization and buffer.

    I do not use LabView: I'm developing in Visual Basic, Visual Studio 2010.

    I developed my app of the NI AcqStrainSample example. What I found in the order is:

    -CreateStrainGageChannel

    -ConfigureSampleClock

    -create an AnalogMultiChannelReader

    and

    -Start the task

    There is a timer in the VB application, once the task begun, that triggers the playback feature. This function uses:

    -AnalogMultiChannelReader.ReadWaveform (- 1).

    I have no problem with CreateStrainGageChannel, I put 8 channels and other settings.

    Regarding the ConfigureSampleClock, I have some doubts. I want a continuous acquisition, then I put the internal rate, signal source 1000, continuous sample mode, I set the size buffer using the parameter "sampled by channel.

    What I wonder is:

    (1) can I put any kind of buffer size? That the limited hardware of the module (9235) or DAQ (9188)?

    (2) can I read the buffer, let's say, once per second and read all samples stored in it?

    (3) do I have to implement my own buffer for playback of data acquisition, or it is not necessary?

    (4) because I don't want to lose packets: y at - it a timestamp index or a package, I can use to check for this?

    Thank you very much for the help

    Hi Roberto-

    I will address each of your questions:

    (1) can I put any kind of buffer size? That the limited hardware of the module (9235) or DAQ (9188)?

    The samplesPerChannel parameter has different features according to the synchronization mode, you choose.  If you choose finished samples the parameter samplesPerChannel determines how many sample clocks to generate and also determines the exact size to use.  But if you use streaming samples, the samplesPerChannel and speed settings are used together to determine the size of the buffer, according to this excerpt from the reference help C DAQmx:

    Note that this buffer is a buffer software host-side.  There can be no impact on the material available on the cDAQ-9188 or NI 9235 buffers.  These devices each have relatively small equipment pads and their firmware and the Driver NOR-DAQmx driver software transfer data device to automatically host and the most effective way possible.  The buffer on the host side then holds the data until you call DAQmx Read or otherwise the input stream of service.

    (2) can I read the buffer, let's say, once per second and read all samples stored in it?

    Yes.  You would achieve this by choosing a DAQmx Read size equal to the inverse of the sampling frequency (during 1 second data) or a multiple of that of the other playback times.

    (3) do I have to implement my own buffer for playback of data acquisition, or it is not necessary?

    No, you should not need to implement your own stamp.  The DAQmx buffer on the host side will contain the data until you call the DAQmx Read function.  If you want to read from this buffer less frequently you should consider increasing its size to avoid the overflow of this buffer.  Which brings me to your next question...

    (4) because I don't want to lose packets: y at - it a timestamp index or a package, I can use to check for this?

    DAQmx will meet you if all packets are lost.  The default behavior is to stop the flow of data and present an error if the buffer of the side host DAQmx overflows (if, for example, your application does not pick up samples of this buffer at a rate equal or faster than they are acquired, on average).

    If, for any reason, you want to let DAQmx to ignore the conditions of saturation (perhaps, for example, if you want to sample continuously at a high rate but want only interested in retrieving the most recent subset of samples), you can use the DAQmxSetReadOverWrite property and set it to DAQmx_Val_OverwriteUnreadSamps.

    I hope this helps.

  • Windows 7 and Visual Basic 2010 Express

    Debugging a VB program error reads:

    The main reference 'OPCControls, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = 09c594780a8fc3e6, processorArchitecture = MSIL' cannot be resolved because there indirect dependence on the assembly of infrastructure 'System.IdentityModel, Version = 3.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089' which cannot be resloved in the currently targeted framework.  «NETFramework, Version = v2.0» To resolve this problem, remove the reference "OPCControls, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = 09c594780a8fc3e6, processorArchitecture = MSIL", or retarget your application to a version of the framework that contains 'System.IdentityModel, Version = 3.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089'. FMS

    It's the mistake of generation who came.   I don't know what I have to load in order to obtain communication of OPCControls to work in this VB program.

    The platform of Windows 7, Microsoft Visual Basic 2010 Express is currently loaded.  (64-bit system)

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • After installing office 2007 and microsoft visual basic I can no longer use windows install

    OK I'm getting very crazy. After the installation of microsoft office 2007 and visual basic, I can not install anything more with the .msi file extension. It gives me an error crap saying MSI could not be accessed. Help, please

    If SFC has crashed the systen, then you have serious errors. Was there an error message?

    Have you run Checkdisk?

    You can also see in the Forums Office as someone might have encountered the problem.

    Check with the Office of the Experts here: (re - ask your question in the appropriate groups)

    Answers - installation, upgrading, and activating Microsoft Office products
    http://social.answers.Microsoft.com/forums/en-us/OfficeInstall/threads?LC=1033&filter=answered

    Answers - Office Forums
    http://answers.Microsoft.com/en-us/Office/default.aspx

    Or

    Office newsgroups
    http://www.Microsoft.com/Office/Community/en-us/FlyoutOverview.mspx

    Discussions in the Office Setup program
    http://www.Microsoft.com/Office/Community/en-us/default.mspx?DG=Microsoft.public.Office.Setup&lang=en&CR=us
    Or

    Welcome to Microsoft Discussion groups
    http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?GUID=1A61081E-1F66-5F7F-B5BA-04767E55A63B

    Microsoft.public.office.setup discussions
    http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Office.Setup&cat=en_us_642d5640-c1ba-43C3-A224-b3ec1473346c&lang=en&CR=us

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • After installation of Visual Basic battery problem

    After the installation of Microsoft Visual Basic Express edition my battery indicator no longer works correctly.  It will show 100%, or 7%, or 3%, but will not regularly refresh to display the status of the battery.  I have windows XP SP3 and Visual basic installed.  Subsequently the battery indicator has hurt constantly.  I completely uninstalled the software but the problem remains.

    Windows XP SP3

    Toshiba laptop

    Microsoft Visual Basic Express

    Any problems with the battery indicator started after the installation of the software.

    Hello

    I would l suggest you re - configure the power settings in windows XP and see if it helps:

    http://Windows.Microsoft.com/en-us/Windows-XP/help/Setup/configure-power-management

    See also: http://technet.microsoft.com/en-us/library/cc730920.aspx

  • Encrypt and decrypt the algorithm for visual basic 6

    I would like to know a code complex algorithm in Visual Basic 6 to encrypt and decrypt ini files to encrypt credentials

    Kindly help.

    Hello

    I suggest you to ask your question in the below link:

    http://social.msdn.Microsoft.com/forums/en-us/category/VisualStudio, vslanguages, vstfs, netdevelopment, vsarch

  • Visual basic and series

    status = viOpenDefaultRM (defaultRM)
    status = viStatusDesc (defaultRM, State, response)
    readingslist. AddItem "viOpenDefaultRM" & Hex (status) response

    ' status = viOpen (defaultRM, "GPIB0::6:INSTR", 0, 0, vinstr)' good work with gpib
    status = viOpen (defaultRM, "ASLR1::INSTR", 0, 0, vinstr) "does not when you use series

    Might some understand why I'm not able to open the COM1 port using the visa above in visual basic command. I'm not having any problem when you use the GPIB0, I need to use both type of communication.

    I have visa32 and visatype loaded into modules.

    OJEC

    Well, I feel so stupid, I did not write "ASRL1" by "ASLR1".

    It's working now.

    Thanks for your help

    OJEC

  • I am trying to download and install visual basic 2010 express, it does not

    I tried to download and install visual basic 2010 on my XP, but can't

    It promts to restart the computer before it is through installation modules, then it does not work after that

    I discovered a problem with my system

    I went to add/remove programs in Control Panel, removed ver 1.1 and ver 2.0 .NET

    downloaded and installed the .NET 4.0 worm, it worked, older versions have disappeared and the 4.0 was on the list of programs

    the thing is that I restarted and .NET 4.0 worm disappeared, and the ver 1.1 and version 2.0 of .NET were back

    I can't understand it, I need the opinion of experts on this issue

    I thought about the restoration but it is disabled

    Hello

    I suggest you post the question in the forums and check them off below if it helps:

    http://social.msdn.Microsoft.com/forums/en-my/VSSetup

    It will be useful.

  • I downloaded visual basic 2008 express. When I look at the code, it is invisible. Why? I need to make it visible to see and add more code.

    I downloaded visual basic 2008 express. When I go to view the code, it is invisible. I don't see it. I don't need to read, modify or add. I uninstalled, reinstalled 3 times and tried a fix without help. When I copy and paste the code that is invisible to a word document, then you see on the word document. Please someone tell me how to do to be able to see in the region of code in the visual basic application.

    Hello

    The question you have posted will be well suited in the MSDN forums. Click on the link below.

    http://social.msdn.Microsoft.com/forums/en/vsexpressvb/threads

  • Download and installation of Visual Basic on Windows 7 computer

    Dear Coordinator,

    I want to install VB (6 or Express free edition) on my computer for programming purposes. But whenever I try to install any verion on my computer with Windows 7 it stops the saying of the installation:

    "This version of Visual Studio requires a newer version of windows. Setup cannot continue. "

    Is there any version of Visual Basic or Visual Basic Express Edition is for Windows 7. I can't install Windows 8.

    Please guide me in this regard

    Zulfiqar Ali

    For what is your version is it should install on the windows machine 7. So, try again by running the installer as administrator.

    (2) there is new version available visual studio 2010 and above with the .NET features ranging from VB6 so a code syntax may vary. But if you're ok with the new version then you can download it from https://www.visualstudio.com/downloads/download-visual-studio-vs

  • orders or visa of TCP/IP by using visual basic

    What are the dll files and below that I need to communicate with a device via a rj45 by visbual basic cable, I can communicate when I use hyperterminal, but I can't via visual basic

    TCPIP::192.168.48.11: this is where I am stuck

    Hello

    The following tutorial will guide you through a few failures of measures to ensure that your instrument is connected correctly, this should help us understand whence the questions.

    Instrument Ethernet Control tutorial

    Introduction to the Instrument control using Ethernet

    Thank you

    Scott M.

  • equivalent of variable static visual Basic in LabVIEW

    Hi all!

    I am doing a project where I count values. After I farm/Stop the program I want the value to be intact and continue with the last value.

    I know that in Visual Basic. Using the static variable, we can keep the same value we close the program.

    Kindly help...

    I know that in Visual Basic. Using the static variable, we can keep the same value we close the program.

    I program in Visual Basic. What you write, it's simply NOT true. Once you close a program all that static variables even disappeared.

    Do as suggested by crossrulz.

  • PXI-6561 HS - DIO Visual Basic 6 examples?

    I have one of these cards in a testing station.

    Is there an example of Visual Basic 6 code?  I see the code example for C.

    Edit: Can't beat Google. I searched on "examples of visual basic 6 hs - dio" and got http://digital.ni.com/public.nsf/allkb/C926233A47D2B8708625714D004F5D6F

    http://digital.NI.com/public.nsf/allkb/C926233A47D2B8708625714D004F5D6F

  • Visual BASIC

    Hello!

    Tell please how can I find and download visual basic 2010 or 2012 or 2015?
    Help, please.

    I'm stuck. I have not found the files to download!

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *

Maybe you are looking for