magnetsRookie's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Different results between REF and HAL devyce
Hi! When executing my pixel shader, results are ok. But when I execute with my recent new grpahic card Quadro FX 3400/4400 results are rubbish. Exactly what happens is that! In my pixel shader I have these four operations Output.weights.x = (1-frac2.x)*(1-frac2.y);\n" // 1 float output Output.weights.y = frac2.x*(1-frac2.y); // 1 float output Output.weights.z = (1-frac2.x)*frac2.y; //1float output Output.weights.w = frac2.x*frac2.y; // 1float o ...Show All
Visual Basic Advice sought on storing data between sessions
What's the best way to store data between application sessions I'm using the built-in Settings to store user prefs, but that does not appear to be the way store other data. I could use a text file or binary; maybe even XML/SOAP. For exanple, I'd like to keep a list of searches or favorite folders, files or bookmarks. Suggestion would be appreciated. For this app., the data is typically file or folder paths. Tha ...Show All
Visual Studio Team System Batch update work items
Is there a way to update the "state", "assigned to", or "priority" attributes in one shot for mulitple work items Assigning multiple items to one individual, closing out multiple items once a build is put into production are two frequent scenarios for such a match update. I'm guessing there's a command line command that I'm not aware of ...Show All
Visual Studio Team System Report server error
Hi, I was trying to generate a model on the report server site under TfsOlapReportDS data source, but I got following exception. An error occurred while generating model. (rsModelGenerationError) Get Online Help An error occurred during the generation of semantic model : [Create mapping between cube dimensions and database dimensions] Unexpected error occurred : Schema indicates that cube dim ...Show All
Software Development for Windows Vista ASP.NET & Vista
Hey gang. I am trying to use ASP.NET on Vista and I'm having some difficulty. I created a default.aspx that just says "hello" and it won't even serve the page with IIS 7. Could someone please help me out I'm getting this error: Server Error in 'Default Web Site' Application. Do I need to run aspnet_regiis.exe I don't want to run it because I know IIS 7 is supposed to come with ASP.NET preconfigured I think But just ...Show All
Visual Studio Tools for Office A newbie question: how to control word directly?
VSTO provides a document-centric way, but sometimes I just want to control the Word directly and do some simple task, e.g. launch the word, ask it to open a .doc file, insert some text into that doc file, and save that doc file into some location on my disk. I don't want to generate some class object in my program, just want to direct the word to do something. Can I do this in VSTO Thanks! Hi, With VSTO 2005 you can only create d ...Show All
Software Development for Windows Vista Is there a filter or a known way to output only some frames of a movie?
Suppose I have an array of frame indices such as [0,4,5,6,10,15.. and so on] I would like that only those frames will be played on screen and all the others skipped. Is there a known good way to accomplish this Thanks in advance. No. Its not documented and I have not tried to figure out the methods. I assume that is has some control to change the number of frames that are dropped. It can be ad ...Show All
Visual C# How to free up memory in C# apps?
hi.. In my application so many variables and XML files are used .. eventhough after finishing off the work with the file, im closing that. It works fine with few number of files but when i uses more than 50 files the application crashes... So. is there any way to resolve this by clearing the memory. need help !!! You need to make sure you call Dispose on any variable that has that method, before ...Show All
Visual C++ Regarding ALignment of structures
Hello All, Happy New Year to all you. I want to know alignment of strutures. I have tested on my VC++ compiler that changing the declarations of data memebers with in a structure changes the size of the structure itself. Even i know that this is byte ordering stuff related. But pls can anybody make me understand all the whole story abo ...Show All
Visual Basic Get Local Users Full Name
Hi All I did post this in VB General but no-one can come up with a answer there so... How can I get the local users full logon name under VB.Net now i.e. John Smith as opposed to SmithJ There was a function for VB6 that would return this but under NET... There was no built-in function for user full name in VB6, whatever API you were using to get it should translate to .NET. ...Show All
Visual C# Using TLS on LdapConneciton
I am trying to connect with TLS to LDap Server on Linux OS. in C# I am using this class to connect the Ldap Server. "System.DirectoryServices.Protocols.LdapConnection" void Connect() { LdapConnection lCon = new LdapConnection ( "some.IP.or.Server Name" ); lCon.AuthType = AuthType .Basic; lCon.SessionOptions.ProtocolVersion = 3; // I want to Connect with TLS // I have failed  ...Show All
.NET Development Could not find file Microsoft.Windows.CommonLanguageRuntime....
Error 3 Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0'. MyProject why is this error showing up i cannot find any help on this issue anywhere, not even in MSDN. At what point does this error show up Among a list of errors When you try to open Visual Studio When you try to run your application The more context you can provide, the bett ...Show All
Visual Studio Express Editions Getting the Header information over FTP.
hello, any idea how to get the file size information over FTP I am using the FTPWebClient class. following is part of my code. FTPWebRequest request = (FTPWebRequest)FTPWebRequest.create(URI); request.method = WebRequestMethods.FTP.DownloadFile; FTPWebResponse response = (FTPWebResponse)request.GetResponse(); after this I tried int length = system.convert.ToInt32(response.contentLength); however length returns -1. I am ve ...Show All
Visual Studio 2008 (Pre-release) Binding to an interface as a "data source"
It would be very nice if the XAML was able to bind to a WCF service and execute methods on that service. This would save loads of code in applications taking advantage of service-oriented architecture, by providing binding from simple UI to services underneath. Developing to a service-oriented architecture, you have a business service layer that executes methods and gets back data. (for example, "get client list", "get ...Show All
Visual Studio Package Load Key for MSSCCI provider
Do I need a Package Load Key in order to distribute my MSSCCI compliant version control system Is there anything else I need to get before distributing it I went to the link in the VSIP documentation for getting a Package Load Key, and it is no longer there. If I need a Package Load Key where do I go to get it Thanks, JD the PLK site works for me. Source control providers can be implemented 2 ways ...Show All
