nick800's Q&A profile
Visual C# How to auto-generate .aspx and .cs
Now I need to auto-generate .aspx file.Do I use System.IO.StreamWriter or others How can I do xiaotao - Can you let me know more what scenario you're actually trying to enable You can use streamwriter to create and write to this new file. Are you trying to spin up new webpages on the fly If so, the asp.net forums will be where you want to post. ( http://forums.asp.net ). Thanks, Karen ...Show All
Visual Studio Team System TFStructureControl
Hi guys, Can somebody explain me how TFStructureControl can be used Is it supposed to be used with Iteration Path and Area Path fields only It is completely disregards FieldName attribute if it is not IterationPath or AreaPath. If I want to use it for couple of different fields (for example Found in Module and Related Module), can I do it Thanks in Advance, Leon Yes, this can be used only with AreaPath and IterationPath fields. The control ...Show All
Windows Forms Justify values within a datagrid
Does anyone know how to justify (right or left) a value in a cell from within a Windows Form datagrid Thanks, Bill....... Glad you got it worked out. You should be able to accomplish the same thing using the Properties window (which&n ...Show All
SQL Server variables in sql command
Hello I have an existing DTS package and I convert this to Integration Services but now I have a problem: i have in my dataflow an OLE DB SOURCE and an OLE DB DESTINATION In the source I have the following sql command: IF '<<FullLoad>>' = 'Y' BEGIN SELECT * FROM Maintenance_Departments END ELSE BEGIN SELECT * FROM Maintenance_Departments WHERE Last_Updator_Date_Time BETWEEN '<<StartDate ...Show All
Visual C# Question about using Visual C#
Can I use Microsoft Visual C# to develop cross-platform software and the developed software support many different operating systems including Windows, Macintosh, Linux and others http://www.mono-project.com/Main_Page ...Show All
Visual Studio Express Editions Registration benefits
I just read the announcement about the benefits of registration. I already had registered so of course it didn't let me register again. Is there a way to still get the downloads or should I now know never to register an MS product until they have some registration benefits announced If you are registered you can take part of the benefits. Check the registration benefit portal. http://connect.microsoft.com ...Show All
Visual C++ malloc error in C
>c:\s.t>cl /MD /GS- a.c >Microsoft (R) C/C++ Optimizing Compiler Version 14.00.40310.41 for AMD64 >Copyright (C) Microsoft Corporation. All rights reserved. > > x.c > Microsoft (R) Incremental Linker Version 8.00.40310.39 > Copyright (C) Microsoft Corporation. All rights reserved. > > /out:x.exe > a.obj > > T:\s.t>x > 3000000000 0 > > c:\second.try>type a.c > // cl /MD /GS- > #include&l ...Show All
.NET Development Activator.GetObject third argument.
I'm getting the following SerializationException as Server calls client event method: An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll Additional information: Because of security restrictions, the type System.Runtime.Remoting.ObjRef cannot be accessed." I can call methods on the remote ...Show All
Visual C++ Interface error?
Hi all, I'm pretty new to C++/.NET and have been trying to implement an interface for the first time. I wrote the following class to implement the IComparer interface for a generic SortedList: using namespace System; using namespace System::Collections::Generic; public ref class Inventory: public IComparer<Inventory^ > { protected: Double m_value; public: virtual Int32 Compare( Inventory^ other, Inventory^ other2 ...Show All
Visual Studio Team System Duration of Manual Tests
Hi, I was just wondering if it's possible to get the duration of manual tests I noticed that the 'Test Results' window is already recording the start and end times of a manual test, but 'Duration' always shows zeroes. Thanks for the help. This appears to be a bug -- and as such, theres no workaround. I would suggest you file the bug on the MSDN feedback center to ensure that we can track the bu ...Show All
Windows Live Developer Forums Line does not show till click on map.
Hi, Just started using the Map Controls. Adding a line to a map, following the instructions in the "Virtual Earth Map Control SDK, version 3.0" help file, and compared my code to various examples. Code runs okay (no javascript errors), loads & shows the map, but the line does not show till I click on the map. The line will also disappear if you move the map with the navigation arrows at the top. Same problem in IE 6 and Firefox 1.5 ...Show All
SQL Server How do I get overall package duration?
I'm developing a web app that displays the running packages and the total elapsed time. I'm calling GetRunningPackages() method and using the ExecutionDuration property of the returned package. The duration seems to be only for the currently executing container and not the entire package. Is there a way to get the duration of the entire package Thanks. There is a variable called System::StartTime that gives the ...Show All
Visual Studio Express Editions Can't Download Registration Benefits
I registered VBExpress and went to the registration portal. I tried to download the Build a Web Site Now! PDF file from there, however when I downloaded the file, it turned out to be a ASPX file, which, when opened, said: TS=8EBFA538-35D0-44BA-9405-C4744C1266BA &STYPE =0 &MN =811331273 &EK =e381c28216d296762485969b243a19ef &SVRN =fp1-tk2.ds.microsoft.com &DLL =/TransferFile/FileTransfer.dll &PORT =80 & ...Show All
Visual C# Where to Find Good Tutorials / Overviews for DataGridView ??
Hi There I'm getting a bit lost in the MSDN documentation for the DataGridView in .NET 2.0, could anyone please direct me to some good overviews/tutorials TIA Bill Hi Bill, The following link gives a good overview of all the features with snapshots: http://www.windowsforms.net/WhidbeyFeatures/default.aspx PageID=2&ItemID=13&Cat=Controls&tabindex=5 Regards, Vikram ...Show All
.NET Development Windows Form performance
Hi. I realise that this post may be a bit general, but Im really after some hints/tips as to where to start. We recently took ownership of a .net 1.1 windows forms application. I have about a years experience with .net and about 6/7 with java awt/swing. This front end application was developed by another team and in my opinion, is very poorly coded. It is a direct replacement to a java awt gui and it makes exactly the same backend calls (through ...Show All
