Search Results - VBForums


Type: Posts; User: kfcSmitty

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Re: Jquery script file not found , problem only in Chrome

    No idea what it could be off the top of my head (although may be a Chrome sandboxing issue). If you post the resulting markup with the script tag, it may point someone in the right direction.
  2. Replies

    VS 2005 Re: Adding alert message box

    If you're just looking to concatenate the message in, the below should work:

    Page.ClientScript.RegisterStartupScript(Me.GetType(), "ALERT", "alert('" & Message & "')", True)

  3. Re: [JavaScript] Get elements by class from external site

    If you're simply looking to get the elements, and some value in them, but not actually manipulate them, you could simply scrape the source (using C#, python, etc) and use regex to parse out fields...
  4. Replies

    Re: Setting Static IP on Kubuntu

    Not sure if it is a typo or not, but you used a comma for your IP address (192.168.1,110). If you do have that typo in your config, it could explain some of the funkiness you've seen.
  5. Re: Read Multiple Text files Into Master Text File

    In your foreach, it would probably be easier to use the File.ReadAllText() method to read the contents of an entire file into a string variable, and then you could use File.AppendAllText() to append...
  6. Re: Read Multiple Text files Into Master Text File

    Best way to do it would be to get a list of all .txt files in the directory you want, and loop through them.

    Open each file and read the contents. Depending on the number of files and the size of...
  7. Re: Show SQLDataReader Results In ONE messagebox

    Instead of printing out the reader to a messagebox, add the reader values to a string variable and add a newline character to the end.

    Then, once you're done looping through the results, just...
  8. Replies

    Re: Hey Everyone, Long Time No See.

    Glad things are going well... but god man.. paragraphs!
  9. 4.0 Re: Generate set of words from a sentense

    You can split based on a space, and then loop through the results to print it. You would need to use 2 for loops.


    string statement = "This is a test statement";
  10. Replies

    Re: sorry me again

    It would be better for you to post the resulting HTML for us to see (including the header and footer includes), but right off the bat, my guess would be that you're missing your closing table tag.
  11. Replies

    Re: [VOTE] Removal of a general setting

    I'm being paid for being at work and it is my job to deal with that customer. That is not the case here, so that seems like a completely irrelevant point.
  12. Replies

    Re: [VOTE] Removal of a general setting

    I set myself to hide because, in the past, I've received PM's of people basically demanding I check out their thread that I had responded to before. Sometimes I have nothing more to input and...
  13. Replies

    Re: How fast is fast enough

    You definitely could go much lower.

    Right now I pay for a 16/2 connection and I do play video games (although rarely now a days) and stream video and torrent. I have zero complaints about the...
  14. Replies

    Re: Header Location error

    This line looks suspicious to me:

    if (isset($_GET['success']) && empty($_GET['success'])) {

    Are you really looking to check to see if 'success' it set, but empty? And if so, display the...
  15. Re: [JavaScript] Setting up a new array

    I don't see anything wrong with it. Do you get an error?

    I remember reading a bunch of threads somewhere saying to avoid using

    var tmp = new Array("1","2","3","4");

    And instead to use
  16. Re: First HTML5 game and having some issues

    Even with the JavaScript added in, it still works for me in all browsers. Can you show me a screenshot of what the code I gave above looks like in your browser?
  17. Re: First HTML5 game and having some issues

    When you try with my example, the grid doesn't show at all?

    If not, can you give me your JavaScript (assuming it has changed from above)? It may be doing something funky.
  18. Re: First HTML5 game and having some issues

    You're overcomplicating things by trying to always add borders to sections. Just add them where you need them.

    Try this:

    <!DOCTYPE html>

  19. Re: First HTML5 game and having some issues

    Ah, what I read is actually the same thing, but a little different.

    If you only use CSS, it will set the canvas width and height to match the CSS. However, if you set the size on the canvas itself...
  20. Re: First HTML5 game and having some issues

    Actually, from what I've read, you can't do that with canvas. While using CSS to set the width and height makes it look proper, you need to explicitly set the width and height per canvas object...
  21. Re: First HTML5 game and having some issues

    So a couple issues.

    #1 Canvas needs to have a closing </canvas> tag. You can't use an inline closing (<canvas />).
    #2 The canvas is, by default, display: inline and vertical-align: baseline....
  22. Replies

    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.
  23. Replies

    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...
  24. 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.
  25. Replies

    Re: What is wrong?

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


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

    by kfcSmitty

    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

  27. Thread: vb to c#

    by kfcSmitty

    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...
  28. 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...
  29. 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.
  30. Replies

    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...
  31. Replies

    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...
  32. 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...
  33. Thread: Your Age

    by kfcSmitty

    Poll: Re: Your Age

    There is now ;)
  34. Replies

    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.
  35. Replies

    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.
  36. Replies

    Re: [JavaScript] New window pop-up

    Sounds like you want some sort of lightbox solution.

    Here is one I've used in the past:

    But this site...
  37. 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."
  38. Replies

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

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

    Two things.


    document.GetElementById("palindromeBtn").onclick = palindromeBtn_Click;
  39. Replies

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

    Can you post your HTML as well, please?
  40. Replies

    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...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4


Click Here to Expand Forum to Full Width

Survey posted by VBForums.