joshl_1995 22 Twisted Digital

Hello Community,
I was wondering if there is a way to stick a cmd window/process that i called from my vb form to the bottom of the form like the picture: (below)
form2
And so where ever i move the form the cmd windows will also follow. Also is there a way to hide the cmd windows in the taskbar.

Please help

joshl_1995 22 Twisted Digital

Hello Community,
I was wondering if there is a way to place CMD within a panel of a vb.net form.
form1
Example:

Please Help

joshl_1995 22 Twisted Digital

Try changing the AUTO_INCREMENT=13 to AUTO_INCREMENT=0

joshl_1995 22 Twisted Digital

Hello community,
For some reason when my laptop has the charger plugged in i have sound then when i unplug the charger there is no sound and i have checked the sound levels they at at 100% and still no sound

Also when i plug and unplug the charger i get this popup
Untitled-11

It's almost like the charger is a USB

Can someone please help me

joshl_1995 22 Twisted Digital

Because i'm supprised about how many people download my programs and there are alot, but no one as ever registered so i thought the only way for me to get members is to make my programs only for members but thats forcing them to register and i want people to register at there own lesure.

joshl_1995 22 Twisted Digital

Hello Community,
I was wondering, would it be mean to make my programs only available to members only?

joshl_1995 22 Twisted Digital

Hello Community,
I was wondering if there is a way to make a program that will send messages from one computer to the other.

NOT using LAN connection and NOT using winsock.

EG. I (at my house) would like to chat with my friend (his at his house).

Please help.

kvprajapati commented: Tell your **friends** about *this* post. -3
joshl_1995 22 Twisted Digital

Thanks

joshl_1995 22 Twisted Digital

Hello Community,
I was wondering if it's possible to attatch a command prompt window to a visual basic form.
EG. (Below (i made this as an example))

example8

Something like that.

Please help.

joshl_1995 22 Twisted Digital

I'm not trying to reinvent the wheel (remake notepad++) i just want to know how to make a margin with the numbers and code folding but i found out how to make a margin numbers.

I found this code and fixed it to the way i want it but i want the user able to choose there own colours for the functions but it don't. I choose the colour from the properties (eg. i'll choose red) but it won't change in the syntaxRTB in the form it stays black the only time it will change is if i change the color in the private _SyntaxHighlight_COLOUR(what ever number)

Public Class SyntaxRTB
    Inherits System.Windows.Forms.RichTextBox
    Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" _
    (ByVal hWnd As IntPtr, ByVal wMsg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As Integer
    Private Declare Function LockWindowUpdate Lib "user32" (ByVal hWnd As Integer) As Integer
    Private Words As New DataTable
    Private _SyntaxHighlight_COLOUR1 As Color = Color.Black
    Private _SyntaxHighlight_COLOUR2 As Color = Color.Black
    Private _SyntaxHighlight_COLOUR3 As Color = Color.Black
    Private _SyntaxHighlight_COLOUR4 As Color = Color.Black
    Private _SyntaxHighlight_COLOUR5 As Color = Color.Black
    Private _SyntaxHighlight_COLOUR6 As Color = Color.Black
    Private _SyntaxHighlight_COLOUR7 As Color = Color.Black

    'Contains Windows Messages for the SendMessage API call
    Private Enum EditMessages
        LineIndex = 187
        LineFromChar = 201
        GetFirstVisibleLine = 206
        CharFromPos = 215
        PosFromChar = 1062
    End Enum

    Protected Overrides Sub OnTextChanged(ByVal e As System.EventArgs)
        ColorVisibleLines()
        Main.IsSaved.Checked = False
        Try
            Main.ToolStripStatusLabel2.Text = Len(Me.Text)
        Catch ex As Exception
        End Try
    End Sub …
joshl_1995 22 Twisted Digital

What does "PHP -f" mean

joshl_1995 22 Twisted Digital

Yes i thought of that, but how?

joshl_1995 22 Twisted Digital

How are you posting it.

This would be the normal way i'd post it

<?php
    $posting = $_POST['posting'];

    if ($_POST['submit']) {
        EXAMPLE:
        echo $posting;
    }
?>
<form action="page.php" method="POST">
    <input type="text" name="posting"/>
    <input type="submit" name="submit" value="Post"/>
</form>
joshl_1995 22 Twisted Digital

Give me an example

joshl_1995 22 Twisted Digital

Hello Community,
I was wondering if it is possible to run a php file every week that checks if a user has activated there account after 7 days they will be deleted.

Please help.

Thanks in advance.

joshl_1995 22 Twisted Digital

Hello people,
I was wondering what are the most popular email services (eg. Hotmail, yahoo, gmail...)
Please help.

joshl_1995 22 Twisted Digital

Hello Community,
I was wondering if its possible to make an editor like Notepad++ (I'm talking about the text area).
So it will change the colour of the words (funtions and commands) also with the margin with the numbers and the code folding.

Please help with what you can even if you can give me bits and peices to make the script myself.

Thanks

joshl_1995 22 Twisted Digital

Oh i know why you renamed the page adding the number "2".
Replace <form name="contact" action="konsultasi-konsumen.php" method="POST">
to <form name="contact" action="konsultasi-konsumen2.php" method="POST">

joshl_1995 22 Twisted Digital

@davy_yg Are you saying it won't send?

joshl_1995 22 Twisted Digital

Try this:

$name = strip_tags(@$_POST['name']);
$email = str_replace(" ", "", strip_tags(@$_POST['email']));
$phone = str_replace(" ", "", strip_tags(@$_POST['phone']));
$message = strip_tags(@$_POST['message']);
if (@$_POST['submit']) {
joshl_1995 22 Twisted Digital

If the password in the database is MD5 encrypted then when the user signs in just MD5 the password they typed in then match it with the password in the database to see if they match.

Hope this helped.

By the way what's your website?

joshl_1995 22 Twisted Digital

I'm sure no matter what, "Injection" will still be a problem. Here are some tips to get arround it.

  1. First use MD5 encryption because once something has been encrypted it can't be decrypted.

  2. Use Google reCAPTCHA to stop web bots.

  3. If you are using PHP if your going to use $_GET to interact with your database try using only numbers to be sure there are only numbers in the $_GET use:

EXAMPLE

if (is_numeric($_GET['ID'])) {
}

Or if you have the money you could use https (Hypertext Transfer Protocol Secure).
But only use https if your dealing with private user information.

But remember that with Injection there is always a way it get in, scary isn't it.

joshl_1995 22 Twisted Digital

Hello there...
Do you still need help?

joshl_1995 22 Twisted Digital

What do all suggest i do.

joshl_1995 22 Twisted Digital

Hello davy_yg,
I have put this script together, it does what your script does. So here it is hope it works for you.

<?php
    require_once('recaptchalib.php');
    $name = strip_tags($_POST['name']);
    $email = str_replace(" ", "", strip_tags($_POST['email']));
    $phone = str_replace(" ", "", strip_tags($_POST['phone']));
    $message = strip_tags($_POST['message']);

    if ($_POST['submit']) {
        if ($name&&$email&&$phone&&$message) {
            if (is_numeric($phone)) {
                $privatekey = "6LdRStUSAAAAABctjZq_iX249auG_kjaNvn_4vfN";
                $resp = recaptcha_check_answer($privatekey,
                $_SERVER["REMOTE_ADDR"],
                $_POST["recaptcha_challenge_field"],
                $_POST["recaptcha_response_field"]);

                if (!$resp->is_valid) {
                    //What happens when the CAPTCHA was entered incorrectly
                    echo "The reCAPTCHA wasn't entered correctly.";
                } else {
                    //Your code here to handle a successful verification
                    ini_set("SMTP", "smtp.mail.yahoo.com");

                    $body = "
                    Name: ".$name."
                    Phone: ".$phone."
                    Email: ".$email."\n\n
                    ".$message;

                    mail("davy_yg@yahoo.com", "Contact Me", $body, "From: ".$email);
                    echo "Your message has been sent, we will get back to your shortly.";
                    $name = trim("");
                    $email = trim("");
                    $phone = trim("");
                    $message = trim("");
                }
            }
            else
                echo "There should only be numbers in your phone number.";
        }
        else
            echo "Please fill in <b>all</b> the fields!";
    }
?>
<form name="contact" action="konsultasi-konsumen.php" method="POST">
<table>
    <tr>
        <td>
        <font color="red">*</font> = Required
        </td>
    </tr>
    <tr>
        <td>
        Your name <font color="red">*</font>:
        </td>
        <td>
        <input type="text" name="name" size="64" value="<?php echo $name; ?>">
        </td>
    </tr>
    <tr>
        <td>
        Your email <font color="red">*</font>:
        </td>
        <td>
        <input type="text" name="email" size="64" value="<?php echo $email; ?>">
        </td>
    </tr>
    <tr>
        <td>
        Your phone number <font color="red">*</font>:
        </td>
        <td>
        <input type="text" name="phone" size="64" value="<?php echo $phone; ?>">
        </td>
    </tr>
    <tr>
        <td>
        &nbsp;
        </td>
    <tr>
    <tr>
        <td>
        Message <font color="red">*</font>:
        </td>
        <td>
        &nbsp;
        </td>
    </tr>
    <tr>
        <td>
        &nbsp;
        </td>
        <td>
        <textarea name="message" cols="50" rows="5" style="resize:none" …
joshl_1995 22 Twisted Digital

Hello community,

For my main website SNIP i use it for my programs and other stuff i make, so using my other website SNIP i am tracking how many times my programs are being downloaded and most of them seem to be a hit but i thought if people like my programs so much that they might register.
NOTE: Most of my programs arnt useless some can be helpful.

I thought the only way i might get people to register is to make members only able to download my programs, but i don't want to be mean plus i don't want to force people to register. But i know what you all mean give the people a reason to register.

I was thinking about maybe making a suggestion system for my website so random people would say what they would like.

Also i just remembered only people with a hotmail email address can only register, thats only because it was too difficult to make a bit register system to suit different email address. If you have an easy way to send emails to different email servers using PHP.
Please tell me.

Also i have made a Facebook page SNIP and a YouTube SNIP
i have uploaded videos to "YouTube" on how to use some of my programs, the only comment i have gotton is for my program called SNIP

joshl_1995 22 Twisted Digital

Hello community,
I was wondering if there is a free way to get website traffic for my websites.

lol i have 6 websites:

[snipped]

And i was wondering if there is a way to get people to want to register.

Please help.

joshl_1995 22 Twisted Digital

Hello,
I want to combine all my database table in to one line so i can put it all in the url e.g.

Name | Times
__________________________
test1 | 1
__________________________
test2 | 2
__________________________

This is how i want it to look in the url (Result.php?loggedin=true&links=test1-1_newline_test2-2)(newline means that will be a break point when the other page receives is links)

NOTE: After the script retreves the data i'm using header('Location: page') to send the data to the result.php page.

joshl_1995 22 Twisted Digital

Hello,
I was wondering if there is a way to display formatting in a richtextbox eg.

If i put test the word "test" would be i bold (only the word "test" and the rest would stay the normal).

or if i put test the word "test" would be i size 10 (only the word "test" and the rest would stay the normal size).

Please help