jp.m's Q&A profile
.NET Development Sockets and Serialization
Hi, I'm building a windows forms app that needs to connect to a server farm via the internet. Performance is of the essence. I'm thinking to use .NET remoting but I prefer sockets to avoid the complexity of remoting; the data I need to pass are small in size anyway. For larger data I'll use Web services. I know that sockets connection can pass array of bytes and not objects. Can I pass a serialized object from socket to socket There' ...Show All
Visual Studio Team System TFS Dual Server Deployment Licensing Question
One doc I read on TFS licensing said that you need a license for every server you install TFS on. That sounds reasonable but what does that mean in a dual server (separate App/Data tier) deployment Does that mean you need to buy two TFS licenses for a dual server deployment I mean it's a single "logical" server, right Yes, you need a license for each machine. Same goes for clustering on the data tier ...Show All
.NET Development collection
hi, I am using vs basic.net 2005 to do a project. Now I have a base class, such as Public Class ParaBase Dim title As [Enum] Dim variable As String Dim value As String Sub New () title = Nothing variable = "" value = "" End Sub Public Property UIName() As [Enum] Get UIName = title End Get Set ( ByVal value As [Enum]) t ...Show All
Visual Studio Team System Project Template Export Directory Invalid
I'm using Win x64, and trying to export a project template. At work I can get this to work on a standard XP box with VS 2005 Beta 2, but for some reason when I try to export the template on my home computer I notice that the Output Directory is C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\My Exported Templates\WindowsApplication1.zip; however, there is no folder 'My Exported Templates'. In fact, even in the ...Show All
Visual Basic Where are those bitmaps?
I'm trying to find the bitmap image files that come with VB 2005 for you to use in your applications, but I can't seem to find them. Littl help here You are running the regular VB 2005 and not the Express version I'm not sure if the bitmaps come with Express I checked for mine, and they are installed (same as Blair Allen Stark's) at: ...\Microsoft Visual Studio 8\Common7\VS2005ImageLibrary Yun ...Show All
Visual Studio Team System Naming Custom rule
I want check the naming of the method, property, enum, struct and interfaces. I don't know do it for te enum, struct and interfaces. my code is below protected virtual bool IsValidPrivateNamingField(Field field) { return Regex.IsMatch(field.Name.Name, @"^_[a-z]\w"); } protected virtual bool IsValidPublicNamingField(Field field) { return Regex.IsMatch(field.Name.Name, @"^[a-z]\w"); } prote ...Show All
Visual Basic Can we display currency symbols in VB.NET
Can I display/add Currency Symbols (like $, GBP, YEN etc) to a combo box in Win Forms Application. Thanks Ravi. Yes, Use cultureInfo. Imports System.Globalization Then Dim c as CultureInfo System.Threading.Thread.CurrentThread.CurrentCulture = New SystemGlobalization.CultureInfo("it-IT") Me.textbox1.text = Format(900.58,"Currency") IN this case it will display as € 900,58 which is Italy format. Note ...Show All
Windows Forms Ocx component in a Windows Service
I would like some help to know if is possible or if exists some workaround to use an Ocx component ia a Windows Service I'm already using it in a Windows Form application with success but i would like to have this application as a Windows Service ! I know that .net wrappers the Ocx using the apropriate tool (Windows Forms ActiveX Control Importer - Aximp.exe). I would like to know if someone knows a way to use it as a class component&n ...Show All
SQL Server DBSTATUS_UNAVAILABLE with OLEDB Command
Hello, I have an issue with the OLEDB Command in a package of mine where it used to work and now it doesn't. I had 4 different packages where I was bringing in a flat file, massaging the data, and calling 1 of 4 Stored procedures using the OLEDB Command. Everything was working great, then we decided to use the SSIS EBCDIC conversion in the flat file connection rather than converting to ASCII outside of SSIS. This w ...Show All
SQL Server saving sp results
Hi all I have a heavy sp which i need to run out of hours. The sp will be run a number of times but with different parameters, i can do this as a job but i need the results of each time it is run saved to a different file (.csv) Please help!!! Rich Hi Rich. I think DTS would be the best tool to do it. You can run you procedure with different parameters as separate steps of the DTS package, then d ...Show All
Visual Studio Team System mstest with custom test type and metadata(vsmdi) file?
I'm trying to use mstest.exe to run a test from the commandline. The test was created as a custom test type that I have created via the extensibility SDK. I've done a lot of investigation and here's the results: 1) inside VS I can run the custom test fine. 2) I can run the custom test fine using the /testcontainer: option of mstest.exe. 3) I can run a generic test using the same vsmdi file with mstest.exe. 4) trying to run the custom ...Show All
.NET Development Best database choice?
I am wondering what the consensus is on choosing a database solution for a windows forms application when developing for the following criteria: 1. For applications that need to be deployed with their database on target computers (nothing complicated like oracle or ms SQL). 2. small amounts of data...( say...less than 500 mb of data [basically only need to persist small amounts of data between application executions ]) What kinds of ...Show All
SQL Server DTS 2000 on 64 Bit
Hi, I have certain DTS 2000 jobs which have to br run on a 64 bit system after upgradation. Is this possible Manish Moving to the IS forum, where you're more likely to get a response. Paul ...Show All
Windows Forms Thanks!!!!! But you are wrong...
Hi! Since TaskVision doesn't follow any of the Microsoft Patterns (as a matter of fact it doesn't follow any pattern at all, it doesn't even follow the ADO.NET API or WindowsForms.NET API) and so many people is downloading it, using it, and&n ...Show All
Visual Studio Errors in the IDE
I have installed all of the express products, after removing the VS beta 2 from my computer as documented. Everything works except the integration with MSDN Express Library. In this case clicking on "Search" or "How to:" results in an error dialog saying "Package "Visual Studio Common IDE" package failed to load. Clicking on "How Do I", "Search", or "Help Favorites" in the MSDN ...Show All
