Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. andrewwatson

    Change text on NotifyIcon Context Menu

    I've got a NotifyIcon with a context menu. I want one of the menu items to change its own text: private void mnuItem_Click (object sender,System.EventArgs e) { if (mnuItem.Text=="Do Something") { // Do something mnuItem.Text="Do Something...
  2. andrewwatson

    Deployment - creating 2 shortcuts to same exe

    I'm trying to build a deployment package. I need two shortcuts to the same EXE on the Start Menu, with different switches. Creating the first one's OK, but when you create the second (both with a Target of Primary Output), you get an error (something like "Invalid Target"). Is there...
  3. andrewwatson

    CRPE 4.6 API Declarations

    I'm using version 4.6 of Crystal Reports (the one which came free with VB). Is there any way to get declarations for the API calls to the CRPE dll?
  4. andrewwatson

    Sort Group descending from VB

    I've got a report (CR 4.6) that I'm controlling from VB(6) using crystl32.ocx. I want to control the grouping depending on parameters entered in the VB program. I've been able to change the groups using formulae, but can't figure out how to get them sorted in descending order. Groups are...
  5. andrewwatson

    Computed fields using ODBC to an Access query

    When I use ODBC to access an Access query, any computed fields from the query are only showing the first character in Crystal. e.g. a query field "Fullname:[Forename] & " " & [Surname]" only shows "A" on the report. This works OK if I connect direct to the DB...
  6. andrewwatson

    DTS memory leak from VB

    (Leak?? - it's like an iceberg hit the program!). I'm executing a DTS package from VB: Dim dtsPack As New DTS.Package2 Dim dtsStep As DTS.Step With dtsPack .LoadFromSQLServer sServer, , , DTSSQLStgFlag_UseTrustedConnection, , , , sPackage For Each dtsStep In...
  7. andrewwatson

    DTS Memory Leak

    (Leak?? - it's like an iceberg hit the program!). I'm executing a DTS package from VB: Dim dtsPack As New DTS.Package2 Dim dtsStep As DTS.Step With dtsPack .LoadFromSQLServer sServer, , , DTSSQLStgFlag_UseTrustedConnection, , , , sPackage For Each dtsStep In...
  8. andrewwatson

    ISNUMERIC and Floating Point

    Doh! So obvious in hindsight. Thanks.
  9. andrewwatson

    ISNUMERIC and Floating Point

    If you pass ISNUMERIC a string containing a floating point number in scientific format (eg 1.23E4), it returns 1 (i.e. it is a number). However, if you then try to convert (explicit or implicit) this string to Decimal , you get a data conversion error. Is there any way of converting such...
  10. andrewwatson

    VB crash closing form array with Crystal OCX.

    I’ve got a MDI Child form with a Crystal OCX (v4.6) on. I run multiple reports in this using a form array: Dim frmReport1 As New frmReportForm frmReport1.rptCrystal.PrintReport frmReport1.Show ...etc When I close the first form in the array, no problem. When I try to close the second, VB...

Part and Inventory Search

Back
Top