soanfu's Q&A profile
.NET Development typed DataSet, xsd:sequence, and WriteXml question
I have a typed DataSet generated from a 3rd part xsd schema file. When I call WriteXml(...) on an instance of the typed DataSet the output elements do not follow the order specified by the <xsd:sequence> element of the complexType. As a result, the output of WriteXml(...) fails schema validation. My output will be consumed by some unkown 3rd parties who will likely want to validate it against the commom schema. Has anyone found a way ...Show All
Windows Forms Business Objects or Dataset?
I am getting ready to develop a Win32 application, and I can't decide whether or not to use custom business objects or use a dataset. Can anyone give me some insight to help base my decision I know the dataset has built in fun ...Show All
Visual Studio Team System I cannot get source code links in FxCopCmd report
I do not have any problem with getting correct link to the source code in "Message Details" box when I am running the analysis from FxCop GUI. However, when I run analysis from command line and then load the report to GUI, the only thing I am getting is <Location not stored in Pdb> The difference between command line and GUI is that I use environment variable to point FxCopCmd to right assemblies. I also load the report to compar ...Show All
SQL Server Walkthrough Failu "Creating a Mobile Application w/SQL Server"
I am attempting to go through the "Creating a Mobile Application with SQL Server" walkthrough found in the SQL Mobile Books Online help file. Towards the end of this document (under SQL Server Mobile Tasks), they show how to create a new subscription. Unfortunately, after step 10--when you are asked to click finish--I get the following error: TITLE: Microsoft SQL Server Management Studio ------------------------------ Failure to connect to ...Show All
Visual Studio Express Editions Express Questions
Hello All, 1.I downloaded VS.net 2005 and would like to program some xml stuff. Do i need to download any xml files to go with VS 2. DoI need to download any of the .net framework or asp files to go with VS 3. What are the best extra downloads i can take advantage of 4. Is there a good book for Visual Studio.net 2005 for XML 5. What does everyone use for creating great graghics foir the Visual Basic screens Sorry for all of ...Show All
Visual C++ whats wrong with declarign a pointer?!?!?!?!
hey guys, this is dead simple, i have an mfc application with shared dll. i declare a pointer as follows: int* t = new int [2]; and its exceptioning saying out of memory! wahats wrong with that i know that i can do it using int t[2]; but i want this as a breif explaination of another problem i have. i cant spot why it doesnt like it at run time! Glad everything is working as expected now. I just wanted to make ...Show All
Windows Forms Odd GDI+ Problem
Hi, can someone please explain me why the following is happening. If i write some simple code to draw a gradient fill like this: void ContentControl_Paint( object sender, PaintEventArgs e) { Graphics g = e.Graphics; Rectangle ...Show All
.NET Development How to Pre-Populate a DetailsView for a new Record?
By default all DetailsView fields are blank when the user click on the New button. Is there a way to display initial values for those fields This may not be the most elegant, but I use some code like this: protected void SetDetailsViewDefaultValue(DetailsView dv, string controlName, string value) { Control ctl = dv.FindControl(controlName); if (ctl ...Show All
.NET Development Help: Could not find schema information for the element 'microsoft.web.services2'
(Sorry I may have posted this in a wrong forum earlier) Hi, I've got this problem, trying to add a simple user authentication feature to my web service. I added the code directly copy-paste from MSDN as well as trying load of other ideas why this might happen... I've been getting these "information messages" that practically disables my client application from connecting to the web service. (I'm developing this on my PC, visu ...Show All
SQL Server Date Formats In Analysis Services 2005
Hello, I've been having an issue trying to display anything other then a Long Date in Analysis Services. I've used the Server based Time Dimension and I've also tried creating a dimension for a User Created Date Table. It seems no matter what I do the date attribute always displays as a long date. Any Ideas If you need more flexibility (and most applications), what I typically recommend is to create a ...Show All
Visual C++ error LNK2019
I have been wrestling with the following error for the last few hours: Options.obj : error LNK2019: unresolved external symbol "public: __thiscall PayoffOption::PayoffOption(void)" ( 0PayoffOption@@QAE@XZ) referenced in function "public: __thiscall PayoffCall::PayoffCall(double)" ( 0PayoffCall@@QAE@N@Z ) C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\Projects\MFEcourse\Debug\MFEcourse.exe : fatal error ...Show All
SQL Server What does and does not get backed up or log shipped in 2005.
This is a compilation of questions from other people: 1. Will managed code objects get backed up with the database or must the dlls be copied manually (Answer: They get backed up with the database. No manual backup of the dll files is necessary.) 2. If you have two servers and are using log shipping, how will managed code objects be handled Will they be available after the log is processed on the other server 3. Full-text indexing relies o ...Show All
Visual C++ Latest compiler creating XP-only compatible .exe files
[had no luck on the Visual Studio Express forum...] Has the compiler for this new release version of VC++express changed since the beta On a different forum, the following posts have been made: " I always use UPX to compress my binaries, and it seems that compressing the output of the new compiler produces something that doesn't run." "Is there any managed code in it UPX butchers that as I recall as it is not actual valid machin ...Show All
Visual Studio Team System Just Can't Publish from Command Line
I have a batch file I'm creating to do nightly builds. I think it's pretty simple, just doing a build of a small sample application I wrote to demo some TDD ideas: cd D:\TDDDemo\Workspace tf get msbuild Solution\TDDDemo.sln MSTest /testcontainer:Solution\TDDDemo\bin\Debug\TDDDemo.dll With this batch file, I'm able to change to my workspace folder, get the latest code, do the build, and run the tests. Every time I try ...Show All
Architecture Need help on solution architecture employing BizTalk Server & MSMQ Server
Hi, I have a potential software project for a large ad composition agency. The requirement is briefly as follows: 1. There will be front offices located in more than a dozen locations across multiple states. These front offices would be posting requirements about advertisements to multiple back office located in some other country. Each front office would have about 10 users. 2. Each ad ...Show All
