Josh D's Q&A profile
Visual Studio Team System Is it possible to have multiple configuration in Single FXCop project file.
Hi, In our regular Visual Studio project, we can have multiple configurations like Debug, Release, Albha, Final Release. The same way, is it possible to have multiple configurations in FxCop Project, like Begining of the Development time - I want to include only subset of the rules, even in Naming rules, include only subset of naming rules. At my 2nd Stage of development, I want to use different set of rules to be included. I could do this ...Show All
.NET Development Programatically embedding resources (a la self-extracting zip archive)
Hi, first, I'm not sure if this is the most appropriate forum for my question, I did try to consider this but I'm just not sure, so I apologize upfront if it is not. I want to make a program with a feature similar to WinZip's ability to create a self-extracting archive, i.e. I want my program to generate an executable with embedded resources. The executable code in the assembly will always be the same, so I believe this is a matter of embe ...Show All
Windows Forms Paint of PictureBox
Hi, I have the following problem: I need to create a pictureBox and draw some lines on it. The coordinates of the lines to be drawn come from a collection of the list of collections. So, in each pictureBox, I need to pass the index of the& ...Show All
Visual Studio 2008 (Pre-release) Limit foreign-table retrieval
using all kinds of tricks I am trying to retrieve all customers which have orders in a specific year. So far, so good, this works. but this customer object refers to the orders-collection and whenever I access that ALL orders are retrieved. No matter how I try to persuade the object to just retrieve needed rows from the DB, if I access the orders through the parent "customer" object, I fail. can someone provide me with a hint on how ...Show All
Windows Forms How can call a form ?
Hello, How can I call form with in existing form Pomi Form2 form2 = new Form2(); form2.Show(); ...Show All
Visual Studio Express Editions Scaling arrays
I would like to know if there is a more rapid way to multiply an array with a number in Visual Basic than the one presented below. I haven't found much on vectors in the help and seems that the only possible way would be to use the matrix class. e.g. {1,3,4}*2 = {2,6,8} I know this way to do that looping through the array: Dim a() As Integer = {1, 2, 3, 4} Dim b As Integer = 2 Dim c As I ...Show All
Windows Forms Fill WebBrowser
Hello, I have a problem because I want t fill a form automaticly in a HTML format, Y guess I need first to Enum the Elements in the Webbrowser first and then get the element I want, so I can fill it with a string or integer later.. So my question is about how to get the elements in a Webbrowser Document, ( I need to fill a TextBox) and then fill them with an string or integer.... hope you can help me and thanks for everything!!. Hope ...Show All
SQL Server Setting default values for report items
Is it too much to ask for the SSRS team to add a "feature" that allows us developers/report designers to set (and save) the default values for report items God only knows how much time I've spent on the tedious and yet remedial task of changing the Padding (left, right, top, bottom) = 0pt, over and over and over... And now in SSRS 2005, I can't even select more than one textbox report item and change the padding property for all ...Show All
Windows Forms No Response When Opening a .EXE Via HTTP
We have a VB.NET 1.0 app that is deployed on our intranet so it can be launched via a http://server/dir/myprog.exe URL, but it is not working when we try to launch it on our corporation's new WinXP SP1 image (it does work on all Win2K ...Show All
Smart Device Development Using Vista and PPC 2003 Devices
Hi, I'm trying to use Vista (beta 2) and VS 2005 to develop a Windows Mobile 2003 SE application. However, whenever I try to deploy my very very simple application to the Pocket PC 2003 Device (not the emulator) I get an error saying: Connection failed. ActiveSync is not installed. From what I have read ActiveSync is not needed on Vista as it has some of AS built in. However, it looks like VS 2005 doesn't quite understand this! When ...Show All
Visual C# Look for file in subdirectoy
I know that when you create a .txt file or open one, without specifying a directory, that a c# program will look in its Debug directory for that file, or whatever directory the .exe happens to be in.. i think. How do I tell it to look in a subdirectoy of that debug directory I do not want to specify an exact location like "c:\dirctory\sub-directory" I just want it to look in a subdirectory in the default directory. I tried tellin it to ...Show All
Visual C# Convert Perl Code to C#
I have a perl script which I wanted to convert to C# which I can use for my application. Is there any tool/utility which does this. Thanks Imtiaz It's not too big. I am pasting it here. It reads a pipe delimeted file fetches some data and write it to another file. Following is the complete script eval '$'.$1.'$2;' while $ARGV[0] =~ /^([A-Za-z_0-9]+=)(.*)/ && shift; $[ = 1;&nb ...Show All
Visual Studio Express Editions Returning Newly Inserted INSTANCE ID
Thanks in advance for any help I can get with this! I've been trying to retrieve the currently inserted rows Unique ID (Primary Key) with no success. I've tried both INDENTITY_SCOPE() and @IDENTITY. In the following example from the helps files I only ever get SYSTEM.DBNULL returned. the help file link is for the example is ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/cpref16/html/P_System_Web_UI_WebControls_SqlDataSource_Inse ...Show All
SQL Server Securing the MS SQL Server 2005 database on client side
Hello! I developed database driven .NET application and I need to deploy it. I faced a problem, which is "how to protect my database against direct access". I use MS SQL Server 2005 Express Edition as a DBMS and appropriate database. I want to make possible to manipulate with data in my database only through my client application. 1. How do I define SA password and instance name in silent mode of MS SQL 2005 EE installation with M ...Show All
Visual Studio Team System Visual Studio RTM above VSTS Beta3 refresh
Hi there, I had installed VSTS server and client in single server box, now to write workItem import code to migrate all the bugs from my vsts beta2 bug server, I need to reference to Microsoft.TeamFoundation.Client.dll and Microsoft.TeamFoundation.WorkItemTracking.Client.dll libraries. For that I had to create this project in that same box where vsts beta3 server and client is installed. Now since that machine did n ...Show All
