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

Search:

Type: Posts; User: TH1

Page 1 of 33 1 2 3 4

Search: Search took 0.03 seconds.

  1. Thread: how to zip files

    by TH1
    Replies
    2
    Views
    951

    Re: how to zip files

    You can use Shell to call winzip and pass commandline parameters
    Have a look at http://www.winzip.com/xcmdline.htm
    Also have a look at the FindExecutable API to find the winzip exe on a system
  2. Thread: GetAsyncKeyState

    by TH1
    Replies
    1
    Views
    623

    Re: GetAsyncKeyState

    Download the API guide from http://www.allapi.net/agnet/appdown.shtml
    It has good examples of most of APi functions (If not all of them) including GetAsyncKeyState.
    It's a handy tool to have anyway
  3. Thread: Calculate

    by TH1
    Replies
    9
    Views
    577

    Re: Calculate

    http://support.microsoft.com/default.aspx?scid=kb;en-us;Q86688
  4. Thread: List SQL Servers

    by TH1
    Replies
    1
    Views
    612

    Re: List SQL Servers

    http://groups.google.com/groups?q=list+sql+servers+vb&hl=en&selm=OYT4HmrEAHA.218%40cppssbbsa02.microsoft.com&rnum=1
  5. Replies
    1
    Views
    923

    Re: How to do a Tooltip to be multi-line??

    Go to http://hem.spray.se/mattias.sjogren/samples_en/index.html

    And look at the VBBubble Sample (3rd one down)
  6. Thread: Copy from list box

    by TH1
    Replies
    2
    Views
    840

    Re: Copy from list box

    You could do something like this

    Dim Mystr as string
    for i = 0 to List1.ListCount - 1
    Mystr = Mystr & List1.List(i) & vbCrLf
    next
    Clipboard.Clear
    Clipboard.SetText Mystr
  7. Thread: FIle List Box

    by TH1
    Replies
    1
    Views
    762

    Re: FIle List Box

    Set the pattern property of the filelistbox to *.xls
  8. Replies
    2
    Views
    766

    Re: how to run my vb application on unix platform

    Only if the UNIX box has a windows emulator on it
    have a look at http://www.winehq.com/
  9. Replies
    4
    Views
    625

    Re: Menu like Start-Menu?

    Sorry mate but I don't have Win2K here and it works fine for me on NT4
  10. Replies
    4
    Views
    625

    Re: Menu like Start-Menu?

    Go to http://www.vbbox.com/codebox.htm
    and download the Owner Drawn Banner Menu Sample.
    It should get you started, the only thing is that you may have to add the app.res resource file in manually...
  11. Replies
    2
    Views
    647

    Re: Hyperlinks in dialog

    I'm sure that there are hyperlink controls out there but you can mimic them with labels

    private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (byval hwnd as Long, byval...
  12. Replies
    3
    Views
    772

    Re: how do I make delay in VB?

    There is a sleep API
    Add this to a module

    public Declare Sub Sleep Lib "kernel32" Alias "Sleep" (byval dwMilliseconds as Long)



    Then you can just say

    Sleep 100
  13. Thread: recordset

    by TH1
    Replies
    6
    Views
    683

    Re: recordset

    Its probably because you're using a server side cursor.
    Put
    DB.CursorLocation = adUseClient
    in your code and see if that works
  14. Replies
    1
    Views
    1,277

    Re: refresh flex with F5

    If you set the KeyPreview property of the form to True then you can use this code

    private Sub Form_KeyDown(KeyCode as Integer, Shift as Integer)
    If KeyCode = vbKeyF5 then
    'Put your code here...
  15. Thread: Date

    by TH1
    Replies
    3
    Views
    575

    Re: Date

    MsgBox date 'Gives date
    MsgBox time 'Gives time
    MsgBox Now 'Gives date and time
  16. Replies
    1
    Views
    518

    Re: Edit properties of all textboxes on a form

    Dim Ctl as Control
    for each Ctl In me.Controls
    If Typeof ctl is textbox then
    ctl.locked=false
    end if
    next
  17. Thread: Mouse Position

    by TH1
    Replies
    6
    Views
    497

    Re: Mouse Position

    private Type POINTAPI
    X as Long
    Y as Long
    End Type

    private Declare Function SetCursorPos Lib "user32" (byval X as Long, byval Y as Long) as Long
    private Declare Function GetCursorPos...
  18. Replies
    6
    Views
    1,510

    Re: Run Add/Remove Programs from a program

    http://www.vbaccelerator.com/codelib/inireg/registry.htm
  19. Replies
    6
    Views
    1,510

    Re: Run Add/Remove Programs from a program

    You could download the CRegistry class from http://www.vbaccelerator.com

    and then use this code to get the values for the uninstallstring

    Dim c as new cRegistry
    Dim sKeys() as string,...
  20. Replies
    2
    Views
    763

    Re: How to made and Help in Visual Basic

    You can use Microsoft help work workshop to create a .hlp file or HTML Help Workshop to create a .chm file.
    Have a look at http://www.mvps.org/htmlhelpcenter For help on HTML Help
  21. Replies
    2
    Views
    583

    Re: view vb complete code

    You have probably got your view set to "Procedure View".In the bottom left of the code window beside the horizontal scrollbar there are two buttons. One for procedure view and one for full module...
  22. Replies
    7
    Views
    887

    Re: PlaySound's return value!

    Yep your right I just tested it and even when I use the GetLastError API it tells me it completed successfully. Strange...
    Sorry I have no othere suggestions
  23. Replies
    7
    Views
    887

    Re: PlaySound's return value!

    Isn't it the other way round. If it fails it returns 0 and non-zero if it succeeds.
    Also by the way you should declare nResult as a Long because that is what the function returns
  24. Thread: ODBC Logon Window

    by TH1
    Replies
    2
    Views
    528

    Re: ODBC Logon Window

    I presume you're talking about a pass through Query, so you should put the connection parameters in to the "ODBC Connect Str" property of the query.
  25. Re: Sending Attachments using shell "cmd /c start mailto:"

    As far as I know you can't because attachments are not part of the mailto protocol.
    Have a look at http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2368.html
Results 1 to 25 of 808
Page 1 of 33 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center