Paul Nicholson's Q&A profile
.NET Development Network Programming
Hi Folks, I am in the process of writing a network server that'd cater to 10,000 clients(scalable to 20000) My main target is reliability with speed. I am using sockets using tcp & udp . And need to design a simulator to simulate 10000 client connections. Has anyone designed it so far if not how to go about doing it Is it possible to do this using vc# alone or do I need something else too. Another question off ma hea ...Show All
Visual C++ Crash on delete and MSVCR libraries confusion
Hi All, I'm trying to debug a strange crash at pointer delete (I'm porting an application from VC 2003 to VC 2005). ntdll.dll!7d61002d() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] ntdll.dll!7d681da1() ntdll.dll!7d659cee() ntdll.dll!7d642da9() > msvcr71d.dll!_CrtIsValidHeapPoint ...Show All
Visual C# DEBUG constant in effect for Release configuration
folks, i have a web project where the Release configuration shows DEBUG constant defined in various #if DEBUG statements. this is not only visually in IDE but in the actual generated assembly as well. of course, i made sure the "Define DEBUG constant" box is un-checked for Release. has anyone run into this thanks... g While you’ve got the checkbox unchecked to define the DEBUG symbol ...Show All
Windows Forms TableLayoutPanel customisation
I like the TableLayoutPanel, I created something similar in 1.1. However is it possible to customise the table layout similar to HTML (i.e. rowspan & colspan). This would be really neat. I got the same problem .... and I found this solution : Code Snippet AnyControl yourControl aTableLayoutPanel.Add(yourControl,x,y) ; aTableLayoutPanel. SetColumnSpan (yourControl,2) ; ...Show All
Visual Studio Express Editions Hot to protect my program
Lets say that I create a program that is actually useful and I want to provide it to some people to use. How can I protect the program so that only the people I authorize can use it How is licensing implemented Thanks You can do this in the Customer Information User Interface dialog box that is displayed during installation by setting the ShowSerialNumber property to True and specifying a SerialNumberTemplate th ...Show All
Windows Forms GridView DeleteCommand Firing Twice
I Have a gridview with a command button for delete defined. On the Datasource for the grid I have a DeleteCommand that runs a stored procedure that takes the ID field defined in grid view control. When the delete command is selected in the gridview the deletecommand stored procedure is called twice with the same ID (I have traced this). I have removed all delete events from the gridview and datasource. I have a FormView that has a se ...Show All
Visual Studio Express Editions How do you detect an empty Cell in DataGridView?
Hi Folks, Before updating the DataSet, how do you detect an empty Cell in a DGV I have a required field but can't detect a Null in the empty Field. I've tried lines like this trying to detect an empty cell in a DGV but getting nowhere fast: If DataGridview(1, index).Value = "" If IsDBNull(DataGridview(1, index)).Value If DataGridview(1, index).Value = Nothing If DataGridview(ColName, index).Value.ToString = Nothing I ca ...Show All
.NET Development Sends out a strange string
when i push the buton, which sends out a command, it gives sc 1 with two sqaures at either end this means the rs232 interface doesnt reconise it, can anyone see if i have done something wrong Dim port As String 'Serial Port Dim baud As String 'Baud Rate Dim data As String Dim returnStr As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click port = ListBox1.SelectedItem() ' ...Show All
Visual Studio Experimental UI
How would I add a function to collapse a group of shapes e.g. the concept linked to an owning concept Hi, There's a function in every shape and connector called Hide(), and another called Show(). To navigate to the concepts in the group, you might need: myShape.ModelElement as MyConcept -- gets the concept associated with a shape myConcept.AssociatedPresentationElements -- a collection, but there ...Show All
Visual Basic How to create a plugin system
I want to create an application that uses plugins, i want loand and unload plugins, in vb6 i was using activeX dll's, but here is not the same, it's a good thing, but i dont know how to implement this, maybe someone could help me ... Some examples in Code Project, using different implementations: http://www.codeproject.com/csharp/PluginsInCSharp.asp http://www.codeproject.com/csharp/pluginmanager.asp http:/ ...Show All
Visual C++ newbie question: Migrating from MSVC5.0 to actual Visual C++ 2005 Express Edition
Problems importing old DSW/DSP-files: We are developing mainly console applications, so we use a rather old Visual C++ 5.0 professional. Now we started with Visual C++ 2005 Express Edition. But i encountered problems opening my old DSW-Files: after asking to convert the old file versions Visual C++ breaks, shows the problem-report windows and asks to restart. Are there any solutions how to import MSVC5.0-DS -Files ...Show All
Visual Studio Express Editions validate integer input
I want to validate user input, make sure its an positive integer. i have: "if (txtInput.Text == "" || txtInput.Text == null) "to avoid empty input. i have "if (txtInput.Text< 0)" to avoid negative input. i have "if (txtInput.Text== 0)" to avoid zero input. I also want to avoid 1. decimal input 2. string input please help hi, ssfftt welcome back you can try somethin ...Show All
Visual Studio Express Editions Cannot download .NET Framework 2.0
Hi, just downloaded the VS express for Basic and C#. When trying to install one of those on my pc, setup routine stops saying: "The following item failed to download: Microsoft .NET Framework 2.0 Setup has stopped because the item listed above could not br downloaded ..." Any help would be appreciated. Thank Max. Have you tried to download it again in the installer If that ...Show All
Visual Basic Visual Studio 2005 1.1 .Net framework Compatibility
I have an VB application written in Visual Studio 2003 using the 1.1 .Net framework. I am wondering if I will be able to work with and run this app after installing Visual Studio 2005 without myself or my users upgrade to the 2.0 .Net framework. No, If you convert the project to 2005, you will have to install .NET Framework 2.0 on the systems that want to use the application. You will need 2.0 to install VS 2005. Is there a reason not to in ...Show All
SQL Server OLEDB Datasources and parameters
I have discovered some shortcomings in the way inline table valued function parameters are treated in the OLEDB datasource. You can select the user designed function ine the Generic Query Builder and test it with the required parameters. However when you attempt to set up the parameters for the result ing SQL Command Text you get and error message to the effect that the parameters cannot be retrieved from the datasource. Once again this is disap ...Show All
