Software Development Network Logo
  • VS Team System
  • Windows Live
  • Visual C++
  • .NET Development
  • Visual Studio
  • Microsoft ISV
  • Visual FoxPro
  • VS Express Editions
  • Smart Device
  • Visual C#
  • SQL Server
  • Game Technologies
  • Windows Forms
  • Windows Vista
  • Architecture

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

TimFitzpatrickmsdn

Member List

jjones065
Steve-0
Stephaen marois
Chuck Berg
David Kaye
Hrasheed
syperk
Laurence Melloul
SergStone
Conradical
clientserver
Vicé
Nathan Phelps
belangereric
Dustin Gregoir
fcjam
ajay.andrews
LastFreeName
Jason M Archer
Ron Carr
Only Title

TimFitzpatrickmsdn's Q&A profile

  • Visual C# Store data in a Hashtable

    Hi I get data from an cvs file and wuld like to store the data in a Hashtable, how does that work I mange to store ("key","data") ~ ("001","John Doe") but not ("001","John Doe","66539","KS","USA") I will be greatfull for any useful hint about the problem. //Matt Sweden A hashtable stores key-value pairs. This means 1 key and 1 value. The value is of type Object, so you can store anything in there. In your case, you would have to create a class that contains the data for John Doe and add an instance of ...Show All

  • Visual Basic Kill Individual Process

    I have several sql systems that export data to excel files.  After the data is exported I have a couple of VB.NET dlls that make certain corrections to the files.  The problem is that after the dll runs the excel process does not close.  I fixed this by killing all excel processes inside the dll.  The problem is that there is going to be situations where multiple excel files are being worked on at the same time, and I can't just kill all instances of the excel process each time the dll runs. How can I check to see if a process is still using the CPU, or how can I get an excel application object's process id so I can ...Show All

  • .NET Development XSLT != does not work with XslCompiledTransform

    Hi, I'm using XSLT to transform an XML document into another XML document. I use the XslCompiledTransform class to perform the transformation. My problem is that it does not work to use != to compare data values in elements e.g. <when test ="/Patient/History/Diabetes != 'TYPE2'"> does not work. However, it does work to compare data stored in attributes when using a function e.g count(@StatusCode != 'RED'). Has anyone got any idea what's causing this Regards, Magnus Green In XPath operators != and = are little bit tricky. If you node-set is empty i.e. (count( /Patient/History/Diabetes )=0) re ...Show All

  • Visual C# Whither encapsulte field in Express beta2?

    Where did the refactor/Encapsulate Field option go   That was dead handy, and I was looking forward to more like it to speed development not less! Have I missed something   Is there a config option hiding somewhere to switch it back on   Or should I know how to roll my own by now Yes, in Beta 2, the only refactorings we now support are extract method and rename.  I've passed this question on the the Express owner to explain the reasoning behind this new change. Thanks! Karen Liu Visual C# ...Show All

  • Windows Forms Moving between VS2003 & VS2005

    I'm creating a windows forms application using my home laptop which has VS.Net 2003 installed. I'm going to be away on business soon and will have to take my work laptop which has VS.net 2005 Beta 2 installed. If I transfer my windows app to my work laptop and work on it, will I still be able to copy it back to my home laptop without anything breaking (in theory) Or, should I avoid all such a move Hi, In addition to these I recommend you take a look at the MSBuild toolkit which offers you to target different versions of the .NET Framework using VS 2005. http://weblogs.asp.net/rmclaws/archive/2005/06/04/410360.aspx Regards, Vikram ...Show All

  • Windows Forms DataGridView & DataGridViewComboBoxColumn datasource

    Hello, I am using VS2005 & SQL2005 RTM. I am curious why does it error if the DataGridViewComboBox cell's items list does not contain the value that this combo box is bound to Like ASP.Net 1.1's DataGrid control, I was expecting that if the value the combo box was bound to wasnt present in its items list that nothing would show. Throwing an error is a bit annoying for an acceptable situation such as this. Another reason is that when I go to the new row, I cannot add a record; it errors out with: System.ArgumentException: DataGridViewComboBoxCell value is not valid. since the default value of the new row's Guid field (00000 ...Show All

  • Visual FoxPro VFP: Many Coding Questions; Striving to be Appropriate within the Forum

    Before embarking with a coding question (or 2); I'd like to apologize in advance for any remotely offensive remarks with the VFP powers that be. I desperately want to grow in VFP-9+ science and art and request a general *tip* or 2 regarding forum policy and the best way to approach coding questions. All answers are welcome, Thanks in advance, Philip Well I think VFP community is smart and you wouldn't have trouble here:) You can ask anything even those that might seem not to be related with VFP directly (as any developer group this community is full of those who also do things in other languages or hw business etc). Since you ask ...Show All

  • Smart Device Development Could not receive bytes from socket on PPC 2003

    Hi, I am developing network application on PPC 2003 with VS2005. In my VC++ program after creating a socket, my previous desktop applcation statment is int tnum = recv(sock,tbuf,1,MSG_PEEK); but I searched on MSDN MSG_PEEK is not supported for PPC ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcewinsk/html/_wcesdk_recv.asp ), so I changed it to tnum = recv(sock,tbuf,1,0); but everytime tnum is equal 0 and there is a socket Error. So, is there any special note for networking on PPC Thanks. Stefen Huynh Are you using ioctl to change the recv from blocking to unblocking mode If not then ...Show All

  • Visual Basic VB program needs on computers without VB/excel/office...

      A somewhat beginner question:  If I compile a vb program and move that to another computer and regsrv32 it, what else needs to go to get that program to run   Thanks in adv! Depends on your version of VB.  VB 6 programs you don't need anything else.  For .NET programs you'll need the correct version of .NET (1.0, 1.1, or 2.0) depending on the VB.NET version you're using. Hope this helps, Josh Lindenmuth ...Show All

  • Visual J# I need System.setProperty(String, String)

    Hi; I need to be able to set some system properties (for some unit tests). How do I do this In java it's System.setProperty("key", "value"); thanks - dave Hi David Thanks for the feedback. Your request for this JDK 1.2 level method in the future releases has been noted. Like all other requests from our customers about what they would like in our future releases, this request also would go through our planning/investigation process. With regards Ashwin Raja ...Show All

  • Visual Basic Problem Downloading Samples

    Downloading code samples from this page generates a message 'Virus Detected' from my AVG virus software. http://msdn2.microsoft.com/en-us/library/fyc8kydy.aspx I am interested in the Game sample. Would someone please check by going to the page and trying to download the sample by clicking on the download tab top left hand corner of the page. Steep No problem with AVG, it's free and has served me well for 3 years and on two computers, one with Windows 98 and my latest with XP. Better to be safe than sorry.  ...Show All

  • Visual Studio Team System Error with my portal

    Hi  for every one, I have some problems with my Team System and also I can't see me portal, so, I need to change my DB MSDE to SQL Server any idea can I get that   Thanks,   Ray! Can you provide more information Your Project Portal should have automatically been installed on SQL Server not MSDE. What problems are you having ...Show All

  • .NET Development .NET UI Application Crash

    Hi, We have a vb.NET client UI application which calls a number of web services. The application is intermittantly crashing completely without any evidence of an exception etc. The application is single threaded for the most part, the only area that deviates is a class managing serial port comms via win32 calls. (we do not use p invoke..) I understand the most likely cause for an unexpected termination of this nature is threading - more specifically that referencing UI elements unsafely... I can say after a very large code review that this does not take place. Can anyone provide any advice on what might be the cause or where else we might lo ...Show All

  • Visual C# debug inside callback method

    Does anybody know how to debug inside a callback method I need to debug inside MyMethod() in the following example. Is it possible at all Thanks in advance. e.g. ThreadPool.QueueUserWorkItem(new WaitCallback(MyMethod), pw); private void MyMethod( object status) { IProgressCallback callback = status as IProgressCallback ; for ( int i = 0; i < 10 ; i++) { callback.StepTo((i + 1) * 10000 / 10); ...... } callback.End(); } I did set a breakpoint. But it seems the program will crash or run forever when there is a breakpoint in the method. Without the ...Show All

  • Windows Forms Crystal Report ignoring parameters - can't work out why...

    I have a Crystal Report that uses data sourced from 3 stored procedures in SQL Server.  When I run the report via a WinForm it asks me for the parameters, even though I'm passing them through in the VB.Net code.  Here's what I've got:       'Logon to the server       Dim crReport As New ContactReport()       ...Show All

©2008 Software Development Network