Search results

  1. M

    C# - Run a command on shutdown

    Not way off, but not exactly close. What you've done is defined an event on your UseMonitor class, so it can fire its own SessionEnding events. Take a look at "How do I... Catch system level events in C#?" and the following example: using Microsoft.Win32; namespace UseMonitor { [...]...
  2. M

    can somebody explain this to me

    To expand on saif7463's answer, the '+' is called the adjacent sibling combinator (CSS 2.1, section 5.7). Support for it was added to IE7. Other browsers have supported it for awhile.
  3. M

    Help connecting PHP to SQL

    What's the exact error message? DB usernames on X10 begin with your cPanel user name, e.g. shellyb_search. "search" is wrong for a DB username. Make sure you add the DB username to the 'shellyb_dbFamily1' database so it has access. Before asking a question, search the forum and the web at...
  4. M

    Web Site Directory and Link Problem

    You could simply move the contents of the subfolder to the parent folder. If the folder is supposed to be just one of a couple different sites you're managing, then create an addon domain in cPanel that points to the subfolder and use the subdomain name rather than ventana.xhosting.com. If you...
  5. M

    IE compatibility

    NN4 is dead, buried and rotted to dirt. That's not tabular data. Don't abuse tables ([2]). These days, you don't need JS for menus. You can use fixed positioning (not supported in IE6, but you can emulate it) to keep the menu always in view. To display/hide submenus, use the ':hover' pseudo...
  6. M

    C# - Run a command on shutdown

    If the app is running all the time, the application exits at system shutdown, so store the runtime just before the main application function ends. Depending on how you're handling system notifications, you can also either handle the SessionEnding event or WM_ENDSESSION message.
  7. M

    problems after problems

    What can you deduce from the behavior? The "while" loop block is guaranteed to print HTML table row and cell elements, even if $row['firstName'] & al. aren't defined. That no HTML <tr> or <td> are printed tells you that $result is empty. Either the query is returning an empty result or there's...
  8. M

    Arcade Script installation

    Too bad, because that's the only answer that will work (and it's "localhost"). Only local connections are allowed, both for MySQL clients and the server. And try the forum search function next time.
  9. M

    Local SQL database transfer

    In phpMyAdmin, you can choose to export only certain databases to cut down on file size. You can also edit an SQL file and split it between statements. Still more steps than if you can use a non-web app, but if you want to work with a remote DB that doesn't allow network connections, it's useful.
  10. M

    Programming in python?

    Not right now, but sometimes.
  11. M

    Another one of those header output problems.

    Yes. @diabolo: Make sure $language and $defaultLang are set.
  12. M

    Dynamic Links?

    Freecrm shows you how to do what you want, but if you want to know what you're doing, read on. The portion of the URI after the question mark is called a "query string". The elements of a query string are usually "field-value pairs" of the form "field=value" or just field names with no value...
  13. M

    Help required with a screen resolution issue

    Better, but you still have some <img> as children of the <ul>. (Note: I changed the tag from '[code]' to '[html]' to improve readability). You might want to use W3C's HTML validator. A "widget" is a UI element that the user interacts with, also called a "control". Buttons, scrollbars...
  14. M

    selectbox background color

    The background is correct on FF3.5 on Vista, so there's probably something about the combobox control on Windows 7. Sounds like it's worth filing a bug report of trivial severity--just make sure nobody else has already filed the bug. Be sure to include a minimal test case in the bug report.
  15. M

    Help required with a screen resolution issue

    First thing, the only legal children of an unordered list (<ul>) are list elements (<li>). Second, browsers already include the ability to change font size and zoom in or out. That being said, there are still good arguments for including the functionality in a page, so here's one way. The...
  16. M

    Problem updating database through form

    An unchecked checkbox isn't included in the submitted form data. For example, if you submit: <form> <input name="foo" type="checkbox" value="bar" checked /> <input name="bam" type="checkbox" value="bug-AWWK!" checked /> <input name="qux" type="checkbox" /> <input...
  17. M

    HTML Not Working

    It's in the background image: Note that with a single background image like that, any change in font size will cause menu items to fall out of alignment with the background. Instead, break up the background and set the background of each menu item to the gradient. Until CSS 3's background-size...
  18. M

    selectbox background color

    Which version of Firefox and which OS? Always describe the software environment. Setting background-color works for me with FF 1.5-3.5 on OS X 10.4. Keep in mind that form controls are usually OS native widgets, so if a particular browser doesn't apply styling to a form control, there's...
  19. M

    CSS Layout Help

    The vertical-align property aligns line boxes for inline elements, so wouldn't affect the menu (if the menu had a display of "inline-block", however...). Even if it did, I believe Focus wants to stretch the height of the sidebar, not merely align its bottom with the top of the footer. @Focus...
  20. M

    Sql for noobs

    The following websites all have interactive tutorials (including the already mentioned W3Schools) that let you run queries. You can also try your own queries on their databases. SQLZoo Head First SQL SQLCourse W3Schools SQL Exercises I believe they only let you play with the Data...
Top