the prog. damn slow and when i close it it comes back o.o i must close it with taskmanager.
Nero
the prog. damn slow and when i close it it comes back o.o i must close it with taskmanager.
Nero
Yeah seems I'm doing something wrong with writing in the textbox (yeah I did an attempt on it when I receive @@&01), I'm doing it like VB6, since I haven't done stuff with GUI's in VB.NET. (I don't care about GUI's tbh)
So yeah up to you how to find out to do textboxes proper in VB.NET, the connection stuff and w/e is done nicely. (async sockets)
Rolls'
Nillus
Come on, guys.
Don't expect Nillus can do everything in one time.
He is just a human.
anyway, nice [again?]
I haven't downloaded the source, so i don't know if im right (But i probably am)
The reason it wont access a textbox is because your accessing it from another thread (If your using Asynchronous sockets - This is definitely the case)
There are a few quick solutions you can do, Either simply write it to a text file rather than to an actual textbox on your Form
OR use the invoke method
For example.. (C#)
Because you're accessing it from a separate thread it can't modify it properly and so an invoke is required.Code:internal delegate void A2L(string Txt); internal void AddToLog(string Text) { if(this.InvokeRequired) this.Invoke(new A2L(AddToLog),Text); else { TxtLog.AppendText(Text); } }
Edit: And i'm guessing the reason it wont close is because your not Closing every form? (Or when they hit the X button your threads are still running - sockets etc)
just put this inside your 'Form Closing' event
System.Environment.Exit(0);
(If you don't know how to add events (Idk if you have to do this in VB.NET) but simply go to the form designer class
(Called FormName.Designer.cs)
And then scroll down to where its normally like
this.Load += new System.EventHandler(this.Form1_Load);
And shove in
this.FormClosing += new System.EventHandler(this.Form_Closing);
for example (Form_Closing) being the name of the method you've already created.
~ Jeax
As Some Have Said Before: Another Great Release From Nillus! :) LOL.
Great Job/Release.
Maybe data is printed but you can't see it. AppendText function doesn't include backspace (vbCrLf). Try with txtLog.AppendText(vbCrLf & THELOGSTUFF) or with txtLog.Text = txtLog.Text & vbCrlf & THELOGSTUFF.
Don't forget add txtLog.SelectionStart = Len(txtLog.Text) after, to show always last data.
Make sure that txtLog multiline property it's true and add scrollbars.
I downloaded source code but my VB.Net is too old and can't open it >.<!
VB.NET sux balls.
The only exception I would have, is that it is similar to C#, meaning you can learn from it.
Only, it doesn't use semicolons, and parenthesis.
Nice
Compile plz =]
I don't have VB.NET
Cya,
RascaL
Very nice!
Waves,
Casjebasje
800 posts! :D
Congrats on 800 posts Casjebasje ;]
Cya,
RascaL
The above two posts were uncalled for xD
Both offtopic.
You say I'm spamming?
I've seen over 20+ of your useless posts all over the Habbo section within the last few days.
Umm...
The connection on this is too slow.
Maybe try changing the connection interval to something else?
EDIT:
How come only half the form loads? (fixed)
EDIT 2:
Random disconnection, anybody?
- Hammad
Don't open the e.xe for me:(
~ RascaL