NIXHEX7332's Q&A profile
SQL Server Web application will not function after being published (database problem)
Hello everybody, Here is the case: 1 – When I make a web application with VS 2005 (on a Windows XP Pro SP 2 machine) using a database (with the included SQL 2005 Express) all works fine on my dev computer 2 – After publishing that application on my Web server (an old but fresh reformatted machine with Windows 2000 Server SP 4 - but without any special feature of server version such as active directory configured -, IIS 5, SQL 2005 Express SP 1 with Advance Services, both 1.1 and 2.0 frameworks installed on it). I have this error when I call the application from IE: (Be kind as all my configuration and error messages are in French so I try to translate them the best I can but if translation is not clear tell me – and if someone ...Show All
SQL Server DR: Replication vs. log shipping vs. clustering vs. database mirroring........
Up to now we have gotten by without having any local DR copies of servers (if a sql server goes down we are usually able to get it back in less than 3 hours). But I want more now. I want to trim the "down" window to no more than 5 or 10 minutes. (Immedate failover would be nice but is not an essential requirement. The essential requirement is to loose no data!) I have a spec of knowledge in these areas: SQL 2005 Clustering (requires approved hardware, quorum disk, etc. involved) SQL 2005 Replicaiton SQL 2005 Log Shipping. SQL 2005 Database mirroring. ( needs three servers) Which approach do you think is the most straightforward, sparing of hardware, yet reliable way to get us back up and running after a sq ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Palette Swapping
How would I go about implementing palette swapping for 2D animated sprites Le't say I have a bunch of 8-bit indexed png images, that all use the same palette. Now I want to create a different palette to apply to these images when I draw them (maybe for player 2). Also consider the possibility that the images might have the same RGB color mapped to different index values in one palette, but they might map to different colors in another palette. (Maybe there's an evil dark palette were all the colors are black or shades of gray, and another palette where there's a logo on a shirt that's only visible in that palette, in others it's mapped to surrounding colors) I couldn't find any way to manipulate a palette in the XNA API. How is it done ...Show All
Visual Studio Express Editions Expanding forms
When I expanded my form how do I get all of the elements in my form to move and expand accordingly ...Show All
.NET Development How to monitor an I/O event from a separate process?
I have a third party application that reads a file. I am trying to create an new application that writes updates to the file after that 3rd party app reads it. Is it possible to monitor file access from .NET on the O/S level to trigger my application to syncronize read and writes over time How would you do it If this is not possible, how would you solve this problem other than recreating the third party application (which is not realistically possible) I/O monitoring seems to be possible, as there are programs like http://www.sysinternals.com/Utilities/Filemon.html that does it. I just need to know how they hook into Windows and trigger an event ...Show All
SharePoint Products and Technologies Modify upload page
Hi, i want to create a document library based list, which will be little bit extended in upload item page. I want to let user specify his own filename and let him add some extra information. Im able to create new list that inherits from document library in VS05. But i do not know which exact part i have to modify. Thanks in advance for suggestions. Peter ...Show All
Visual C++ CWinThread derived objects built under only RELEASE, ported to VC++ version 8 don't use all of the CPUs
I recently ported a "multi-thread" application from v7.1 to v8 2005 and built both a "debug" and "release" versions. The "debug" version runs good with no problems. However, the "release" version does not run computation threads very well. CWinThread derived objects are created and run (this is "release" builds only), but the Windows CPU monitor says that only (around) 50% of the resources are used. This is with both multi-processor and single-processor, multi-core machines. The application always used 100% of CPU resources on the v7.1 builds (both debug and release) when 2 or more threads are created, and 50% when only one thread is created (as expected). I could not find a ...Show All
Software Development for Windows Vista Why are so many important design time classes internal only?
I'm attempting to create an activity in a similar style to IfElseBranchActivity. This allows you to select the type of condition, and then set the properties on it. It does this by using a custom TypeConverter and overriding GetStandardValues which creates instances of the possible derived types, and then you can bind their properties. Now the first bit I've managed to do fine, but when it comes to binding the properties of the objects created by the TypeConverter, I get the error that only dependency properties can be bound. So I look at how the ConditionTypeConverted manages to create properties so that they get bound, and there are literally thousands of lines of code in internal classes like PropertyDescriptorFilter, and internal cl ...Show All
.NET Development jro.refreshcache on oledbconnection??? (provider=Jet)
Looking for a c# method of performing JRO.RefreshCache() on a newly opened OleDbConnection where the Provider=Microsoft.Jet.OLEDB.4.0 JRO.RefreshCache() on an ADODB Jet Connection is shown at this link: http://support.microsoft.com/kb/200300/ Thanks in advance to anyone with the answer to this one. Thanks for your reply and the reference. As it says in that article, it appears that "Other connections are unable to see these changes until Jet flushes them to the database", therefore the need for JRO.RefreshCache() if separate connections to the same database are opened in separate processes. Unfortunately, it looks like there is no mechanism for performing this function against an OleDbConnection. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Question: Mouse Input in 2D Games
Hi, I am having problems figuring out how to develope code for mouse input. I have already figured out how to draw a mouse cursor on the screen and move it with the mouse. Now I just need to know how use the buttons of the mouse. Say for example I want to click on a button on the screen. How exactly do I get the mouse button input to do that I have checked MSDN help section and found it rather confusing. If there is a tutorial out there that I could use then that would be great. Thanks. Hi, You can use Mouse.GetState() to retreive the mouse button state. An example is shown below : if (Mouse .GetState().LeftButton == ButtonState .Pressed) Hope this helps. Andy ...Show All
Visual Studio VS 2005 (Final) Install failure -- Setup Failed on component Microsoft Document Explorer 2005
I have ran the clean up tool to remove the previous beta version of VS 2005. So please don't suggest that. I still receive errors while trying to install Visual Studio 2005 Final version. This is the error log file: [11/02/05,10:50:40] Microsoft Document Explorer 2005: [2] Error code 1603 for this component means "Fatal error during installation. " [11/02/05,10:50:40] Microsoft Document Explorer 2005: [2] Setup Failed on component Microsoft Document Explorer 2005 [11/02/05,10:50:45] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InstallManagerHelper() with HRESULT -2147023293. [11/02/05,10:50:45] setup.exe: [2] Component error string not specified in ISetupManager::AddToActionR ...Show All
Visual Basic Cannot add controls to a form
Everytime I try to add any control to a form, I get the error Font 'Ariel' does not support style 'Regular' No mattger what control, new project, old project, all the same. Anybody have any ideas John Not to hijack the thread, but this problem surfaces in many contexts. I have a good Arial font onboard, but I get this error in many different contexts. The simplest is shown below with an ASPX page. I have a known-good Arial font. In fact I went to safe mode, deleted it, and then added it back with the file that comes off the OS CD (after expanding it). It has the same checksum as the original file. What would be most helpful is the chain of things to check. I'm guessing that Arial is the default font f ...Show All
Visual Studio Tools for Office VSTO Excel alternating row
Hi, How can I change my ListObject rows in alternating color I already populated data into my ListObject but, I couldn't find out a way to change that in alternating color. Thanks, Myo The ListObject API does not provide a mechanism to do this on a per row basis automatically. You will need to loop through all the rows in the ListObject and check the value and apply the formatting to the cells. ...Show All
.NET Development Problem passing typed DataTable as WebMethod parameter
Hi, I'm knocking up a proof of concept project and running into problems with datatables. Basically I have two webmethods one returns a typed datatable (my client binds this to a datagird and adds/updates records) the client then hits save on the bindingNavigator (all done using wizards). Within the bindingNavigatorSave event I call my second WebMethod which accepts the typed datatable as a parameter. The problem is, when the WebMethod gets the DataTable it has Count=0. I put a watch on the webmethod call in the client and the table has Count = 2. Here is another post which explains the problem much clearer. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=282125&SiteID=1 Can someone please help I am on the ...Show All
Visual Studio MRefBuilder Index Out of Range Error when documenting internals
When I turn on the documentation of internals I receive an IndexOutofRange error in the MRefBuilder. When internals are turned off all works fine. Any ideas Olaf, This appears to be a bug in MrefBuilder. I am going to Debug and will provide a fix and also an explanation after I found out what the issue. Thanks for pointing this out. Anand.. ...Show All
