Tim Howard's Q&A profile
Visual Studio Express Editions Problems with deserializing objects from multiple classes
I need help on the following. I have 2 classes generated from 2 schemas using xsd.exe. The object of one class is an embedded tag in the other class. When i try to deserialize the xml file into local object, i only managed to deserialize the tags for the outer class but failed on the objects for embedded tags. The problem lies in class didl.cs (the outer tag class). Within the statement class, the property Any is recognized as XMLElement. ...Show All
Visual C# Overloading = operator
Is it possible to use = operator to copy one object to another much like in C++ (using already created copy constructor), so if I write MyObject A = new MyObject(); MyObject B = A; A and B wouldn't point to same object but actually point to two different objects (that have the same state, but are infact different). I understand that it cannot be done OOTB because overload of = must be static method, but I'm interested is ther ...Show All
Visual Studio How come I only see one row of data?
I'm using .NET 2005 Beta, SQL Server 2000, and attempting to create a local report using the reportview control. I have a very basic report that I created by first dragging the ReportViewer control onto a form, specifying a new local report, and created a dataset. When I specified the report on the reportviewer using the SmartTag, it generated an ObjectDataSource for me. I dragged and dropped fields from the DataSource window to the Report to ...Show All
Visual C++ ultra fast binary writes
Hello, can anyone please help... This is a bit of a general question. My C knowledge is limited to the K&R book. I have used the fsutil tool on windows xp and noticed that the command: fsutil file createnew c:\$delthis.bin 1234567890 which creates a file over a gigabyte in size is extremely fast - it takes about a second on a PIII 800MHz with 256MB memory. This seems to be amazing given that it zeros the whole file, rat ...Show All
Visual Basic Clear IE history
After i click the logout button, it will go to log out page . But when i click the Back Button on browser, it can log back to the page before. What i want is, didn't allow the user to logging in to the page before without sign in. I assume you're talking about a site you're working on www.asp.net is the place to ask ASP.NET questions. ...Show All
Visual C++ how to read a exe file
Hi all I have a problem. i have situation where i need to send a complete C program made in .net 2003 to another pc using socket. Now rather than sending individual files CPP and .h files(since there can be more than 2 or 3 files), i deicded to make an exe file and then send exe file to other pc. Now i am able to create the exe file but i am not able to read it using c++ file handling. here is the code #include<iostream> #include ...Show All
Visual Studio 2008 (Pre-release) February CTP Breaking Changes List
http://windowscommunication.net/collateral/pages/BreakingChangesJanCTPToFebCTP.htm The biggest impact change is documented on Ed Pinto's blog: http://blogs.msdn.com/edpinto/archive/2006/02/22/537027.aspx Quote: system.serviceModel/services/service/@type has changed to system.serviceModel/services/service/@name . Before <configuration> <system.serviceModel> <services> <service type ...Show All
Visual Studio Express Editions Visual Basic Installation Error 1304
All, I am having a bit of trouble installing VB 2005 Express Edition on a Windows XP Professional Machine. I am a local administrator as well as a domain administrator so I know it has nothin to do with privileges. I am using the manual installation as we are unable to connect to third party program installation procedures through our proxy server. So, I have tried to install the program and it installs the .Net Beta 2.0 perfec ...Show All
SQL Server Looking For Examples Of Stored Procedures in C# or VB.Net.
Hi, Does anyone have any links to examples of stored procedures written in C# or VB.Net instead of T-Sql. I'd like to see how it looks and works. Thanks! Ken. There are several examples available if you installed the samples and documentation. They are located in the C:\Program Files\Microsoft SQL Server\90\Samples\Engine\Programmability\CLR by default. ...Show All
Visual Studio Why my form cannot release resources(such as memory)?
Hey, I have a MDIParentWindow ,and I open a MDIChildWindow from it.This MDIChildWindow is using CrystalReportViewers to show some Crystal report documents.But I noticed after I closed this MDIChildWindow ,the system resources used by this MDIChildWindow were not released.If I open and close this MDIChildWindow again and again,it happenned everytime.Would you please tell me what's the problem Appreciate for any help. In MDIParentWindow I wro ...Show All
Visual Basic Making a picturebox have a transparent background
I have a picture of a panda with a pink background (panda_down.bmp) and I was wondering: how do I get that pink background to be transparent Draw the image yourself in a paint handler, and use the imageattributes class to make 255/0/255 ( magenta ) transparent. ...Show All
Visual Studio Common Settings for all the projects in a Solution
Hi, I have an issue, if you could find time then can you please suggest some opinion Issue: I have a dotnet solution and under that a no. of projects are existing. I want to control project settings(like buid type, Enable/Disable Framepointer etc..) for each project from one common place (may be xml file or anything else). When ask to build solution it should read settings from that file and apply to each project and then it should build. One w ...Show All
Smart Device Development Need Help for API List
Hi, I am developing smart device application for Pocket PC and Smart Phone by using CF 1.0. I need your help. What my question is How many DLLs are in the CF 1.0 (for eg. mscoredll.dll, coredll.dll, system.dll...) and API list (eg. SendMessageW(), FindWindowW() are in the coredll.dll) for every dll. Please reply your suggestions or links.. Thanx. GANESAN M. General information about compact framework http://msdn.microsoft.com/li ...Show All
Visual Studio Team System "Unexpected token was encountered" error after schema import
Greetings, After importing a schema from a SQL Server 2000 database to a project targetting SQL Server 2000 the parsing engine seems to have some problems with specific constructs... IF dbo.fnIsBillPullError() = 1 "Unexpected token was encountered" error being generated for User defined Functions. RAISERROR ( '%s (%d)' , @Severity, 1, @sMsg, @iErr) "Unexpected token was encountered" error being generated ...Show All
Visual C# Knowing when a control has focus
Hi howzit I have a panel which displays many different controls after certain user events...i.e. the controls are instantiated and displayed in runmode. How do I know when one of these controls has focus i.e. how can I create a Enter Event which relates to any control in this panel's collection, so that when a user clicks any of these run time controls, i can run code and get location and size information from this particular contro ...Show All
