Jump to content
xisto Community

ghostrider

Members
  • Content Count

    399
  • Joined

  • Last visited

Posts posted by ghostrider


  1. Prozac is more dangerous than these drugs.

    Maybe if you overdose on it. Any drug is dangerous if you overdose. I doubt an antidepressant as popular as Prozac is harmful, considering all the research behind it and other antidepressants. You cannot use the fact that it makes some people suicidal, that happens to one in several thousands of people that take it.

    Also the thing about going out and robbing someones house while under the influence, yes, that does happen. But not for weed. Dope is dirt cheap, people dont rob houses for it, or mug people, or anything like that.

    I doubt that is true. Anything that is addictive can cause a person to steal for it. To say people don't do that is wrong to say. People who are dirt poor are going to steal and kill for it.

  2. Something about the way you wrote this made me think you liked using drugs. I'm not saying drugs are bad AT ALL, but I am not going to use them. If people arent harming others by using them, I don't see a problem with them using them. Like many other people, I know at least one person that uses drugs on a regular basis, and they to are cool about it and dont try to get me to smoke pot with them. They respect my views and I respect theirs. I think alcohol is a different story. I sometimes drink at parties, and yes I am underage. I don't abuse it however, I've never passed out and have never hurt anyone else by me drinking it, and I am not addicted. I have never driven a car (and don't plan to ever) under the influence. My shrink says as long as we don't drive or hurt others while we are drunk, there isn't a problem with it. I stand strongly behind his words. Does anyone else agree with me?


  3. Not all programs utilize both processors, as this is a somewhat new technology. Some programs use multiple "threads". Windows gives programs threads, which is basically processing time. Multiple thread means the program can be doing multiple things "at once", even thought in reality the processor processes one thing at a time, unless you have more than one.


  4. Communism kills and whether by accident or by design the peace movement in the US is pro-communist.


    Communism does not kill, its the people who govern it that kill. If you let go of your steortypes about it, and just think about it, its not that bad of a system. While it might be a total failure in a large group of people, in a small group where no one is lazy the system does just fine. When people get gready is when Communism falls apart. Working for the good of yourself and others is not a bad idea.

  5. Hello and welcome to Xisto! I'm 16 and live in the US. I think you'll find Xisto a great place for hosting your site. Be sure to keep your credits above zero, and take my advice and get the 30 credit package for web hosting. It takes long to get all those credits, but its better in the end. I like hanging out with my friends and parties too. I also really like programming, I've been programming for 10 years now.


  6. I hope this comes to an end soon, I'm currently a sophomore in high school and I've been programming for ten years now, and I'm looking forward to persuing a career in computer engineerings. I'm working on my first major project with my friend Matt, a turn-based strategy game called Muneran, based off the novel he is writing. It'll be done in about 6 to 12 months we hope, we want something playable within the next couple weeks. Are you a programmer, Lyon2?


  7. An Indepth Look At The Winsock Control

    Part III - The Coding Begins

     

    Stuff That Is Covered in Part III:

    If you haven't read my first two parts to this tutorial, you should go here first and read them. During this part we start some basic coding of our chat program. There isn't much code relating to the Winsock control yet, but we need to set up the basic stuff before we begin. There will be a LOT of Winsock code next tutorial, I promise.

     

    Starting off:

    First, you should open up VB6. Create a new 'Standard EXE'. Here's what my screen looks like at this point. Click to enlarge the photo.

     

    Posted Image

     

    Lets start out by making the form look nice. The color scheme is based off of my site. Rename your form to frmStart. Set the BackColor to Black. Be sure that when you set the BackColor that Palette is selected and NOT System. System colors can vary between systems, so to make sure that the colors say the same between computers, use the Palette. This is true for any other coloring changing you do in VB. Change these properties.

     

    Name frmStart

    BackColor Black

    BorderStyle 1 - Fixed Single

    Caption EasyChat v1.0 - Login

    Height 4620

    ScaleMode 3 - Pixel

    StartUpPosition 3 - CenterScreen

    Width 8250

     

    Add some controls:

    Add a label somewhere on your form. It doesnt matter what size it is, the properties you enter will put it in its proper place and its proper size.

     

    Name Label1

    BackColor Black

    Caption EasyChat v1.0

    Font BankGothic Md BT, Bold, 28 (you need to open up the font dialog)

    ForeColor &H0015FF15& (you need to type this in, its not on the Palette)

    Height 81

    Left 72

    Top 8

    Width 401

     

    Below is a pic of what it should look like:

    Posted Image

     

    Add the two options:

    Again, you can place these anywhere on the screen. The properties will put them where they are supposed to be.

     

    Name Option1

    BackColor Black

    Caption Start a chat room

    Font Verdana, Regular, 10

    Height 17

    Left 64

    Top 64

    Value True (marks this option on the screen)

    Width 201

     

    Name Option2

    BackColor Black

    Caption Join a char room.

    Font Verdana, Regular, 10

    Height 17

    Left 64

    Top 80

    Width 201

     

    Here is a picture of while I was setting all of the properties for the two Option controls.

    Posted Image

     

    Here is another pic:

    Posted Image

     

    Add the Winsock control:

    Add the Winsock control to your form. Don't change its name. You can place the control anywhere you want on the form, it is invisible during run-time. I placed mine right next to the EachChat v1.0 label.

     

    Add some more important controls:

    We need to add just a few more controls before we start writing some code.

     

    Name Label2

    BackColor Black

    Caption "" (make sure Caption has nothing in it.)

    Font Verdana, Regular, 10

    ForeColor Blue (select the darkest one)

    Height 17

    Left 32

    Top 136

    Width 137

     

    Name Label3

    BackColor Black

    Caption ""

    Font Verdana, Regular, 10

    ForeColor Blue

    Height 17

    Left 32

    Top 136

    Visible False

    Width 137

     

    Name Text1

    Font Verdana, Regualr, 10

    Height 19

    Left 176

    Text ""

    Top 136

    Visible False

    Width 113

     

    Name Label4

    BackColor Black

    Caption CLICK HERE TO START

    Font BankGothic Md BT, Bold, 36

    ForeColor Yellow (pick the brightest one in the palette)

    Height 89

    Left 72

    Top 176

    Width 401

     

    Finally some code:

    We are now ALL DONE with all the properties. Here is what it should look like completed:

    Posted Image

     

    Double click your form and get ready to add some code:

     

    Place this code in Form_Load():

    'Lets start out with filling in Label2Label2.Caption = "Your IP Address is:  " & Winsock1.LocalIP'This puts the IP address of your computer in the label.

    Put this code in Option1_Click():

    'We don't need to enter an IP address when we are the server.'Make that part of the form invisible.Label2.Visible = TrueLabel3.Visible = FalseText1.Visible = False

    Put this code in Option2_Click():

    'We don't need to know our IP address when we are connecting'to someone else.  Make that invisible.Label2.Visible = FalseLabel3.Visible = TrueText1.Visible = True

    You can download a ZIP file of all the files needed for the project so far. If its not uploaded yet, I'm making the zip file as we speak. The Part IV is coming soon; we will be writing a lot more Winsock related code.

  8. This code is from the login script I am developing for my site. It has been tested.

    $to = $_POST['email'];$subject = "Please confirm your account.";$message = "<html><head><title>Please confirm your account</title></head><body bgcolor=black><font color=blue face='verdana' size=4><b>Thank you for registering!</b><br><p>Please click this <a href='http://forums.xisto.com/no_longer_exists/; to register your account.</p><br><br>If your email client does not support links, you can copy and paste this one:http://forums.xisto.com/no_longer_exists/ you did not register at http://forums.xisto.com/no_longer_exists/, someone else used your e-mail address.  Do not worry, with out this e-mail they cannot activate their account and utilize this site.";$headers  = 'MIME-Version: 1.0' . "\r\n";$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";$headers .= 'From: Registration (noreply) <noreply@ghostrider.trap17.com>';mail($to, $subject, $message, $headers);


  9. I'm not completly sure on this, but even if they were decompiled (which is illegal to do if the source is copyrighted), you would still need to find a flaw of some sort to hack it. You can't actually change the code of the applet using a dissassembler. If you write clean code you will be just fine.

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.