Or I meant IDE.Quote:
Thanks for the advice i didn't even notice that
What is this "braifnfuck compiler"?
[Only registered and activated users can see links. Click Here To Register...]
Or I meant IDE.Quote:
Thanks for the advice i didn't even notice that
What is this "braifnfuck compiler"?
It's not a good idea.Quote:
I felt stupid =[
And to Fang i was curious if there a way to add a register page via the gui without out having it load the website? Not sure if i made sense or not
So doing this is out of the question?Quote:
It's not a good idea.
That would take the register page and make it so anyone can change the database. You want the register page to be on the same server of the account database OR have it so it's a secret. Anyone can reverse-compile C# to read it.
No, just make the register box a browser and have it connect to the website. DO NOT give them control of that... as I said.Quote:
So doing this is out of the question?
[Only registered and activated users can see links. Click Here To Register...]
Don't have a gui then.Quote:
i followed your guide and it was helpful , after i done my with it i created a GUI with a button to start server , when i click it , server is starts so laggy , and its makes my pc so laggy too , so i edited it to make it start server when i run the program , and same issue , working but so laggy .
any idea how to solve this ?
lol , are you joking ? or you are serious ?Quote:
Don't have a gui then.
private void Start_Click(object sender, EventArgs e)
{
const string message =
"Are you sure that you would like to Start the form?";
const string caption = "Form Starting";
var result = MessageBox.Show(message, caption,
MessageBoxButtons.YesNo,
MessageBoxIcon.Question);
if (result == DialogResult.No)
{
return;
}
else
{
Application.EnableVisualStyles();
Program.StartEngine();
}
}
public partial class Cmd : Form
{
public Cmd()
{
InitializeComponent();
CheckForIllegalCrossThreadCalls = false;
}
public void Write(string Out)
{
textBox1.AppendText(Out + Environment.NewLine);
}
public ErrorHandler ErrorHandler;
private void Cmd_Load(object sender, EventArgs e)
{
Server.Open();
}
private void closeToolStripMenuItem_Click(object sender, EventArgs e)
{
Server.Close();
Environment.Exit(0);
}
private void restartToolStripMenuItem_Click(object sender, EventArgs e)
{
Server.Close();
Process.Start(Process.GetCurrentProcess().MainModule.FileName.Replace(".vhost", ""));
Environment.Exit(0);
}
private void textBox1_TextChanged(object sender, EventArgs e)
{
}
}
public class Console
{
public static GUI.Cmd Cmd;
/// <summary>
/// Get's or set's the title of the cmd window.
/// </summary>
public static string Title
{
get { return Cmd.Text; }
set
{
Cmd.Text = value;
}
}
/// <summary>
/// Writing one line to the cmd window.
/// </summary>
/// <param name="Out"></param>
public static void WriteLine(string Out)
{
Cmd.Write(Out);
}
}
[STAThread]
static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Console.Cmd = new GUI.Cmd();
Application.Run(Console.Cmd);
}