Hello,
I'm working on an application in VB6 that uses Crystal Reports 9 to display reports from user data files created by the application. Specifically, in the application, we're attempting to use a DAO recordset object as the datasource for CrystalReport designer objects created in VB (and...
Hello,
Is there anything that I can use in a conditional statement to refer to ANY member of an enum? Such as:
Select Case xyzvar
Case MyEnum.All
End Select
What I'm looking for is to test to see if the value of xyzvar matches any of the member values of the enum MyEnum, without...
Is there any way to programmatically detect the upper and lower bounds of a control array that operates similar to the Lbound() and Ubound() functions in VB6?
Thanks,
Geoffrey
Hello all,
I've gotten some clarification on this. Apparently, this calculation is to be performed as modular arithmetic operating on 32 bit unsigned integers. The result value is expected to overflow.
Obviously, since VB doesn't support any unsigned integer data types larger than 1 byte, we...
Hi Dilettante,
No, this isn't for a class. This is for my work.
I'll just talk to the engineer who wrote up the spec when he comes in. Maybe he'll be able to give me some advice.
Regards,
Geoffrey
Hello,
I'm working on an application that requires modulo-32 bit arithmetic to compute a value in an equation similar to the following:
x = ((a * b) / c) + d
This looks simple on the surface, but even if I define X as a long, it will always overflow (because VB will try to perform standard...
Greetings All,
I'm writing a section of a program where I would like to allow a user to click & drag on an image control on a form and move it based on the user's mouse movements. I'm sure that doing so involves the MouseDown, MouseMove and MouseUp events, but does anyone have a code sample...
Hello strongm and Hypetia,
I knew that there had to be an easier way to do this than what I was trying to do. I'll give this a shot and see what happens.
Many thanks for your help.
Regards,
Geoffrey
Hello Group,
I'm trying to use the Microsoft Rich Text Box control as the basis of a basic text editor. I'm also using a Status Bar control in the form and I'd like to provide the line and character position of the cursor in the status bar. Getting the (absolute) character position is easy...
Hello,
I'm working on an application that needs to read a 256 color BMP file into a byte array and then download it into an embedded device.
The download portion is already working (it's been tested using an external application that converts the BMP into a text file (with one byte per line.)...
Hello Everyone,
I'm relatively new to the world of Crystal Reports, so please don't bash the newbie if this is simple stuff.
I'm using the Crystal Reports 9 Viewer Component in my VB6 application to display the data entered into an Access database.
I'm working off of code that was written by...
Hello Everyone,
I'm relatively new to the world of Crystal Reports, so please don't bash the newbie if this is simple stuff.
I'm using the Crystal Reports 9 Run-time Designer Component in my VB6 application to display the data entered into an Access database.
I'm working off of code that was...
Hello Everyone,
I'm trying to use the CCRP (Common Controls Replacement Project) FolderTreeView control in my project to create a custom browse for folder window. In my Form_Load method, I'm setting the SelectedFolder propery of the FolderTreeView to the default folder that I want. In...
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.