"Error 13 type mismatch" appears in a VB6 under XP but not under wWindows 2000 ...

Hello !
I would like to use Daqmx functions in a VB6 program I am currently writing. In order to gain ideas about how to do it, I ran an example code DigPulseTrain-Cont.vbp included in Labview 8.2 intsallation. It works OK when ran on a Window 2000 PC, but delivers an arror massage "13 Type mismatch" when using a XP platform. Is it documented somewhere and any fix I can use to bypass this ?
Thank you !
Nicolas GINET

Hi,
Here there is an explanation of this type of error:
http://digital.ni.com/public.nsf/allkb/8800DECF0D358C9D86256B1700656C04?OpenDocument
Regards.

Similar Messages

  • I can see my ipod nano 2nd generation under finder but not under itunes.

    I can see my ipod noano 2nd generation under finder but not under itunes. I can't upgrade the music on the ipod nano if itunes doesn't show it. How can't I fix this problem?

    See this article first.
    http://support.apple.com/kb/TS1461
    If still no luck, try a low level format of the iPod using Disk Utility and the instructions provided in this article.
    http://www.methodshop.com/gadgets/ipodsupport/erase/index.shtml
    B-rock

  • Files seen under Explorer but not under Music; making playlists outside Music

    My Zen Touch 2 sees some files only in the explorer but not under Music > Songs. I.e. I load an album into the right folder and Zen sees only the fourth, fifth etc. track under Music while seeing all under Explorer. As I can add songs to playlists only under Music, this effecti'vely blocks me from listening, What`s the... ehm, problem? Why can`t this piece of plastic see all the files?
    And second: Maybe there is a nicer way of making playlists than one by one in the device? I`ve heard some hardware Mp3/4 players cana ccept external playlists, but the help doesn`t mention this.

    QThanks but as this changes even within an album (tracks -3 not seen, later ones yes) I don`t think it is the problem of tags exclusi'vely. BTW, maybe there`s some way of making the Music window (program? folder?) display file names instead tags?
    Thanks for the playlist answer. Now`s just the problem of finding where WMP keeps them

  • Applet using sockets works perfectly under Netscape but not under IE securi

    I have setup a java applet compiled with Sun Forte which implements a connection with a server application with sockets. The applet works perfectly on the same machine when it is loaded from netscape communicator but I receive an com.ms.security.SecurityExceptionEx security error when I am trying to connect on 127.0.0.1:7000. How can I solve this problem I have with IE. I would like to thank you on advanced.

    for ie you need a certificate that tells ie the applet if safe and allowed to open system-resources.
    take a look on the Forum: Signed Applets.
    regards

  • Applet using sockets works perfectly under Netscape but not under IE

    I have setup a java applet compiled with Sun Forte which implements a connection with a server application with sockets. The applet works perfectly on the same machine when it is loaded from netscape communicator but I receive an com.ms.security.SecurityExceptionEx security error when I am trying to connect on 127.0.0.1:7000. How can I solve this problem I have with IE. I would like to thank you on advanced.

    Hi,
    if ur applet want to open socket in IE you need to import microsoft java package which is in Microsoft SDK for Java 4.0.
    import com.ms.security.*;
    try {
    if (Class.forName("com.ms.security.PolicyEngine") != null) {
         PolicyEngine.assertPermission(PermissionID.NETIO);
    } catch (Throwable cnfe) {
                   System.err.println( cnfe.toString() );
    you have to write above code and compile the java file by using jvc.exe which in Microsoft SDK for Java 4.0.
    You can download Microsoft SDK for Java 4.0 from microsoft site.
    try & all the best
    sundaram

  • Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1, column 3 (NumberOfMultipleMatches).

    Hi,
    I have a file where fields are wrapped with ".
    =========== file sample
    "asdsa","asdsadasdas","1123"
    "asdsa","asdsadasdas","1123"
    "asdsa","asdsadasdas","1123"
    "asdsa","asdsadasdas","1123"
    ==========
    I am having a .net method to remove the wrap characters and write out a file without wrap characters.
    ======================
    asdsa,asdsadasdas,1123
    asdsa,asdsadasdas,1123
    asdsa,asdsadasdas,1123
    asdsa,asdsadasdas,1123
    ======================
    the .net code is here.
    ========================================
    public static string RemoveCharacter(string sFileName, char cRemoveChar)
                object objLock = new object();
                //VirtualStream objInputStream = null;
                //VirtualStream objOutStream = null;
                FileStream objInputFile = null, objOutFile = null;
                lock(objLock)
                    try
                        objInputFile = new FileStream(sFileName, FileMode.Open);
                        //objInputStream = new VirtualStream(objInputFile);
                        objOutFile = new FileStream(sFileName.Substring(0, sFileName.LastIndexOf('\\')) + "\\" + Guid.NewGuid().ToString(), FileMode.Create);
                        //objOutStream = new VirtualStream(objOutFile);
                        int nByteRead;
                        while ((nByteRead = objInputFile.ReadByte()) != -1)
                            if (nByteRead != (int)cRemoveChar)
                                objOutFile.WriteByte((byte)nByteRead);
                    finally
                        objInputFile.Close();
                        objOutFile.Close();
                    return sFileName.Substring(0, sFileName.LastIndexOf('\\')) + "\\" + Guid.NewGuid().ToString();
    ==================================
    however when I run the bulk load utility I get the error 
    =======================================
    Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1, column 3 (NumberOfMultipleMatches).
    ==========================================
    the bulk insert statement is as follows
    =========================================
     BULK INSERT Temp  
     FROM '<file name>' WITH  
      FIELDTERMINATOR = ','  
      , KEEPNULLS  
    ==========================================
    Does anybody know what is happening and what needs to be done ?
    PLEASE HELP
    Thanks in advance 
    Vikram

    To load that file with BULK INSERT, use this format file:
    9.0
    4
    1 SQLCHAR 0 0 "\""      0 ""    ""
    2 SQLCHAR 0 0 "\",\""   1 col1  Latin1_General_CI_AS
    3 SQLCHAR 0 0 "\",\""   2 col2  Latin1_General_CI_AS
    4 SQLCHAR 0 0 "\"\r\n"  3 col3  Latin1_General_CI_AS
    Note that the format file defines four fields while the fileonly seems to have three. The format file defines an empty field before the first quote.
    Or, since you already have a .NET program, use a stored procedure with table-valued parameter instead. I have an example of how to do this here:
    http://www.sommarskog.se/arrays-in-sql-2008.html
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Error:Type mismatch: cannot convert from Long to Long

    hi friends,
    I've a problem.I've a JSP that does some long converions,and its working fine when i make it run on my machine i.e
    (Running Tomcat5.0),but when I deploy this file on the server which runs Tomcat 5.5.7,it throws this error:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 20 in the jsp file: /abc.jsp
    Generated servlet error:
    Type mismatch: cannot convert from Long to Long
    Can anyone of you,tell me where i am going wrong???

    Here is an example of doing it with a JavaBean... the bean looks like this:
    package net.thelukes.steven;
    import java.io.Serializable;
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    public class FormHandlerBean implements Serializable {
         private static final long serialVersionUID = 1L;
         private Date startTime = null;
         private DateFormat dateFormatter;
         public FormHandlerBean() {
              setDateFormat("yyyy-MM-dd hh:mm:ss");
         public void setStart(String strt) {
              setStartAsString(strt);
         private void setStartAsString(String strt) {
              setStartAsDate(getDate(strt));
         private void setStartAsDate(Date d) {
              startTime = d;
         private Date getDate(String s) {
              Date d = null;
                   try {
                        d = dateFormatter.parse(s);
                   } catch (ParseException pe) {
                        System.err.print("Error Parsing Date for "+s);
                        System.err.println(".  Using default date (right now)");
                        pe.printStackTrace(System.err);
                        d = new Date();
              return d;
         public long getStartAsLong() {
              return getStart().getTime();
         public String getStartAsString() {
              return Long.toString(getStartAsLong());
         public Date getStart() {
              return startTime;
         public void setDateFormat(String format) {
              dateFormatter = new SimpleDateFormat(format);
    }You would only need to make the getStartXXX methods public that need to be accessed from the JSP. For example, if you will not need to get the Long value of the time, then you do not need to make getStartAsLong public...
    The JSP looks like this:
    <html>
      <head>
        <title>I got the Form</title>
      </head>
      <body>
        <h3>The Output</h3>
        <jsp:useBean class="net.thelukes.steven.FormHandlerBean" id="formHandler"/>
        <%
             formHandler.setStart(request.getParameter("start"));
        %>
        <table>
          <tr><td>Start as String</td><td><jsp:getProperty name="formHandler" property="startAsString"/></td></tr>
          <tr><td>Start as Date</td><td><jsp:getProperty name="formHandler" property="start"/></td></tr>
          <tr><td>Start as long</td><td><jsp:getProperty name="formHandler" property="startAsLong"/></td></tr>
        </table>
      </body>
    </html>If this were a servlet processing the form rather than a JSP, I might throw the ParseException that might occur in getDate and catch it in the Servlet, with which I could then forward back to the form telling the user they entered mis-formatted text value... But since JSPs should be mainly display, I catch the exception internally in the Bean and assign a safe value...

  • Error type mismatch unparseable number

    we are upgrading to crystal 2008 and i am running my report thru info view using activex viewer  - i have some parameters that i check set to null values when i do this i get the following
    error
    error type mismatch unparseable number
    this report calls a store procedure
    has anyone seen this error

    Hi Dilia,
    I'm not sure if I understand you correct. You are upgarding to CR2008 but running your reports through infoview active X viewer. Do you mean you created your reports in CR2008 and exported them to your BOE XIR3 enterprise system and you face the problem there?
    Coudl you clarify this please and let me know which BOE version you use?
    Re. the stored procedure....
    If you got a SP with IN parameters (see example below) please make sure you handle actually parameters with NULL values in your SP.
    Create procedure test (IN Name VARCHAR(30))
    P1:BEGIN
         DECLARE CURSOR ....
         IF (NAME IS NULL) THEN
             set dynstatement = 'select * from testtable';

  • Song and Artist Info missing under itunes but not in the original file, and putting track number next to certian songs. Help

    i recently updated my itunes...today i opened it up and moticed abuout 100 songs missing...they are now at the bottom of itunes song list with a number next to them with information mission such as this the example below
    01 human                                                                 (this song should have the killers name as artist and cd title, etc)
    01 hosanna     hillsong united                                 (this song should have the cd title to it)
    02 lay me down                                          burning light
    02 leave out all the rest
    02 let it be                       the beatles
    03 papercut
    when i go under the original folders and files in the itunes folder everything is normal no missing info, etc. but under itunes orgnising its picking and choosing the same songs and putting the track number next to it and others songs in the same cd not. plus info missing. under the infor when i click right button all info missing there...but not under original file.
    please help

    A response on this subject from another post:
    It could be that you have inadvertently imported these CDs into iTunes as part of a compilation. If so, the artists won't show in the artists menu on the iPod.
    To check, highlight the tracks on one of the offending artists CDs in iTunes, right click and select "get info". This brings up a multiple song info window, and from there you can check if you have 'yes' in the box marked "part of a compilation".
    If you have, select 'no' instead and click 'ok'. Do this with any CD that has this issue. This will alter the info in iTunes, and you should then connect your iPod and synchronize the changes.
    The problem arises because the information contained on the Gracenote CD Data Base (where iTunes gets all it's album/artist/track info from), is sometimes incorrect. It can show CDs as compilations when in fact they are not.
    ramstigo wrote:
    I had an earlier post on this subject with a similar problem. I tried what you suggested and it worked indeed. You can select the artists from your Ipod on Itunes and after highlighting the artists/albums affected, click NO on the compilation box and the issue is resolved: the artists appear on the list.
    Thank you so much!!!!.

  • I was using my ipad it was under 10% but no under 4% it turned off then i pluged the charger in and flashed on then showed apple sign after i turned it on. now its going back and forth from the apple sign and battery symbol ive changed chargers its not on

    hey please help!
    i was using my ipad it was under 10% but no under 4% it turned off then i pluged the charger in and flashed on then showed apple sign after i turned it on. now its going back and forth from the apple sign and battery symbol ive changed chargers its made no differnce its been like 3 hours ive tried to do that reset thing holding lock button and home button for 10 seconds at the same time. WHAT DO I DO?

    Could be the charger, cable or iPad. Plug the USB cable into your computer. It may say "Not Charging", however, it is charging slowly and will verify that the cable is good.
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    The quickest way (and really the only way) to charge your iPad is with the included 10W or 12W (5W on Mini) USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (2.5W, most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
    Apple Batteries - iPad http://www.apple.com/batteries/ipad.html
    iPhone: Hardware troubleshooting (Power/Battery section also applies to iPad)
    http://support.apple.com/kb/TS2802
    Extend iPad Battery Life (Look at pjl123 comment)
    https://discussions.apple.com/thread/3921324?tstart=30
    iOS 7 Battery Life Draining Too Fast? It’s Easy to Fix
    http://osxdaily.com/2013/09/19/ios-7-battery-life-fix/
    New iPad Slow to Recharge, Barely Charges During Use
    http://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.html
    iPad: Charging the battery
    http://support.apple.com/kb/HT4060
    Best Practices for iPad Battery Charging
    http://www.ilounge.com/index.php/articles/comments/best-practices-for-ipad-batte ry-charging/
    Tips About Charging for New iPad 3
    http://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-ip ad-3.html
    How to Save and Prolong the battery life of your new ipad
    https://discussions.apple.com/thread/4480944?tstart=0
    Prolong battery lifespan for iPad / iPad 2 / iPad 3: charging tips
    http://thehowto.wikidot.com/prolong-battery-lifespan-for-ipad
    iPhone, iPod, Using the iPad Charger
    http://support.apple.com/kb/HT4327
    Install and use Battery Doctor HD
    http://itunes.apple.com/tw/app/battery-doctor-hd/id459702901?mt=8
    To Extend a Device’s Battery Life, Get to Know It Better
    http://tinyurl.com/b67c7xz
    iPad Battery Replacement
    http://www.apple.com/batteries/replacements.html
    In rare instances when using the Camera Connection Kit, you may notice that iPad does not charge after using the Camera Connection Kit. Disconnecting and reconnecting the iPad from the charger will resolve this issue.
     Cheers, Tom

  • When using the camera downloader in Adobe Bridge CS6 with Nikon D5200 we are unable to see previews of the photos and it is very slow to download. The issue occurs under a the users rights, but not under admin level. This is a new issue

    When using the camera downloader in Adobe Bridge CS6 with Nikon D5200 we are unable to see previews of the photos and it is very slow to download. The issue occurs under a the users rights, but not under admin level. This is a new issue.

    Hi Jdentremont,
    Lync client gets user photos by first querying the Address Book Web Query (ABWQ) service on the server, which is exposed through the Distribution List Expansion web service. The client receives
    the image file and then copies it to the user's cache to avoid downloading the image each time it needs to be displayed. The attribute values returned from the query are also stored in the cached Address Book Service entry for the user. The Address Book Service
    deletes all cached images every 24 hours, which means that it can take up to 24 hours for new user images to be updated in the cache on the server.
    To troubleshoot your problem, please follow the steps below:
    1.  Navigate to
     “X:\share\1-WebServices-1\ABfiles\000000000\000000000” folder. (ABS file share)
    You should see some photo files in this folder as the following screenshot.
    2. Delete all the files in this folder.
    3. On test PC, delete local cache files.
    %userprofile%\AppData\Local\Microsoft\Office\15.0\Lync\[email protected]
    4. Sign-in Lync with the test account.
    5. Go back to the ABS file share, check if there is any Photo file in the folder.
    Best regards,
    Eric
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • I recently download a song with my IPOD Touch 4G.  The song appears in my iTunes music library but not on my IPOD.  I've tried syncing several times, but I cannot get it to transfer to the IPOD.  Any suggestions??

    I recently download a song with my IPOD Touch 4G.  The song appears in my iTunes music library but not on my IPOD.  I've tried syncing several times, but I cannot get it to transfer to the IPOD.  Any suggestions??  (This has never happened before to me)

    Use 3rd party software like:
    http://www.digidna.net/products/diskaid
    http://www.wideanglesoftware.com/touchcopy/index.php
    For items purchased (including apps) from iTunes:
    http://support.apple.com/kb/HT1848

  • Why do Outlook calendar invites appear on my iPod touch calendar but not my icloud calendar

    Why do Outlook calendar invites appear on my iPod touch calendar but not my iCloud calendar? I use Outlook at work and if I want to add events to the calendar on my iPod Touch which I use as a PDA I simply create the event in outlook select my gmail email address and invite myself. The event appears on my iPod Touch...all well and good...now with the advent of iCloud I would like to see all events on my iPod calendar on the iCloud calendar that I view on my PC. At the moment only events that I have added directly onto the iPod calendar appear on the iCloud calendar.
    I have messed around abit syncing and unsyncing, Turning the Calendar on and off in the iCloud setting on the device but nothing is really working. Any easy to follow suggestions or is it a trip to the geniuses in order?

    Not sure why you'd want to alter an artist name anyway but...
    In iTunes, right-click selected track and click "Get Info" then edit the artist field and possibly the album artist too (edit as in... make sure they have a value (the correct artist name)). Delete the faulty track on your iPod and then re-upload the new one.
    Another thing is that if you left the music player open on your iPod when you add the new track, sometimes I find that it doesnt find any of the new songs you add until you close and then re-open the app on the iPod.

  • Error when Writing Metadata to Files in Bridge (Mac) but not in Bridge (PC)

    We get an error when writing metadata to files in Bridge (Mac) but not in Bridge (PC). In the same drive and folder, the PC can successfully write a keyword to a file on the PC, where the Mac returns an error. I have researched this at the Adobe Knowledgebase, but their answer seemed to indicate it was a global issue, and we don't see that behavior on the PC.
    The client is a Mac of course, and the server volume is a Windows share volume. The Mac is bound to AD, and the domain\username and username formats have both been tried when logging in, but you receive the error in both.
    Any help would be appreciated.
    Thanks!
    Rich Oliver

    Hi, I'm having the same problem using FreeNAS (which uses Samba and Netatalk in the backend), but I tried with both AFP and SMB on Mavericks and Yosemite, I still have the same issue.  I think it might be a timing issue with how lightroom interact with a slower write delay using network shares.  I suggest you also chime into this thread:  Lightroom 5 can't write metadata to DNG files   I really hope this is resolved as this is impacting my productivity as I moved my workflow to my Macbook with a shared NAS.

  • HT1918 hey am stranded its like a month now my account does not have  the None in the payment type section i had put my visa info but not now i want to remove them please urgent help

    hey am stranded its like a month now my account does not have  the None in the payment type section i had put my visa info but not now i want to remove them please urgent help

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

Maybe you are looking for

  • I cant sign in, in mac app store

    hello i want to sing in in mac app store ! but i receive this message : "Your device or computer could not be verified. Contact support for assistance." Of course i have not problem with sign in in iTunes !!! version of my mac :10.6.8

  • FTP file on Appserver to an external system from ABAP

    Hi, I am trying to FTP a file that my program writes to the APPSERVER directory. I used FTP_CONNECT, FTP_COMMAND and FTP_DISCONNECT. I am able to connect to the external system and change to the directory where I have to write the file using cd. The

  • Default values on selection screen of a SAP Query

    Hello, I have a selection screen which is designed in SAP Query. How to get default values for the fields on selection screen. Regards, Satya

  • PDF file conversion into XSTRING

    Hi, We have a requirement that we are to convert a PDF file into XSTRING. My requirement is that i am to upload a file into DMS. So i am to pass the file as a XSTRING to a RFC. How can we achieve that?? Thanks, Anumit

  • How to use cancan life 500F with 10.9.1

    Apparently Canon does not have an updated driver for it's Canoscan LIDE 500F model for the latest Mac OS.  I've downloaded VueScan, but apparently I still need a Canon driver.  Does anyone know which driver to download?  And where do I go from there?