Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: josan
  • Order by date
  1. josan

    How to call VBScript code into my VB Application

    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...
  2. josan

    How to call VBScript code into my VB Application

    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!"...
  3. josan

    Automate copying files to PocketPC

    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...
  4. josan

    Using InvokeHook instead of CallByName

    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...
  5. josan

    Using InvokeHook instead of CallByName

    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...
  6. josan

    Using Winsock without a Form

    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 =...
  7. josan

    Filling a ComboBox from a FileListBox

    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...
  8. josan

    Problems with properties adding ActiveX control in a form

    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...
  9. josan

    MDI Child Form set With API

    Try this... 'Write this in a module... Public Declare Function SetWindowLong Lib &quot;user32&quot; Alias &quot;SetWindowLongA&quot; (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long Public Declare Function GetWindowLong Lib &quot;user32&quot; Alias...
  10. josan

    UserMode property

    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...
  11. josan

    Selecting text in a textbox or richtextbox

    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 &quot;iluminated&quot; (dont know if this word exists in english, sorry). I mean, have you seen the blue backcolor that...

Part and Inventory Search

Back
Top