DotNetParam's Q&A profile
Visual Studio Team System Source Control Settings
When and why one should use the check-in, check-out policies in Source Control Settings Please explain by example Thanks Are you talking about the options for "Select lock type" when you do a "Check-out for Edit" When you check out a file for edit in TFS, you are actually telling the server that you are going to edit a particular version of a particular file that you have in your local workspace. At that point, you can optionally select one of three lock types:- "none", "check-out" or "check-in" Lock "None" . T ...Show All
Visual Studio 2008 (Pre-release) DataContext lost in a ModelVisual3D??? Is it a bug?
Hi all. At the end of this post I added 2 pieces of code. Basically, the second one is the same as the first one but wrapping the _itemContent with a Viewport3D so that 3D animations are possible on the list items. In both cases the _itemsContainer.ItemsSource is set in the code behind in the Loaded event handler of the Window. However, the 2nd code doesnt work and after many experiments I detected that the DataContext is lost. My question is: is this supposed to happen For some reason the VisualBrush "blocks" the cascading of the DataContext Is there another way to create a 3D ItemTemplate The Templating2 sample here http://msdn ...Show All
SQL Server Stored proc & transaction log size problems!!!!!
For some reason, my stored procedure which is kicked off by VB.NET is growing the log file for the database in question by gigs, very fast. Why is it doing this The code: Sub Main() objConn.Open() Dim cmdSql As New SqlClient.SqlCommand("IT_sss_Collector_D otNet", objConn) cmdSql.CommandType = CommandType.StoredProcedure cmdSql.CommandTimeout = 1000 Dim reader As SqlDataReader = cmdSql.ExecuteReader() Dim ppa_rowcount As Integer ppa_rowcount = 0 If reader.HasRows() Then ' test to see if there is any data in the reader reader.Read() ppa_rowcount = Convert.ToInt16(reader("pcount")) End I ...Show All
Microsoft ISV Community Center Forums Run-time error 3706:
We have front end application which is developed in PB and resides on Citrix server. One of the module in PB application opens a screen which is developed in VBA. When we upgraded the citrix server and Ms Office on the server to higher version, the module which is developed in VBA is not working and gives the following error. Run time error – 3706: Provider cannot be found it may not be properly installed. Here is the detail. Server Citrix XP release 3 OS   ...Show All
Smart Device Development How to write a program for barcode scanner
Hi, I would like to know anyone have a sample program or guide to write the program for symbol barcode Scanner model MC1000 to capture the data in the text file Thanks Esther Pls refer to following link for more relavent forum http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=286724&SiteID=1 Srikanth Bogadapati (Microsoft) ...Show All
.NET Development registering for COM interop creating duplicate registry entries.
Hi, I am working on .NET 2.0 beta2 on Windows 2000 advanced server. I have created small .NET dll, in which I have exposed a number of classes for COM interop using ComVisible(true) on those classes, for example: [ComVisible(true)] [ClassInterface(ClassInterfaceType.None)] public class Class1: IClass1 { private int i; public int GetInt() &n ...Show All
Windows Forms Should be simple: frm1 Save As... frm2, but leave frm1 "as is"
I tried to save Form1 as Form2, leaving Form1 "as is" (it's OK whether IDE leaves Form1 in Project or not). Seems VS.NET merely renames Form1 to be Form2--not what I'm trying to get. (I want to experiment with the UI on Form2, but have Form1 in the directory just in case I prefer the original). in Solution Explorer, click a ...Show All
Windows Forms Using datagridview with two columns -> textbox and combobox columns
Hi all, i no undertand how i can use a datagrid to display a like master/detail structure of data of my access table that contain characteristics data. For example the access table have this structure: cod codcar desccaratter valcar CUF 1200 Profondita (mm) CUF 2810 Altezza (mm) CUF 3410 Larghezza (mm) CUF 5480 Peso (Kg) CUF 7170 Dolby ProLogic Senza Dolby ProLogic CUF 7170 Dolby ProLogic Con Dolby ProLogic CUF 8340 Tipo di trasmissione Con filo CUF 8340 Tipo di trasmissione Radiof ...Show All
.NET Development Method Authentication for Internet public Web Service
I need to create a web service to be consumed in the public internet. I woul like to use a declarative mode. From the WSE 3.0 documentation I have two posibilities: UserName or Certificate. I can not use certificates in the actual project, so I have only the UserName option. Is this correct But I need the X.509 certificate in the server, and copy the public part to the clients. Is this correct Thanks a lot for your attention! But the role or user authoritation requires also the certificate, at least using the WSE setting tool. Have you checked it ...Show All
Visual Studio Express Editions you must have a license to use this activex control
I'm very new to C# so this is probably a simple thing. I am working on a project that uses an activex control and some other third party dlls. Whenever I click on the main form window I get an error telling me I must have a license to use this activex control. Of course, I do have the license but it isn't doing it's trick. Some background.... The sample source I'm working on was created in an earlier version of visual studio. The sample was "upgraded" when I loaded it. The sample does compile and run just fine but I can't edit the main form because of the error. I'm using visual studio 2005 express for C#. ...Show All
Architecture Advantages of OOP ?
Hello, Im a fun of OOP designs. I design my bussiness classes when I start a new project. Then maybe I will write mapper classes for bussiness classes to map DB tables or using an O/RM tool or an ODBMS . Think that this project is big one and it has long deadline. You will develop it 2 or 3 years. Requirements will be changed. To develop this project with OOP designs and n-Tier application design is good idea. But I am asking myself this question "Why am I choosing this long way ". I think the advantages of OOP are re-usable and flexible (when there is a new requirement). OOP makes less code behind user-interface. But I dont un ...Show All
SQL Server Incremental Extraction
Does anyone know whether you can dynamically configure the SQL used for the source (in an OLE DB Source) in a data flow. I used to used some ActiveX in DTS so that I could set a different value in the Where condition of the SQL statement for each datapump. Using this code, I could use a different date for each datapump source based on data I have stored in my destination database. I know that I could use SSIS variables but this would mean that I would have one variable per "datapump". I would prefer to use a single variable to store a recordset and then, using the content of the recordset, selectively update ...Show All
Visual Studio Team System How to clean up a database after test recording and also after test has run and start with fresh database?
How to clean up a database after test recording and also after test has run and start with fresh database I have a form in which there is a data grid on it.During recording i add some values in that field so as a result those values get added in the data grid and i got a string saying that record has been saved.When i ran this test those values were already in the data base so the test passed but in test results details in the browser window i was getting the string that duplicate record shall not be added whie during recording it has given the string that Record has been saved. I want to know how to clean the database after recording ...Show All
Visual C# vs 2005 not responding
I am using VS.Net2005. Whenever I open a project, the VS gets stuck. If I end the vshost process, the VS continues to respond (but I cannot debug the app). The same happens when I create a new project, so it is not a project specific issue. Does anyone know how to solve the problem thanks. Thanks for the call stack. Apparently the hosting process is failing very early, leaving Visual Studio in a deadlock condition. What we need now is a call stack of the hosting process itself. [1] Install Debugging Tools for Windows. You can install them from http://www.microsoft.com/whdc/devtools/debugging/install64bit. ...Show All
Visual Studio Team System Lock Project recursively
Is there a way to lock a source control project recursively Hmmm.... when I lock a project, does this prevent other users only (but not myself) from checking in/out files in the project and in all its subprojects ...Show All
