Software Development Network Logo
  • Audio and Video
  • Visual C#
  • Visual Studio
  • Visual C++
  • Windows Forms
  • Microsoft ISV
  • Windows Vista
  • IE Development
  • Visual FoxPro
  • VS Team System
  • Smart Devicet
  • SQL Server
  • .NET Development
  • Visual Basic
  • Game Technologies

Software Development Network >> ParthP's Q&A profile

ParthP

Member List

Will Buchanan
mrboldt
Bill Reiss
Bill Catlan
Tanmaya
Danielha
Matt Deane
JDull
hye_heena
Shahid Mahmood
Darren Fieldhouse
SQL New
LORD ORION
BobishKindaGuy
doank
Mathew1972
Shruti00
Michael Bird
siulm
Antonio Romano
Only Title

ParthP's Q&A profile

  • .NET Development C# Asynchronous Socket. How to reject unwanted connection?

    Hi all, I am a newbie on C# socket programming. Can anyone teach me how to reject an unwanted connection based on the IP This is my code (it does capture that the IP is not the wanted IP, but then after rejecting this, the main socket won't listen anymore): Socket tempSocket = m_mainSocket.EndAccept(asyn); string cIP = ((IPEndPoint)tempSocket.RemoteEndPoint).Address.ToString(); // I want it to only accept connection from 202.103.212.32 if (cIP != "202.103.212.32") { tempSocket.Close(); Console.WriteLine("Rejected connection from " + cIP); m_mainSocket.BeginAccept(new AsyncCallback ( OnClientConnect ),null); } else { m_workerSocket[m_clientCount] = tempSocket; tempSocket.Close(); } Please help, as I've been ...Show All

  • Visual J# Undergrad J# Course

    Anyone know of any colleges/ universities offering a VJ# course as opposed to a J2SE course in a comp sci or IS program TIA I know of several high schools that use J# for teaching computer science courses. Some of them have used J# to teach the AP CS course which is very much like a CS 1 course at most universities. ...Show All

  • Windows Forms Graphic Maps in Visual Basic

    I am going to develop an application that tracks physical inventory within a warehouse. I'd like to have a graphical map of the warehouse and when you click on a bin within the map it could bring up information about that bin and let quanitities, etc be edited. The problem is that the bins aren't always square or rectangle. It would need to support parallelagrams. Does anyone know if VB.NET supports this type of an interactive graphical map Is there any documentation You should be able to do this pretty easily by creating a CustomControl and drawing the bins yourself - the easiest way being to create bitmap images of the various bin shapes and then drawing those to the control (you could also draw the sh ...Show All

  • SQL Server Product Level is Insufficient

    I am receiving the following error when I try to execute an SSIS package that is saved to a structured file. I am using DTExec to execute the package. Description: The task "Initialize Variables" cannot run on this edition of Integration Services. It requires a higher level edition. After some research, I was able to find a supporting article in SQL Server 2005 BOL at http://msdn2.microsoft.com/en-us/library/aa337371.aspx The issue was resolved by installing the Enterprise Edition of SQL Server Integration Services (Windows Service) on the local server (server where the package is saved and executed from). However, this goes against my original anticipation that the SSIS Windows Service would only need to be installed ...Show All

  • Visual Studio Team System Associating Manual Test With Tasks

    We have a tester who will be writing a series of manual tests for our application. We want to associate them with tasks that we store in Team Foundation Server such that it is easy to identify which task needs attention upon failure. Is there an easy way to do this Does anyone have any resources on how this is accomplished Everyone in my office is brand new to this Team Foundation stuff. Custom fields can be created in Task workitemtype to store the test id and the result of it. Those values can be populated manually or programmatically from your testcase management tool. Then tasks with failed results can be queried. I have seen such approach implemented. Workitems can also be linked directly to TestRe ...Show All

  • Windows Forms Activating the [Caps Lock] Balloon

    If you have the password character set for a textbox, and the user presses the Caps Lock key while that textbox has the focus, a notification balloon is automatically displayed, alerting the user that Caps Lock is on. My question is: How to fire that event programatically (ie, Caps Lock is already on when focus is obtained). Is there a message I can send to the textbox I did see that comment Mattias and since Jay seemed to be looking for the overall same look and feel of the login prompt TextBox I figured that he would also want the system default password chars, something that is accomplished with the class I pasted... unfortunately I also forgot about the new UseSystemPasswordChar property which acc ...Show All

  • SQL Server stroing c# objects in SQL Server 2005

    hi I need to knwo if its possible to easily store / retrieve c# objects in SQL Server 2005 as user defined data types or some other type. We need to be able to store collections of simple objects as a single value and be able to and recreate the c# object. For example one type would be a hashtable of objects that just have 2 public members Date and Value Any help apprecitaed Steve You mention user-defined data types---have you taken a look at the CLR integration whitepaper (You can find it here .) It may give you a better feel for whether they will be applicable to your situation. The short answer is that there are a lot of ways to do this. Depending on your usage, building a UDT may be an option. There a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA GSE Hangs

    I've had some problems where XNA GSE likes to hang after I hit the build button. There's nothing perceivable that is going on, it just sits there. The output window doesn't show a thing. Then, several minutes later, it builds normally. This doesn't happen all the time, so I'm not sure how to reproduce it, but it's really really annoying. I have regular VS2005 installed on my computer and it runs and builds without incident. I'm using WinXP SP2 with GSE/VS SP1 installed. I'm using the Font processor from XNAExtras, but the thing is that it doesn't always take a long time. With a content processor, it should be taking approx the same time with each build right I'm not adding any fonts or anything. Whenever I do, I can see a quick succes ...Show All

  • Windows Forms form's paint event not working

    Hi, I'm trying to create a splash screen with wait message. If i place any controls it's not displaying completely. Like half of the ctrl is hiding behind the controls in the parent form.So then i thought of writing a meesage in the form.But this procedure is not writing anything in the form. Private void frmCertofNeed_Paint( object sender, PaintEventArgs e) { String s1; s1 = "Please Wait data Loading" ; Font fnt = new Font ( FontFamily .Families[0].Name, 12, FontStyle .Bold); e.Graphics.DrawString(s1, fnt, Brushes .Black, 10, 10); } Please help me with this. Thanks Venp The Refresh() method forces the Paint event to run. I don't know enough about how you ...Show All

  • Visual Studio Express Editions Toolstrip Combo Box Problem

    Hey all, I am creating a web browser with an address toolbar that closely resembles the address toolbar in Internet Explorer 6:  Label that says "Address", Address combo box, and the Go button.  On my address toolbar, I cannot make the size of the address box (combo box) the length of the window minus the length of the label and button.  Basically I am wanting the combo box to be between the address label and the go button and to be the size of the length of the window.  Any suggestions   Thanks. By the way... anybody know where I can get a bunch of icons like the ones in Windows and Office 2003   I need an icon for the Go button, Open, Save, Print, etc.  Thanks again. Ha, I figured it out! ...Show All

  • Smart Device Development Handle holding keys button on PPC

    Hello, I have a device (Symbol MC70) with a keypad. My question is that how can i handle the event keypress or keydown so that no matter how long the user hold the key, it only sends the keycode once Thank you I would suggest you handle the keyup event in that case. See MSDN example: http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.keyup.aspx Thanks. ...Show All

  • Software Development for Windows Vista Sample Simple-STS for RC1+: Cannot retrieve a Managed Card from SampleSecurityTokenService

    I can create *.crd without any problems. However, I’m unable to retrieve the Managed card form SampleSecurityTokenServices. Repro: 1. Run SampleSecurityTokenService.exe to accept Managed Cards 2. Go to https://www.fabrikam.com/CardSpace/Sample.htm and click on “Click here to get the Token” 3. Select the Managed Card and Send. Windows CardSpace tries to contact https://www.fabrikam.com:7001/sample/trust/selfissuedsaml/mex and receives the following error. “Your data could not be retrieved from the Managed Card. Check your network connection and verify you have supplied the correct authenticated credentials." In the Event Log, I found the following message: There was a failure making a WS-Trust e ...Show All

  • Visual C# User Settings file and binding control to "BackColor"

    I want to be able to save user settings. The user can create different profiles so that, for example, one profile may have something like red, 26 point font, and another can quickly be selected and it changes to blue, 72 point font. I thought about using the "Settings File" but I wasn't sure if or how to have multiple sets of settings (i.e. different profiles). So my next solution was to load an XML config file into a dataset and bind the dataset elements to a form's controls. This works great, except I want to bind to "BackColor", which is a Color object and not a string, so it causes an error at runtime. What would be my best solution for a settings file that allows multiple sets of the same user settings, data bindi ...Show All

  • Smart Device Development Compact Framework 2.0 / Web Service Performance

    Hi all, I want to connect to my sql server 2005 database from a device (there is compact framework 2.0 on it). But i can do this by connecting to database directly or by using web services. I want to ask you that which one will show better performance Regards.. Direct connection will show best performance, naturally. . ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Visual Studio 2005???

    Why should I have to install Visual Studio C# Express if I own the full version of Visual Studio 2005 Pro I have a much more advanced version of C# than the one offered in express. Somehow this logic does not make much sense to me. Perhaps the install need to look for some install of C# but recommend the express if no install is found That would make more sense. Tis a bit strange, but i believe a "full" version of xna is coming out that doesn't need c# express. ( ) Just install c# express, install xna studio, then uninstall c# express. Then you can then just go add the xna references in vs2005 pro :) ...Show All

©2008 Software Development Network