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...
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...
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...
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...
(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...
(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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.