It's me again,
I have seen that exists a component that allows you to execute scripts codes (VBScript or JavaScript). This component is the MSScriptControl.ScriptControl (References-> Microsoft Script Control 1.0)
This object has some methods like AddCode and AddObject that allows you to make...
Hello!
I am thinking to develope an application as follows:
The forms would be defined in some .xml files using this protocol:
<FORM Name = "MyForm">
<PROPERTY Name="Caption" Value="My application"/>
<PROPERTY Name="../>
...
<EVENT Name="Load">
MsgBox "Hello!"...
Hello!
You need to use the CeConnectFile ActiveX Control component. I think that it appears as a component when you install the ActiveSync program.
So, you can draw this control over a form, and use the CopyFileToCEDevice method:
Me.CeConnectFile1.CopyFileToCEDevice strPcFile...
Well, I created a component who analizes my own code (with an structure established under my own criterion), and where I can invoke to the methods of my another libraries in run time. That's the reason because I wanted this method, because I have created an interpreter. Before I've been known...
When I saw the possibilities that bring you the CallByName method, I start to work how to adapt its funcionality to my applications. But I found some problems with his four parameter, the arguments.
I tried to pass to this method the list of the parameters of the property or method that I...
Have you ever try to create de Winsock object in runtime? You can create a property in your class that could contain the Winsock object, and you can create the object in then Init event of the class, like:
Public WSock As Object
Private Sub Class_Initialize()
Set WSock =...
Hello JESTAR,
I think that your problem is that you enter to your FillShowMe subroutine an highter times than must... I think that you are looking for this code below
Good luck!
Private Sub Form_Load()
cmbShowMe.Clear
FillShowMe
End Sub
Public Sub FillShowMe()
Dim Prev As String...
Hello! I need some help about a problem that I have with my own properties in an ActiveX control.
These are my steps...
1 - I create a new ControlActiveX project, COwnControl.vbp is called. I create a new ctl file (C1.ctl)
This is the code of the ctl file:
Private myprop As Long
Public...
Try this...
'Write this in a module...
Public Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Public Declare Function GetWindowLong Lib "user32" Alias...
Hello!
I need to know if it's possible to change the Ambient.UserMode property of any ActiveX control, whatever way (using the Windows APIs, for exemple), because I want to develope an application than allow to the user to modify the properties of any control like the Visual Basic does when you...
Hi everyone!
Im trying to write a simple texteditor (like notepad) but ive got a little problem: i dont know how to make that a portion of text in a textbox or richtextbox be "iluminated" (dont know if this word exists in english, sorry). I mean, have you seen the blue backcolor that...
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.