Answer Questions
gustsnts socket exception
ok made a very very good class server it can handle to 3879 clients but when it reach 3880 it throwes an exception like that says that it cant perform operation on a system socket because the socket`s quenque is full You only Accept once hi, you can ask this question in .net networking forum http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=40&SiteID=1 3879 clients and then you use the default ThreadPool... i ...Show All
Neeraj Pandey strange excepstion
I've an app that have been written in vs 2003, today I convert it to vs 2005 but when I want to run this program (in debug mode or not) this exception occurred. Ex.Message: "DragDrop registration did not succeed." What's wrong in my app that cause this exception Has anyone face this exception Please do the following, 1) include the following using System.Net; using Sy ...Show All
Daniel Celeda Dynamically moving controls
I have six panels, each panel contains a textbox and its label. Each panel has a checkbox associated with it on the form, but outside of its respective panel. I only want the panels whos checkboxes are checked to be visible. If another checkbox is checked, I want that respective panel to be displayed directly under the last panel displayed. Once that checkbox is unchecked, I want the panel to disapear, and all the other panels that come after, t ...Show All
SBurre How do I clean out the Recycle Bin?
How can I do that Matt LoL just delete the file from it.. you can use File class or Directory Matt, you can also call the SHEmptyRecycleBin API, that will allow you to select which recycle bins you want to clear, will provide a confirmation prompt, a sound, and the progress dialog (all of which options can be disabled). A rough signature for the API would be: [ DllImport ( "shell32.dll" ...Show All
VJ8 Using Media Foundation with C# ?
Hi, Microsoft will provide managed interface (wrapper ) for Media Foundation in order to use it with .NET Because Direct Shows is almost unusable with C#... Thanks No, unfortunately we don't have plans to include a managed wrapper for Media Foundation in its v1 (Windows Vista). Well, that's really strange because rhere has been namespace system.windows.media.core that wrapped MF functionality. Why it ha ...Show All
binderp Adding a .cs file to vs.net solution and Inserting code into it
hi , iv created a application to have a custom menu item "MyAddin" in the tools menu in the vs.net ide.....when any new .net project is opened "MyAddin" will be available on the click of which a windows form with a simple text box and OK button gets launched...... Now my requirement is that when text is entered into the text box and when the OK button is clicked a .cs file has to get added to the solution of the project ...Show All
SDSU_Jim Access Web Form member from it’s hosted windows user control
Hi. I have a web app that uses a IE hosted windows user control. I would like that, somehow, lounch an external event from that hosted control that I could catch in my web form’s code behind or set a web form’s member value. Does anybody know how to do that I would appreciate any suggestions! Thanks in advance! I had that problem too when I tried to open it with VS 2003. But it works with Visual Studio 2005. ...Show All
The VB Adding Windows Media Player
I was looking in the References and seen i can add a Windows Media Player...So i was woundering what is needed to add it to my Project Other than the References when you right click to add a reference on the other project .. there is a tab for "projects" select the project from the list. Got it Thxs.... This is my First Time adding a Project into another Project. ...Show All
zool Deleting objects
I'm using a treeview and it points to a Employee class so I can display info about the employee selected. Here are some code snips. Classes: public interface AbstractEmployee public class Employee : AbstractEmployee class EmpNode : TreeNode { private AbstractEmployee _emp; public EmpNode( AbstractEmployee aemp) : base (emp.getName()) { ...Show All
hansv How can I get a list of the computer names from Network Neighborhood?
Hi, I need to obtain a list of computer names from netwok neighborhood. Could anyone help on how to do this Thanks in advance, Nuno Silva. nantunes82 wrote: Hi, I need to obtain a list of computer names from netwok neighborhood. Could anyone help on how to do this Thanks in advance, Nuno Silva. I don't know of a managed method that will do this, but you can P/Invoke I guess. See http://windowss ...Show All
Eddy Chang DWG to DXF
I am currently developing an application which reads and interprets DXF files. However, I want to add the posibility of reading DWG files as well. Does anyone knows about a free code for converting DWG files to DXF format ...Show All
OwenP Post-build event stripping carriage returns
Howdy all, I'm using VS 2005 (.NET 2.0). I have a windows forms application that consists of two projects. One project is the application itself, and the other project is the "setup" project. I want to have the setup project copy the msi file to a "ForDistribution" directory via a Post-build event. The post-build event was added to the setup project as follows: 1.) Click on the setup project in the solution explorer. 2. ...Show All
DLLarson Hook Windows Technique ? If you have experience , please help me
I use C# , I want to press ctrl+ right mouse click anywhere on the screen (or at least on my program interface), if the mouse position is on one English word , I will translate it into Vietnamese and display a little windows for Vietnamese meaning.The main task is reconise the word at mouse position . My project is a dictionary.I heard about Hook technique, I search it alot but I fail to do this task , it takes me alot of time ! Some ...Show All
addexm Sending Data
I would like how to send files from the users computer to my server. Can someone explain to me how to do this Exactly -- what kind of environment are we working in, winform, webform, html, firewalls involved, etc I mean, a webform has the "UploadFile" control which you can drop on a webform and it'll do almost all of the heavy lifting for you -- its limited in size I believe [last time I checked] but that's the simple way. ...Show All
CSI select the current paragraph in a richtextbox
Is there a way to select the whole paragraph, not just the current line, at the current caret position in a richtextbox Just get the last index of the Paragraph char (U+2029) from 0 to the current index and then get the first Paragraph char index of the current index to the last. got it. Thanks again. I think you mean using the Find method of the rtb. I will give a tr ...Show All
