Janny's Q&A profile
Smart Device Development a problem has occurred with edm.exe
When I run the Pocket PC Emulator (with and without debugging in VS2005) I get the following message: "We're sorry....A problem has occurred with edm.exe. Please tell Microsoft about this problem, at no cost to you. The data is used exclusively to improve products." Then i have two links to either show report details or turn off error reporting. If I wait long enough, the message goes away and my program appears to run normally. Can anyone tell me what this is all about Are you in the process of debugging your exe when this happens Make sure that all locals\watch\callstack\etc windows are closed and see if it repros. Could be that something is being evaluating that's exposing a bug (if that does seem to be case, anyth ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rendering to a Texture?
I tried to do a search but kept getting an error message. I was wondering if anyone had an example on how to render to a texture under XNA. Thx Create the texture with: ResourceUsage = ResourceUsage.RenderTarget SurfaceFormat = myGraphicsComponent.BackBufferFormat ResourcePool = ResourcePool.Default Get the top surface with texture.GetSurfaceLevel(0) Set that as the rendertarget with graphicsDevice.SetRenderTarget(0, surface); Render, and then restore your original backbuffer. ...Show All
Visual Basic ListBox
How do i add all item's names to a listbox from a file in my hard drive I mean, i have a lot of txt files in c:\Prog\sts, and i want to add this txt files names to a listbox.How do i do this Your description is really not clear what exactly you are looking to do. The previous code samples gives a number of different options. If none of these is specific to what you are trying to do - then you'll need to provide more information. ...Show All
SQL Server Confusing layout in SSIS with regard to "Execute SQL Task".
I hope someone can help. I'm trying to read rows from a SQL Server Table and for each row use a few columns as parameters into a query to be run against oracle which will delete oracle rows. I add OLDEB connections for Oracle and SQL and then I try to add a "Execute SQL Task". I've also tried a "OLE Command" but I can't get the mapping of the columns to the parameters to work. There is lots of articles on the web that talk in general around parameterized queries but no clear examples. I also find the difference between the Control Flow and Data Flow tabs confusing as its not intuitive where to place things. It also appears to force me to re-define things that it should already know (this is no doubt because ...Show All
Software Development for Windows Vista Direct X 9.0c and Windows Vista...
I keep getting an error when trying to run certain video games on my windows vista computer: This application has failed to start because d3dx9_31.dll was not found. During the installation process of these games it asks me if I want to install DirectX 9.0c and I click no because I figure windows vista has DirectX 10, right Do I need to install DirectX 9.0c Will that even work since the DirectX 9.0c download on http://www.microsoft.com/downloads/details.aspx FamilyID=0A9B6820-BFBB-4799-9908-D418CDEAC197&displaylang=en doesn't list windows vista as being compatible with DirectX 9.0c Hi, I'm sorry but this forum is geared for software developers having issues with their applications and Vista ...Show All
Visual C# Diferences betwen String and string ?
What's the diference between "String" and "string" Is there any There is no difference - "string" is a synonym for "System.String". (You're supposed to use "string" in a C# program for the sake of consistency.) ...Show All
SQL Server Comma Separated Values
I need deptno and against/beside it comma separated ename's for join dept.deptno=emp.deptno in a single query. I require deptno=10 against/beside ename=scott,blake,richard,moxon like this. can u try this select * from dept,emp where dept.deptno = emp.deptno and emp.ename in ('scott','blake','richard','moxon') ...Show All
Software Development for Windows Vista WF as a web service & capturing WF events
I have seen a few examples of using ASP.Net as a WF host and then the host code subscribing to workflow completed, terminated etc. events. When you expose a WF as a web service, in this case you do not have any such code. What would be the appropriate way to capture such events in cases like this I would think that if I added a global.asax and tried to capture the information there, that this could cause a problem with not knowing which particular workflow was being completed or terminated. Thanks! Hi - Globals.asax seems to be a possible approach! You can get the specific information about the instance from WorkflowTerminatedEventArgs: e.WorkflowInstance. I guess that was your specific question - right ...Show All
Game Technologies: DirectX, XNA, XACT, etc. $(ConfigurationName)
Hello; is it possible to use the $(ConfigurationName) variable XNA Build CTP, just like we can use global variables Another solution would be to define different variables per configuration. Any suggestion would be appreciated, thanks! Hello; I've tried using the $(Configuration) variable in my XNA Build tasks settings for specifying an output directory, just like I would use a global variable @(ProjectPath). Do XNA tasks use their own variables I've seen in the MC2 sample that it was possible to use an environment variable @(MC2ROOT); why isn't possible to use a MSBuild variable such as @(Configuration) Am I doing something wrong or is it just not supported yet I also tried messing direct ...Show All
SQL Server SQL Table valued function as Partition Data source. How?
Hi, How can I use table valued function as data source for a partition Is it possible Here's an Adventure Works example from Erik Veerman's blog - is this the approach that you were looking for http://solidqualitylearning.com/blogs/erik/archive/2005/12/16/1503.aspx >> Managing Analysis Services Partitions with Table-Valued Functions (table UDFs) I've been spending much of my time recently working with Analysis Services 2005 (SSAS). You'll see a few blogs in the near future with some practical learnings/ideas on SSAS in tandem with my SSIS blogging. Here's one of them... Something I've always wanted to do in Analysis Services 2000 (MSAS) was use a ...Show All
.NET Development Getting value from textbox inside repeater
Hi, I having a bit a problem getting the text value from a textbox that is in a repeater. Below is the offending piece of code:- protected void Repeater1_ItemCommand( object source, RepeaterCommandEventArgs e) { int rowid = (e.Item.ItemIndex); TextBox tmpQty = ( TextBox )Repeater1.Items[rowid].FindControl( "txtQty" ); Label tmpName = ( Label )Repeater1.Items[rowid].FindControl( "lblName" ); Label tmpPrice = ( Label )Repeater1.Items[rowid].FindControl( "lblPrice" ); HiddenField tmpID = ( HiddenField )Repeater1.Items[rowid].FindControl( "hidProdId" ); qty = tmpQty.Text; name = tmpName.Text; price = tmpPrice.Text; pid = tmpID.Value; } Repeater1_ItemCommand is declared in ...Show All
Visual C++ Open an C# form in C++ MFC
We have an C# form that need to be open in MFC C++ (Unmanaged), how can this be done easily If you have a small example of that it will be appreciated. Thanks Thanks, I've just find the example(just before you reply ;) ) and it's seem that it can work, but I discover that this will not be the better to do it. In facts, I will create a new Windows Control Library that will be in C# and can be used by ours others softwares. Thanks again!! ...Show All
.NET Development The requested resource is in use. (Exception from HRESULT: 0x800700AA)
Hi, I have a thin windows client in the front end that talks to ASP.NET web services on the backend. Currently this application is going under load testing. When we have 2-3 users simultaneous using the application the users are complaining that they are seeing this error often. This error is not reproducable as it happen randomly. Can anybody who has seen this error or delt with it suggest what could be wrong. On the IIS the ASP.NET site is on it own AppPool. I have used the default IIS settings for the AppPool. The server is a single-core windows 2003 web edition with 1/2 a gig of RAM on it. I look forward to replies on this Thanks Regarding the forum topic, I think a moderator moved the thread ...Show All
Visual Basic How to insert data (probably simple question)
I am quite newbie and I have one, probably simple question. I try to insert data into my database (SQL Server 2005) with this code (VS .NET 2003): Friend Sub Datainsert(ByVal Name As String, ByVal Surname As String, ByVal DateOfGame As Date) Dim ConnectMe As New Odbc.OdbcConnection ConnectMe.ConnectionString = "Driver={SQL Native Client};Server=localhost;Database=ProjektKoncowy;Trusted_Connection=yes;" Dim Writeit As New Odbc.OdbcCommand("INSERT INTO ProjektKoncowy.dbo.Wyniki (Name, Surname, Points, Status, DateOfGame, KindOfGame, Autor) VALUES (Name, Surname , ' 3 ', ' 1 ', DateOfGame ,' 4 ','John Smith')", ConnectMe) Writeit.Connection.Open() Writeit.ExecuteNonQuery() ConnectMe.Close() End Su ...Show All
Visual FoxPro Clipper bug in record 1220?
we had an error during rebuilding indexes in a clipper program. we run the records by 100s to see what is really wrong with it. when it reached the last record, that is 1220, an error appeared. but when we added a blank record, the program run smoothly. what could have caused the error SharathMum wrote: can u post the error message error in line 99 where 99 is just the line number. the line number consists of set index to abcd where abcd is the indexname ...Show All
