I have a Visual Basic applicatio​n that is also an ActiveX server. L

abWindows 5.5 recognizes the controls and I can use them (methods and properties). LabVIEW 6i doesn't recognize it at all. When this same application was released to be only an ActiveX control, LabWindows and LabVIEW could both work with it. What happened?

abWindows 5.5 recognizes the controls and I can use them (methods and properties). LabVIEW 6i doesn't recognize it at all. When this same application was released to be only an ActiveX control, LabWindows and LabVIEW could both work with it. What happened?What do you mean by doesn't work with LabVIEW 6? Are you able to create an automation refnum for it? Is it in the list of registered servers? Do the methods and properties show up in the nodes? Do you get any error messages from the Automation Open or from the nodes? You might want to make sure you have the 6.0.2 patch before you do too much digging into this.

Similar Messages

  • How do you call a Visual Basic App From Labview?

    I have a Visual Basic executable application that is collecting data from a USB port and displaying it in an MS grid control. I would like to read the same data in a LabVIEW application. The LabVIEW app would periodically poll the VB App to collect the current data. Does anyone have any insight or examples?

    Go to the Resource Libary at http://zone.ni.com/devzone/devzone.nsf/webcategories/9C6DF90777E5A78206256874000FA14E?opendocument (Resource Library>LabVIEW>Connectivity>ActiveX) for some examples. You'll need access to the VB source code.

  • Visual Basic 6.0 Portable UAC?

    Aloha,
    II hhahavhavee received a copy of Microsoft Visual Basic 6 Portable. I noticed that the program has the UAC shield on it. What is going to happen that will change anything to the computer; if nothing, just what will it do?
    Please note:
    It is running on Windows 7.
    Nothing in terms of Visual Studio has been installed other than VBA for Microsoft Office 2010.
    Any help?

    Aloha,
    II hhahavhavee received a copy of Microsoft Visual Basic 6 Portable. I noticed that the program has the UAC shield on it. What is going to happen that will change anything to the computer; if nothing, just what will it do?
    Please note:
    It is running on Windows 7.
    Nothing in terms of Visual Studio has been installed other than VBA for Microsoft Office 2010.
    Any help?
    It should work very well, are you sure you have a good version of portable Visual Basic 6.0 ?
    You should not have problems even so. I think the problem is in your Windows settings. Just disable the UAC ! :)
    PS: the Visual Basic 6.0 IDE will also work on Windows 9 and up.

  • Inserting into Oracle9i  DB from Visual Basic

    Hi,
    I have a Visual Basic 6.0 application that queries an Oracle database to insert into a table. In some cases it will insert fine and in others it won't. Am I doing something wrong in the way I query the Oracle database? I don't get any errors, it just doesn't insert the data. Here's my code that does not work:
    QueryString = "insert into neworcldb10.SpectraDataItem (SpectraDataItemID,SpectraDBID,BandNumber,SpectraData) values " + "(" + CStr(OID.OID) + ", " + CStr(ParentSpectraOID.OID) + ", " + CStr(Band) + ", " + CStr(data) + " );"
    DBHandle.Execute querystring, , adCmdText + adExecuteNoRecords
    I've copied and pasted the query statement into sqlplus and it works fine there. I thought that it may be my connection, but the program inserts fine in other functions. Any help would be appreciated.
    Thanks,
    Malina

    Suppose that you have something like this:
    Dim my_conn_obj as ADODB.Connection
    my_conn_obj.execute( "insert into neworcldb10.SpectraDataItem (SpectraDataItemID,SpectraDBID,BandNumber,SpectraData) values " + "(" + CStr(OID.OID) + ", " + CStr(ParentSpectraOID.OID) + ", " + CStr(Band) + ", " + CStr(data) + " );" )
    Try to do that and post the results!
    Joel Pérez

  • How to connect to oracle database from visual basic 2010 express edition

    I have installed visual basic 2010 express edition on windows xp. But visual basic 2010 express edition supports Microsoft sql server database file,Microsoft sql server compact 3.5, Microsoft access database file. I want to connect to oracle database from visual basic 2010 express edition. So what drivers are required and how to do connectivity?

    Hello,
    I wasn't clear on what you were using to make the connection. I had a look in Visual Studio 2010 (don't have express to test sorry).
    I think you mean the Data Sources available under the menu Data-> Datasources. this seems to match the description you give when I
    look at the list of datasource options.
    In here you can make ODBC connections via the Microsoft .net Data Provider .
    If you select ODBC as a datasource you can see listed the DSN's you created - for example I see 2 which use the Oracle ODBC driver.
    This assumes you installed an Oracle Client + the oracle version of the ODBC driver (comes with the oracle client).
    Once you created a server connection then you should see it in the server explorer.
    You can also download the Oracle Developer Tools for Visual Studio which is an add on for VS.
    ** I suspect this is only for VS 2010 and I didn't see that Express was supported.
    http://www.oracle.com/technetwork/developer-tools/visual-studio/overview/index-097110.html
    Let me know if that helps.
    John

  • How do I get visual basic 2010 on my macbook pro?

    How do I get visual basic 2010 on my macbook pro?

    The Mac version is called Real Studio
    That is not the same as Visual Basic.  It is similar, but not the same.  Unless something has changed in the last few years, it will not execute or create Visual Basic code.  That may or may not be important to the OP, depending on whether he actually needs VB or just a product that is similar, but is an important point he needs to be aware of.

  • Oracle DLL Error using AQ (in Oracle 10g) from Visual Basic

    Hi, everybody
    I have a Visual Basic 6 (with SP 6) application which connect to Oracle through an ODBC connection. Not only the client but also the server use Oracle 10.2.0.3.
    The application accesses to Oracle Queues by using OraAQ, OraDatabase, OraSession... objects.
    Everything works all right until the moment of closing the application; when the OraAQ object is disposed, an error in a DLL occurs. The DLL is orageneric10.dll, and it causes a Windows error which closes the application. Windows XP is used as operating system.
    The error only happens with the OraAQ object; other objects are disposed without any problem.
    Please, if somebody have an explanation, let me know. It is a very important issue for us.
    Thanks in advance

    Has anyone discovered an answer to this yet? I get the same issue, but am struggling to find a solution anywhere.
    (VB.NET on Visual Studio 2005, Flash CS5, Flash Player 10.1.85.3, AS3)

  • Help visual basic users need help with compiling a .dll!!

    I just need someone to compile this .dll for me please since i dont have a visual basic. Thanks in advance!
    link: http://shrib.com/1Lso3eMG
    It's an online notepad I used to compile a little script for something. Please and thank you!

    Hi,
    Perhaps you can use this:
    https://msdn.microsoft.com/en-us/vstudio/hh388573
    As this question is not reporting an issue with the forums, I'll move this thread to the 'Where is the Forum For...?' forum.
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • SQL SERVER 2012 and Visual Basic 2010

    Can an SQL Server 2012 database function when used with a Visual Basic 2010 Program?
    Milt
    sirmilt

    Can an SQL Server 2012 database function when used with a Visual Basic 2010 Program?
    Milt
    sirmilt
    Yes
    Basically you can use any T-SQL query that you want, directly or through a Stored Procedure.
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • Hello, I have the usual issue to use AcroExch.PDDoc/AcroExch.App/AcroExch.AVDoc objects in Visual Basic (MS EXCEL). On my company's machine I have Acrobat X and everything works fine, but I have another machine with just "Reader" installed - is there als

    Hello, I have the usual issue to use AcroExch.PDDoc/AcroExch.App/AcroExch.AVDoc objects in Visual Basic (MS EXCEL). On my company's machine I have Acrobat X and everything works fine. I am looking for the cheapest solution to get the stuff running on another machine... is there any way to do that with the Acrobat SDK, or do I need to purchase a full version of Acrobat XI ($$) ?

    The Acrobat SDK is nothing by itself. It is just information on how to automate Acrobat - just as the Office SDK doesn't include Office, but is for people who already have purchased Office but want to automate it.
    These automation things are MARKETING TOOLS FOR ACROBAT. Consider this and the technical limitations make a lot more sense.
    So, yes, you need to buy Acrobat. Standard is cheaper than Pro.

  • Can I have a general daq event in visual basic while outputing in dma mode?

    Hardware: PCI-6711
    Software: Visual Basic 6.0
    NI-DAQ 6.9.3f3
    Windows 2000
    I can't get the GeneralDAQEvent_Fire subroutine to happen. I'm trying to output two synchronized waveforms on two channels at sampling rates that can be changed on the fly. To do this, I've set the clock source of the channels to be the GPCTR1. I output on a pulse train on the GPCTR1 and adjust the pulse widths to vary the frequency. I need to be able to switch to the new pulse width at a precise time so that the correct samples are output at the correct samplerate. I want to generate a general daq event which fires whenever a certain number of pulses (and thus samples) on the GPCTR1 have been output. I will
    then reset the event and output samplerate within the GeneralDAQEvent_Fire subroutine for the next section of samples. I need to output at up to 1 MSample/second, so I need to be using DMA mode. I have not read anywhere that DAQEvent 0 Aqcuired or Generated n Scans requires interrupt mode, am I wrong about this? I have set my Channel string to CTR1, does this reference the GPCTR1? I set the board, DAQTrigVal0 and enabled properties and then call the refresh method. Is there something else I should do?
    I have been reading the NIDAQ Function Reference Help and the NIDAQ for PC Reference manual and have not found a solution. Any suggestions? Also, where can I find info on what the ConfigureDaqEvent method is supposed to do?

    Roz,
    First of all, I think you will want to use DAQ Event 1 since you desire for a message to be sent after every N updates. This will be more efficient than removing the current message and adding a new message each time the event fires. Furthermore, DAQ Events 0-2 can all be used with DMA transfers. However, you will be unable to use a counter channel with DAQ Events 0-2. Instead you should use one of the analog output channel you are clocking with the counter's output.
    Good luck with your application.
    Spencer S.

  • LabView TEDS library into DLL or ActiveX Control so that I can use it in C or Visual Basic?

    We are developing software in LabWindows/CVI and Microsoft C. I heard that LabView can generate DLLs. Can I turn LabView TEDS library into DLL or ActiveX Control so that I can use it in C or Visual Basic development environment?

    Technically what you are proposing is possible with LabVIEW. With LabVIEW's application builder, VIs can be built into dlls. Also, LV has ActiveX hooks and so you could create a system for calling into it from CVI. However, this is not what I would recommend.
    The LabVIEW VIs have been written to a preliminary version of the IEEE specification (1451.4) that describes the TEDS data which is primarily why I'm advising you against using them. Once the IEEE spec is approved (the current timeline is currently late March), it will become public and you can write your own code according to the specification (or wait for someone else to write it). To help you get started, the spec includes flex and bison code that describes the syntax and structure of the template files
    Internally, we've written some C, C++ and Java code to the preliminary version of the spec and we've found that we can duplicate the functionality of the TEDS Library for LV in roughly 2 weeks in any other language.

  • I want to access LabView and Field Point Library through Visual Basic. Where can I find adequate information considering that I am just an starter.

    My aim is to have a ActiveX Control on a web page that can control the field point hardware as a small step towards home automation through the internet.

    The place to start is here :
    http://sine.ni.com/apps/we/nioc.vp?cid=3769〈=US
    This is labview's measurement studio homepage. This contains component works which is a toolkit for visual basic. This should give you all the info you need to get started.
    Jared

  • Error executing Stored Procedure that returns a recordset in Visual Basic 6

    Hello, i tried to use the example in the link posted as a response to my question in a previous thread, and in Visual Basic 6, when i execute the Stored procedure it gives me the following error:
    This is the package created as indicated in the example FAQ you posted.
    package types
    as
    type cursorType is ref cursor;
    end;
    This is the procedure created as indicated in the example FAQ you posted.
    PROCEDURE SP_TITUVALO(T_BR IN VARCHAR2,
    P_Cursor OUT TYPES.cursorType )
    AS
    BEGIN
    OPEN P_Cursor FOR
    SELECT * FROM TASAS WHERE BR=T_BR AND TASA > 0;
    END;
    This is the code used to execute the Stored Procedure in VB6:
    Dim objConn As New ADODB.Connection
    Dim connString
    Dim cmdStoredProc As New ADODB.Command
    Dim param1 As New ADODB.Parameter
    Dim RS As ADODB.Recordset
    Set param1 = cmdStoredProc.CreateParameter("T_BR", adVarChar, adParamInput, 255, "97")
    cmdStoredProc.Parameters.Append param1
    objConn.Open strconex
    Set cmdStoredProc.ActiveConnection = objConn
    cmdStoredProc.CommandText = "SP_TITUVALO"
    cmdStoredProc.CommandType = adCmdStoredProc
    Set RS = cmdStoredProc.Execute
    This is the error returned:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'SP_TITUVALO'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ****************************************************************

    Juan,
    Not sure about FAQ you are referring to, but it seems that you need to set PLSQLRSet property of ADODB.Command to TRUE. Because if you fail to do so - errors with refcursors are likely to happen.
    Consider:
    Set objConn = CreateObject("ADODB.Connection")
    objConn.ConnectionString = "Provider=OraOLEDB.Oracle;Persist Security Info=False;Data Source=test9ora;User ID=max;Password=blabla"
    objConn.Open
    'Dim cmdStoredProc
    Set cmdStoredProc = CreateObject("ADODB.Command")
    Dim param1
    Set param1 = cmdStoredProc.CreateParameter("T_BR", adVarChar, adParamInput, 255, "97")
    param1.Value = "X"
    cmdStoredProc.Parameters.Append param1
    'Dim RS
    Set cmdStoredProc.ActiveConnection = objConn
    'The following line was missed out
    cmdStoredProc.Properties("PLSQLRSet") = True
    cmdStoredProc.CommandText = "SP_TITUVALO"
    cmdStoredProc.CommandType = adCmdStoredProc
    Set RS = cmdStoredProc.ExecuteThis works fine, at least for me.
    Cheers.

  • HI.I HAVE UPGRADED MY IPHONE5 TO 8.1.3. I M HAVING PROBLEMS FOR MAKING OR RECEIVING CALLS.PLZ HELP ME WAT TO DO.I HAVE DONE THE BASIC RESETTINGS,RESTORING N ALL THAT.CAN I DOWNGRADE TO THE LOWER VERSION?

    HI.I HAVE UPGRADED MY IPHONE5 TO 8.1.3. I M HAVING PROBLEMS FOR MAKING OR RECEIVING CALLS.PLZ HELP ME WAT TO DO.I HAVE DONE THE BASIC RESETTINGS,RESTORING N ALL THAT.CAN I DOWNGRADE TO THE LOWER VERSION?

    Thanks for reply,
    It's truely a disestar for me to kill my phone myself by so called bloody upgradation.
    Iwish I have not upgraded.
    I baught it from here in Bangladesh and now I’m ina mess to get at least a minimum support.
    Thanks for your valued suggessions but it didn’tmade any difference to my situation.
    So now I have an ipod in the price of an iPhone4. Crap.
    Is there any chance of fixing this bug by apple?As the same problem has already been faced by a lot of iPhone Users.

Maybe you are looking for

  • Problem with syntaxes and structures in unicode

    1. i have a problem with syntax this is old syntaxes TRANSLATE c ...FROM CODE PAGE g1 ... TO CODE PAGE g2 new systems should use this class instead of above CL_ABAP_CONV_IN_CE it reads data from a container and converts it to the system format. my ol

  • Insert 600 variable values in pop up filter of a web query

    Hello all, in order to analyze some Material movements I have to insert 600 material numbers in the selction of a query. In Bex Analyzer I can copy and paste the variable in the variable pop up screen. But when I execute the query in web the filter p

  • Element Missing in Workflow Container

    Hi, I am facing a strange issue. I am not finding a particular element in workflow container (both in the Container tab and also in Basic data->Workflow Builder->Workflow container->Element (R/3 4.70 Enterprise)) but at runtime - SWI1 (Workflow Log)

  • OT - Font formats

    A while ago Peter Spier kindly alerted me to a free Akko font give away which we got and duly used, now we need to buy some more of the family, showing their promotion worked!  I want to make sure I buy the same fomat so they work nicely and I'm a bi

  • About OCA question

    Hi guys, i'm going to make the OCA exam next month. If a question like this appear, what would be the correct answer ? Question: A table name can never be composed starting with number. Is it correct ? what would be the correct answer, if we can have