Additional info on this issue. Following is the dialogue returned when the break occurs. I need to know what this means and how I can fix it.
[See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text...
Hey, "That Rick Guy" or one of you other VB.net experts":
A VB.net application has been running all right for a year or so. I recently changed an audio .wav file to a different .au file; I'm not sure if this was the cause of the error, but it is the only thing I have monkeyed with. Even after...
I have prepared the following SQL query using the Command function of Crystal 10. It runs OK, however when I check performance I find that grouping and sorting have not been done on the server. Further, it required two passes. When I go to file/report options, the "Group on Server" option is not...
Thanks to lbass and synapsevampire. Eliminating "whileprintingrecords" allowed the formula to run OK, but it still doesn't appear in the "Insert Summary" list of formulas. Here is the formula which works:
numbervar dur := datediff("h",previous({@Date/Time End}),{@Date/Time Start});
if dur<12...
In Crystal 10 I have created a printable field which equals 1 if a condition is met and 0 otherwise. Since that "whileprintingrecords" field does not appear as a report field in the "Insert Summary" window, how can I count (i.e., total) the 1's that are printed?
Thanks to Turkbear and synapsevampire for valuable insight. Indeed, the check boxes referred to are in the database application from which data are extracted for use in Crystal. I don't have access to the application code, however the data are contained in two fields in two forms. The first...
Data entered in Crytal 10 multiple check boxes are stored as ampersand delimited text strings, such as:
&friend&family&neighbor&email&flyer&other&
What is the best way to extract the data in readable form, such as:
friend; family; neighbor; email; flyer; other
OR
friend
family
neighbor...
After VB.NET is used to automate creation of an Excel worksheet, how do I subsequently program VB.NET to open that Excel worksheet and append data to it? I don't want to overwrite the original worksheet, rather I just want to add more data to it.
Appreciate your help.
DRK
I have managed to create an Excel chart through VB.NET, however I still need to add axis labels, a trendline, control line width, etc. Is there a comprehensive reference available to cover the .NET syntax for this application?
Thanks,
DRK
Here is an excerpt of the relevant lines from a vb.net project I am working on. The code prepares the excel sheet just fine, provided the applicable variables are entered in your vb.net application.
Public Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles...
Rick,
Here is the automatic code that throws the exception:
CType(Me.Player, System.ComponentModel.ISupportInitialize).EndInit()
1. Is the following code to be inserted in its place?
try
'code that throws the exception
CType(Me.Player, System.ComponentModel.ISupportInitialize).EndInit()...
Thanks Rick. Can you be more specific about how to check for "the exception.innerexception member?" If I locate the appropriate info, will it be adequate to allow me to fix it or do I need more?
DRK
Still have this problem with trying to use Windows Media Player in a VB.net program. Here is the message I get when I load the form with the player:
A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in system.windows.forms.dll
Additional information...
Here is the debugger message associated with the above issue:
Additional information: Exception from HRESULT: 0x80040200.
A first chance exception of type 'System.ArgumentException' occurred in system.windows.forms.dll
Additional information: The source object does not expose...
I have written a VB.net program that uses Windows Media Player to play very short .wav files at appropriate places. The default name of the player has been changed to "Player" and this has not been a problem with other programs. The problem now is that when I call the program I get an exception...
stsuing,
I suspect you are right, but I have no idea about how to overcome it. I tried your suggestion, which I appreciated, to no avail. I guess I'll start over and see if, when, and where (if at all) the problem recurs.
Many thanks to all
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.