Using a Visual Basic ActiveX DLL in LabVIEW

I' like to use some code written in Visual Basic into LabVIEW. I think the best way to do this is making a dll_activeX. I've seen an example on NI site: http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B123AE0CB992111EE034080020E74861&p_node=DZ52048&p_submitted=N&p_rank=&p_answer=&p_source=External.
When I use the dll present in the "zipped" file it works (I've registered the dll as described in the article).
If I compile in a DllActiveX the Visual Basic project (Visual Basic 6.0), present in the zipped file, and I try to use, after the unregistrtion of the old one and the registration of new one, it doesen't work.
I received the following error:
error 3005Occurred at automation open: Object specified is
not creatable in a ActiveX Dll with LabVIEW.vi
Some ideas?
Thank you.

Paolo,
I am not sure why you are getting the error. I downloaded the zip file re-built the dll and then registered it. I originally had LabVIEW open, so I closed and re-opened it so that it would see the new object. I then pointed the ActiveX refnum to the Project1 class. I still had a few broken wires so I hit ctrl-shift-Run Arrow to force a recompile.
After all that I ran the VI at it worked great. Once that was done I unregistered it and ran the VI. I got an error as expected. I then re-registered the dll and ran it again. No error.

Similar Messages

  • The suitable LabVIEW data type correspinding to the array of structure in Visual Basic ActiveX DLL

    Hi!
    I need to call a VB ActiveX DLL from LabVIEW. When I run my LabVIEW code, I always meet an error as:
    Error 1 occurred at Incorrect Function in T06.vi
    Possible reasons:
    LabVIEW: An input parameter is invalid.
    I have read the VB DLL code that defines the data type. It fills data to a structure, then puts this structure to the array, and sends the array of structures to the method.
    VB Code:
    For I = 1 To 31
    Set MyInputData(I) = New EM_nkd_DataPoint
    Next I
    With MyInputData(1)
    .Amplitude = 8.44
    .DataPointType = R_HW
    .DataSource = MEASURED
    .Wav
    elength = 409.56
    End With
    With MyInputData(2)
    .Amplitude = 91.60113
    .DataPointType = T_SUB
    .DataSource = MEASURED
    .Wavelength = 409.56
    End With
    ~~~
    With MyInputData(31)
    .Amplitude = 91.96825
    .DataPointType = T_SUB
    .DataSource = MEASURED
    .Wavelength = 657.43
    End With
    My problem is that I can’t find a suitable kind of data type in LabVIEW which is corresponding to this case
    Attached my LabVIEW code for reference.
    Many thsnks.
    TX
    Attachments:
    T07.vi ‏166 KB

    Hi,
    if you have a complete source code including EM_nkd_DataPoint class module, take a look inside in order to see data types for Amplitude, DataPointType, DataSource and Wavelength (probably for Amplitude and Wavelength is SINGLE). If this code is not available, maybe the author mentioned a type for T_SUB and MEASURED even if they are constants.

  • On an pci_mio 16e4 programming using nidaq & visual basic, after using AI_Setup analog sequential data accusition stops.To restart I use Init_DA_Brds This takes a long time, What must I reset to restore the analog sequential function?

    on an pci_mio 16e4 programming using nidaq & visual basic, after using AI_Setup analog sequential data accusition stops.To restart I use Init_DA_Brds This takes a long time, What must I reset to restore the analog sequential function?
    I belive that the trigger is being changed on the io board, but cannot manage to reset it.
    The reset process takes in the order of 0.1 sec, and since this is a time critical application, i want to get the scanning function working again faster

    Dear Ian. Thank you for your reply. The problem appears to be that the scan trigger(s) are stopped, or something, by the use of the AI_setup instruction. The sytstem works perfectly until this instruction is used. My problem is in understanding what has happened since the help seems to give no detail on any interconnection between the scan system and the external analog trigger system. I have tried to reconnect the triggers, but so far unsucessfuly

  • Equivalent of visual Basic static variable in LabVIEW

    Hi all!
    I am doing a project where I am counting the values. After i Close/Stop the program I want the value to be intact and continue with the last value.
    I know this in Visual Basic. By using the Static variable we can retain the value even we close the program.
    Kindly help..
    Srikanth Chilivery,
    Solved!
    Go to Solution.

    I have trouble believing that a static variable retains its value after the program is terminated.  Once the program is released from memory, that static variable is gone.  If you want to retain a value between closing and opening an application, you have to save it to disk in some way.
    Are you working exclusively in the LabVIEW IDE or are you running EXEs?  It sounds like you probably just want to use a Functional Global Variable/Action Engine.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Daqmx installation to be used in visual basic 2008

    I plan to use PCI-6509 Digital IO in visual basic 2008. I installed NIDAQmx9.5.1.f2.
    After installation, NIMax can detect the hardware(PCI-6509) successfully. NIMax was installed when DAQMX was installing.
    But In VB2008>project>add reference>.NET, I can not see NationalInstruments.daqmx.
    So I can't add it to my vb2008 program's reference.My program use PCI-6509 to control relay.
    my PC has window 7 64bit operating system and the following .NET has been installed already.
    Microsoft.NET compact Framework 2.0 SP2
    Microsoft.NET compact Framework 3.5
    Please let me know if you have any idea?
    Thank you in advance.

    Finally I solved the problem after reading the following document.
    http://digital.ni.com/public.nsf/allkb/0EA34D565632DFE186256E7B00762DCC
    The summary is
    1. I need custom installation.
    2. select NET Framework 3.5 language support. => install this feature to a local drive(do not select subfeatures)
    3. And do not select Measurement Studio Integration under NET Framewrork 3.5 language support.
    Now I can add DAQmx reference in my program without any problem.
    Thank you for everybody who replyed.

  • How to [b]store image[/b] in a [b]oracle database[/using [b]Visual Basic  ?

    I want to store an image (like jpg, bmp file) in a oracle Database using Visual Basic 6.0, Please Help me How can i do this.

    This url has a sample in VB which stores and retrieves images from database using VB
    http://otn.oracle.com/sample_code/tech/windows/ole_db/oledb8/content.html
    Chandar

  • How to call visual basic exe file from LABVIEW 7.1

    Hi all,
    I would like to call a visual basic 6.0 application(executable file) from labview 7.1 kindly anyone is having code or papers send me.
    Thanks and Regards
    rajesh

    Hi all,
    i would like to run a visual basic programme from labview , i have attached my file , even though iam executing the programme iam not able execute the vb file , kindly suggest me ,
    Regards
    rajesh
    Attachments:
    active x.vi ‏18 KB

  • Error while Using the Visual Basic Script Job Definition Type for Non-SAP

    Hi,
    when using VBScript Job Definition Type I got the following Error:
    Input Error: There is no file extension in "C:\Program".
    When I run the Script locally on the Server it runs fine.
    Using CMD Job definition on the same platform agent runs also fine.
    Is there maybe a wrong setting or are there any parameters to configure to run VBScript Job definition ?
    Best Regards Torsten Rehage

    Hi,
    yes it is a bug. I had contact with my redwood consultant.
    He sends the error to the developer. I set the datarootdirectory to a path without blanks and it works.
    Thanks
    Torsten

  • Passing Array of Srings between Visual Basic and Labview dll

    I have searched and searched for the correct way to pass an array of
    strings between Visual Basic 6.0 and a Labview 7 dll. So far, I still
    do not know how to pass the array. When I create the dll in LV, the
    array of strings is presented as a string, not an array. I am familiar
    with passing arrays of type double, but I really need to know how to
    pass an array of strings. Any and all help is appreciated.
    Bob

    Hey Bob,
    From what I understand, that can get kind of messy. You have to allocate the memory in VB in the format that LabVIEW expects (see the externalcode.h file in National Instruments\LabVIEW 7.0\cintools for details). Then pass a pointer to that location to LabVIEW. There are a couple of related examples online. They don't necessarily show how to pass an array of strings to VB, but they should show how to pass a string and an array. I hope this helps.
    Using Microsoft Visual Basic to Call LabVIEW DLLs That Pass String Data Types
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B123AE0CB9B0111EE034080020E74861&p_...
    Using Microsoft Visual Basic to Call LabVIEW DLLs That Pass Array Data Pointers
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3D9E556A4E034080020E74861&p_...
    Regards,
    Chris J

  • How do i use directX in microsoft visual basic studio 2010 express ?

    i am writing code to graph stock market prices using microsoft visual basic studio express
    i want fast response (i do machine language) using directX
    this is my problem
    i have never used directX, and i have never used directX in visual basic studio
    i followed a tutorial that went like this
      Reference: Microsoft.DirectX
                 Microsoft.DirectX.Direct3D
                 Microsoft.DirectX.Direct3DX
        Imports: Microsoft.DirectX
                 Microsoft.DirectX.Direct3D
                 Microsoft.DirectX.Direct3DX
        Declare: Private D3Ddev As Device = Nothing
                 Private D3Dpp As PresentParameters = Nothing
                 Private DP As DisplayMode = Nothing
    i found the reference dll's at C:\Windows\Microsoft.NET\DirectX for Managed Code\1.0.2902.0
    when i imported microsoft.directX.direct3DX i got error #1
    namespace or type specified in the imports 'microsoft.directX.direct3DX' doesn't contain any public member or cannot be found...
    the same error occurs wether i use direct3DX \1.0.2911.0 or \1.0.2902.0
    when i built and ran, i got error #2
    microsoft visual basic 2010 express is waiting for an operation to complete ...
    it hangs and i have to soft reset ctrl-alt-del
    error #3
    when i reference
      Microsoft.DirectX
      Microsoft.DirectX.Direct3D and
      Microsoft.DirectX.Direct3DX
      from C:\Windows\Microsoft.NET\DirectX for Managed Code\1.0.2902.0,
    all my declares work:
            D3Dpp = New PresentParameters()                             'Initialize
    some stuff for the Presentation parameters
            D3Dpp.BackBufferFormat = DP.Format
            D3Dpp.BackBufferWidth = DP.Width
            D3Dpp.BackBufferHeight = DP.Height
            D3Dpp.SwapEffect = SwapEffect.Discard                       'There's flip, copy, and discard. Flip and Discard
    are used most often.
            D3Dpp.PresentationInterval = PresentInterval.Immediate      'Present the scene immediately
    but when i start debugging (f5), i get this error message:
    mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information
    i dont fully understand the visual studio process, but i think 'mixed mode' means run and debug. two seperate app's
    i know this is a long question, but the forums don't answer it properly
    i want it answered concisly. i am running windows 7 basic, and this is my question
    can somebody give me a dozen lines of directX code that will work with my system, so that i can at least draw a line using directX 2D and 3D ?
    thanks everybody :)

    Hi,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Since your issue is related to DirectX, I suggest you consult on DirectX forum:
    http://xboxforums.create.msdn.com/forums/ for better response.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • NI Measurement Studio UI components for Visual Basic 6.0 message box

    Hey All,
    North West Quality Analyst was recently installed on my LabVIEW development machine. Whenever I launch NWQA I get a dialog box to install "NI Measurement Studio UI Components for Visual Basic 6.0" for program called "Program Name."
    I cancel out of the install and I can use NWQA just fine. However, I would like to eliminate the install attempt. Any ideas on how to do that?
    I've tried to find the installer file on the Distribution discs, but on the two that I thought it would be on, "Measurement Studio Enterprise Support for Visual Studio 6.0" and "Measurement Studio Enterprise Edition" the file named "MStudioUIDemo.msi" was not found.
    Thanks,
    -Andrew

    Below is the text from the event viewer warning...
    Detection of product '{7B0F253A-C7A2-4335-B041-99868E9EDEE8}', feature 'UI_Controls', component '{A44FC66B-252B-11D4-A77B-00104B6CE77D}' failed. The resource 'C:\WINNT\system32\CWHlpBtn.ocx' does not exist.
    I have lots of stuff installed on the computer... MS Office, Codewarrior, Roxio, IE, MatLAB, etc.
    Looking under MAX, I have the following NI software installed.
    LabVIEW 6.1 (Advanced Analysis, Application Builder, Database Connectivity Toolset), 7.1 (Advanced Analysis, Application Builder), Runtime 6.0, 6.1, 7.0, 7.1, MAX 3.1.1.3003, NI-488.2 2.20, NI-CAN 2.2f2, NI-DSA, NI-IMAQ, NI-Motion, NI-PAL, NI-Switch, NI-USI, NI-VISA 3.2, Measurement Studio 6.0 (For Visual Basic(ActiveX User Interface, ActiveX 3D Graph, ActiveX DataSocket, ActiveX IMAQ))
    The Dell box is running Window's 2000.
    I found a listing under "Computer Management" -> System Information -> Software Environment -> Loaded Modules
    that seems to have all the installed apps and such. I can send that to you privately if you desire.
    Thanks,
    -Andrew

  • Pass a value to a dll under labview

    I have to build a dll under cvi and use it under labview. my problem is to pass a value to this dll from labview.
    But when I use it, labview return an error code and close the software...
    I can return value from the dll to labwiew but not the contrary. can you help me please.
    I am a beginner and I am sorry for my english..."
    don't think it's a calling convention beceause When I use the box "call a dll" in labview and I select my dll, I can see all functions I have create in the dll (just the extern functions). for the datatype, I use int or unsigned int and sometimes char. and I can receive this value in labwiew...
    but for the pointer that's certainly my problem
    this is the sourcecode of my function. I drive a digital
    to analogue converter and I want to select the exit (There is 4 exit 0x00,01,10,11 )and a voltage (0 to 255 in décimal):
    void __stdcall dac_sortie_tension (int sortie, int tension)
    outp(LPT1+0x000,4); /* not important*/
    outp(LPT1+0x400,sortie);
    outp(LPT1+0x000,2); /* ecriture de l'adresse2*/
    outp(LPT1+0x400,0x00); /* not important*/
    outp(LPT1+0x000,3); /* not important*/
    outp(LPT1+0x400,tension);/*write voltage*/
    if I use a constant to "sortie" & "tension" it's OK...
    I try to use this:
    void __stdcall dac_sortie_tension (int *sortie, int *tension)
    but it's the same..."
    when I select the fonction in labview, I can see them
    but there isn't argument' ("sortie" & "tension") and I have a void like this:
    void fonction (void)
    what is the problem..
    I can give argument to the function but there aren't used..."

    /*draven*/;
    You need to configure the function manually. Once you select the dll and select the function, select the button Add a Parameter After. You can change the name of the parameter to sortie, keep the Data Type as long and then change the Pass field to Pointer to Value. Click again the Add a Parameter After button and do the same for the your variable "tension".
    For more information about calling external code in LabVIEW, refer to the following document (which should be also included with LabVIEW):
    Using External Code in LabVIEW
    Instructions on-line are here:
    An Overview of Accessing DLLs or Shared Libraries from LabVIEW
    Check also examples here:
    Communicating with External Applications
    Regards;
    Enrique Vargas
    www.visecurity.com
    www.vartortech.com

  • ATL, UDT and Visual Basic

    Hi,
    This isn't a measurement studio question but....
    I'm writing an ATL COM object that contains some UDTs that are used in some of the methods
    Ex:
    typedef [public, v1_enum]enum GateModeVal{
    ContinousGating = 0,
    GateOnce = 1
    }GateModeVal;
    typedef [public, v1_enum]enum MeasurementVal{
    FreqA = 1,
    TI_A_B = 2,
    TI_Delay = 3,
    RatioA_B = 4,
    FreqC = 5,
    Totalize_Stop = 6,
    Period = 7,
    TI_Average_A_B = 8,
    Check_10MHz = 9,
    A_Gated_By_B = 10,
    Gate_Time = 11,
    Totalize_Start = 12
    }MeasurementVal;
    The component will be used in Visual Basic.
    Does anybody know if there is a way to access the UDT list in VB so I can populate a list box in the VB app at run time with the descriptive strings
    Thanks
    Curt

    Hi Curt,
    This forum is reserved for Measurement Studio questions. I would recommend posting your question to Microsoft or perhaps refer to this forum.
    Thanks
    Jonathan N.
    National Instruments

  • Bring back Visual Basic 6.0 ! We all need it.

    Please reconsider introducing VB6 to the market. It is needed by many.

    Hi Reed,
    Thanks for your two posts. Let me try to reply.
    Discussion or Argument ?
    You say "these forums are for discussions not arguments", and suggest that I want an "argument" or I am "trolling".
    Yes they are for discussions and no it isn't the case that I want an argument (or that I am trolling). I am trying to have a reasoned discussion following the opening poster's genuine request to "Please reconsider introducing VB6 to the market. It is needed
    by many."
    I don't consider you treated him fairly. You have some sort of administrative status on this forum, implicit in that is that you should treat all posters equally and fairly. Yet your first post was "Bring back Windows 3.11, we need it. ......VB6 should
    be retired and forgotten."  That post alone was unfair to the OP and it set the tone for other posts that followed.
    In other posts you refer to "VB6 zealots" but never criticize those who oppose the return of VB6 even when they accuse posters of being someone else. (I'm not making a plea for more banning and more censorship, I'm asking that everyone be treated
    equally).
    You also say "At the end of the day it is a fool's errand to argue with fools, so there's little sense to continuing the 'discussion'". Hardly fair and equal treatment, and certainly not an encouragement of discussion rather than argument.
    You also state "If this thread were meant to take itself seriously, it would have a title which was not so obviously false, and it would contain some content with a reasonable argument."  Again, the opening post was clearly a genuine call. You may
    not agree with it but that is no reason to call it 'obviously false'.
    Also the opening post doesn't even refer to VB.NET, it certainly doesn't suggest that VB6 should replace VB.NET - it is others who bring VB.NET into the argument. (And yet you move it to 'Off-topic posts' on the grounds it is not VB.Net related).
    Let me state I am putting this forward as my genuine opinion of your actions, I am not attempting to 'troll', 'flame' or to attack you personally.
    Valid arguments for VB6
    You say Cor has clearly demonstrated there are no valid arguments for keeping VB6 around. Not so.
    First of all the OP says "it is needed by many". Why should your and Cor's opinion be any more important than the OP's ?
    Here are some reasons it is needed (I limit myself to just 5 otherwise this post will be huge):
    1) VB6 is still widely used.  According to the TIOBE index it is the #7 most popular programming language - an amazing feat for a language last updated 16 years ago.  Particularly as Microsoft (& others) have spent 12 years trying to kill
    it off. You may not like it, but there it is.
    2) There are still a huge number of legacy VB6 applications in use, especially in corporates and government. Microsoft have (to their credit) recognized this and offer "it just works" support for the VB6 runtime until at least 2023 (soon to be extended).
    But this support is for the runtime, not the IDE.
     Microsoft effectively offer 2 options for these VB6 applications
       a) If no modifications are required, continue running the VB6 application (presumably Cor disagrees with Microsoft).
       b) If modifications are needed, migrate to VB.NET. 
    But in real life the most likely scenario is that the VB6 application will require a minor modification.
    So what do you do ? According to Microsoft you migrate. But if the modification is just to change (for example) some text on a form that would be nonsense.  I saw a suggestion a while ago that it cost $1 for every 3 lines of code migrated.  So
    a medium sized VB6 application could cost say $20,000 to migrate.  Clearly that is not an acceptable cost for the minor modification I suggested. (Don't get hung up on actual cost figures, I am just pointing out there are potentially significant
    costs involved).
    The obvious answer for this scenario is to use VB6 (at a cost of say $20 not $20,000). Yet Microsoft don't offer this, stating that the VB6 IDE is not supported on Windows 7 or 8. 
    Does anyone disagree that doing minor modifications in VB6 is the only acceptable solution in this scenario? Or are some going to suggest it is better to spend $20,000 than $20 ?
    Microsoft have painted themselves into a bit of a corner here, stating that they support unmodified VB6 applications until 2023, but you can't (theoretically) modify them.
    For completeness on this point I'll cover some other typical scenarios too:-
    One is that the VB6 program needs to become a web application - effectively this is then a re-write not a migrate, so you can decide what language is best to use. It may be, for example, that JavaScript/HTML5 is the way to go. (I've followed this route myself
    for some old VB6 apps).
    Another is that the VB6 application needs a mobile version. A few years ago that may have been VB.NET for Windows Mobile. (I've done that myself too, great for Windows CE/Windows Mobile 6.x). But doing this today you are really looking at iPhone,iPad
    and Android - again you can choose the best approach (native or web app ?) and language.
    The final scenario I'll mention is the one Microsoft do cover - migrate your desktop VB6 app to desktop VB.NET.  I can't think of any occasion in the last few years where I have found a genuine need to do this.  I have certainly seen cases where
    IT (or whoever) have decided that VB6 apps must be migrated because VB6 is 'obsolete' (I guess a view not too dissimilar from many in this forum). I've even done a few of these myself (though I had the sense to only do smaller migrations, not wanting
    to tie myself up with large scale migrations). I don't think of any of  these new applications (done by myself or others) were any better than the ones they replaced, but at least the customers were happy (and paid well).
    3) VB6 is the same language as VBA. VBA is a current, Microsoft supported language. It is in Microsoft's flagship product Office 2013. And it is the same language as VB6. You can cut and paste code between VB6 and VBA (and vice-versa). It is the same
    language.
    Both VB6 and VBA use the Visual Basic Runtime Library. In fact it is more than that, VB6 actually uses VBA to define it's language. In effect the VB6 IDE is a host for VBA in the same way that Word or Excel are hosts.
    It is strange that Microsoft support (and sell and extend) the language when it is named VBA but not when it is named VB6.
    Microsoft say VBA will be supported for the foreseeable future stating "This means that if you have an existing VBA project that you are satisfied with, you can be confident your investment is safe". Where is the logic in having this for VBA but not VB6
    They assure you your VBA investment is safe but won't give the same assurance for your VB6 investment.
    (OK, for the more pedantic posters VB6 is the same as VBA6.  VBA7 is the latest release and includes a handful of modifications to support 64 bit Windows. Prior to VBA7 the languages were kept identical, it is these same modifications that many
    of us now would like to have incorporated into an updated VB6).
    4) A suggestion to bring back an improved version of VB6 is the fifth most popular (out of almost 8,000) on the Visual Studio UserVoice site. Vote
    for VB6
    5) Microsoft's program manager for Visual Studio stated (Channel 9) "It isn't cost effective to keep rewriting code to get back to functional equivalence".  Quite so. So why re-write existing VB6 applications ?  (Again, Cor presumably disagrees).
    General Points
    You mention LightSwitch and SmallBasic. A good point.  But I'm sure you know neither support VB6 code so it doesn't address the concerns of the OP.  But it is nice to see that you aren't opposed to all languages that aren't called 'VB.NET'.
    So why the opposition to an updated VB6 ?  If you prefer, it could be named LightSwitch 6.1 rather than VB6.1 ? Or maybe SmallBasic 7.0 ? Or if you see VB6 as a threat to VB.NET you could name it VB Junior. As long as it can open and compile VB6
    code that's fine by me. Incidentally, there is certainly no call for VB6.1 to be part of "the .Net family".
    You say "you want these hard working people to DO MORE WORK so that you can continue to generate income from your ancient endeavors."   I'm not sure I see your point here.  How is asking for Microsoft to bring back VB6 (together with the modifications
    they have already done for VBA7) doing that? I suspect Microsoft could do this for a fraction of the money they have wasted on LightSwitch or SmallBasic. And if it is going to be more work than Microsoft can handle (as if) they should open source
    VB6.
    You mention that your 8 year old website is 'crap'. Well, that's what happens with websites. But the analogy doesn't really hold for a typical VB6 desktop program. A desktop CRUD program written in VB.NET doesn't really look (or behave) any different
    to the same program in VB6.
    You ask what I will be doing in 5 years when nobody uses PCs anymore ?  Well who knows what the future will bring, but it is likely to be VB6 for those (mainly corporate) users still using desktops and laptops or Windows tablets, JavaScript for
    Web apps - including iOS and Android - (I note Microsoft are recommending JavaScript/HTML5), and something (maybe Basic4Android ?)  for native Android apps if Android phones and tablets become more acceptable for corporate users. I'll probably
    also be migrating my VB.NET apps to JavaScript too.
    As things stand, Microsoft have sent a clear message: 'If you are planning to make a substantial investment in developing your software, if your application is mission-critical, if you expect to use it for years to come - don't use Microsoft languages.'
    Have Microsoft learnt from this ? The killing of Silverlight would suggest not.

  • MS Visual Basic for Applications will not apply digital signatures

    When using Microsoft Visual Basic for Applications within any office application (Excel in this case), i cannot see the certificate store when creating digital certificates. It appears to be localised to the operating system but can't seem to find the issue.
    To create the digital signature within Excel i normally go to Developer > Visual Basic > Tools > Digital Signature.  When i select 'Choose', the certificates are not presented.
    Has anyone experienced this?
    Thanks in advance.

    Hi,
    As far as I know, If we want to use the digital signatures, we need to Digital Certificate for VBA Projects tool which a set of extra tools. I recommend we repair/reinstall the tool with a backup install CD.
    Then, we may follow the below links to reset a digital signatures and add the digital signatures in the trust list(Location: File>Option>Trust center.) to test if it is helpful:
    http://www.wiseowl.co.uk/blog/s240/digital_certificates_for_macros.htm
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support

Maybe you are looking for