|
leppie wrote:
Try nBASS (written by me)
Hey Leppie, one more project from you!!
Yesterday only I ran across your other project MyRC. *thumbs up*
Don't and drive.
|
|
|
|
|
Kant wrote:
Yesterday only I ran across your other project MyRC. *thumbs up*
That was my first program I started when doing C#. Was nice to play around with, but I lost all my database so I stopped. If I had to look back at the code, it would probably look horrible to me now
My Plugin automation article is based on that Sharkbite .NET IRC library. To make a plugin assembly that can be unloaded without killing the main program (you know the bad thing of .NET) and hence the connection.
BTW how are you liking C#? I see you more and more in this forum
Hey leppie! Your "proof" seems brilliant and absurd at the same time. - Vikram Punathambekar 28 Apr '03
|
|
|
|
|
hey leppie...i just got a chance now to take a look at nbass.....amazing...i really really like it. Im going to recommend..using it in school...if we ever need the use of sound for our project....Good Work...More amazing code from south africa lol..
Jesse M
The Code Project Is Your Friend...
|
|
|
|
|
I'm finding problems while transferring large files between the Client and Server. I'm using TCPListener and TCPClient Sockets for communications.
Need help urgently!
BETTER TO BURN OUT THAN TO FADE AWAY - Anonymous
|
|
|
|
|
What kind of problems?
If it's performance, you might experiment with different buffer options:
* Increasing the size of the TcpClient buffers -- SendBufferSize and ReceiveBufferSize properties.
* Wrapping the NetworkStream with a BufferedStream.
|
|
|
|
|
Hello,
I made simple applicatino in VC#.
On my computer work good (Win2000), but in the
other computers the program show message (cannot find mscoree.dll...).
I read somewhere that you must install Microsoft .NET framework, but for me is this
not right solution for small application with two forms.
for exaple: if I want to make Installation program (INNO SETUP), which files
I must add to my Exe file that program work properly on computer with Win98, ME, 2000, 95... withowt Microsoft .NET framework.
Thank you again for answers
Anze
|
|
|
|
|
flyingv wrote:
I must add to my Exe file that program work properly on computer with Win98, ME, 2000, 95... withowt Microsoft .NET framework
Any .NET program requires the .NET run-time to work. The best you can do if you don't want to embed the 20MB+ dotnetfx.exe redistribuable in your setup is to put a link in your readme.txt or documentation.
|
|
|
|
|
How do I get the handle for a child window from a MDI in C#.Net?
Getting the handle to the Mainframe window is quite easy, but I'm having some problems retrieving the handle from one of many child windows? So, if I have several child windows open in a parent window, how do I get the handle of only one child window?
Any help will be appreciated. Thanks!
|
|
|
|
|
the Controls collection brings access to children. Controls.item[i].Handle is the window handle of the ith children.
|
|
|
|
|
I had code where I needed to iterate through my children looking for replicated data being displayed between the child displays.
public void mdiParent_childLoadComplete(object sender, LoadCompleteEventArgs senderArgs)
{
System.Windows.Forms.Form[] formArray = this.MdiChildren;
int color = formArray.Length - 1;
if (color < 1)
return;
editView newForm = new editView();
foreach (editView children in formArray)
{
if (children.Text == senderArgs.delegateIdentifier)
{
newForm = children;
break;
}
}
_____________________________________________
The world is a dangerous place. Not because of those that do evil, but because of those who look on and do nothing.
|
|
|
|
|
in C++ i would have something like this:
#define DIALUP 0
#define FTP 1
..
if (m_nAccessMode == FTP)
.. this was really useful for keeping track of options and such, like if im storing a combo box of Monthly ,Quarterly ,Annually i dont wanna just compare strings when im doing an if statement, but rather use some sort of defined key so that i never get my stuff mixed up..
i have looked at the #define statement in C# and it only lets me define like
#define FTP it doesnt let me assign a value to it in the define statement, so i really dont even see its purpose .. can someone set me straight plz?
still a newb.. cut me some slack :P
-dz
|
|
|
|
|
it sounds like your trying to do an enumeration.
enum Days {Sat=1, Sun, Mon, Tue, Wed, Thu, Fri};
If you look it up at msdn youll be all set.
Ryan
|
|
|
|
|
works great.. i see that i can use this outside of the class name, and inside the namespace such that i can use it throughout the namespace.. thats just what i needed, thanks a ton!
still a newb.. cut me some slack :P
-dz
|
|
|
|
|
Any reasons C/C++ programmers steer away from enums? All I ever see is defines...
Hey leppie! Your "proof" seems brilliant and absurd at the same time. - Vikram Punathambekar 28 Apr '03
|
|
|
|
|
|
This is actually bad practice in C++. You should use const declarations instead.
const int DIALUP = 0;
or enums, as another poster has suggested.
The #define in C# is for conditional compilation. And it should be used like this in C++ also.
See, for example, Scott Meyers's "Effective C++"
Kevin
|
|
|
|
|
Hi, i'm starting C#, and i have a problem:
I'm developing a application that should open one "window", which should be created from a form that has buttons, like a menu selector. When i click the button it should open a new especific form, e.g. button 1 opens form1; button 2 opens form 2 ... That i can do, but i want to open it in the same "window", not openning a new window with my new form, an when i hit a save button i want to go to the previous form.
Can´t it be done???
thank for your time.
|
|
|
|
|
It looks like a MDI app[^].
|
|
|
|
|
It sounds like you want to create an MDI application. This gives you one main window while allowing you to open various child window applications. One of the authors on here wrote a cool little tutorial that should help you out.
Check out this link:
http://www.codeproject.com/csharp/mdiformstutorial.asp?target=mdi
Ryan
|
|
|
|
|
Thanks for your sujection.
I tried it and hit worked.
I have a small question, how can i remove de icon in my child form?. I want to open it maximized without de maximize, minimize and close button, and change the menubar.
Thanks
|
|
|
|
|
Its funny you say that, because I posted a question similar to that just a little while ago, here are a couple of solutions for you:
http://www.codeproject.com/script/comments/forums.asp?forumid=1649&select=491274&df=100&fr=51#xx490206xx
S. Rod gives you a great solution, I give a simple one.
Good luck, its titled form design quandries.
Good luck,
Ryan
|
|
|
|
|
Instead of using MDI, you could create all of your "forms" as user controls and just handle their loading/unloading on the same form
|
|
|
|
|
"
Instead of using MDI, you could create all of your "forms" as user controls and just handle their loading/unloading on the same form
"
Could you please send me a small example?
thanks
|
|
|
|
|
It's more easy to use a panel in form and you cant make him on run-time
like this . In the dinamic construction the bad point is that the RAM is more use that for static declaration , but the diference is very small .
in Click event of the window make the code
{
Panel p=new Panel();
//give Panel properties
this.Controls.Add(p);
}
|
|
|
|
|
I am trying save images from a website using the System.IO namespace. What classes should I be using?
Steve
McLenithan
Is Bert Evil?
|
|
|
|