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

Search:

Type: Posts; User: Twodogs

Page 1 of 72 1 2 3 4

Search: Search took 0.28 seconds.

  1. Replies
    5
    Views
    1,187

    How do I delete an open file?

    I have a small problem where a 3rd party MS Access (97) application is running on a server and occassionally the .ldb file remains when all users are logged off. In order for us to carry out some...
  2. Replies
    5
    Views
    4,162

    Re: vb6 application online

    Actually Wizbang, I hate to disagree with you, :cool: but this time you're incorrect. In the past, this is how we did dynamic web pages (CGI) prior to anyone thinking of ASP. The only thing is,...
  3. Replies
    22
    Views
    3,247

    Re: sequential dates

    Try calling the code from something other than the _click() event - perhaps the 'onlostfocus'. Click event will be fired when you click in the combo box, which is perhaps not exactly what you want.
  4. Replies
    5
    Views
    1,028

    Re: Array across classes

    You might get more help in the .NET forum - this is VB6 but your code is .NET
  5. Re: use Windows Username and Password to login my app...

    Dim uname As String
    uname = Environ$("Username")
    MsgBox "Username = " & uname
  6. Replies
    47
    Views
    6,001

    Re: Code not running Win98

    if f = SendMessage(RTBQUE.hwnd, EM_GETFIRSTVISIBLELINE, 0&, 0&)
    returns a 0, then your line
    RTBQUE.Height = RTBQUE.Height + h * f
    will also return 0

    Put a breakpoint on the sendmessage line,...
  7. Re: Starting a function after invalid path is found

    Even though I am (still) at lunch (diff day though), what I *really* meant was to use



    If fso.FolderExists(w_root_dir_pdf) Then
  8. Re: Starting a function after invalid path is found

    *sob*

    Copious amounts of beer and pizza might go a long way to making me feel better :cool:
  9. Replies
    10
    Views
    7,244

    Re: PDF Printing Utility?

    You will probably find that you have to alter the path to your Adobe reader (diff versions seem to install into diff places)
  10. Replies
    17
    Views
    2,301

    Re: Extract From .exe

    Imagelist?
  11. Replies
    7
    Views
    1,226

    Re: passing control names

    Using Aio's code above, you would probably do something like this (not sure if it will work though.) I've done something similar in the past, but it was quite a few years ago and I can't find the...
  12. Re: Starting a function after invalid path is found

    This is what you get when writing code straight out of your memory during lunchtime... :sick: I feel so bad now.... :blush:
  13. Replies
    8
    Views
    10,979

    Re: Outer Join in MS Access

    At least he searched the forum(s) before asking the question :)

    I like people who do that - they're obviously trying to help themselves BEFORE they ask the rest of us :) :thumb: :eek:
  14. Re: Starting a function after invalid path is found

    Or you could use the FileSystemObject;

    Add a reference to Microsoft Scripting Runtime


    Public Sub FindMyFolder(byval strFolderName as string)
    dim fso As Scripting.FileSystemObject

    Set fso...
  15. Replies
    10
    Views
    7,244

    Re: PDF Printing Utility?

    Try this:



    Option Explicit
    Public glPid As Long
    Public glHandle As Long
    Public colHandle As New Collection

    Public Const WM_CLOSE = &H10
  16. Replies
    5
    Views
    1,404

    Re: VB 6 - Re: Run-Time error 3075

    When I ran your code inside vb6, it seemed to break a line in the middle of tblRequests, but still seemed to compile ok & give me a resulting string. Perhaps this may work (just added a couple of...
  17. Replies
    9
    Views
    1,319

    Re: Want Alt+F4 to close my app

    What's the code you have in your form_keypress event?
  18. Re: Vbscript, sql & write/add record to existing excel file

    There's quite a few reasons for that "DSN not found" error message - cut and paste the text of the error message (or the error number) into the search function on MSDN (msdn.microsoft.com) and see...
  19. Replies
    10
    Views
    1,287

    Re: comparing all fields of a type

    Or you could create a collection or property bag, then do a "For Each x In xxxx"
  20. Replies
    10
    Views
    1,287

    Re: comparing all fields of a type

    Private Type Bogus
    value1 as Integer
    value2 as Long
    stingbean as String
    End Type

    '....
    Dim test1 as Bogus
    Dim test2 as Bogus
    Dim bSame as boolean
  21. Re: Vbscript, sql & write/add record to existing excel file

    Give it a chance to actually save, save the worksheet first, then the workbook:



    ws.Save
    sleep 1000
    wb.Save
  22. Re: Vbscript, sql & write/add record to existing excel file

    I'm not that familiar with vbscript, but without knowing exactly what your problem is, try this:


    resultSet.Open strSQL, objConn, 1, 2

    ' Removed error resume, so you get a notification of the...
  23. Replies
    2
    Views
    889

    Re: Digital Camera's - Can VB be used

    I can only answer for Kodak cameras - and the answer is Yes.

    Kodak provide an SDK which is freely downloadable. I think Canon do as well, but haven't had the need to download it yet. (My main...
  24. Re: VB6 and .Net running slow on only one computer

    That was what I did yesterday (I guess I should've mentioned that...) I found two possibilities, WUAUCLT.exe and SYSTEM - googling both of them showed that while both are valid files, there are two...
  25. Re: VB6 and .Net running slow on only one computer

    Indexing service is turned off but the problem still exists.
    We're about to re-image the PC with one (exact same configuration) that actually works. Our suspicion is that the user has installed /...
Results 1 to 25 of 1798
Page 1 of 72 1 2 3 4





Click Here to Expand Forum to Full Width

Featured