
mooman_fl
Avatar/Signature-
Posts
194 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by mooman_fl
-
Hola everyone.... been away for a while but I am back now. Working on a new project now... working on a server based off of the Multi-user Chat program off of the Microsoft site: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadvnet/html/vbnet08282001.asp I understand a bit of it but I am new to both network programming AND threading. The problem is that the server in the example makes a Client object for each client connecting to the server and runs each object in a separate thread. They have a way of passing events out of the thread to the main process... but I want to be able to disconnect all clients and stop the server from listening without shutting down the app. I would also like to have a list of clients connected where I can boot individual connected clients. I may be mistaken but I getting the impression that you can pass events out of the thread to the main process but not vice-versa... Any ideas how I might accomplish my goal? As a bit of background I am trying to convert the SocketServer project from the above link into a plugin for my app.... so this would have to work from a plugin DLL.
-
Well without actually writing it for you I can't think of much to say to such a broad question on the programming side. On the design side however I would suggest making a central server that will be set on one particular computer on the network (preferably one with a fixed IP). The server would simply accept connections from the IM clients, keep track of the connected IPs and associated nicks. If you want the clients to have direct connection when chating and filesharing then the server will have to forward out the IP to each client broadcast of a message... if not then it will have to accept the message and relay it. It will be alot easier to answer questions once you have the general design worked out and you have specific questions. Hope this helped some.
-
LOL.... no I am not trying to crack anything. There is a process running on my computer right now. I used a program called hide-window to unhide it. It has a button on it that is disabled... I want to enable it. I haven't hooked a control before to change its properties like that before. The only thing I have done along the lines of subclassing is intercepting events... and adding a child control. Was wondering if I could get an example or some pointers on how to accomplish this. Any ideas?
-
I think the subject says it all. There is a disabled control in another program that I want to be able to enable. I had a program that did something similar before. I know it involves subclassing but I am not sure how it would be done. It is not a .NET program that contains the control. Any ideas?
-
by all means... post the VB.NET workaround. Still haven't gotten this problem solved.
-
As I was understanding the problem... his original problem was in using PrintControler under Win98... this is a known bug. I posted info on this that explains the work-around (using StandardPrintController instead). He still couldn't get it working, and later found that this was possibly due to a bug when using older print drivers. If I am wrong with my assessment let me know :-)
-
Hmmm... I would be interested in seeing how that is done if anyone cares to show an example.
-
Thanks Heiko, that makes sense. :)
-
That seems to have indeed been the problem. I find it interesting that it is wrong to do it in your Private declaration, yet it is necessary and automatically added for you when you instantiate.
-
Hopefully this will help: http://www.dotnet247.com/247reference/msgs/29/149508.aspx It is due to a bug in the PrintController on Win98
-
Hmmm... tried implementing your method of doing this in my project. I got the expandable class made (Padding), I declared it in the declarations section, then in new tired to instantiate it. I got an error that says: Value of type 'ToolScroll.ToolPanel.Padding' cannot be converted to '1-dimensional array of ToolScroll.ToolPanel.Padding'. Any idea what this means and why I am getting it? I really haven't done anything different that I can see from your example.
-
LOL... your killing me man ;) You just whipped this up... *choke**gasp**goggle*:eek: Have you ever noticed how some people make seem so easy what makes the rest of us lose hair and sleep over? Thanks!!! I will examine this thoroughly. Once again you have saved the day. :)
-
LOL... speak for yourself divil :P Personally I am tired of my scalp getting sunburned due to all the hair I have ripped out over trying to figure it out for days on end. ;)
-
Well you are the one responsible for my understanding the subject and as I mentioned you are given full credit for this (and for the bit of code that i retained from your original project). Feel free to add what you want to and repost it. :)
-
I have read a few things that suggested this. However looking at the MSDN help, I am embarrassed to admit, helped very little. It was way over my head. Not to mention that everything I have seen on this is in VC++ (or maybe it was C#). Does anyone know of any information out there that takes this subject from the ground up geared towards a VB user?
-
LOL... look at the readme in the zip file. The tutorial in in the comments. The program files are HEAVILY commented. I may make a .pdf later with the tutorial in that format... but for now the comments if taken in the order recommended should be MORE than sufficient.
-
I am talking like in the propertygrid at designtime. All the properties that contain a plus next to them.
-
Plugin-based app with plugin GUI tutorial First of all I want to thank divil for his wonderful tutorial on plugin-based apps. I have put together a simple companion tutorial for making a plugin-based app that adds a GUI contained in the plugin to your host form. Please take a look and tell me what you think. BTW... the code in the PluginServices Class file is still all divil's code. I saw no reason to change it since it did such a wonderful and simple job at enumeration of available plugins. Full credit is given to him for this in the Readme. Attention to management: If you consider this worthy you can add it to the Code Library or Tutors Corner, whichever is appropriate. pluginexample.zip
-
Plugin-based app with plugin GUI tutorial First of all I want to thank divil for his wonderful tutorial on plugin-based apps. I have put together a simple companion tutorial for making a plugin-based app that adds a GUI contained in the plugin to your host form. Please take a look and tell me what you think. BTW... the code in the PluginServices Class file is still all divil's code. I saw no reason to change it since it did such a wonderful and simple job at enumeration of available plugins. Full credit is given to him for this in the Readme. Attention to management: If you consider this worthy you can add it to the Code Library or Tutors Corner, whichever is appropriate.
-
Ok... here is a new one concerning properties on a usercontrol. I would like to have the nifty nested properties on my control (i.e. Size, Location, DockPadding, etc.) Anyone have a clue as to how this is done?
-
Well you do as much as it is possible to. At least with Linux you don't have to worry about automatically agreeing by default to having your computer info sent to the company, or allowing them to automatically download and install stuff on your computer. Just to name a few things. I am not totally anti-Microsoft... but I AM suspicious.
-
Thanks... I will give this a shot. I will have to modify it a bit though since what I am trying to do is set the text on a label on the control.
-
Once again divil thank you. That is a bit different that what I am doing at the moment and I have just noticed that what I have works off and on. Using the example code I posted about could you give me an example of what you are talking about?
-
Nevermind. Thanks for trying to help. I figured it out. Shadowing the property works but I had to save everything, build the project, then close down and start a new project. Once the control was added to that project it would show up and everything worked. For some reason this is another one of those things that just wouldn't show in the startup project I was using while making the control.
-
Maybe this will help better demonstrate the problem. I am trying to use the Text() property to change the text on the Header control. Header is just a normal label control. My project is attached below.toolpanel.zip