Roggan's Q&A profile
Visual Studio 2008 (Pre-release) TextBox input validation
How can I validate input for my textboxes For example I have an application where I want to input several numbers in the textboxes. The primary validation constraint is that I want the user to be able to input only valid real numbers. Some of the textboxes should contain only positive real numbers. Also I want to be able to do comparisons between the different values (for example I have a minimum speed textbox, and maximum speed textbox, so ther ...Show All
Visual J# running server object method from client-side on the network
hi , i have written two little applications one is working on the client-side. the other one is running on the server-side. i have created an interface on both sides with the same name "ServisArayuzu" and these interfaces has one method . public interface ServisArayuzu { public String getIsim(); } both classes on the server and on the client side implements this interface differently. try { server= new ServerSocket(1500); nextClient= ...Show All
Visual Studio Team System Will VSTS Foundation Server ship when VS2005 does?
I have been told that the Visual Studio Team System Foundation Server will not ship until next year. Can this be confirmed Not with beta 2. It requires the RC or, in November, the final release. ...Show All
Visual Basic Urgent Question
Hi All, Hello! I come from HK.How to pack database ,web application and reporting service with changing it's config into a exe setup file that let client can run the exe to install all the required component ...Show All
Visual Studio Team System Custom Rules in VB.NET is it possible?
I tried converting some C# samples to VB in .net 2003 using FXCop 1.32 and wasn't successful. I can get FXCop to reconize the compiled VB.NET DLL and display the list of rules. But they don't seem to fire when I hit analyze, however the C# version works perfectly. If it's possible, can someone please share a sample for one VB.NET compiled custom rule for FXCop for version 1.32. Thanks.. Rod, The ...Show All
Visual C# Changing the msi installer default installation path
Hi all, I created a msi setup for installing a dll in client machine.The dll is installing fine. The problem is i want to change the default installation path with out using browse option . In msi installer the path is showing like "C:\Program Files\QP\Setup\" QP is my machine name. i want edit to "C:\Program Files \dll project \setup\" to default Can u gi ...Show All
.NET Development single transaction between different methods
I need to run a single transaction on the single database (sql 2005) between several methods (.net 2.0, c#). I made required preparations: cn.Open(); // connection SqlCommand mySqlCommand = cn.CreateCommand(); SqlTransaction mySqlTransaction = cn.BeginTransaction(); mySqlCommand.Transaction = mySqlTransaction; mySqlCommand.Connection = cn; then I tried to pass to each method open connection (cn) and sqlcommand ...Show All
Visual Studio Express Editions Missing GettingStarted.htm Page
All, I just completed an uninstall of VC# Beta 1, .net framework 2 and SQL EXP followed by an install of VCS Beta 2. Upon opening I noticed the internal web browser displayed an error page and apparently can't find the file: C:\Program%20Files\Microsoft%20Visual%20Studio%208\Common7\IDE\VCSExpress\HTML\GettingStarted.htm I've searched the drive for this file and it appears to be missing. I've also tried to repair the instal ...Show All
Windows Forms move a transparent form
hi, i have a form make transparent with a png file and border style set to none. from MouseMove and moveDown events y can move the form, but the "transparent" background (the image's transparent surface) still have old background. Someone can help me to force the background refresh Thanks in advance and sorry my english. ...Show All
Visual Studio 2008 (Pre-release) wsDualHttpBinding and TimeoutException
Hello, I am trying to develop an WCF service with enabled duplex communication between client and service. WCF service is hosted under Windows Service. Everything works fine if I use client and service on the same machine. If service is located on the remote machine, no calls pass through for services configured for wsDualHttpBinding. All of them end up with TimeoutException. Client and service machines are in the same domain. For testi ...Show All
Visual C# Type Reference in Generics
The following code is from a book of Tod Golding (wrox) public void InferParams<I, J>(I val1, J val2) {...} public void InferParams<I, J>(int val1, string val2) {...} InferParams<int, string>(14, "Test");// call the second function InferParams(93, "Param2"); // call the first function Can anybody explain the difference Why there is no compile error Thanks! using System; using Sys ...Show All
.NET Development How to disable code analysis message globally across project?
After running code analysis, if I right-click on a message and tell it to ignore it, it places a line in the analysis globals file, but that line is specific to the method being analyzed. How do I disable specific code analysis messages across my entire project I tried using the scope="namespace" and target="MyNameSpace" but that did not appear to work. Help ...Show All
Visual Studio How to load image dynamically
HI all, I am using ASP.net with c# to load crystal report. I would like to know how i can load an image in the Report Header section of the report dynamically from aspx page. thanks pradeep_TP Hello All, I am having the same sort of problems while displaying image using CR.NET and VS.NET 2003. Let me epxlain what I want to do. I have designed reports using CR.NET that I intend to sell to various clients. I ...Show All
Windows Forms Non-administrator user and Misc
hello few questions from a newbie trying to use MSI3.1 on Windows 2003 SP1 - can users without administrator privilege install MSI package where can I set this up - can users without adminstrator privileges install in C:\Program Files - can I install two copies of same application (same productversion) on a given system eg. install the same project.msi twice into C:\project1 and C:\project2 appreciate responses and/or p ...Show All
Visual Studio How to manually populate Find Results window
Howdy, Is there a way to programmatically populate the Find Results window without supporting the full Find/Replace framework (via IVsFindTarget etc..) Similar to creating custom tasks in the task list Thanks Eric Hi Eric, The Find Results window is not extensible right now so you won't be able to insert text there. However, you can do this via the output window via IVsOutputWindow and IVsOutputWind ...Show All
