Type: Posts; User: arkansascontrols
Search took 0.01 seconds.
July 22nd, 2009, 11:49 AM
I agree with DataMiser I don't like Data Controls or databound controls.
July 22nd, 2009, 11:23 AM
In your Open method you need
cn.open (ConnectionString, optional username, optional password, optional options)
So try this
Dim cn as ADODB.Connection
Dim rs as ADODB.Recordset
dim strCN as...
July 22nd, 2009, 07:24 AM
Oh by the way, if the DLL was compiled as an ActiveX dll then you don't have bother with any of this mess you can just include the DLL as a reference in your VB Project and any public properties,...
July 22nd, 2009, 07:08 AM
I hate to even comment because I really don't know C++ code, but from the looks of what you have posted there your MyDLLFunction isn't returning a value. If your MyDLLFunction doesn't provide a...
July 22nd, 2009, 12:57 AM
Private Declare Function SomeFunction Lib "registered_dll_Filename" (Parameters) as return
You can also declare the function public. Not all functions have returns and the declaration in your code...
July 21st, 2009, 11:16 AM
WizBang in my previous post I mentioned that the variable was a property of an instance of an OPC class object. The external process is an OPC server providing real time values from an Industrial...
July 20th, 2009, 02:14 AM
For the benefit of anyone following the thread, I'm posting an example project with a quick down an dirty wrapper class for an image control. The class provides a PictureChange event that I've used...
July 19th, 2009, 11:49 PM
Ah yes, I know what a wrapper class is. In fact most of the custom controls in question, the ones that need the value bound are essentially wrapper controls. I had thought of doing that, but since...
July 19th, 2009, 03:49 PM
I hate to sound ignorant, but that's essentially what I'm asking, how exactly would I go about creating a change event for something that has no method of triggering said event.
July 19th, 2009, 02:35 PM
Iím looking for a good way to Bind a property of a control to an existing object property for automatic updating Without polling. The instance of the object and the instance of the control will be...
July 18th, 2009, 05:27 AM
Yes, I had considered that option as well, but in the particular case I'm developing the control for, there is the likelihood of a dozen or more instances of the control on a single form, and...
July 18th, 2009, 04:56 AM
Thanks for all the input guys. I actually resolved the situation with
SetCapture Lib "user32" (ByVal hWnd As Long) As Long
ReleaseCapture Lib "user32" () As Long
It works nicely. I've...
July 17th, 2009, 04:05 AM
Thanks for the reply. Yeah, I knew that controls on my my form were child windows of the parent, and ignoring the mouseclicks is fairly straight forward, but I'm actually looking to ignore...
July 16th, 2009, 06:37 PM
Question for the gurus. I need to be able to ignore the mousemove event selectively for a selected control on a form. More specifically, I need the X and Y mousepointer coordinates to reflect the...
July 16th, 2009, 05:56 PM
Thanks. That was pretty much the conclusion I had come to. I have another workaround but I just don't like it as much.
My Situation is this. I have developed a custom control that has...
July 16th, 2009, 08:22 AM
I'm afraid I already know the answer to this question, but hey, it never hurts to ask right?
I have an application where several images are loaded as properties of control(s) at design time and /...
July 13th, 2009, 12:43 AM
I have an application where I use a series of GIF images with transparent backgrounds as overlays for a primary image. When transitioning from one overlay image to the next there is a brief moment...
July 11th, 2009, 01:49 PM
Anyone have sample source code or ActiveX components for creating / adding OPC Client capability to a VB6 app?
July 10th, 2009, 06:15 PM
Wow! I solved this problem when I discovered the User Control Wizard. LOL. After looking at the way it built the properties and events though, I still don't understand what I was doing wrong, I did...
July 10th, 2009, 02:32 PM
I need a Control that is Arrayable for muti-instancing, contains a picture with a stretch property, and can be dynamically positioned at runtime with the mouse. In order to satisfy...
July 10th, 2009, 01:46 PM
I am subclassing (if what we do in VB can actually be considered true subclassing) I've created a control with nothing but an image on it. I've defined all of the properties I need in my control...
July 10th, 2009, 08:45 AM
Thanks for the warm welcome and the fantastic response. The code worked beautifully. There is a slight delay in the event response but IT WORKS, and the delay is a small trade-off for having the...
July 10th, 2009, 04:22 AM
Is it Possible to get the "Index Value" or position from an Enum?
There are no apparent properties of a defined ENUM only the individual elements. I know I can assign my Enum Values to an Array...
July 10th, 2009, 03:38 AM
I have a User control with a label on it. If I raise a user control click event from the label it works fine. If I raise a user control dblclick event from the label it works fine. If I raise both...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!