dcsimg

Search:

Type: Posts; User: tr0n

Page 1 of 13 1 2 3 4

Search: Search took 0.95 seconds.

  1. Stored proc. selecting the first recordset from a stored proc?

    I've got a problem with returning recordsets from stored procedures, in that they return the first recordset I get, instead of the last. For example, I've created a stored proc. like this:


    ...
  2. Thanks, I'll give that a go. :)

    Thanks, I'll give that a go. :)
  3. On the server? Yup. Could the reason it...

    On the server? Yup.

    Could the reason it doesn't work using the New keyword be because in the project it's referencing the *.vbp files of the DLLs? I suppose that's the only way of doing it...
  4. Ok, I think this is working now, but only if I...

    Ok, I think this is working now, but only if I instantiate the objects by using CreateObject. If I use the New keyword it returns the error. Does anyone know why that is?
  5. Trying to install a Component Services package

    I'm trying to install a Component Services package on a client machine, and have a problem.

    What I've done is create two DLLs and copied them to c:\winnt\system32 on the server (win2k). Then gone...
  6. Replies
    19
    Views
    712

    i think vbCity (www.vbcity.com/forums) have the...

    i think vbCity (www.vbcity.com/forums) have the right idea when it comes to ads/news. a nicely positioned ad in the top banner, and any news items/additional ads down the right side of the page.
    ...
  7. Replies
    2
    Views
    274

    ah, thanks! i'll give that a try. :)

    ah, thanks! i'll give that a try. :)
  8. Replies
    2
    Views
    274

    exiting a batch file (resolved)

    in my program, i shell a batch file that sends a text file to a printer, like this:



    @echo off
    if exist "\\diablo\shared\tom\labfile.txt" goto print

    :exit
    echo Labfile.txt does not exist...
  9. Replies
    7
    Views
    427

    change to this: Private Declare Function...

    change to this:


    Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As...
  10. Replies
    10
    Views
    538

    i think he means he wants the contents of each...

    i think he means he wants the contents of each tab to be displayed when it's clicked. first of all, don't use pictureboxes for this, as they use up more resources. use frames instead. second, this is...
  11. looks like it's turned into a tag-team fight. j4u...

    looks like it's turned into a tag-team fight. j4u needs some backup! where's squirelly?
  12. :( :confused: ;)

    :( :confused:

    ;)
  13. there's no religious posting going on here (at...

    there's no religious posting going on here (at least not on my part). i'm just arguring the origins of christmas (which aren't anything to do with religion). :)
  14. in pagan times, on 25 december, they celebrated...

    in pagan times, on 25 december, they celebrated the feast of the Son of Isis, which involved, partying, eating, drinking, and gift-giving. sound familiar? :rolleyes:
  15. as far as i know, no one knows when exactly Jesus...

    as far as i know, no one knows when exactly Jesus was born (i think i read that people think it may be around september or something). but if you research your history, you'll find that your last...
  16. i won't argue that, but my point was that the...

    i won't argue that, but my point was that the reason it's associated with Jesus is because it was hijacked by Christians.
  17. except for the fact that it's a pagan event...

    except for the fact that it's a pagan event hijacked by the likes of j4u here. :rolleyes: ;)
  18. Thread: textbox query.

    by tr0n
    Replies
    7
    Views
    317

    Then again, you may want to use the Validate...

    Then again, you may want to use the Validate event, like archer said.
  19. Thread: textbox query.

    by tr0n
    Replies
    7
    Views
    317

    something like this? Private Sub...

    something like this?


    Private Sub Text1_Change()
    If (IsNumeric(Text1.Text)) And (IsNumeric(Text2.Text)) Then
    Text3.Text = CDbl(Text1.Text) + CDbl(Text2.Text)
    End If
    End Sub
    ...
  20. Thread: Poetry

    by tr0n
    Replies
    33
    Views
    719

    :D that last line is a bit dodgy though... ;)

    :D

    that last line is a bit dodgy though... ;)
  21. Replies
    17
    Views
    442

    I've never smoked, and I'm bloody glad I never...

    I've never smoked, and I'm bloody glad I never started. It never had any appeal to me (the smell, the amount it f**ks up your health, the cost...), and I've never sucummbed much to peer pressure.
    ...
  22. Replies
    7
    Views
    414

    not sure why that doesn't work, but this might be...

    not sure why that doesn't work, but this might be a better way:


    private sub command1_click()
    frame1.zorder 0
    end sub

    private sub command2_click()
    frame2.zorder 0
    end sub
  23. Thread: Time function

    by tr0n
    Replies
    3
    Views
    276

    np :)

    np :)
  24. Thread: Time function

    by tr0n
    Replies
    3
    Views
    276

    you can't do it with the Time function, but have...

    you can't do it with the Time function, but have a look at this:


    Private Declare Sub GetSystemTime Lib "kernel32" (lpSystemTime As SYSTEMTIME)

    Private Type SYSTEMTIME
    wYear As Integer
    ...
  25. Replies
    18
    Views
    508

    thanks, i didn't know you can replace the +/-...

    thanks, i didn't know you can replace the +/- images with your own. :)
  26. Replies
    18
    Views
    508

    no, just saying it's not such weird behaviour...

    no, just saying it's not such weird behaviour...
  27. Replies
    18
    Views
    508

    it doesn't look that weird... MS do that in some...

    it doesn't look that weird... MS do that in some of their apps. :)
  28. Replies
    18
    Views
    508

    the way i give all nodes the plus sign is...

    the way i give all nodes the plus sign is something like this:

    when populating the first level of nodes, and a dummy node to them:

    Set ndNode = Treeview1.Nodes.Add(, , "10sh", "blah")
    Set...
  29. Replies
    18
    Views
    508

    Private Sub Treeview1_Expand(ByVal Node As...

    Private Sub Treeview1_Expand(ByVal Node As MSComctlLib.Node)
    MsgBox Node.Key
    End Sub

    :)
  30. Thread: Shell? SetParent?

    by tr0n
    Replies
    11
    Views
    1,172

    i did find this thread:...

    i did find this thread: http://www.vbforums.com/showthread.php?s=&threadid=206612 which explains it a bit more, and says your best bet is to use the Timer...
  31. Thread: Shell? SetParent?

    by tr0n
    Replies
    11
    Views
    1,172

    hehe, yeah, i see... sorry, i wouldn't know how...

    hehe, yeah, i see... sorry, i wouldn't know how to do that. :(
  32. Thread: Shell? SetParent?

    by tr0n
    Replies
    11
    Views
    1,172

    the one problem with that is that any window that...

    the one problem with that is that any window that THAT (enough "that"'s for ya? ;)) app loads will not be contained in your app. maybe that's what you meant?
  33. Thread: Shell? SetParent?

    by tr0n
    Replies
    11
    Views
    1,172

    well, unless i'm mistaken about what you're...

    well, unless i'm mistaken about what you're trying to do, you could try this, so when you load an app, you call MyShell, which contains it within your form:

    Private Declare Function FindWindow Lib...
  34. Thread: Shell? SetParent?

    by tr0n
    Replies
    11
    Views
    1,172

    could you not just use the code in the Form_Load...

    could you not just use the code in the Form_Load event whenever you Shell a program?
  35. Replies
    1
    Views
    456

    @@identity returns the ID of the last inserted...

    @@identity returns the ID of the last inserted record, so it can't be used for that. use something like:


    select max(ID) + 1 from table1
  36. Replies
    11
    Views
    357

    i don't agree. :mad:

    i don't agree. :mad:
  37. Replies
    11
    Views
    348

    nelson :)

    nelson :)
  38. Thread: DOS Mode

    by tr0n
    Replies
    7
    Views
    442

    it's not written in VB ;)

    it's not written in VB ;)
  39. Replies
    10
    Views
    496

    hehe :p

    hehe :p
  40. Replies
    10
    Views
    496

    i dunno why i thought dateadd would be better......

    i dunno why i thought dateadd would be better... :p
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width