Pierce28's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Managed DirectX10 on XP64
Hello, I am porting a C# app which uses DirectX from 32bit to 64bit. I downloaded the Aug 2006 SDK. I looked around and saw that in the folder: C:\WINDOWS\Microsoft.NET\DirectX for Managed Code There are many versions of the DirectX dlls, but there is only one version for x64, and that version is 2.0.0.0, which is DirectX10. I guess this is more of a request for a confirmation rather than a question. Is DirectX10 indeed the only version whose managed code dlls has been ported to 64 bit Or, put another way, if I'm going to use DirectX on Win64, does it have to be DirectX10 Thanks The other MDX dlls do not work when I set the build target to x64. I get a warning telling me they were built for a different p ...Show All
Windows Live Developer Forums Live Messenger Problem - User is allowed to bypass block.
Someone keeps trying to add me to their contact list in MSN Messenger. Every morning I get a prompt to either allow or block him. I block him and even check the Privacy options to make sure he is, but every morning when I sign in I get prompted again. Is there any way around this annoyance Thanks, Tynman Just found this tip on http://forum.mess.be/lofiversion/index.php/t19824.html Seemed to have worked for me at least. -h --- First make a backup of your contactlist by going to Contact > Save instant messaging contacts in main WLM menu (just incase). Next try the following: Close down Messenger if it's running. Click Start > Run, and type: %userprofile%\contacts <enter> If nothi ...Show All
Visual Studio 2008 (Pre-release) Newbie: WCF without Admin rights
Hi, Sorry if this is such an obvious thing (I've had a search on the internet but honestly can't find the answer). I want to build a simple WCF webservice for desktop applications to use. However, when I run my client app on Vista with non-admin users I get a message saying that my App is not responding. However, the same application runs great on XP. I then logged in as admin and modified some settings (adding a url acl) and the client application works okay. So my question is, can I write a WCF webservice which does not require you to be admin (and doesn't require an admin to previously set permissions) for my app to work If so, can anyone give me a code sample Thanks! As far as I know (but ...Show All
Windows Forms Why is a cell ALWAYS selected in my DataGridView
I just dont get this one. No matter what I do, whenever I load my form with a DataGridView, which has two DataGridViewComboBoxColumns inserted, the first cell is always selected by default. I tried setting the focus() for one of my buttons but that did not change anything. I even tried cycling through the selectedCells property of the DataGrid and setting the Selected property to false. NO WHERE in my code, as far as Im aware, do I tell the DataGrid to have a selected cell. Is there some special way I have to do this because of the ComboBoxes If someone can help and needs to see the code, let me know.. thanks... Ok, I think I know where in my code this is happening, but I just dont know what to do about it ...Show All
Visual Basic Problems Retrieving Clipboard From a DLL Assembly, Anybody ?
Hi, I have a problem trying to retrieve the clipboard from a dll even when the CopyToClipboard returns 1 (the data was succesfully copied to clipboard) anybody : Call pdfPage.CopyToClipboard(pdfRect, 0, 0, 100) Dim clipboardData As IDataObject = Clipboard.GetDataObject() If (clipboardData.GetDataPresent(DataFormats.Bitmap)) Then <<<----- Here's the problem because clipboard is empty Dim pdfBitmap As Bitmap = clipboardData.GetData(DataFormats.Bitmap) ....... The funny thing is that running this code in a windows.form works perfectly, can data be copied to the clipboard from a dll Thanks in advance for your help. George Clipboard functions need to be called from a t ...Show All
Visual Studio Team System Baseless merge No Content changes not auto merging...
We are trying to do a baseless merge and the conflict resolution comes up and when we select a file that has not conflicts it is not giving us any auto merge option. If we try to do the auto merge all, it fails because it says we cannot merge them because the two files have changes but we verified that they don't. Now if this was one file it would be no big deal but we are talking about thousands of files and there is no way we are going to resolve each file manually....if this is how baseless merging works, how useful is it Also, when I execute "tf resolve /auto:acceptmerge" I get the following error TF10010: Source control unexpectedly encountered the end of the stream: The char acter was incomplete at stream offset 3841. ...Show All
Visual Basic exporting data to excel
I think I read about this before but I want to make sure: I am exporting data from a datagridview to an excel sheet, and I am coming across an apparent limitation as far as the maximum cell length for excel. I am pretty sure you can normally put more than 255 characters into a cell in excel, but when I try to do the same thing programmatically, I get an error message saying that I exceeded the max limit for number of characters for a cell. Is there any way around this Thanx Iggy Not sure why you're getting this... have you changed the format of the cell in question With the general format specified this shouldn't be an issue... The following code works: ...Show All
SQL Server Setting Up replication on SQL Server 2000 using Distributor running on SQL Server 2005
Hi I have a setup where I need to replicate the database which is actually subscribing from another database. The current setup is all in SQL Server 2000. I need to now setup a Distrbutor on a SQL server 2005 and publish the database using this distributor to another server on SQL server 2000. Has anybody done this before. If yes what will I need to check. Can you please let me know :- 1) SQL Server 2000 which SP should be installed to support this enviroment. 2) SQL Server 2005 which SP should be installed to support this environment. 3) Any thing that I need to look out for. Thanks for any inputs on this. Regards If you are running Win2K3 on your publisher and i ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Compound Components & Z-Order
Two separate questions... 1) Can components be compounded Can one component be the parent of another We know that you can add components to Games via the designer, but what about adding components to others via the designers I thought I saw this but I cannot seem to get it to work. I have a component called Console and wish to add another "Sprite" component to it. No components show up in the toolbox however. 2) How are we supposed to define Z-Order. I want my Console class to display on top of everything else but can find no way to garuntee that this happens. Will this change in the future ...Show All
Visual Basic How to set a printer to be the system default printer?
Hi all, first of all: please be pateient with me as I'm not at all an experienced VB programmer. Reading lots of articles on MSDN I learned how to use PrinterSettings and PrintDialog and control printer settings. What I didn't find, though, is a way to make one of the installed printers the system default printer using VB 2005 Express. If - for some reason - that's not possible using VB 2005 Express, there's still a 2nd option; in the forums I found a link to a technote explaining how to set the default printer using VB 6.0 / through Win32 API calls (http://support.microsoft.com/default.aspx scid=kb;en-us;266767). I'd like to avoid the hassle, but if necessary I would do it. Unfortunately, I don't know how to retrieve the CURRENT system de ...Show All
Windows Forms Article list on windowsforms.net home page
Hi, I'm after a particular article which was linked to (I think) a couple of months back on the windowsforms.net home page, but there doesn't appear to be any way of accessing these older links; only the most recent articles can be accessed. Am I missing a trick in order to get to these older article links Many thanks John. You need to contact the site owner regarding this kind of problem: wfweb@microsoft.com NOSPAM (remove NOSPAM) Probably the old link you are refering to is already deleted (by owner, or by the original author) or renamed. Regards, -chris ...Show All
Visual Studio How can i add two Parent element path in my model?
Hello everyone, I have to confess that i have used the DSL tool for just 1 week, i think it's quite interesting, and will be helpful for my future work for sure. But as a beginner , i did meet some questions, really hope the experts here can help me. Thanks! Here is my problem. I define different DomainClasses, like C1, C2, C3, which all have there own mapping shape classes. I define C3 is ebedded to C1 and C2, so i want to draw C3 shape to both C1 and C2 shapes. There i'm supposed to put both the C1 and C2 path to the "Parent element path" of C3's, but it seems not possible. Can anyone has some experience for this tell me the solution or any other solution will be welcome too. Thank you very much! ...Show All
Visual Studio 2008 (Pre-release) TextPointer.GetCharacterRect throwing NullReferenceException
I'm trying to write code to scroll particular paragraphs of a FlowDocument to the top of a FlowDocumentScrollViewer. What I'm thinking to do is to: 1) Find the Paragraph by Name in the FlowDocument 2) Use the Paginator attached to the FlowDocument and the GetObjectPosition to get a TextPointer to the Paragraph. 3) Use TextPointer.GetCharcterRect to find the offset to that paragraph in the document 4) Find the ScrollViewer elemet in the Template of the FlowDocumentScrollViewer 5) use the ScrollViewer.ScrollToVerticalOffset method with the offset computed in 3. Is this strategy going to work I've run into one problem straight away, which is that in step 3) (and see code below), GetCharacterRect throws a NullReferenceE ...Show All
Software Development for Windows Vista VB6 SendKeys doesn't work
Why does the VB6 function SendKeys not work under Windows Vista Beta2 Build 5384 Does anybody know, if this will be fixed in final version VB6 is out of date, obsolete and unsupported. Any app that uses WPF ( which some apps on Vista may well do ) is not going to support SendKeys, or anything like it. As VB6 is unsupported, I doubt anyone is going to 'fix' it. In fact, it's probably a 'fix' that you can no longer write apps that manipulate other programs, which can obviously be used for bad as well as good. ...Show All
Software Development for Windows Vista Workflow Queue Item not being processed
I created a custom EventListener Activity that creates a queue and then subscribes to it. However, when add a queue item to the queue, it is never processed by the activity. I also have a custom Scheduler Service, so I know work is being scheduled and executed for this workflow instance. The QueueNames are correct. The workflow instance in question executes until my EventListiner activity. It then persists and unloads. After some external work is completed, an item is queued up and the workflow is reloaded and schedule for execution. It then persists and unloads without running my activity This worked in Beta 2.2 and I haven't read anything that would indicate a change to how this worked. Any help would be greatly appreciated. ...Show All
