Search:

Type: Posts; User: andrewb

Page 1 of 3 1 2 3

Search: Search took 0.07 seconds.

  1. Re: 100% Customizable MenuStrip / ToolStrip / StatusStrip, including common presets

    Wow, thanks for the quick and thorough response Nick! I don't know how on earth I missed those properties, works like a charm!

    The horizontal gradient is exactly what I was after, to get the same...
  2. Re: 100% Customizable MenuStrip / ToolStrip / StatusStrip, including common presets

    Hi folks, hopefully someone is still following this thread. This is an awesomely useful tool - and I'm trying to apply it to another control, namely ToolStripPanel (to hold toolstrips, in my case in...
  3. Re: Re-using XMLHttpRequest object (IE)

    Thanks for your reply - I've now gone with the PrototypeJS framework which turned out easier to use than I'd previously thought :)
  4. [RESOLVED] Re-using XMLHttpRequest object (IE)

    Hi guys, I've been tearing my hair out over this. Firefox accepts the following code perfectly, and executes the onreadystatechange function every time. However IE7 (I'm going to try IE6 at work...
  5. Replies
    2
    Views
    651

    Re: Misbehaving Sessions

    Thanks kows, I had tried with and without cookies enabled, but it must have had something to do with the files, I'm really not sure. Resolved for now :)
  6. Replies
    2
    Views
    651

    [RESOLVED] Misbehaving Sessions

    Hi Folks,

    I am tearing my hair out trying to get sessions to work, I've tried the simple example code below to test whether sessions were working as they're meant to.


    <?php
    session_start();...
  7. Replies
    0
    Views
    18,680

    [PHP] What was the date on monday?

    I got annoyed finding something simple to find the date for monday in the current week (easily adapted for to find the monday for any given date) - so I gave up being lazy, and whipped up my own...
  8. Replies
    3
    Views
    7,011

    Re: Auto-close HTML tags using PHP

    Yeah I know, it's not my forum or code - was just trying to find a solution to a problem they're having. But I think the route will be BB code as you mentioned...
  9. Replies
    3
    Views
    7,011

    Auto-close HTML tags using PHP

    Hi everyone,

    Is anyone aware of a function or other bit of code that could quickly and easily close open HTML tags.

    We're looking at this for a forum-type situation where members are permitted...
  10. Re: Avoid SHELL command prompt taking focus

    Great, that seems to have worked - oh so simple lol.

    Thanks a tonne!
  11. [RESOLVED] Avoid SHELL command prompt taking focus

    Hi all, I've got a project which is calling a shell every 5 mins or so to perform a task in the command prompt until I work a better method into the program.

    Problem being for the couple of...
  12. Re: MS Access to MSDE conversion woes...

    Aha! I had changed it to dd/mm/yyyy yesterday - and hadn't changed back today when trying the replace # with ' suggestion.

    Thanks all, seems ok - for now lol
  13. Re: MS Access to MSDE conversion woes...

    That didn't seem to work - do the dates in the SQL statement still need to be in the yyyy/mm/dd format, as they did when I used Access?
  14. [RESOLVED] MS Access to MSDE conversion woes...

    Hi Everyone,

    I'm just in the process of upsizing several DB's in a VB6 project to MSDE. It started off so smoothly - just changed the code in the module to open the DB connections - SQL...
  15. Replies
    3
    Views
    571

    Re: MultiLine TextBox!

    What I mean is a textbox (as far as I know - have tried it here) won't show a line of text if it will get cut in half horizontally (e.g. only top half of each character shown.

    If it can't show...
  16. Replies
    4
    Views
    547

    Re: Why Type Mismatch Error!

    Because in your second example you are passing the caption, as a string - not as a label which is what the sub is expecting - hence the data doesn't "match".

    If you want to use the caption, I...
  17. Replies
    3
    Views
    571

    Re: MultiLine TextBox!

    Well - your textbox appears to be too short to fit all the text.

    In a textbox. if the last line can't be shown as a whole (in it's entirety) - it doesn't appear at all i.e. you have to scroll to...
  18. Replies
    2
    Views
    500

    Re: extracting a list box

    Hmm, I think you should put this in maybe the ASP/VBScript forum, as it's not really classified as "Classic VB".
  19. Re: To see or not to see, that is the misson today :)

    I asked, because it has happened before - I have no means by which to ascertain your VB skill level, hence every possibility must be covered.

    If you don't appreciate that - then your...
  20. Re: To see or not to see, that is the misson today :)

    Object required indicates VB can't find the control called mnuFred... if mnuFred is on a different form to the checkbox, then you will need to point at the form as well e.g. Form1.menuFred.Visible =...
  21. Thread: Listbox Tag

    by andrewb
    Replies
    12
    Views
    7,470

    Re: Listbox Tag

    I usually use Tags, especially in ListView's to store the record number of each item in the ListView, populated from a database. This makes it easier to run further queries based on the selected...
  22. Re: To see or not to see, that is the misson today :)

    Well for dropdown menus, in the click event for whichever checkbox - you could just use:
    If CheckBox1 = 0 Then MFile.Visible = False Else MFile.Visible = True
    That would make the menu called...
  23. Thread: MDI Parent

    by andrewb
    Replies
    2
    Views
    424

    Re: MDI Parent

    No - an MDI parent form is a container, for MDI child forms.
  24. Replies
    4
    Views
    630

    Re: find ### in string

    Hack,

    Great code example - you showoff :p
  25. Replies
    4
    Views
    630

    Re: find ### in string

    You want to check if it contains the text "(e-mail)" if so - this will suffice, if you want to check if the string possibly contains an email address - you could use Instr(strString,"@") to check...
  26. Thread: mysqb help

    by andrewb
    Replies
    10
    Views
    682

    Re: mysqb help

    I doubt there is any code.
  27. Re: mirroring a DB without distributing data: what would YOU do?

    You did originally say it was an Access database, this has caused a bit of confusion obviously...
  28. Re: finding out wat selected in list

    vbasicgirl did post exact code - the only thing you may need to change is the listbox name, if it should happen to be different in your project.
  29. Thread: FTP Uploader

    by andrewb
    Replies
    3
    Views
    531

    Re: FTP Uploader

    You're going to need to probably at least have a go at reading the link(s) provided, have a go at writing some code, and post any problems you have including the problem code.
  30. Replies
    9
    Views
    1,198

    Re: Persistent Variables!?

    Well the easiest possible way is to dump the info collected from the dialog upon first run to a file.

    Check for the presence of the file, or of the data in the file - and based upon that - decide...
  31. Re: MIcrosoft Internet Control (Web Browser) Question

    That click sound is actually set in Windows Control Panel - Sounds (might be under Multimedia). If I remember correctly it's the "Navigate" sound under Explorer.
  32. Replies
    1
    Views
    433

    Re: Question about reports

    Probably, if you want to show multiple columns at once - a ListView in report mode.

    As for printing - if the default printer is where you want to print, just jump on in with:
    Printer.Print "This...
  33. Replies
    6
    Views
    864

    Re: ListView scrolls sideways only?

    Cool, now don't forget to mark this thread as resolved from the "Thread Tools" menu.
  34. Replies
    24
    Views
    1,298

    Re: Elseif & MSGbox Problem

    Why not replace
    ElseIf...Then
    with
    Else
    ?
  35. Replies
    6
    Views
    847

    Re: [RESOLVED] Email...

    I don't know if you will be able to connect via Hotmail's SMTP server. Don't ISP's give you access to their SMTP servers over there?

    In my project, at home I use my ISP's smtp server because that...
  36. Re: SQL selecting records with DatePicker control

    I have found in my SQL statements with Access, dates must be formatted yyyy/mm/dd - works for me, as well as enclosing the date in #'s of course.
  37. Replies
    6
    Views
    847

    Re: Email...

    You will normally use the SMTP server your ISP provides, I've been using the OstroSoft SMTP control extensively in a project and it's very easy to use.
  38. Re: Scrolling an IE window after page finishes loading?

    You could also make use of an anchor in your html, then navigate your web control (index.html#gohere)
  39. Re: Open text file, then write to Textbox issue.

    Yep, you aint gonna extract anything out of the file when it's open for append. As David said you need to open the file for INPUT.
  40. Replies
    3
    Views
    494

    Re: Converting date help

    and from a date e.g. 24/01/1984...

    MsgBox MonthName(Month(thedatehere))
Results 1 to 40 of 102
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width