Search Results - VBForums

Search:

Type: Posts; User: kfcSmitty

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    10
    Views
    203

    Re: or !=

    Just talking about MS SQL server (no idea about any others), != actually gets translated to <> on the backend, so they're the same.
  2. Replies
    3
    Views
    1,700

    Re: Validate warning on java script

    Yup, you can safely omit it.

    If you go to sites like Google's Hosted Libraries, you'll notice they omit them in the snippets they give you.

    I believe it has actually been deprecated since XHTML...
  3. Re: Am I allowed to correct bad rendering myself ?

    I know I've stayed out of the Post Race since those pictures were posted because I definitely see them as NSFW.

    Just my $0.02.
  4. Replies
    4
    Views
    1,115

    Re: What is wrong?

    Not sure if this is your only issue, but your line



    Class.forName("com.mysql.jbbc.Driver");


    Has com.mysql.jbbc.Driver, not com.mysql.jdbc.Driver. A simple typo, but I'm surprised it didn't...
  5. Thread: vb to c#

    by kfcSmitty
    Replies
    10
    Views
    1,569

    2.0 Re: vb to c#

    OrElse and AndAlso are equivalent to || and && in C#. Or and And are equivalent to | and & in C#.

    With the OrElse (||), you typically use it to save cycles. Example, if I wanted to check


    ...
  6. Thread: vb to c#

    by kfcSmitty
    Replies
    10
    Views
    1,569

    2.0 Re: vb to c#

    If you use a double pipe (||) or a double ampersand (&&), C# will check from left to right until true, and then will not check any of the other conditions (Like an OrElse).

    If you use a single...
  7. 3.0/LINQ Re: Regarding sending aspx page through lotus notes email.

    Why not just generate an HTML email? Lotus Notes works similar to any other SMTP server, just point it to the correct address and away you go.

    If you're looking for actual Lotus Notes buttons to...
  8. Re: [CSS] Setting width on items in

    You can either set the anchors to display as inline-block, or you can set them to display as block and float them. Both of those should make your elements line up one next to the other.
  9. Replies
    8
    Views
    1,935

    Re: Newbie Space invaders

    You're missing your opening bracket for your first for loop (the one that declares r).

    There may be other errors, but you've only shown a small snippet of code and that is all I can see wrong...
  10. Replies
    5
    Views
    965

    Re: Ajax upload confusion

    If you want to go with a MVC framework and you dislike MVC.NET (and don't need all of its bells and whistles), you could try NancyFX.

    My work has been using it for a little over a year, and using...
  11. VS 2012 Re: UPLOAD form / SUBMIT button with VALUE - where is it in the REQUEST?

    As far as I know, only input fields get passed through the form, so you would need to use <input type="submit" value="xyz" name="submit_button" /> to submit the value.

    The request keys are the...
  12. Thread: Your Age

    by kfcSmitty
    Replies
    47
    Views
    2,764

    Poll: Re: Your Age

    There is now ;)
  13. Replies
    3
    Views
    776

    Re: Declare java script variables

    Yes, you have properly declared variables there. However, those are all global scope variables, as you don't have them in a 'class' or a function.
  14. Replies
    2
    Views
    154

    Re: From the file marked #***#

    Are you sure it was stored as an int to save size? A lot of places store it as an int to store epoch time.
  15. Re: [JavaScript] New window pop-up

    Sounds like you want some sort of lightbox solution.

    Here is one I've used in the past: http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/#prettyPhoto

    But this site...
  16. Re: [VB.Net] Testing needed for different webbrowsers

    It works for me for IE, Firefox, Chrome and Opera. I'm using Windows 7 x64 SP1.

    Note that the process for IE is "IExplore.exe" not "IExplorer.exe."
  17. Replies
    9
    Views
    950

    Re: [RESOLVED] [JS]Get value of textbox

    Don't know how I didn't see this before.

    Two things.

    #1



    document.GetElementById("palindromeBtn").onclick = palindromeBtn_Click;
  18. Replies
    9
    Views
    950

    Re: [RESOLVED] [JS]Get value of textbox

    Can you post your HTML as well, please?
  19. Replies
    9
    Views
    950

    Re: [RESOLVED] [JS]Get value of textbox

    Not sure if it was a typo, or a Fruedian slip, but it's unobtrusive, not unconstructive, haha.

    One thing you'll find about unobtrusive javascript, is that it isn't as easy to pass data when...
  20. Replies
    9
    Views
    950

    Re: [JS]Get value of textbox

    *edit* Appears I was sniped.

    A couple of issues.

    #1 If you want to learn JavaScript, I would recommend unobtrusive JavaScript, rather than how you're writing it. You can find some good...
  21. Re: How to Condence Font in StringBuilder

    In C#, "\" is an escape character.

    The error you're getting is saying "\s" is an unknown escape character.

    Change the line to this:



    objSaleFileWrite.WriteLine("\\si");
  22. Re: Build json string with variable data - PLEASE HELP. NEED ANSWER FAST.

    Whoops, fixed now :)
  23. Re: Build json string with variable data - PLEASE HELP. NEED ANSWER FAST.

    A nice tool I found is JSON to C#.

    Paste your JSON in there and it will give you a C# object that matches.

    This is it's recommendation for your problem:

    Create a Property object with a name...
  24. Replies
    16
    Views
    1,372

    Re: Too many ads getting displayed on Chrome.

    Just letting you know that this isn't affecting everyone. I only see the large welcome ads once a day max.

    I'm using Chrome and I live in Canada.
  25. Replies
    115
    Views
    6,972

    Re: Forum Template / Layout Change

    The thing is, you're not bypassing anything with the script. The side bar gets displayed, rendered, and then the script is simply clicking the same button you would click if you did it manually.
    ...
  26. Replies
    115
    Views
    6,972

    Re: Forum Template / Layout Change

    I'm not sure having a tamper/greasemonkey script to auto click the collapse button would be against the AUP/TOS. You're not modifying the site in the least bit, you're simply automating a task that...
  27. Replies
    5
    Views
    334

    Re: isPalendrome function

    Be sure to convert the values both to uppercase or lowercase, otherwise the comparison will fail.

    "Civic" would not be listed as a palindrome above if it was comparing to "civiC"
  28. VS 2005 Re: Detect back button click in browser

    Long story short, there is no easy way. Set a flag that indicates whether the email was sent already and just don't send again if it is set.
  29. Replies
    11
    Views
    961

    Re: Using JSON in a Windows App

    Yes you can. I've used had success using the [irl=http://james.newtonking.com/json]Newtonsoft libraries [/url]. It's also available off of NuGet.

    It is extremely simple to use and makes...
  30. Re: Java 7.51 Successfully Installed But Security Blocks Running

    From here.
  31. Re: [RESOLVED] [HTML5/CSS] Elements appear outside DIV

    It seems you're running into a lot of the same problems I did when I was learning this stuff so long ago... It's bringing back a lot of memories :)
  32. Re: [HTML5/CSS] Elements appear outside DIV

    The problem is that your wrapper div is not extending to cover the floated content. If you set your "#innerContainer" to have "overflow: hidden;" it should fix the issue.
  33. Thread: php & tables

    by kfcSmitty
    Replies
    6
    Views
    527

    Re: php & tables

    While I agree with dclamp's idea of closing the php tag, printing the HTML and then opening it again, I would go a step further and say look into a templating system like Twig or Smarty. These will...
  34. Replies
    60
    Views
    2,765

    Re: Reputation Display

    I don't think I like that idea.

    Using that ratio, I would be more valuable around here than techgnome.

    If you look at his ratio, he has a rep of 0.13 / post. Mine is 0.2 / post.
  35. Replies
    14
    Views
    1,296

    Re: [HTML5/CSS] Styling List

    Your lessons.html file is referencing home.css, not lessons.css. Hence why none of your changes are appearing ;)

    Update lessons.html to point to lessons.css and it will look as you expect.
  36. Replies
    14
    Views
    1,296

    Re: [HTML5/CSS] Styling List

    Can you zip up your current working directory and send it to me? Maybe there is something that you didn't post in the previous post, or maybe there is an errant null character somewhere or something...
  37. Replies
    14
    Views
    1,296

    Re: [HTML5/CSS] Styling List

    Uhhh... What browser are you using? When I load that up, everything looks good to me. Tested it in Chrome, Firefox and IE11...

    110341
  38. Replies
    14
    Views
    1,296

    Re: [HTML5/CSS] Styling List

    Assuming it isn't too much code, could you zip it up or post it here? I could take a look and see if anything jumps out at me.
  39. Replies
    14
    Views
    1,296

    Re: [HTML5/CSS] Styling List

    Here is all the code I have. If you put this in its own file, does it work as expected?

    It may be anything from a doctype error to missing closing tags that could cause it not to render. It could...
  40. Replies
    14
    Views
    1,296

    Re: [HTML5/CSS] Styling List

    You're close. You need to style the list items instead.



    ul li{
    list-style-type: none;
    }

    ol li {
    list-style-type: lower-alpha;
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.