Unable to Meke EXE using VB6 and CW

I know that I will be a little bit long, but that's the only way to be precise.
So please, maybe someone out there can help me, since th NI Knowledge Base
didn't ...
We use ComponentWorks 2.0.1 and we also got 3.0.1 update.
My computer runs Windows98SE (German version) on an INTEL Pentium III - 600
MHz.
Using Visual Basic 6.0 (SP4) and trying to "Make EXE" the compiler stops
when displaying "Writing EXE" at about 80% gauge. The error message will
always be (I try to translate, since I use a German OS):
"This application was closed due to an critical error". And: "VB6 caused
an critical error 10H in module CW3DGRPH.OCX at 016f:07c5a14e. ..."
If I click "Close" the whole VB6 environment will close. If I click "debug"
C++ comes up and says: "Unhandled exception in VB6.EXE (CW3DGRPH.OCX): 0xC0000090:
Float Invalid Operation". In the disassembly line stands: "07C5A14E fld
qword ptr [esi+200h]"
What did I try to resolve the problem?
1. I installed a "clean" Windows 98 (First edition!), installed my components
and VB6. The error did NOT occurre! After installing a newer dated application
(Outlook Express) the error came. So I guess it will deal with some overwritten
dll or so.
2. I installed Win98 SE and the error always occurred.
For Your information: I named my Windows directory "C:\WIN" and teh System
directory is "C:\WIN\SYSTEM".
3. I reinstalled CW2.0.1 and tried using CW3.0.1. No change. I still couldn't
make the exe file.
The OCX files seem to be registered properly.
(BTW: Any other application not using Component Works can be made to EXE
files.)
4. In my office others are working on this project too. They use Windows
95, Win2000 and Win NT4 WITHOUT any trouble. None is using Windows 98SE.
I am almost changing to Win 2000, but first I don't think it is a secure
way to handle the problem. Who knows, if it appears some day again when any
specific dll or so had been changed in the system folder? And second, I might
need a hardware based OS some day in near future and wish to have Win98 SE
again on my disk.
In all above cases the error message was the same.
Thank You in advance.
Siegfried Wessler

To make ur Project an exe file u should have the full version of the cw works installed. As expected of exe files it should run on any machine. so the best way out ( the way i used in my project ) is to go to start -> programs -> measurement studio tools -> package and deployment wizard,click on it. It will ask u to select the project. chose it from ur dir and clik on the PROJECT button.
the wizard will guide u through the rest of the set up. and it will create u a set up file which u can install like any windows application.
This method has always worked for me.
all the best
partha

Similar Messages

  • Defining sort criteria using vb6 and CR XI

    using vb6 and cr XI and I am trying to provide the user with the capability of defining sort options using options defined on a VB6 form.  The sample code I've found as described below doesn't seem to allow me to change the sort criteria by field name
    'General Declarations
    Dim CRXDatabaseField As CRAXDRT.DatabaseFieldDefinition
    Private Sub Form_Load()
    Set CRXDatabaseField = CRXReport.Database.Tables.Item(1).Fields.Item(8)
    CRXReport.RecordSortFields.Item(1).Field = CRXDatabaseField
    I would like the user to select an option to sort by say Client and then provide this information to the report like I could with CR 7 as follows
    crReport.SortFields(0) = "+{Horse.Location}"
    Thanks for any help
    Gerry

    Hi Gerry,
    Have a look to  [Sample codes|https://boc.sdn.sap.com/codesamples] and [Dev Library|https://boc.sdn.sap.com/developer/library]
    Hope that helps!!
    Regards,
    Shweta

  • Controlling NI2568 Switches using VB6 and DAQmx

    Can the NI-2568 (and similar) switches be controlled using VB6 and DAQmx?
    I got the impression from the "NI-DAQmx C API VIsual Basic 6.0" Help, that by using the "Digital Output API ",  it could be done very similarly to opening/closing a discrete , but no samples were included.
    I just need to close a few relays and don't know if I have to install the "NI-Switch" software or not.
    If it can be done, what would be the channel string to pass to the DAQmxCreateDOChan dll function
    (in place of "Dev<x>/Port<y>/Line<z>").  MAX shows my (simulated-don't have the hardware yet) switch device to be "PXI1Slot3" .
    Thanks,
    Jon 

    Hi Jon,
    You can also use NI-DAQmx Switch functions to control PXI-2568 rather using NI-SWITCH (NI-SWITCH installs ready-made VB examples)
    You can use functions such as
    DAQmxSwitchSetTopologyAndReset, DAQmxSwitchCloseRelays, DAQmxSwitchOpenRelays to control individual relays in PXI-2568. ANSI C Examples for DAQmx switches can be found at C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Switches. This can be used to write VB 6 code. Refer to  using "C Examples to create VB 6.0 Applications" in C:\Program Files\National Instruments\NI-DAQ\Docs\cvb60daqmx.chm for help on converting C examples to VB 6.0.
    Kalyanramu Vemishetty
    Automated Test Systems Engineer
    National Instruments

  • Unable to authorize user using AccessControlService and user.roles and user.privileges are not set properly

    Hi,
    I am trying to enable/disable a feature based on user.roles.
    Added a constraint for that feature as below,
        <adfmf:constraints>
          <adfmf:constraint property="user.roles" operator="contains" value="manager" id="c1"/>
        </adfmf:constraints>
    In this case, Users have manager role should be able to access this feature.
    My AccessControlService response is
    {"userId" : "sales_mgr","roles" : [ "manager","MOO_OPPORTUNITY_SALES_MANAGER_DUTY","ZBS_ENT_SALES_MANAGER_DUTY"],"privileges" : [ "managerPriv","ZSF_DEFINE_SALES_FORECAST_PRIV","MOO_MANAGE_OPPORTUNITY_GROUP_SPACE_PRIV"]}
    Repsonse has "manager" as one such role.
    After adding constraint to the feature, am unable to access it.
    I tried many possibilities like  operator="contains" or "not" or "equal", but no use.
    I don't know what is going wrong. Appreciate you help.
    Thanks.

    If you are on 11.5.10 or greater or standalone 2.6.4 if you pass the responder value to wf_notification.respond API it should be updated in wf_notifications.responder column. The comments is now updated in wf_comments table against the notification id and not wf_notifications.user_comment column.
    Thanks, Vijay

  • Simultaneously Connecting Multiple Tables of the same Database to Textboxes of the same Form using a single ADO Control Code using VB6 Enterprise Edition and MS Access 2007

    Iv 10 Tables consisting of atleast 10 fields each in a single Database. Bt, Im only able to connect 1 table at a time to a form using an ADO Control. Im able to add data from table 'student' to text-boxes in my form. Bt, hw can I add data from field(0) of
    Table 'Student' to Textbox1 and data from field(0) of Table 'Marks' to Textbox2 using VB6??
    This is the current sample coding iv got to connect a single table to a form:
    Global con As New ADODB.Connection
    Global rs As New ADODB.Recordset
    Public Function Connect()
    If con.State = 1 Then con.Close
    con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + App.Path + "\bca.mdb;Persist Security Info=False"
    End Function
    Private Sub Add_Click()
    If rs.State = 1 Then rs.Close
    rs.Open "select * from student", con, adOpenDynamic, adLockOptimistic
    rs.AddNew
    rs.Fields(0) = (Text1.Text)
    rs.Fields(1) = (Text2.Text)
    rs.Fields(2) = (Text13.Text)
    rs.Fields(3) = (Text4.Text)
    rs.Fields(4) = (Text5.Text)
    rs.Fields(5) = (Text6.Text)
    rs.Fields(6) = (Text7.Text)
    rs.Fields(7) = (Text8.Text)
    rs.Fields(8) = (Text9.Text)
    rs.Fields(9) = (Text10.Text)
    rs.Fields(10) = (Text11.Text)
    rs.Update
    MsgBox " Record Added"
    End Sub
    What can I do to add fields from 2 different tables to different text boxes within the same form using a single ado control using vb6 and MS Access 2007??

    Hi,
    Since VB6 product is not supported in this forum, you may go to these forums for support:
    #Where to post your VB 6 questions
    http://social.msdn.microsoft.com/Forums/en-US/6a0719fe-14af-47f7-9f51-a8ea2b9c8d6b/where-to-post-your-vb-6-questions
    Thank you for your understanding.
    Best regards,
    Franklin
    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.

  • VB6 and CRW32.exe 4.6.1.0 Question

    I just took on a client who has asked me to modify an old application that was written in VB6 (sp6) with a bunch of Crystal Reports.  Because I havenu2019t used VB6 in many, many years, I just had to reinstall it and the Crystal Report Designer add-in.  My version of CRW32.exe is 4.6.1.0. 
    I am finding that CRW32 cannot open any of these reports for editing.  I get the u2018Crystal Reports:  Error Loading Reportu2019 pop-up saying u2018Unable to load report.u2019
    Is there any way that I can tell what version of Crystal was used to create these reports?
    Also, if my version is too old (which I believe it is), can I downloaded a newer version of the Report Designer that would help me edit these reports?
    Thank you in advance,
    SKH

    Hi there,
    If you are having issues opening it up with crw32.exe and it's 4.6.1.0, then the report that you are opening is likely older than what you have.  Unfortunately, there's no way to tell which version of CR the reports were developed with.
    The current version of CR (CR2008) is 12.0.0.549.  Therefore, if you wish to update to the latest version of CR, which is CR2008, you should start from scratch as the reports that your client have is not upgradable.  That's a jump of eight versions.
    Another alternative is to use CRXIr2 (CR 11.5.x.xxxx) or CRXIr1 (CR 11.0.x.xxxx), they are all upgradable to CR2008 if you decide to do so later.  Please note you cannot download a trial version of CRXIr1 anymore. 
    In any case, you can download either CR2008 or CRXIr2 with sp2.
    CRXIr2:
    http://www.businessobjects.com/forms/default.asp?id=701300000000tKv
    CR2008:
    http://www.businessobjects.com/forms/default.asp?id=701600000009BXP&extcmp=cr2008_product_promo_2
    You will need to enter your particulars as that's how you will receive your trial keycodes.
    Hope that helps.

  • I've connected my macbook pro (os 10.6.8) to an external display, but it will not go into clam shell mode!  When I close the lid the laptop goes to sleep, and I am unable to wake it using the external keyboard or mouse.

    A rundown of what I've tried:
    Adjusting energy settings to try to prevent sleep
    Pluging the USB keyboard and wacom tablet directly into the laptop (as opposed to a usb hub)
    My laptop's power cable is connected
    My display (a Vizio TV) is recognized in the System Preferences panel
    I'd been using this TV for about a year with my older Macbook Pro (OS 10.5.8), though using a different wireless keyboard and mouse
    ***Update:  The issue seems to lie with the keyboard and wacom tablet.  I am trying to use a wireless Case Logic keyboard (with dongal) and wired wacom tablet to wake the Macbook Pro in clamshell mode.  To experiment, I tried using my Logitech wireless keyboard & mouse set (also dongal) that I had been using before and it wakes the computer without any problems!  However, I really need to be able to use my wacom tablet.  If I switch to the tablet after waking the computer using the Logitech keyboard & mouse it works, but once the computer sleeps it won't work anymore.  I could keep switching back and forth I suppose, but it's sort of a pain.  There has to be an easier way!  Any ideas why the wired wacom tablet is unable to wake the computer in clamshell mode?
    Thanks!

    So your keyboard or mouse won't wake the Mac when you close the lid correct? Try resetting the SMC and pram
    Shut down the computer.
    Disconnect the MagSafe power adapter from the computer, if it's connected.
    Remove the battery.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Reconnect the battery and MagSafe power adapter.
    Press the power button to turn on the computer.
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • I have been using Safari for years and have always kept it on "private." Starting two days ago, I suddenly found myself unable to log onto my blog and many other sites that I normally log onto when private is set. Why?

    I have been using Safari for years and have always kept it on "private." Starting two days ago, I suddenly found myself unable to log onto my blog and many other sites that I normally log onto when private is set. This so annoying, I just switched to Firefox. I don't like Firefox nearly as much as I like Safari. What is happening? How do I fix the problem?
    Thank you.

    Might be a corrupted database ...
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

  • I am unable to update my album art since I commenced using match (and after upgrading to Yosemite).  How can I 'unembed' old cover art and replace?

    I am unable to update my album art on my iMac since I started using Match (and after upgrading to Yosemite 10.10.3).  A message advises that it's not possible to removed old artwork if it's embedded.  How can I 'unembed' old cover art and replace?

    Normally artwork recovered with iTunes is stored as a separate artwork file and iTunes refers to that file to display artwork when you click on a track.  However, if you then copy the file to another player the artwork file is left behind and the track will not display the artwork on the other player.  To get around this it is possible to embed the artwork in the music file itself so it always travels with the file.  Artwork can be embedded by you or files from third party sources may arrive with embedded artwork.  iTunes apparently now won't replace artwork for such files.  You can accomplish this by completely deleting artwork for a file or set of files in Get Info, then getting iTunes to fetch artwork which will then be set as a reference file rather than being embedded.
    I use an old iTunes so unless you are using an ancient iTunes it won't help for me to give you great details.  To erase artwork I simply get info on a series of files and check the box next to the artwork box without adding any artwork and close.  To do it for  single file I Get Info, go to the artwork display tab and click delete.  Here's a Windows reference for a newer iTunes (but the "old Get Info" reference is for early iTunes 12 and no longer works with newer):I cannot delete embedded album artwork in iTunes 12

  • When i scyn photo from pc to iphone, by using cable and selecting iphone on ituens,the photo which stored in my ipone, i am unable to delete some photoand even can not arrange them according to my wish

    when I scyn photo from pc to iphone , by using cable and selecting iphone on itunes, the photo which stored in my iphone , i am unable to delete some photo from them and even can not arrange them accoring to my wish, please let me know what to do ?

    you can only delete the photos you take on the phone itself as in from camera roll
    sync mean syncronize as in make the 2 side the same if you could delete the photos syncronized to your iphone then the nature of what syncronize mean result in the logic step being deleting the photo on your computer too
    you get rid of the photo by sync with another dir/ sourse or by moving the photo out of the dir of the computer and then resync

  • 7.1 update to IPad now unable to use FaceTime and iMessage says could not sign in check your network connection.  Why am I seeing this when I am connected?

    7.1 update to IPad now unable to use FaceTime and iMessage says could not sign in check your network connection.  Why am I seeing this when I am connected?

    Check Settings>General>Date & Time>Set Automatically>On. Make sure that the time zone setting is also set correctly.
    If that didn't solve the problem, restart your iPad and try again. If that fails, reset your iPad and try again.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    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 if it appears on the screen - let go of the buttons. Let the iPad start up.

  • I have iphone 6 plus. When i am connecting it to my Hyundai Grand i10 using Bluetooth and trying to call someone, unable to get the ringing sound. Sound comes only when the person receives a call.

    I have iphone 6 plus (IOS 8.0.2). When i am connecting it to my Hyundai Grand i10 using Bluetooth and trying to call someone, unable to get the ringing sound. Sound comes only when the person receives a call.

    Hello Mogulman46,
    So what that means is when you have Do Not Disturb turned on, you may have an alert depending on the setting and how you are using your iPhone. So if it is set to Always, then that means that no matter what, your iPhone will not be notified. If it set to Only while the iPhone is locked, then that means that you will not get notification when your iPhone is locked but you will get notifications if your iPhone is being used. Also keep in mind the settings All Calls From can be set to certain contacts like Favorites, Everyone or no one. If you are using Do Not Disturb and you do not need it, then turn it off. 
    Use Do Not Disturb on your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht5463
    Regards,
    -Norm G. 

  • "Unable to Connect" using Firefox and Windows 7. Have tried all the suggestions on this website to no avail. I need firefox for my work! Please help!

    "Unable to Connect" using Firefox and Windows 7. Have tried all the suggestions on this website to no avail. I need firefox for my work! Please help!
    == This happened ==
    Every time Firefox opened
    == Since I downloaded Firefox

    same here my AV is ESET, i already unblock it but no use can't connect to the internet..

  • I'm unable to connect to my yahoo e-mail server on my IPAD2, even though I can use safari and get to my yahoo account and mail.?

    I'm unable to connect to my yahoo e-mail on my IPAD2 since I have installed the new software?  I can use safari and navagiate to my yahoo e-mail and get e-mail.  I'm also unable to connect to the Icloud.  Does anyone know what I may be doing wrong and how to fix it.

    What does it have to do in iPad forum?

  • I am unable to send emails using mail from my btinternet and yahoo accounts similar problem to others with mobile me accounts on lion any suggestions?

    I am unable to send emails using mail from my btinternet and yahoo accounts similar problem to others with mobile me accounts on lion any suggestions?

    Do I need to delete all my email accounts and start again?

Maybe you are looking for

  • Useless Map in Photoshop Elements 7, 8, and 9

    I use Windows 7, and have 4 GB RAM, a 2 GHz dual-core processor, and lots of hard drive space.  In Photoshop Elements 7, 8, and 9 the mapping function is completely useless.  Sometimes the pins on the map just flash at me.  When I try to magnify a ce

  • LR keyword search (coming from PSE Organizer 9)

    I am using LR 4.1 RC2.  This morning using LR I upgraded my PSE Organizer 9 catalog.  It has about 50k photos with keywords and star ratings.  It seems like the upgrade worked because I can now see all my photos in LR and they have the keywords and s

  • CS2, CS3 & CS4 upgrade questions

    Is it possible to have both CS2 and CS3 installed and functional on the same Windows machine at the same time? Same question with CS3 and CS4 and, if it can be done, are there any known issues that result? I need to migrate our graphics station to th

  • MBP/HDTV Resolution Mismatch

    Hi all, long time lurker here. I'm having a problem (obviously) getting my mbp (purchased june 2011) to connect to my shiny new insignia hdtv.  i've got a thunderbolt to hdmi that's working swimmingly, i've been able to get the sound out of the exter

  • Upload records - SQL loader.

    Dear All, We are in the process of getting a big volume data upload project. The data is to be uploaded using SQLLDR in Oracle DB. However the no of records are huge in GB. Max volume looks to be for the table: 153 million records x 197 (Max size of