Louisb's Q&A profile
Visual Studio 2008 (Pre-release) Window Layout Manager: doesn't position upper left correctly
I've noticed that the window layout manager doesn't properly position the upper-left corner or my application's windows. I have some fairly wide windows, but there are narrow enough to fit on the screen. However, most times when the window is created, the layout manager positions the upper left corner such that some of the right part of my window is cut off. I always have to drag the window back onto the screen to see the whole thing. Do I need to set something to fix this Or is this a bug Redburga, The default location for a Window when it is shown comes from the system default. You can find out p ...Show All
Windows Forms Best practice to email all our members
Hi, I need to email everyone who is a member of our organisation and I need to do it from a list held in a dataset. There could be up to 30,000 people in this list. Given that background, is the best practice to create a mailmessage object for each person and SMTP each mailmessage 30,000 times, or maybe BCC everyone using one mailmessage Or ...Show All
.NET Development Storing Data in Application Scope
I am planning to place a set of name,value pair of data which would be used very frequently in application. These set of name values will be used to populate the select boxes across the asp pages. My application is a ASP application residing on a IIS server. I was planning of using a Dictionary object to store the data in the Application Object and then thought of using it in my asp pages. But IIS doesnt accept a Dictionary object on the Application Scope giving error because of some threading issue. Pls give me a solution to store these name value pair sets in application Scope. Any help is greatly appreci ...Show All
Game Technologies: DirectX, XNA, XACT, etc. VC++ 2005 Express & MDX9(October 2005)
Hi everyone, Can you please tell me if it possible to Managed DirectX 9 (October 2005) from within Visual C++ 2005 Express My code stumbles at a simple line: PresentParameters^ presentParameters = gcnew PresentParameters(); I can compile and build, but when I try to run this code, the debugger gives an error (pointing to line above): An unhandled exception of type 'System.IO.FileNotFoundException' occurred in myapp.exe Additional information: The specified module could not be found. (Exception from HRESULT: 0x8007007E) This looks quite strange to me. I read on Tom Miller's blog, there were some namespace issues with previous MDX9 versio ...Show All
Windows Forms Exception Handling in Windows Forms
All, I want to bring the focus to handling General Windows Forms exceptions. In ASP.NET we have Global.asax.cs file that has Application_Error() function where all the exceptions that's not been handled for the application bubbles to the function and you can handle the exception any way the programmer wants. I am wandering if there is a way in Windows Fo ...Show All
SQL Server IIS 6 MMC problem with ReportServer and ASP.NET configuration
Hello, I had a working Report server till I did the following: - Go to IIS 6 MMC - Display Reportserver vs properties - click on the ASP.NET tab (2.0 50727) - click on the "Edit Configuration" button - Look at the config, do not change nothing - Click OK This has kill the Report server, it is now giving an error: An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help Object reference not set to an instance of an object. Just to see, I did the exact same thing on another test machine and it did screw up the report server a ...Show All
.NET Development Socket, detect message boundaries for objects - working code?
Hi, I'm stuck with a problem that is bugging me for days. I'm custom serializing objects and sending them across async TCP sockets. However, I have a problem deserializing messages when the receive is split up in different packet sizes and I just can't figure out how to get it right. The problem is, that all works fine for a couple messages but then the header size is read incorrectly (I'm sending a header for each messages that tells the length of the incoming message so I can detect the message boundary): 2005-11-21 16:13:12.0468|INFO|Test.Server.ClientCommunicator.Server|Received connection from: 127.0.0.1:1990 2005-11-21 16:13:12.109 ...Show All
SQL Server SQL Server 2000 and SQL Server 2005 have the different behavior
SQL Server 2000 and SQL Server 2005 have the different behavior when they close record set earlier opened from the same client application (used ODBC or DB-Library). SQL Server 2005 sends to client a large amount of data while SQL Server 2000 does not do this. Probably these data are the rest of the result set on the SQL Server 2005, which application did not read completely. The difference in query processing can be observed if the SELECT command is used with ORDER BY data field, which is not used as a cluster index. Data table must be sufficiently large. This problem does not appear if I do not use ORDER BY or use ORDER BY data field used ...Show All
Visual Basic Network Question
Here's an interesting question... I've re-made a game called Atoms (was an old Amiga game hehe) as a single player game with a score. Is there any way I can set up a server program on my computer, and then add code to my game so that high-scores can be uploaded to my computer and then viewed by others (If so, I need for the program to be able to show a friendly message when the server is not available too!) Thanks in advance!! - Javawag Oh, PS... if you're wondering what Atoms is.... here's a java version against a computer player (not made by me!) http://www.agon.com/doodle/two.html @ ...Show All
Visual Basic how-to catch when data changed on form?
I have a form with both a TableAdapter and other TextBox. When the user changes the data in the fields connected to the TableAdapter and click the NEXT or PREVIOUS button, it calls the BindingNavigatorMoveNextItem.Click. My problem is: I checked me.dataset.HasChanges and it says FALSE (although the data was changed). What I don't understand is this: if the user click the NEXT or PREVIOUS button, the me.dataset.HasChanges says TRUE (although the current record hasn't changed, it's the previous one that has changes). It seems like the me.dataset.HasChanges event doesn't get flagged until the next or previous record h ...Show All
Software Development for Windows Vista Windows Workflow Foundation beta II
Similar to the issue reported here -> http://forums.microsoft.com/msdn/ShowPost.aspx PostID=88635 I'm running the exact same version of VS.NET 2005 Beta 2 (beta2.050215.4400) on two machines but on one machine I get the following error when VS.NET starts up: Package 'Microsoft.Workflow.VSDesigner.DesignerPackage, Microsoft.Workflow.VSDesigner, Version 3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' has failed to load properly (GUID = {FD526733-BD72-4F81-BEEC-BEB06E2AF59F} ). Both platforms are running the same OS (WinXP) etc. and development environment. On the system that produces the error, it seems I still able ...Show All
Visual Studio 2008 (Pre-release) 3D+2D=non interactive?
How I can understand,Avalon dosen't support composition of 3D and 2D with preserving full functionality of latter.I'm not talking about VisualBrush or something like that,I need some kind of mapping 2D CONTROLS to 3D surface.I this possible Are you planning to add this feaure in the future Because without it 3D is simply nice picture still nothing more. Thanks. You are correct, avalon provides no built-in mechanism for mapping 2D controls to a 3D surface while maintaining the full keyboard/mouse interactivity of the 2D control. Why doesn't Avalon have this Quite honestly, we just ran out of time be ...Show All
Visual Studio Team System TF10216: Team Foundation services are currently unavailable
I finished the TFS install, with a lot of problems. I can connect to the server, however, if I go to "Team Foundation Server Settings | Security" I receive the following errors: Failed to query the source control global permissions for [SERVER]\Service Accounts Team Foundation Server foundation does not exist or is not accessible at this time. Technical information (for administrator) HTTP code 503: TF30059: Fatal error while initializing web service I also get error TF30177: Team Project Creation Failed when attempting to create a new project. ------------ Event Type: Error Event Source: TFS Version Control Event C ...Show All
Visual C# Generic comparison to null broken in July CTP
Everyone knows that one cannot ordinarily use ==/!= on generic types because these operators might be undefined. However, up to Whidbey June CTP it was possible to write (x == null) or (x != null) when x was a generic type. After all, the documentation explicitly states that null comparisons are possible (and will return false if typeof(x) is a value type). Now I've installed the July CTP, and suddenly compilation gives an error on such null comparisons! Um, how am I supposed to compare variables of unrestricted generic types to null now Is that a bug in the CTP Please don't tell me we're actually supposed to write Object.Equals(x, null)... ...Show All
System Center where i can find it to download?
i'm looking for SCCP 2006..i'm msdn subscriber..but i can't find it for download... Any help .. SCCP now available to MSDN subscribers ...Show All
