ngy_tms's Q&A profile
Visual Studio 2008 (Pre-release) Cannot re-initialize ResourceDictionary instance. Error at object 'WinFXTestApp.Window1'
When I started new AppDomain and inside it used Application.LoadComponent(uri). uri = {WinFXTestApp, Version=1.0.2382.39668, Culture=neutral, PublicKeyToken=null;Component/window1.xaml} I got XamlParseException: "Cannot re-initialize ResourceDictionary instance. Error at object 'WinFXTestApp.Window1'." bei System.Windows.Markup.XamlParseException.ThrowException(String message, Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri, XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type objectType) bei System.Windows.Markup.XamlParseException.ThrowException(ParserContext parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception innerException) bei System.Wind ...Show All
Visual Studio Express Editions Where does the .NET framework put programs?
I wrote a small application in VB Express and installed it on my laptop which runs Windows ME. After installing the .NET framework the application loaded and ran ok. I'm reconciled to the fact that the .NET framework will have to be installed on all my client's computers (even though it took 20 minutes). But the code isn't located in the "Programs" folder. Is this normal Is there any way to have the installer put them there I want to distribute my application from one CD to run under Windows 98, ME, 2000 and XP. Will this be a problem Publication puts programs In an unpronounceable directory in DocumentsAndSetttings Directory of C:\Documents and Settings\Renee\ Local Settings\Ap ...Show All
Game Technologies: DirectX, XNA, XACT, etc. A few questions about XNA Game Studio Express
I've read the press release, I've read the FAQs and I've visited the GarageGames.com website^^ I was very excited about that announcement from Microsoft since I'm a huge fan of C# and the .Net technology. Here are my questions: 1. Is the Visual C# 2005 Express needed or will the XNA Game Studio Express contain a own IDE build upon VC# 2. Are there any other "Indie" engines being ported to support the XNA Game Studio except Torque X 3. What file formats does the XNA pipeline support I read about .fbx, what other file formats (3D, textures, music, sounds, etc.). I'm hoping for .dds (texture wise) and .ogg, .wav (audio wise). 4. What tools does the XNA Game Studio Express contain (3D model converters, audio tools, etc ...Show All
Visual Studio Native C++ Inline Break Invokes JIT Debugger in vs8 and Fails
I'm using the standard method for stopping a C++ native program midstream (ie): ------------------------------------------------------------------------- #include <windows.h> INT WINAPI WinMain(HINSTANCE,HINSTANCE,LPSTR,INT) { DebugBreak(); return 0; } ------------------------------------------------------------------------- cl -ZI -D_DEBUG -DDEBUG joe.cpp user32.lib ... ------------------------------------------------------------------------- I get the following error: An exception 'Unhandled Win32 Exception' has occurred in joe.exe However, no debuggers are registered that can debug this exception. Unable to JIT debug. After reviewing the "debugging" section of vs8, I've not found anything that would resolve this issu ...Show All
Visual C++ list boxes and data sources...
Here is what i am trying to do: listBox1 displays information from a database. when I click on an item in listBox1, listBox2 displays information from another table. However, i try putting this code in: private : System::Void listBox1_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) { if (listBox1->SelectedIndex.Equals( "Elves" )) { listBox2->DataSource = "gamestaBindingSource2" ; } else { listBox2->DataSource = "gamestaBindingSource3" ; } } The program runs, but when you get to this section, the following error appears: "An unhandled exception of type 'System.ArgumentException' occurred in System.Windows.Forms.dll Additional ...Show All
SQL Server Blank Error Messagebox Displayed at startup
When I start SQL Server Management Studio an error message box with no text is displayed with the Exclamation ICON. Everything seems to be working after clicking OK though. Anyone else experienced this. Also... Why is it that I can't repair the installation from Add and Uninstall Do I have to uninstall it to repair it The SQL 2005 is the Developer Addition with a new install... Does repairing .NET Framework 2.0 fix this problem You can do that by going to Control Panel > Add or Remove Programs and clicking on the Change/Remove button for Microsoft .NET Framework 2.0. When the setup dialog appears, select Repair and click Next. Thanks, Steve ...Show All
Commerce Server Can I rename a Commerce Server Site?
The name of the site I'm building has changed, and so I need to rename the site in the Commerce Server Manager. How can I accomplish this. i'm aware I'll need to change all references in the web.config for the site, but in particular, how can I change the name of the site in the CSM Thanks, Dave Hi Dave, If you download the site configuration tools from my blog post you'll have a proper API-based method for setting those properties: ECHO Creating the %SiteName% application resource SiteConfig.exe %SiteName% %SiteName% /Create:MSCS_Address SiteConfig.exe %SiteName% %SiteName% /Update:s_ProgidPUP="Commerce.AddressPuP" SiteConfig.exe %SiteName% %SiteName% /Update:s_NumberOfServers="1" SiteConfig.ex ...Show All
SQL Server Problems connecting to SSAS instance over HTTP in Excel 2003
Our Biz users are all running Excel 2003, and we've recently set up a bunch of cubes that we'd like to open up to them. I followed the steps here: http://www.microsoft.com/technet/prodtechnol/sql/2005/httpasws.mspx to set up HTTP access to SSAS2005. It works great from my machine, I figured because I had SQL 05 installed locally and all the requisite drivers, etc. On our biz users' desktops, however, it wasn't as peachy. I first figured out I had to install MSXML6 and the SSAS 9.0 driver on their machine to connect to the cube. I downloaded those from here: http://www.microsoft.com/downloads/details.aspx familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en Once I was able to set up the connection to the cube, and abo ...Show All
Visual Studio 2008 (Pre-release) AJAX-like Data update in Loose XAML
I am wondering if I can do this in loose XAML. I have a simple XAML file that implements a number of text displays, which are data bound to an XmlDataProvider. The XmlDataProvider points to an aspx file, that, when requested returnes some data in XML form. Both the XAML file and the aspx page are sitting on a website, say http://localhost/test The XAML File: <Page xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " > <Page.Resources> <XmlDataProvider x:Key="DataUpdates" Source="http://localhost/test/GetSomeData.aspx"/> </Page.Resources> <Canvas> <Rectangle Fill="Red&q ...Show All
.NET Development how can i embed realplayer into asp.net 1.1
Hello I'm using asp.net 1.1 and i want to embed realplayer to my webpage to play ram or rm file and i also have a list of clip, then i want when i click on 1 clip, realplayer that i embedded in asp.net will play it Can anyone help me Thanks alot thanks alot Now i have this User Control Page <%@ Control Language="vb" AutoEventWireUp="false" CodeBehind="page1.ascx.vb" Inherits="MyWeb.Page1" TargerSchema= http://schemas.microsoft.com/intellisense/ie5 %> <script language="javascript"> function changeProgram(program) { document.Real_Play.src=program } </script> <object id="Real_Play" name="Real_Play&qu ...Show All
Software Development for Windows Vista Visual Studio 2003 hangs on Vista Build 5472
If I try to use the "Find in Files" feature of VS 2003, it just hangs VS and you can only kill the process. This happens when you select search in Entire Solution or Current Project. Note: I have launched VS to run using Administrator. This did not happen on Vista Builds 5342 or 5308. Is there any workaround Thank you very much! I had to install XP just to use VS 2003. Now that this sorts out the find-in-files problem, it's working just fine for me now. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 1.) Lock/Unlock vs. SetData/GetData and 2.) predefined vertex formats
Two points spring currently to my mind. Is there any reason besides simplicity not to use the common Lock/Unlock mechanics I would prefer the addition of this to the API. GetData/SetData canthe simply be mapped onto this. I have a large terrain, that I tesselate into the locked buffer directly... With this new scheme I have to build a temporary array and then copy over via SetData, same with textures. On the other hand, if we have to live with this, why do we have the managed pool anymore, kind of pointless! The other thing are the predefined vertex formats... Any reason to not expose the members directly and use setters and getters instead I don't see the point here too, this just forces us to create one intermediate result and copy oper ...Show All
Visual Studio 2008 (Pre-release) Animating a ListBox Scrolling Text
I have a small project i'm working on thats Similar to the RSS Feeder in the Vista SideBar...I havent done alot of Animation so i'm fairly new to it in general.So the Question is where can i get a good example for Scrolling the RSS Feeds Upon the ListBox being Populated As of right now my project just uses a Veritcal ScrollBar,i want it to Auto Scroll on its own as the Feeds are Feed into the project,and have a Fading appearance,as the Feeds reach the top of the ListBox,along with making the Articals Clickable..It lists the URL in the Feeds but as of right now i cant Navigate to that Particular RSS Feed.. here you were animating the entire li ...Show All
SQL Server Query Oracle Table In SQL & Put In Temp Table
Hi all, I am querying a table in oracle, the server connection to the Oracle database is determined by a criteria. Though how can I put the results from the oracle query into a temp table This is the code i'm using for the query: DECLARE @cmd VARCHAR(500) declare @Year varchar(25) set @Year = '2006' DECLARE @Link VARCHAR(100) DECLARE @Table VARCHAR(100) select @Link = Server from tbl_Conn where Area='Floor' select @Table = Target_Table from tbl_Conn where Area='Floor' SET @cmd = ' select * from OPENQUERY ( ' + @Link + ', '' UPDATE '+ @Table +' SET TARGET_VALUE = '+@Value+' WHERE Date = '+@Year' '' ) ' EXEC (@cmd) How do I put the executed results into a TEMP table Rgds, ...Show All
.NET Development Multiple ExecuteReader()
In the code that follows, the first data connectionn and Read command work fine, the second attempt creates the following error: "IErrorInfo.GetDescription failed with E_FAIL(0x80004005)" Does anyone know why How to fix I need to load a bunch of different tables into a bunch of different arrays within the same Sub routine. Dim strConnectionString As String = .MySettings.Default.dbOptionsDataConnectionString Dim objConnection As New OleDbConnection(strConnectionString) Dim objCommandRead As New OleDbCommand() Dim objReader As OleDbDataReader objConnection.Open() Dim strSqlRead As String strSqlRead = "SELECT InputID, InputValue, MinValue, MaxValue, Increment FROM tblSimulationIn ...Show All
