Andrew Cherry [MSFT]'s Q&A profile
Windows Forms Screen Refresh Problem
I'm developing windows forms using VB.NET 2003 and whenever I run my application I have screen glitches. For example, If i drag a screen I developed it creates a window streak on the screen. I tested this problem out on another computer and&nbs ...Show All
SQL Server Using XML fields in Report Models
It is possible to use a XML field in a report model The data type "XML" is not present in the list of datatypes. ...Show All
Visual Studio Reportviewer fails to print 4 out of 5 times
The reportviewer shows the report in HTML preview. when the report contains several pages and the user clicks on the print button he / she gets the print dialog , after clicking on the print button from there the hard disk shakes, rattles and rolls but 4 out of 5 times nothing comes out of the printer. this behaviour has been noticed on several pc's now and most often when the number of pages in the preview is different than the real number o ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Lost Device? What Scenario?
Hi I Have a problem with a simple D3D application. The program runs in windowed mode. 1) When I minimize/iconize the window it hangs (not crashes) in the taskbar and I cannot restore it again unless I forcibly close the window, as if it were running an infinite loop. Even the Debugger cannot report anything what's wrong. I can only close it with the debugger. 2) While resizing the window quickly and after sometime I get the error messag ...Show All
Visual Studio Team System "Review unused parameters" shoudn't apply for deserialization constructor
... and for GetObjectData(SerializationInfo, StreamingContext) method as well. What do you think public HandleBoxProperties(SerializationInfo info, StreamingContext context) : this() { // if (settings == null) throw new DeserializationException(); settings = (Hashtable) info.GetValue("data", typeof (Hashtable)); } Andrew, I can't reproduce this, this rule should already ignore ...Show All
.NET Development Async Send / Receive
In The Name of God hello this is my send and receive asyncronous algorithm: I send the length of algorithm and then actual message. I have multiple messages to send which they are over and over again, i mean i send user name and them immediately i wanna send password, but the problem is when i wanna receive the password size, Surprisingly i receive the actual password.....and so the size would be something awsome and the program blows....or so ...Show All
Smart Device Development using multiple forms
Hi, Just would like to know if it possible to nest forms up to 4/5 deep, without keeping them all open. For example: form1 enter button clicked --> show form 2, and so on. Closing each form behind, this will not work with the Show command because it will not let you open multiple windows in succession. So far I have tried another method, BUT I have multiple forms open (want to try and limit this). This using: fclsForm1 frmF1 = new fclsFor ...Show All
Visual Studio Express Editions IIS/Cassini works locally but could not run it remotely...
Hi! I really need help here... I've built an ASP.Net 2.0 application using VWD. So I proceeded to setup IIS 5 normally with Anonymous Access security, set the .Net Framework mapping to version 2.0, and double checked the security settings. After that, I was able to access the site locally. The problem is that I can't access the site in a different computer which was in the same network. I could PING my pc from the said workstat ...Show All
Architecture db design question. . .
My boss and I are having a disagreement. In our schema (SQL 2000), we have SSN nullable indexed. A year ago, we took a job that allowed one of our clients to do some batch processing that updated their HR database personnel into our database. The driver on this was an employee number. If the employee number is found, data is updated, if not it is inserted. Everything worked fine when it was one branch office. ...Show All
.NET Development Problems with parameterized sub selects using MS Acess 2005
Hi MS Developers, I would like to know what am I doing wrong! When I use the bellow select statement in the MS ACcess GUI, it works, but here not. Only when I separate the two SELECT statements... The sub select generates problem here ... WHY I use VS 2005 Team Edition and MS Access 2002 /// <summary> /// Executes the SQL statement /// </summary> /// <param name="auID">ID</param> ...Show All
Architecture Software architecture... I'm stuck!
Hi all! I'm currently stuck in the design process of my next app. This is nothing new as I've been trying to get past this particular hurdle (over several projects) for the last 3-4 years without much success. Everything goes well until the end of the requirement gathering phase. I have a list of detailed , categorized requirements and I think the next logical step would be to work on the architecture of the project at a highest possible level o ...Show All
Windows Forms Vb.net Car depreciation Assignment!
Hello, I have an assignment for my class to create a little windows app that depreciates the value of a car over 3 years. It supposed to depreciate like 20% each year using some sort of loop. I'm using the Do....While loop structure. Howev ...Show All
Visual Studio Team System Setting options for VBScripts wrapped in Generic Tests
Hello, I have a number of Test Scripts written in VB that I'd like to hook into the Test Manager in Studio 2005. While I can wrap them using Generic Tests, they all take different command-line parameters that are used to turn on or off specific portions of the tests. They also all need some additional common configuration details like the Source and Target machine information. I'd like to have an easy way to change these input parameters so I ca ...Show All
Visual Studio Team System VSEnterpriseHelper error
VSEnterpriseHelper.axd not documented I created a unit test project for a Web application and when I am trying to run from the test manager any of the generated methods, I am getting the error: 'The web site could not be configured correctly; getting ASP.NET process information failed. Requesting 'http://localhost:6005/registration/VSEnterpriseHelper.axd' returned an error: The remote server returned an error: (500) Internal Server Error.' ...Show All
Visual C# Accessing an Array using Propery
Hi, I am using properties for Setting and Getting data values, such as, public string ModuleExists{ get{ return moduleExists; } set{ moduleExists = value; } }//end public string ModuleExists How would one use the above concept if the moduleExists is an array of values Thanks Jeff public string[] ModuleExists { get { return moduleExists; } set { moduleExists = valu ...Show All
