questron's Q&A profile
.NET Development Appending from file to file
Hi, Im having a lil problem with 2 xml files. Im trying to append from file to file with C#. One xml file is on my pc, the other one is on the server. The xml file on the server gets input for appointments. They look like this: [code] < xml version="1.0" standalone="yes" > <Agenda> <Appointment> <Id> 1 </Id> <Date> 20060604 </Date> <Time> 120000 </Time> <Subject> whatever </Subject> <Description> fffffffffffffffff </Description> <Place> testt </Place> <Modtime> 182204 </Modtime> </Appointment> <Appointment> <Id> 2 & ...Show All
Visual Studio Shape inside a shape
Is there a way to put a shape inside a shape. I would like to put a shape inside a shape the same way as creating a compartiment for attributes. Is it possible Example : Having a Square shape I would like to put inside the square a circle or a roundedrectangle in some way that allows me connect to any shape in the diagram. Thanks Luiz Ricci There is some functionality that approximates to this in the Examples.Customizations ActivityDiagrams example that comes in the VS SDK samples folder. But it will be easier to do in the next release. Alan ...Show All
SQL Server How To: Deploy Packages to a subfolder under MSDB using deployment wizard
Hi , I'm deploying the packages to SQL Server using the deployment utility. It goes through. However i wish to organize the packges into folders on the SSIS Server -> MSDB. I'm able to create folder under the MSDB node. By default "Maintenance Plans" exists. But while deploying the package to the server i'm unable to specify the folder into which the package to be deployed. Is this a known gap in the deployment wizard or am i missing something MTIA. ...Show All
Smart Device Development What components create a 'complete' eVC++ SDK?
I have downloaded eVC 4.0 early December and SP4 a couple of weeks ago. Now I see all eVC downloads are updated to 1/20/2006. I need to build GUI applications for CE.NET 4.1 and CE.NET 4.2 immediately and if possible support CE.NET 5.0 as customers migrate. These GUI app's will use simple serial I/O. I see SP3 supports different devices than SP4, WTL packages, PPC, WindowsMobile and CE Emulator SDK's (standard_sdk.msi), etc. What components create a complete current eVC++ Tookit Do I need to reInstall with the Jan/20/2006 versions Will eVC 4.0 with SP4 support both CE 4.1 and 4.2 Thanks eVC++ 4.0 SP4 supports the fol ...Show All
Windows Forms Form size problem (mdi)
I have one problem. I have one mdi container and one nested form. Default property for this forms are: this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(1030, 748); this.WindowState = FormWindowState.Maximized; When I try to show the nested form using Visual Studio 2005 Beta 2 it appeares in maximize style in my container, well everything is ok. But i ...Show All
Software Development for Windows Vista SQLTracking service issue in Workflow
Hi, We are using SQLTracking service to track the current state of an activity in a workflow. In Beta 1.2 we were able to get the current state of activities as the workflow is executing. However, in Beta 2.0(from Jan CTP), we are unable to get the current state. When we researched a bit on this, we found that in previous versions, the database was updated with the status of the workflow activities at every stage, where in now it is updated only at the end of the workflow(kind og bulk update). Due to this we are not able to track the current status of an activitywhile it is executing,but in Beta 1.2 we were able to do it. Is this a bug ...Show All
Windows Forms Custom painting of Large Icon in Listview
I would like to change the drawing when a user clicks on a large icon to a blue border rather than the the total blued out appearance. Any suggestions of where I would need to put the GDI+ code in my custom control I've tried a bunch of different places and I don't think that I'm on the right track. ...Show All
Visual Studio Team System Web tests resulting in Internal Server error due to Invalid ViewState
I am seeing an odd problem when testing our web site. I have no problems navigating through our website manually from a web browser and experience no problems when creating a web test that navigates through our web site. But, when I run the web test I created, then I keep getting an "Internal Server Error" on the first server page transfer. When I look at our server logs it indicates that the problem is caused by an invalid ViewState. But, this problem only occurs when playing back (running) one of my web tests. The ViewState appears to be formatted correctly (it can be parsed) but the error message gives no further indic ...Show All
.NET Development Business object design
I have the following sample class where the property value will come from the database and in the database the value can be null. I believe this is a common problem if one wants to design bisuness objects. I have read about the concepts in many books but no one talks about to solve this problem. public class SampleClass { private string stringProp; private int intProp; private DateTime dateProp; public SampleClass() { // // TODO: Add constructor logic here // } public int IntProp ...Show All
Windows Forms TableLayout control
I'm testing the TableLayout control. I must say the basic idea is stupendous, an analog of the HTML table for WinForms. The only problem I have with it is where the analogy stops. Maybe I'm not getting something right about this control but I find myself wishing I could get direct access to rows and columns (like in the web, server-side table control). I was specialy looking to remove entire rows by doing something in the idea of "myTableLayout.Rows.Remove(2)". Instead I just have access to the collection of controls contained within the table. I can work out something similar but tha means: 1- Looking for or explicitly calling the controls ...Show All
Visual Basic web browser size change
How do you get the web browser to change size with its parent container when you debug or build it There are a couple of ways to do this. If the parent container has a resize event you can resize the browser in relation to the parent container simply by webBrowser.size = new size(width calaculation, height calculation) There are also panel containers that will do this for you. Check out the split, panel layout and and table layout containers and see if they meet you needs. They are good for defining proportional sizing. ...Show All
SQL Server "...conversion between types DT_I1 and DT_I2 is not supported"
I created a simple ragged file with 3 lines: 1 2 3 and coupled it to a Flat File Source. The Flat File Source suggested that the type was DT-I1. Next I created a “SQL Server Destination task and connected the output of the Flat File to the Sql Destination. In the Destination editor I created a table, whose one column was declared to be a sql smallint. Here’s the problem: the Sql Server Destination now displays a red circle with a white “x”. The tooltip says that: “The column “Column 0” can’t be inserted because the conversion between types DT_I1 and DT_I2 is not supported” Can anyone explain wh ...Show All
Visual Studio /target switch does not work as advertised
Looking at: ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_build/html/f46feb9b-4c16-4fec-b6e1-36a959692ba3.htm The documentation states that any target can be executed. This is not true, (at least not for me). Perhaps someone can point out what I'm doing wrong. If I run: MSBuild.exe mysol.sln /t:myproj:Rebuild the project file rebuilds as expected; however, if I run: MSBuild.exe mysol.sln /t:myproj:Build or MSBuild.exe mysol.sln /t:myproj:Run I get an error that the target does not exist for the project. If I run that target on the project file everything is fine. Am I missing something Or is this a bug ...Show All
Visual Studio Team System Is MSF Agile meant to be used on its own, or together with methods like XP? Or both?
Hi there gurus Is MSF agile meant to be used on its own, or together with methods like XP Is MSF for agile software development meant to be used on its own, as a agile software development methodology Or is MSF Agile rather a frame work to be used in combination with a agile software development methodology like XP (eXtreme Programming) Or both Anders Noras (blog linked to from the MSF Agile home) states that MSF Agile doesn’t have any rules for how you should work. Does this mean that you’re free to cowboy whenever MSF Agile doesn’t suggest how When Microsoft guys like Peter Provost ...Show All
SQL Server Full Text Search resultset count
For performance reasons I am limiting the resultset to 100 rows. However, I would like to have the performance but need the total count of rows found. How can I keep the performance gain from limiting to top 100 and still get the total count. Could I do something like this: select top 100 count(id), field1, field2, field3 from .... Would this return 100 in the count field Thanks I think T-SQL does not support above sematic. field1, field2, ... will need to be part of group by or aggregate function. Back to you problem, it seems like you want to know total hit count and want it performs well. The probl ...Show All
