crypter 0 Light Poster

:::.. Download Stats ..:::
Connection is:: 4155 Kbps about 4.2 Mbps (tested with 2992 kB)
Download Speed is:: 507 kB/s
Tested From:: http://www.testmy.net/
Test Time:: Sat Apr 02 2005 23:04:44 GMT-0500 (Eastern Standard Time)
Bottom Line:: 74X faster than 56K 1MB download in 2.02 sec
Diagnosis: Awesome! 20% + : 20.96 % faster than the average for host (videotron.ca)
Validation Link:: http://testmy.net/stats/id-QIDXFEO2N

Can you imagine! I am doing this during peek surfing hours in my sector. hehe i usually have a 5.1mbps
I can usually download at a speed of 2000kb/s

crypter 0 Light Poster

r0ckbear for the forms if you put Form.Close(); you will only close the form without actually exiting the application, what i put is
Application.Exit();

crypter 0 Light Poster

i dont think you understand... i programmed it to tell me there is an error. But i don't know, like you say, handle the error.

would you know some sort of reset code?

crypter 0 Light Poster

obviously everyone would want to create a perfect program, but you know it doesnt always work out to plan. ok concerning the try...catch blocks, i already got that. Whenever an error occurs in the process, it tells me! thats fine and great! BUT, if i try to do the process again, it gives an automatic error, even though the information it wants is correct! I have to close the program to be able to make it work.
i was wondering if there was some sort of code that involves a "dispose" code for an open file. I would like ti put that in the catch block

crypter 0 Light Poster

Hey guys, i got this program im making. It encrypts and decrypts files. The problem is that whenever an error occurs while encrypting or decrypting ( having put a read-only file, a running program, input wrong keys, enter wrong encryption type...) the program tells me that an error occured. Thats nice and everything but i have to close the program, restart it and then try again. I can't just correct the mistake. If i do correct the mistake and try again, i get an error message again.

Basically i want to be able to correct mistakes without having to restart program. Does anyone know what to do?

It'll be great if someone can. Thanks in advance!

crypter 0 Light Poster

tell me if you hit any snags. I know it may seem confusing but its actually pretty simple. Anywho offer some feedback after trying to implement.

Cheerz!

crypter 0 Light Poster

Sure! This is a program that will not work if compiled... Its just there to help you locate the areas where you should include the code.
I hope this helps you out! And concerning making the program run in the background, visit this site How To Create a Thread by Using Visual C# .NET

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace App
{
	public class Form1 : System.Windows.Forms.Form
	{
		private System.ComponentModel.IContainer components;;
		private System.Windows.Forms.NotifyIcon notifyIcon1;

		public Form1()
		{
			InitializeComponent();
			notifyIcon1.ContextMenu = this.contextMenu1;
			notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_Click);
		}
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if (components != null) 
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}
		#region Windows Form Designer generated code
		private void InitializeComponent() 
		{
                   this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
                   this.SuspendLayout();
			// 
			// notifyIcon1
			// 
			this.notifyIcon1.ContextMenu = this.contextMenu1;
			this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
			this.notifyIcon1.Text = "Something";
			this.notifyIcon1.Click += new System.EventHandler(this.notifyIcon1_Click);
                 }
		#endregion
		[STAThread]
		static void Main() 
		{
			System.Windows.Forms.Application.Run(new Form1());
			
		}
		private void notifyIcon1_Click(object sender, EventArgs e)
		{
			if (this.WindowState == FormWindowState.Minimized)
				this.Show();
				this.WindowState = FormWindowState.Normal;
				this.Activate();
				notifyIcon1.Visible=false; //if you want to remove from tray when clicked on
		}
                private void Form1_Load(object sender, System.EventArgs e)
		{
				this.Hide();
		notifyIcon1.Visible=true;
		}
crypter 0 Light Poster

Well Dark_Omen, your in luck i have been recently been working on the same thing myself for my program, only that i wanted the main program to go directly to tray when i minimised it and disapear from tray when i cliked on icon in tray. Anywho it works fine with me. Probably you might want to look into the background thing with a more experienced programmer, but here is what i've done.

First put a notify icon tool on the form you want to be in tray and program like so

in Windows Form designer put this code in the notifyicon section

this.notifyIcon1.Click += new System.EventHandler(this.notifyIcon1_Click);

then put in lines of code this:

private void notifyIcon1_Click(object sender, EventArgs e)
		{
			if (this.WindowState == FormWindowState.Minimized)
				this.Show();
				this.WindowState = FormWindowState.Normal;
				this.Activate();
				notifyIcon1.Visible=false; //if you want to remove from tray when clicked on
		}

then enter this code in Form_Load to prevent the form from showing and tay in tray

private void Form1_Load(object sender, System.EventArgs e)
		{
				this.Hide();
		notifyIcon1.Visible=true;
		}

but also make sure you have this in the Windows Form design in the Form area or just change properties to Window State to minimized

this.WindowState = System.Windows.Forms.FormWindowState.Minimized;

I hope this helps you out!
And write back if you cant get it to work
Happy coding!

crypter 0 Light Poster

Sounds pretty logical! Well it is cuz i have web space and i have access to MYSQL and Postgre but i dont know much about postgre. Makes also sense to not store user/ pass in text doc. I was simply giving examplejust to make things clear.

But hey thanks for the reply! Hoopefully someone that has already done this can point me in the right direction also!

crypter 0 Light Poster

Would it possible to have a form when you start a program that asks a username and password. Then the information sent to a server analised and compared to a database for approval to then show another form which then lets you use the program?
so basically you start xyz.exe
then your asked for : user / pass --> TCP/IP to private server --> interfaces with Mysql database --> finds the user / pass submitted --> then unlocks the program to let you use it.

I think the idea is feasble but would it possible to have this work with a MYSQL db? or maybe should it just wok with a text file.

What do you guys think?

crypter 0 Light Poster

Hi guys, i recently purchased a 512MB USB storage device, something im mainly going to use for school and some programming projects. But i noticed something when i looked at the space available. I just plugged it in my computer (running winXP) and noticed only 495MB are available. Now i also noticed something else, it is formatted in FAT. I was wondering if i should compress the drive to FAT32 while formatting it.
I noticed this option on win98 where they actually tell me that imma have around 700 megs instead on 495 MB.
On winXP it doesn't tell me much. Well i await an answer, maybe some of you were concidering the same tempting attemp to get more space! Please tell me what would happen!
If you want to
I have a LEXAR ELITE 512MB USB 2.0

Hope you guys can help!

crypter

crypter 0 Light Poster

Hi all! I am creating a program to encrypt files in Rijndael 64 bit encryption. I am having a problem with one of the aspects i want to include in my code. It sounds very basic maybe but i have tried many things and somehow i can't seem to figure out why i can't solve the problem.
Ok you might be wondering what the problem is! well its simple read the code elow and then, i will explain my dilema, or even better if you are good enough you'll find out on your own.

private void button3_Click(object sender, System.EventArgs e)
		{
			if (textBox2.Text != textBox3.Text || textBox3.Text == "")
			{
				MessageBox.Show("The passwords you chose do not match or text boxs are empty! Type the new password again", "Error");
				Thread.CurrentThread.Start();
			}
			LabelChange();
			string encType = comboBox1.SelectedItem.ToString();
				switch(encType)
				{	
					case "Rijndael 64 bits":
						password = textBox3.Text;
						EncryptFile1();
						break;
					default:
						Close();
						break;
				}
}

Alright, now guys, the problem is that, i have 2 text boxes, one text box to enter key and the other to confirm the key chosen.
I have code there will verify both keys in both text boxes and give out a message box that tell you if they are not the same.
All that is great! But when it comes to encrypt and both keys don't match, it gives out the warning message but keeps on encrypting using the confirm key text box through this code:

password = textBox3.Text;

I had no choice …

crypter 0 Light Poster

Well, then ok i was able to get that to work myself!

Now i have a another problem. I want a label to show the words "Processing..." when i click the button to encrypt. The only problem is i think the program does not respond during that time and it never shows those words.
i put
label10.Text= "Processing...";
write after the button_Click
but the label never changes from what it usually is.
Is there a way to pause the program at some little moment to be able to show the changes and then continue encrypting?
and for all that don't know the program is in c#

Thanks n advance guys! Hope you can help me out!

crypter 0 Light Poster

Hi guys i was wondering how it would be possible to make a button enable when i chose an item from within a combobox??

this is in the C# language that is!

crypter 0 Light Poster

WoW thats great!
Now i was able to add this part of the code in but how would i go about after chosing the encryption type and actually clicking the ENCRYPT button to actually encrypt the file opened... I do have the algorithm.

crypter 0 Light Poster

Im glad i was able to help! Have fun! You lucky guy ... mn i wish i was able to get 2 gig ram... hehe Take care!

crypter 0 Light Poster

Hey man watch out when going to buy memory for Emachines. I currently own an emachine, a 550 emonster. I tell ya i went through hell to find out what was its maximum memory capacity. I made sure i knew before i went to go buy because, i was planning on buying a 512mb, good thing i didn't because the maximum that my motherboard can handle would be 256mb ram. I just made a search and did not find ne thing conclusive bout the max memory for the w2646 but make sure to contact the emachines before doing n e buying and realising that ur computer starts restarting whenever it wants etc.

make sure to visit www.e4me.com

Good luck!

crypter 0 Light Poster

Hi guys im creating this cryptography program. And was wondering how to connect three conditions together.
*Forgot to mention it is in c# language*
I got a place where i can input a key and confirm the key, Those are already linked together when u click the encrypt button it will verify that both text areas are equivalent.
A combobox to choose the type of encryption &
The Encrypt buton to give the order to encrypt

I dont know how to go about and connect everything together. Can someone help me please?

I do have the code for the encryption and the types of encryption and implementation techniques. All i have to do is connect those 3 things together. I could have very well chose for for every one to open in a new form but i dont like the idea.

Anyways, Thanks in advance!
And if you want more info on the code just ask me and ill write back to ya!

crypter 0 Light Poster

Hi guys im creating this cryptography program. And was wondering how to connect three conditions together. I got a place where i can input a key and confirm the key. a combobox to choose the type of encryption and the Encrypt buton to give the order to encrypt

I dont know how to go about and conect everything together. Can someone help me please?

crypter 0 Light Poster

And i wondering where there might be a good place to be able to learn the ASP or ASP.NET language. I want to learn more on languages that will become the future of this internet world. As much as possible.... Would n e one have a good site where good tutorials are available? That would be greatly appreciated.

crypter 0 Light Poster

Hi everyone I am the owner of http://sharpcreativity.com

And i am announcing that i still have 12 g-mail invites left. Whoever wants n e just PM AND reply with ur e-mail so that i invite you!

And please dont forget to check out my site! I am trying to build a community on the programming language c#. Hope to see you guys there soon!

crypter 0 Light Poster

Your kidding me right? This muct be a joke because no one in his / her right mind would actually follow that.

Expecially this !!!!!!!

Remove leftovers!
If there are things outside the motherdisc when you have put back together, don't fear! Just use a tang, you'll loose some disc space of course, but you wont have to do the whole procedure over again. if you cut away half a disc it's equivalent to circa 500 mb.
N.B. The most colorful parts of the disc is the part where all the graphics are!

Doesnt this seem like a joke to you?????

crypter 0 Light Poster

maan this cosi guy gets em all lol

we want the money tooooo :( :P:P:P