dcsimg

Search:

Type: Posts; User: noahssite

Page 1 of 13 1 2 3 4

Search: Search took 0.13 seconds.

  1. Thread: Some errors

    by noahssite
    Replies
    3
    Views
    1,040

    Re: Some errors

    Welcome to VBForums!

    As SambaNeko mentioned, the cause for your 'boolean given' error is that mysql_fetch_array() returns false if there are no more rows in the result set.

    As a side note on...
  2. Replies
    2
    Views
    771

    Re: Editing sentences

    Read up on Regular Expressions here if you don't already know how to use/write them: http://www.regular-expressions.info/

    After you become familiar with the basics of RegEx you can implement a...
  3. Re: Change black background of AxWindowsMediaPlayer

    How would I detect where the black pillar box is in order to draw the rectangle? The size/location of the media player is not fixed, its position is set by the user.
  4. Change black background of AxWindowsMediaPlayer

    Hello,

    I'm using the AxWindowsMediaPlayer control. At the moment if I play a video whose dimensions are not of the same ratio as the AxWindowsMediaPlayer control then there are added "black bars"...
  5. Replies
    6
    Views
    963

    Re: looking for code for... not sure..

    You could learn PHP and write it yourself. Once you learn the basics it is pretty easy to write a simple login script. You should also learn SQL to manage user accounts.
  6. Replies
    6
    Views
    963

    Re: looking for code for... not sure..

    Message board or guestbook?
  7. Replies
    3
    Views
    783

    Re: Changing Frame URL?

    PHP is a server side scripting language. I think you want to look into JavaScript.
  8. Replies
    1
    Views
    815

    Re: Display Random Text?

    $texts = array('hi','hello','hey','Good Day');
    $text = array_rand($texts);
    echo '"' . $texts[$text] . '"<br />we also have ';
    unset($texts[$text]);
    $ln = count($texts);
    for($i=0;$i<$ln;$i++){...
  9. Replies
    38
    Views
    3,781

    Re: The Internetemulator

    I'm still confused on what you mean "Internet Emulator". Everyone else in this thread is joking. Now I believe the true question is: are you?
  10. Replies
    1
    Views
    753

    [RESOLVED] [JavaScript] Drag and Drop

    On Gmail you can insert an attachment by dragging the file from your desktop to the textbox on the screen. Does this work in all browsers and how does it work?
  11. [RESOLVED] [JavaScript] Change URL in Address Bar

    On Facebook if you click on a button like "Messages", for example, your messages will appear on the page and the URL in the address bar will change to reflect that you are looking at messages. The...
  12. Replies
    1
    Views
    532

    Re: Blank Monitor? (for specific devices)

    Does anyone have any idea for creating virtual monitors? If this cannot be accomplished in C# then the other language that I could write it in would be java.
  13. Replies
    1
    Views
    532

    Blank Monitor? (for specific devices)

    Hello,

    If anyone is familiar with the remote access service, LogMeIn, you will know that it provides the user with the functionality to 'blank' the monitor connected to the computer that you are...
  14. Re: Uppercase first letter in each word of a string.

    Oh my mistake.

    This should have worked, I believe:


    TextBox1.SelectionStart = TextBox1.Length

    with no adding/subtracting.
  15. Re: Uppercase first letter in each word of a string.

    You have to set the Selection of the Textbox to the length of the Textbox's value minus 1.

    e.g.



    TextBox1.Text = Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(TextBox1.Text)...
  16. Godaddy vs Hostgator for shared web hosting plan?

    What do you think is better for a shared web hosting plan, Godaddy or Hostgator? Reasons?

    I have been using Godaddy for a while but Hostgator seems much cheaper however there must be a reason.
  17. Replies
    3
    Views
    1,201

    Re: Convert PDF to HTML/JPEG

    I didn't think Godaddy had Image Magick; now that I look at it I think they do. I am going to look into it. I'll post if there is still an issue.
  18. Re: Uppercase first letter in each word of a string.

    In the Textbox's keyup event place this code, assuming your textbox is TextBox1:



    TextBox1.Text = Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase(TextBox1.Text)
  19. Replies
    3
    Views
    1,201

    Convert PDF to HTML/JPEG

    Hello,

    I need to be able to convert a PDF to formatted HTML or to a JPEG/other image file. The methods I have searched all require a program to be installed on the server. Using the current server...
  20. Replies
    1
    Views
    939

    Re: drag and drop folder/file

    I don't believe PHP is the right language to use. JavaScript is probably the one you need to look into. If Google Images didn't have the Search By Image feature then I would have said what you want...
  21. [RESOLVED] DOM Document work with ?

    I have used DOM Documents with xml like <a>dasdasd</a> etc.. but does it work with a tag like <br />? A single tag with no content? Could I access that <br /> tag like I would any other tag?
  22. Replies
    1
    Views
    3,498

    Re: [RegEx][Preg] Find text between two tags

    I've improved the expression to this:


    <\s*(w:p)(\s+[^>]*>)|(\s*>)([^[<\s*\/\s*(w:p)\s*>]]*)<\s*\/\s*(w:p)\s*>

    This expression is giving me the full w:p tag and closing tag i.e. <w:p id=23...
  23. Replies
    1
    Views
    3,498

    [RegEx][Preg] Find text between two tags

    I need a RegEx expression to find the text between two XML tags.

    I have tried the following expressions:



    /<w:p[^Pr][^>]*>(([^(<w:p>)])|([^(<w:p>)]))*<\/w:p>/...
  24. Replies
    10
    Views
    1,123

    Re: assigning a session to user

    You aren't checking if $_SESSION['username'] contains a value. Someone could easily 'compromise' $_SESSION['username'] and set it to " ". The isset function checks if it equals NULL or not.
  25. Re: [RESOLVED] file type/extension verification

    The method you choice only limits te file extension. I can take an executable file called destroyall.exe and rename it to destroyall.docx. According to your code it will upload the file.
  26. Replies
    5
    Views
    1,002

    Re: Getting input from keyboard

    You can use a KeyUp event on your form if you set the TopMost property of your form to True. You would have to hide your form another way (opacity = 0) instead of minimizing it.

    An API would be...
  27. Replies
    1
    Views
    2,413

    Re: shopping cart problem

    No one will read all that code. Try narrow down the area where the error is located. What exactly is happening? Are you getting an error message? If not include this at the beginning of your code:
    ...
  28. Replies
    4
    Views
    870

    Re: C# Condition Issue?

    What do you mean it's seperating the expression from the value?

    The '|' (pipe) operator is the OR operator.

    True OR False = True.

    EDIT: Oh my mistake. I didn't realize that the '|' was part...
  29. Replies
    4
    Views
    870

    Re: C# Condition Issue?

    Here's the logic in English:


    As you can see (false | true) always returns true. Which defeats the purpose of the ternary conditional.

    Do a break point and find the value of...
  30. Replies
    2
    Views
    1,523

    Re: Random number range

    private static int showRandomInteger(int aStart, int aEnd, Random aRandom){
    if ( aStart > aEnd ) {
    throw new IllegalArgumentException("Start cannot exceed End.");
    }
    //get the...
  31. Replies
    9
    Views
    1,622

    Re: [RESOLVED] [css] POSITIONING.

    Nothing. It's just that. A reputation.
  32. Replies
    9
    Views
    1,622

    Re: [css] POSITIONING.

    Your welcome :)

    Mark the thread as resolved if you have no more questions.
  33. Replies
    9
    Views
    1,622

    Re: [css] POSITIONING.

    What web browser did you test it in? I tested it in Mozilla Firefox and Google Chrome.

    EDIT: It works in Internet Explorer 9 as well. Did you copy it exactly?
  34. Replies
    9
    Views
    1,622

    Re: [css] POSITIONING.

    Add this to your home.css file:



    #nav li ul
    {
    z-index: 1;
    }
  35. Replies
    9
    Views
    1,622

    Re: [css] POSITIONING.

    You will get more answers if you use the forum CODE tags to display your code rather than attach it in an attachment.
  36. Thread: image merge

    by noahssite
    Replies
    13
    Views
    1,795

    Re: image merge

    Remember the file location is relative, you can replace this:


    $image1Url = imagecreatefromjpeg($_SERVER["DOCUMENT_ROOT"]."/php/Headers/1.jpg");

    with


    $image1Url =...
  37. Thread: image merge

    by noahssite
    Replies
    13
    Views
    1,795

    Re: image merge

    How large is the image 1.jpg? (in megabytes) It is possible it's a memory issue.

    EDIT: Also try to use another jpg file.
  38. Re: Single Quote vs Double Quote, What to default to?

    thanks for the clarification :check:
  39. Thread: image merge

    by noahssite
    Replies
    13
    Views
    1,795

    Re: image merge

    This file:



    does not exist. What is the root directory of your web server? I am not sure how you configured your server but try get rid of "/php" so that it becomes:


    $image1Url =...
  40. Re: Single Quote vs Double Quote, What to default to?

    Outside of an extensive loop where a string is being echo'd is the performance difference that noticable?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width