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,
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 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...
Hello Group,
I found this code on another board to disable the "X" close button on a form in VB6. What I would like to know is, once the Close buttons is disabled in this manner, how can I re-enable it? The reason why I am asking is because I am working on a download window where I don't want...
Hello Group,
I'm trying to write a program that will simulate the display of our LCD display module. We are giving the user the choice of fonts, font sizes and colors to display. In my simulator, I want to simulate what the display will look like on our LCD display module, but I'm running into...
Hello All,
I've been searching the 'net for quite a while looking for a way to use the RichTextBox control (or some equivalent) to simulate a text display of one of our products in a Visual Basic 6.0 application. The only problem that I've run into so far is that the RichTextBox will perform...
Hello,
I'm not sure if this the right forum to post this, but I am using Crystal Reports 9 in a Visual Basic 6 project. I am using the CRViewerTemplate ActiveX control to view the reports on-screen and am using the CRAXDDRT.Application class to print the reports to a printer.
What I need to do...
Hello,
I'm writing an application where I would like to open a custom form get a string value back and then close the form (sort of like the intrinsic inputbox). However, the reason that I would like to do this instead of using the inputbox is because I want to restrict both the characters that...
Hello,
I'm pretty new to VB2005 and the .NET world in general. I'm trying to write a VB app that uses the serial port to communicate with a hardware device. I'm trying to use the new System.IO.Ports.SerialPort class. I don't want to have to mess with using a COM component through Interop...
Hello,
I am looking for a way to automatically and silently format a disk from my VB code.
I first looked into SHFormatDrive, but all that opens the standard Windows format disk dialog and requires manual intervention.
I also looked into shelling out to FORMAT.COM, but that isn't working...
Hello,
I have a database that has components that reside on two different servers (in two geographic locations.) I have modified my code in my Access front-end to use a "table prefix" to identify which backend should be accessed, the one in Location A or the one in location B. To clarify, I...
Hello group,
Is there a method of reading and/or changing a disk's volume serial number in visual basic code?
If so, how would I be able to do it?
Thanks,
Geoffrey
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.