CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: andyleno

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    587

    Re: parse word .docs

    This is how to output Word docs to a text file, not to sure about PocketPCs.


    Dim oWord as Word.Application
    Dim szWordDoc as string
    Dim szTextFile as string
    Dim i ...
  2. Replies
    2
    Views
    766

    Re: SourceSafe Automation

    I have done a lot of work on Automating VSS and it's not that difficult, but there should be a quick answer to what your looking for.
    Try creating a shadow directory on the same machine as VSS, the...
  3. Replies
    8
    Views
    8,727

    Re: REORDER NODES IN A TREEVIEW

    Now you've hit a problem. There is no way to move up or down Nodes with children using Command Buttons. The only I know how move such quantity of nodes is Drag and Drop. If you need help with this...
  4. Thread: VBA

    by andyleno
    Replies
    2
    Views
    632

    Re: VBA

    There is a zip file with all info you require to follow.

    Don't forget to rate!!!!

    Andrew Lennon (Berlitz)
    Automation Dev Engineer
  5. Replies
    8
    Views
    8,727

    Re: REORDER NODES IN A TREEVIEW

    Sorry this took so long! It's a little scrappy but it works. Remember to put two buttons on the form one fro UP and one for DOWN. This code snippet is for the UP button so all you need to do is...
  6. Replies
    1
    Views
    657

    Re: IIS calling an executable

    Hope this helps:

    Error Message:
    The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

    Explanation:
    This message indicates...
  7. Replies
    2
    Views
    672

    Re: Help sql insert

    I came across something strange like that before, two things you can try.

    1. cnRU.Mode = 3 '3 = adModeRead & adModeWrite
    2.

    Dim cnn as ADODB.Connection
    Dim strConnect as...
  8. Replies
    2
    Views
    634

    Re: date format changed with SQL

    First thing you got to check is the regional settings on the SQL Server, I going to assume that it is US. if so try settting NextDate as a string value or use one of these functions:


    ...
  9. Replies
    4
    Views
    716

    Re: Retrieve from 2 tables

    The best way to retreive this info from both the table is to create a StoredProcedure, which is probably not something you want to get lost in.

    So a simple select statement:

    SelectString =...
  10. Replies
    8
    Views
    8,727

    Re: REORDER NODES IN A TREEVIEW

    Is this in Runtime or design time.?
    If Runtime how do you want call this. Just let me know and I'll tell you all I can.

    Andy

    Don't forget to rate!!


    Andrew Lennon (Berlitz)
    Automation...
  11. Thread: Loops

    by andyleno
    Replies
    4
    Views
    663

    Re: Loops

    'Dim numTries as long

    private Sub Form_Load()
    numTries = 1
    End Sub

    private Sub CmdValid_Click()
    If numTries = 5 then
    MsgBox "You have Exceeded to amount of attempts...
  12. Thread: Loops

    by andyleno
    Replies
    2
    Views
    647

    Re: Loops

    declare a long value at form level, in Form_Load event set this long = 1 and increment it at every failed login. Once incremented to 5 just msgbox and exit.



    Andy

    Don't forget to Rate!!!!...
  13. Replies
    5
    Views
    1,032

    Re: Activex Tree ctrl

    In VB,
    Go to Projects\components : a dialog will appear.

    Scroll down the dialog to Windows Common Controls and select it and OK the dialog.
    In the Toolbox in the left pane a series of controls...
  14. Re: how to close all forms when closing the application?

    I'm not to sure what you want to do here!.
    Once the main Form is unloaded all other forms follow suit. Try using your code in the main Forms Unload QueryUnload Event


    private Sub...
  15. Re: how to close all forms when closing the application?

    I'm not to sure what you want to do here!.
    Once the main Form is unloaded all other forms follow suit. Try using your code in the main Forms Unload QueryUnload Event


    private Sub...
  16. Replies
    3
    Views
    651

    Re: give me a hand,thank you

    This code will open a specified Document (invisible) and loop through the activedocument to rebuild a single string for text (szwrd).
    When adding this string to the database value should be a Memo...
  17. Replies
    1
    Views
    1,007

    Re: backup the registry

    Go to the registry and do export file to folder, format your drive reinstall everything and go back to registry and do import file that you previuosly created and this should rebuild your app...
  18. Thread: OUTLOOK FORMS

    by andyleno
    Replies
    2
    Views
    1,293

    Re: OUTLOOK FORMS

    Using VBScript you can call MAPI and use either Reply or Forward to the Person who sent it first.

    If you want help with this just let me know!

    Don't forget to rate!!!

    Andrew Lennon...
  19. Replies
    2
    Views
    780

    Re: backing up the registry

    Got the registry (Run: Regedit).
    Go to Registry Menu and select Export File, export this to another that won't be formatted.when you have reinstalled Windows go to the Registry again and select...
  20. Replies
    2
    Views
    916

    Re: Win2KPro Installation

    The problem here is the Setup.exe is not a DOS program nor will DOS recognize it, but there is a solution don't worry.

    When you access the CD go to the I386 Folder and run winnt.exe

    cd...
  21. Replies
    1
    Views
    827

    Re: Win NT4.0 to Win2k

    As far as I am aware you cannot upgrade from NT4 to Win2k. Sorry!

    Andy

    Don't forget to rate!!

    Andrew Lennon (Berlitz)
    Automation Dev Engineer
  22. Replies
    1
    Views
    845

    Re: Problems with permissions

    The problem here is simple, the program you have written is try to chnage or replace a system file or file you not have access to or that is read only to non-administrators.

    Step through the code...
  23. Replies
    1
    Views
    673

    Re: How to modify vb sub-menu at run time?

    Do you mean adding new menu items??

    Don't forget to rate!!!


    Andrew Lennon (Berlitz)
    Automation Dev Engineer
  24. Re: ASP - Automatically reading data from another Web Site

    The best method to do this is to create an Internet Explorer object and set it's locationURL to the page you are look for and at the same time pass in the Parameters that page uses to search for the...
  25. Replies
    5
    Views
    1,032

    Re: Activex Tree ctrl

    Hi Brian,

    It just looks like your using the wrong TreeCtrl Version. The TreeCtrl should support Font="Tahoma" so double check your version.

    Try using a different Font to test on.

    Don't...
Results 1 to 25 of 56
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured