xRuntime's Q&A profile
Visual Studio Express Editions socket/Comunication
hello, I am learing about comunicating over the internet and i am looking to learn how to create comunication between two programs. I've read some things on socket programming but i do not know how to use it. I will start with something simple like pressing a button on one computer which causes a textbox on another computer to display "button pressed". If anyone could help by posting some samle code,explanation or a link that would be a great help. thanks average joe ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Suggestion: Add detailed error messages to XNA Exceptions.
InvalidCallException is pretty useless when it contains no detailed information. Right now, in order to see detailed problem information a user is required to have: 1. Visual Studio 2005, 2. Unmanaged Debugging enabled 3. Debug version of Direct3D. No doubt the Debug version of Direct3D would always be required, but isn't there a way to capture the Direct3D error output automatically, and put that information into the Exceptions that XNA throws That would help novice developers tremendously, and decrease the amount of questions on this board as well. You might want to post this to the XNA Connection ...Show All
Visual Studio 2008 (Pre-release) WPF Bug or What????
While debugging throught WPF (NO COM) I am running into this again and again. I had posted this earlier too but nobody responded back. Just wanted to know where exactly is COM coming into play. Since we are aiming for production release of our app too, wanna make sure where exactly the things are going sour. Managed Debugging Assistant 'ContextSwitchDeadlock' has detected a problem in 'C:\XYZ..\bin\Debug\NoGen.Sandbox.WPF.vshost.exe'. Additional Information: The CLR has been unable to transition from COM context 0x1a1598 to COM context 0x1a1708 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows m ...Show All
.NET Development Client found response content type of 'text/plain', but expected 'text/xml'.
Hi friends am call a 3rd party web service and when i call one of their methods i get above error any ideas how to resolve this please Thanks for ur help full error text Client found response content type of 'text/plain', but expected 'text/xml'. The request failed with the error message: -- < xml version="1.0" encoding="UTF-8" > <wsdl:definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:submissionGateway/wsdl" xmlns:intf="urn:submissionGateway/wsdl" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:sg="urn:submissionGateway" xmlns:wsdl="http://schemas.xmlsoap.org/wsd ...Show All
Visual Studio 2008 (Pre-release) Is WriteableBitmap useless?
Sure, it gives us WritePixels and the internal WICBitmap* functions overwrite its buffers nicely, but looking at the memory allocation in taskman the framework still reallocates the data somewhere deep in the rendering pipeline for each update. At 25fps and moderate resolution this means hundreds of megabytes per second. This is as fast as creating a new BitmapSource each time. Until WriteableBitmap is brought up to snuff, you can use 3.5's InteropBitmap which lets you create a BitmapSource from an HBITMAP, memory section, or HICON. It will be very fast, but if you happen to write to it while we're reading from it you will get tearing as it offers no synchronization with the rendering thread. BitmapSource i ...Show All
SQL Server multi step OLE DB error
Hi All, I have a MS Access DB that I have successfully u/graded to SQL Express 2005. I run my code using a recordset as normal, and all connections to the database work fine, but I receive the multi step OLE DB error when it gets to a line trying to populate an address field which has a datatype of nvarchar(max), null. (Field was Memo in Access version before). This field in SQL2005 has allow nulls. I've tried to add an empty string " " to the variable before being saved, but this still doesn't work. Any ideas Hi, The exact error message received is: -2147217887 - Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done. ...Show All
Visual Studio Guidance Package Visual Studio 2005 Project Template not installed on Win XP Service Pack 2
Hi After installing the GAX and GAT, I don't see any of Guidance Packages in my New Project dialog box. I've tried the installation process as stated in software factory documentation of Enterprise Library Dec 2006 CTP. Can anyone help me Thanks Ethan Hunt Hi victor, ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Humm... let's check if your machine has any signs of a successfully installation, please check: - VS public folder (usually @ X:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies ) for files named Microsoft.Practices.*.dll -- there should be a couple of thes ...Show All
SQL Server insufficent system memory
Running a large transaction that runs successfully in SQL 2000 in a couple of minutes but running on another system with SQL 2005 after 4 hours it failed with error “ there is insufficient system memory to run this query” Both systems are running a GIG of memory with 1 instance each and nothing else running. 1 Gig of memory for SQL 2005 seems to be way underpowered as crazy at that might seem. Is the only answer to add more memory or are there settings I can adjust to avoid SQL 2005 from being such a hog Thank you in advanced, Pauly C ...Show All
Smart Device Development Console Application close
hi all, I want to close the console application, when the work is done. but it does not get closed. wht to do plz help Here's a simple console application which starts and terminates. As you could see Application class is not involved at all, it’s only used by GUI applications. If you have threads, make sure to stop them, application won’t terminate until all threads are terminated. using System; using System.Collections.Generic; using System.Text; namespace PPC_CS_V2_Cons_1 { class Program { static void Main( string [] args) { Console .WriteLine( "Console application just started..." ); // Do your stuff here. ...Show All
SQL Server Multiple queries within a single MDX command
Is there a way to return a single cell set from multiple MDX queries I'd like to perform something like the following: SELECT MEMBER {[SalesRegion_TotalRev] AS [Measures].[Value Usd Actual] + [Measures].[Value Usd Scheduled], [Time Period].[Year Quarter].[Year Quarter]} ON 0, [Sales Region].[Sales Region]. CHILDREN ON 1 FROM [cubDashboard] along with.... SELECT MEMBER {[BusSector_TotalRev] AS [Measures].[Value Usd Actual] + [Measures].[Value Usd Scheduled], [Time Period].[Year Quarter].[Year Quarter]} ON 0, [Business Sector].[Business Sector]. CHILDREN ON 1 FROM [cubDashboard] Thanks, Marilyn WITH MEMBER [Measures].[SalesRegion_TotalR ...Show All
Windows Forms COM registration fails in VS2005
In my setup project for a COM wrapper project the COM registration is not occurring. During the build and installation process no errors are listed or occur, everything appears to go successfully. When I run Excel, which creates an instance of the wrapper object, I get the "can't create object" error at the point where the code creates a new instance of the object - Set x = New MyComWrapperObject. I've tried all of the tricks/tips that I could find - removing the project output and manually adding the files, making sure that both the .tlb and .dll have the proper COM registration settings (vsdrfCOM and vsdraCOM respectively), making sure that "Register for COM Interop" is checked, the COM wrapper class has a valid As ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Bounding Box/Sphere
Hi, I'm pretty new to this and I need to create a bounding box or sphere (i'm not sure which to use) for a few 2D images (which are small circles) and then check to see whether they intersect. I have absoulty no idea how to do this and all the webpages I have viewed have given long winded and complicated explanations! The images are called whiteBall and redBall and I just need to create a box or sphere around it. I believe I can use an intersect method to then see if they have collided. Any help is greatly appriciated! Well if it helps I can explain how to use XNA's bounding box The BoundingBox class defines a 3D volume, that takes 2 vectors as parameter ...Show All
SQL Server Need script to loop through all non-system databases and drop all user schemas - Almost there
Does anybody have any tsql code that will loop through all non-system databases on a SQL Server 2005 instance and drop all the user schemas in each database Thanks. We are on track. Basically I am trying to do something like this: create table #dbs ( dbid int IDENTITY ( 1 , 1 ), dbname nvarchar ( 128 )) insert into #dbs ( dbname ) select name from master . dbo . sysdatabases where dbid > 4 select * from #dbs DECLARE @sqlcommand VARCHAR ( max ), @useCommand varchar ( max ), @delimiter CHAR , @dbname nvarchar ( 128 ), @idx int SET @delimiter = ';' select @idx = min ( dbid ) from #dbs while @idx is not null begin ...Show All
Internet Explorer Development How to redirect to an other url in IE add-on ?
I try to write a IE add-on to restrict the visiting of web site, user can only visit some allowed web site. So I cancel the request in DISPID_BEFORENAVIGATE2 event if the web site is not allowed, it works, but how to redirect to a specified URL IWebBrowser2.Navigate2 don't work. You can call IWebBrowser2.Navigate with another URL in the BeforeNavigate2. You must use the IWebBrowser passed as the first parameter in BeforeNavigate2. What exactly doesnt work for you ...Show All
SharePoint Products and Technologies Hide domain name for users
Hello all, I have set up a sharepoint 2007 site with multiple users, however each username is displaying as domain\username when assigning tasks, events, and general operations. How do I remove (or hide) the domain so only the username displays Thanks! ...Show All
