Search:

Type: Posts; User: Peter1

Page 1 of 5 1 2 3 4

Search: Search took 0.10 seconds.

  1. Replies
    13
    Views
    8,926

    Re: CSS: onFocus= to a style name?

    try



    onfocus="this.className='textfield'"
  2. Replies
    1
    Views
    467

    Site Design Review

    Hello

    Myself and a few colleagues have created a startup business and have almost finished our website design. I'm wondering if anyone has any comments regarding the design and layout of the site....
  3. Replies
    16
    Views
    823

    Re: Rewrite subquery as Join

    Yes thats great, works perfectly.

    Thanks a lot and to everyone else
  4. Replies
    3
    Views
    779

    Re: HTML buttons question

    As far as I know you can't directly round the edges of the actual box. Have a look at this page though, it uses javascript to replace the form elements with nice ones. I supposed it would simply be a...
  5. Replies
    16
    Views
    823

    Re: Rewrite subquery as Join

    Ooh thats close, the only thing it doesn't do is account for are documents that are in more than one group.

    And yes to the previous question, a document can be in more than one group.

    I have...
  6. Replies
    16
    Views
    823

    Re: Rewrite subquery as Join

    No Ecniv that didn't work either, came back with the same error message as my earlier attempts. I suppose i'll just have to do it through code rather than sql.

    Thanks a lot for your help guys.
  7. Replies
    16
    Views
    823

    Re: Rewrite subquery as Join

    Yes thats right a document can belong to more than group.



    First thing I tried after I tested that sql and it didn't work. It returns no records.
  8. Replies
    16
    Views
    823

    Re: Rewrite subquery as Join

    No, sorry that returns the opposite of what i'm after.

    Basically the original sub query return all documents in a particuar group, then the outer query returned all documents that weren't in the...
  9. Replies
    16
    Views
    823

    [RESOLVED] Rewrite subquery as Join

    Hello

    I've just found out that my host is using MySQL 3.xx which doesn't support subqueries. Can anyone give me a hand converting this so it doesn't use a subquery?



    SELECT documentid, title...
  10. Replies
    5
    Views
    11,455

    Re: sending html email with CDO

    W3 Schools Example

    Taken from above page:



    <%
    Set myMail=CreateObject("CDO.Message")
    myMail.Subject="Sending email with CDO"
    myMail.From="mymail@mydomain.com"
  11. Thread: PDF Split

    by Peter1
    Replies
    3
    Views
    756

    Re: PDF Split

    Take a look here at the pdf toolkit its a command tool that has many functions. You could simply shell it from your app.
  12. Replies
    5
    Views
    501

    Re: images as button couldnt post data!!

    If your browser can't find the image then it displays the value in the alt (alternative) attribute instead.
  13. Replies
    10
    Views
    36,705

    Re: Writing HTML inside of PHP documents..

    You can print shorthand by doing <?="I want to print this text" ?> or <?=$myText ?>
  14. Replies
    10
    Views
    36,705

    Re: Writing HTML inside of PHP documents..

    For large blocks of HTML code I usually just do this:



    //PHP Code...
    ?>
    <div class="header">
    More HTML Code
    </div>
    <?php
  15. Replies
    2
    Views
    467

    Re: A better way: Displaying XHTML through PHP

    This works:


    <?php if($_GET['value'] == "a") { ?>
    <a href="http://www.google.com">Type In standard HTML here</a>
    <?php }else{ ?>
    <table>
    <tr>
    <td>Type in a different...
  16. Replies
    2
    Views
    700

    Re: Windows SDK tutorial

    have a look at this for some examples of how to use a commandbutton and a listbox.

    http://www.theitoffice.co.uk/library.php?c=3&l=2
  17. Thread: System Tray

    by Peter1
    Replies
    5
    Views
    545

    Re: System Tray

    Or if you don't want to use an ActiveX control, try this class module.

    http://www.theitoffice.co.uk/pete/library.php?act=showentry&id=18&catid=3&lang=1
  18. Thread: Scanner Error

    by Peter1
    Replies
    9
    Views
    1,354

    Re: Scanner Error

    Turns out it probably was Netbeans. I installed wordpad and used that to compile the program and it works fine. Switch over to Netbeans and it still doesn't work.
  19. Thread: winsock

    by Peter1
    Replies
    12
    Views
    732

    This might be what you're looking for. ...

    This might be what you're looking for.

    http://codeproject.com/internet/networkevents.asp?print=true
  20. Thread: Scanner Error

    by Peter1
    Replies
    9
    Views
    1,354

    Thanks. I've installed the Netbeans Release...

    Thanks.

    I've installed the Netbeans Release Candidate, but it still doesn't work. So I don't think its that.
  21. Replies
    6
    Views
    423

    Here you go...

    Here you go http://www.vbforums.com/attachment.php?s=&postid=1577898 from this thread
  22. Thread: Scanner Error

    by Peter1
    Replies
    9
    Views
    1,354

    :bump:

    :bump:
  23. Thread: Scanner Error

    by Peter1
    Replies
    9
    Views
    1,354

    Scanner Error

    Hello.

    I am using Netbeans 4.0 Beta 2 with JDK 1.5. With this simple, short code I am generating an error that I can't seem to figure out.



    import java.util.*;

    public class Main
    {
  24. Replies
    15
    Views
    745

    Bugger, missed that one :)

    Bugger, missed that one :)
  25. Replies
    15
    Views
    745

    Nice one, almost the same :D Oh yeah, forgot...

    Nice one, almost the same :D

    Oh yeah, forgot to take out the string header :p
  26. Replies
    15
    Views
    745

    Here you go: #include ...

    Here you go:




    #include <iostream>
    #include <string>
    using namespace std;

    void main()
  27. Replies
    8
    Views
    513

    Whats the error message?

    Whats the error message?
  28. Replies
    8
    Views
    731

    Heres a full program I made....

    Heres a full program I made.

    Pete
  29. Replies
    3
    Views
    2,692

    And after reading your other thread, I find out...

    And after reading your other thread, I find out you already know this. :rolleyes:

    Pete
  30. Replies
    3
    Views
    2,692

    Don't have that file. However a while back I also...

    Don't have that file. However a while back I also lost my components cd and found this page which gave me a list of the stuff I needed. It turned out that I couldn't find half the stuff that was...
  31. Replies
    3
    Views
    1,225

    This works Private Const MAX_PATH = 260 ...

    This works


    Private Const MAX_PATH = 260

    Dim lvi As LV_ITEM
    lvi.cchTextMax = MAX_PATH
    lvi.pszText = Space$(MAX_PATH)
    SendMessage ListView1.hwnd, LVM_GETITEMTEXT, i,...
  32. Replies
    3
    Views
    1,225

    try SendMessage hwndLV, LVM_GETITEMTEXT, ByVal...

    try
    SendMessage hwndLV, LVM_GETITEMTEXT, ByVal i, VarPtr(lvi)
    Pete
  33. Replies
    8
    Views
    1,068

    As an after thought you could always email the...

    As an after thought you could always email the author of that article and ask him how he did it.

    Pete
  34. Replies
    8
    Views
    1,068

    I've been fiddling around with it but with no...

    I've been fiddling around with it but with no luck, Every call I make to it returns seems to return a fail.

    However, i did find this page here which does seem to get it working (right at the...
  35. Replies
    8
    Views
    1,068

    What code are you using at the moment?

    What code are you using at the moment?
  36. Replies
    4
    Views
    435

    Heres a file that has the functions to colour...

    Heres a file that has the functions to colour console text.

    Pete
  37. Replies
    6
    Views
    1,018

    http://www.vbforums.com/showthread.php?s=&threadid...

    http://www.vbforums.com/showthread.php?s=&threadid=242128
  38. Hiya, i'm doing a Software Engineering degree. ...

    Hiya, i'm doing a Software Engineering degree.

    Heres a link

    Course content is about halfway down.
  39. Thread: vb code browser

    by Peter1
    Replies
    9
    Views
    549

    See if you like this....

    See if you like this.

    Pete.
  40. Replies
    15
    Views
    1,306

    How About. x = x - Speed * (Sin(Facing * (PI /...

    How About.

    x = x - Speed * (Sin(Facing * (PI / 180)))
    y = y - Speed * (Cos(Facing * (PI / 180)))

    Pete.

    Works for me.
Results 1 to 40 of 188
Page 1 of 5 1 2 3 4



Click Here to Expand Forum to Full Width