Dietz's Q&A profile
Visual Studio DExplore "favorites.xml" - how to launch DExplore with new favorites location?
Hi all - I'm trying to consolidate my Document Explorer favorites so that starting this tool from either Visual Studio 2005 or from Start / All Programs / MSDN will work with a single favorites.xml file. In a previous thread ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=600264&SiteID=1 ) Nishan mentions that the Document Explorer can be "...launched in such a way that it saves its favorites file to a folder specified by the launching program." When I try "dexplore.exe / ", there are no obvious switches to control the location of the favorites.xml file. Does someone know what the magic switch is Or is there better way to have a single favorites.xml for any launch of dexplore Note for reference ...Show All
Game Technologies: DirectX, XNA, XACT, etc. .X features supported in XNA?
Hi, I'm currently working on a .x exporter for XSI with shader support. However I have some questions regarding exactly what features are supported in XNA. Setting the technique in the .x file does not seem to work: EffectParamDWord { "technique"; 3; } XNA always renders using the first technique in the shader, unless you manually set it with Effect.CurrentTechnique :( Also what part and version of DXSAS is supported It would be nice if semantics used in e.g. FxComposer just worked with XNA, e.g things like: float4x4 WorldIT : WorldInverseTranspose; float4x4 WorldViewProj : WorldViewProjection; float4x4 World : World ; float4x4 ViewI : ViewInverse ; Or do you have to manually parse all effect param ...Show All
Visual Studio Team System Creating Custom Control
Hi, I am very keen to see the working of custom control. Thanks to Naren for a detailed explanation on how the custom control works. But I am facing issues here. Hope some body helps me here.. I have followed the following steps 1. Unzipped the sample in http://blogs.msdn.com/narend/archive/2006/10/02/How-to-use-Custom-Controls-in-Work-Item-Form.aspx to my working folder 2. Built the sample. 3. Copied the dll and the wicc file to C:\Documents and Settings\All Users\Application Data\Microsoft\ Team Foundation\Work Item Tracking\Custom Controls and also to C:\Documents and Settings\prash\Local Settings\Application Data\Microsoft\Team Foundation\Work Item Tracking\Custom Controls . 4. Now I wit imported the Bug-CustomControl.x ...Show All
SQL Server Simple (for some) 2 Table Summary Query
...but apparently not me, I'm very new with this T-SQL stuff and am seeking the advice of the seasoned pros at this forum. Description on my SQL-5 Environment: Table I Sales: Prod_ID, Prod_DT, Sales_DT, Buyer_Name, Buyer_State Table II Repairs: Prod_ID, Prod_DT, Sales_DT, Repair_DT These 2 tables are joined by the common key Prod_ID & also and share the product's production & sales dates. What I would like to do is produce a rate summary similar to description below. Production_YYYY, Production_MM, Sales_Cnt, Repairs_Cnt, Repair_Rate((Repairs_CNT/Sales_CNT)*100) Important to remember that not all products experience repairs, so the basis for Sales_CNT ...Show All
SQL Server MS SQL server 2005: collect procedure for "dts pipeline generate error
Dear experts, My MS SQL Server 2005 is generating the following error. may i know what's wrong with it " The Collect Procedure for the "DTSPipeline" service in DLL "XXX:\Program Files\Microsoft SQL Server (x86)\90\DTS\Binn\DTSPipelinePerf.dll" generated an exception or returned an invalid status. Performance data returned by counter DLL will be not be returned in Perf Data Block. The exception or status code returned is the first DWORD in the attached data. " Thanks in advance for any assistance rendered. pat I am also seeing this error in my Event Viewer on a Windows 2003 Server with SQL 2005 installed, as well as IIS. I have tried the following "perflib fix" I fou ...Show All
Visual C++ CSocket -> Receiving Data
Hi, I am a little confused about the CAsyncSocket and CSocket class. When I e.g. write a serverside Socket then I will receive some data from another computer in the network. But how does this data look like What if e.g. I want to receive just a simple integer as data. Do I just receive a char array with each element representing a digit ( That means if I receive e.g. the number 120, then I get a char array with the length of 4 ( '1' '2' '0') ) Or do I receive something like if I wold write binary data (that means that every Integer has a size of bytes). Hope someone can help me, or can show me some Tutorials or so. Thanks Thank you. Yes it helps me, but then I have the next question. Normally I don't wan ...Show All
Visual C# Make stand alone exe
I posted this in one of the visual studio 2005 forums and someone suggested I try posting it here. In Visual Studio 2005 is there any way to actually make just a standalone exe file, like in visual studio 6.0 where you just go to Build or Make EXE or something similar All I can find is the publishing section which creates a setup.exe which then "installs" the program and checks for updates etc. I just want to make one exe file that can be run from any PC anywhere that you just double click and away it goes, straight into your program, in visual studio 6.0 this was no problem at all yet I have spent hours searching and am still unable to do this in VS 2005. Thanks yer I can understand that but still I dont understand why ...Show All
Visual C# How to check if I am using VStudio 2003 or 2005 (or .net 1.1 or 2.0) in C#
I have a program that was written in VS 2003. The program runs fine without a hitch. A few days back, I installed VS 2005. The program compiles fine, but everytime I run it, I got the an IllegalCrossThreadCalls Exception (something like its not reccomended to access a thread from another thread). Since I know for sure that my code won't cause any problems, I just want to turn off this exception. I found the following code that does the job: >> Control.CheckForIllegalCrossThreadCalls = false; The problem is that this line doesn't compile under VS 2003 (the .CheckForIllegalCrossThreadCalls is specific to .NET 2.0). I want my program to compile under both VS 2005 & VS 2003. So, I want to auto-detect the version of Vis ...Show All
Visual Studio Tools for Office Outlook Message Headers
I'm creating an outlook addin to approve documents. The document itself is a message and when the user right-clicks the message, the approval options appear in the context menu, and user choose to approve or not. My idea was: i put a custom attribute in message headers, and when user right-click the message i try to recognise this header. But i'm having trouble reading message headers. Basically i haven't found a property or method to do this. Does anyone know how to read the headers of an outlook message i don't need to create new messages, just read the existing ones.... PS: Or another way to mark messages and detect that marks.... Thanks a lot! Geoff (DiabboVerdde) You can add your ...Show All
Visual Studio Choosing browser used by debugger
I have been unable to determine how to specify which HTML browser the debugger will launch. When I installed Visual Web Developer, my default browser was Firefox. When I started the debugger, it launched the HTML page in Firefox. I guessed that it was simply using my system default browser. So, I switched my default browser to IE7. This did not cause the debugger to launch IE7. I have looked for a configuration option with no success. I have even poured over the register to see if there is something there. No luck. Can someone please tell me how I can configure Visual Web Developer to use IE7 instead of Firefox Thanks, Joel Not sure why the decision is being made by the debugger to do this, but what to do is set up the "St ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Use SwapChain buffer as Texture in Pixel Shader
Hi, Is there a way to use the swapchain buffer has a texture in a pixel shader I tried the following: create: D3D10CreateDeviceAndSwapChain(&pSwapChain) pSwapChain->GetBuffer(&buffer) CreateShaderResourceView(buffer, ,) CreateRenderTargetView(buffer, ,&view) OMSetRenderTargets(1,view) The shader resource is set at draw time. Basically, texturing in general works. I tried a few different methods: 1) Draw twice. The first draw pixel shader outputs the incoming color. The 2nd draw Pixel shader outputs colors sampled from the texture. Then present the swapchain The triangle drawn with the texture is black :/. 2) Draw Once, present swap chain, draw again with a different pixel shader. The first draw's pixel shader uses the incomi ...Show All
Visual Basic Terminating threads immediatly upon button click.
Well sooner or later someone is gonna get tired of looking at my threading questions but a ton of progress is being made and I really appreciate all the help, anyways anyone who has read my previous posts can see that my application connects to a MSSQL database and calls a stored proceedure to dump all the data and that data dump is in a thread of its own so that the gui still functions while its dumping the data. Anyways one of the buttons in the GUI is used to disconnect from the database while its performing this dump or atleast that is what I would like it to do. I've already figured out that you have to redfine the thread etc. after its been aborted to start it up agian and aborting it seems to work as long as the entire stored procee ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Can I play video files with XNA GSE?
I'm not so much looking at writing a game as using this tool to develop some media applications, if possible. I've grabbed C# Express Edition and installed it, and I've watched a number of the C# tutorial videos. I'm going to have to learn C# - I've done Delphi, and Java, and some C ages ago - but I'm looking for something new, and this looked interesting. But I'm not sure I fully understand the limitations of this development tool/environment, particularly when it comes to multimedia capabilities. I like the idea of being able to target an application to a fairly well-known, easily available, consistent hardware platform. Having software that could run on an Xbox 360, with the option of using some of the Live facilities for information ...Show All
.NET Development Sending large files to a webservice
Hi i am making a web service that receive a file and save it on the server, i have made a method that takes byte array -buffer- and string -filename- then use Stream.Write() method to wsave it. I have made a windows app that read a file into a byte array Stream.Read() then call the webservice method and pass the array and the filename. if the file was large i cannot read all of it into the byte array so i have made the byte array length only 3000 then looped the file and each time in the loop read a 3000 byte then pass it to the web service method: byte[] buffer = new byte[3000]; while(stream.Read(buffer,0,buffer.Length) != 0) { myService.ServiceSendMethod(buffer , fileName); } now the problem is , if the file was s ...Show All
SQL Server can't access SQL Server 2005 Cubes, when Integrity firewall runs
Hi, i'm not able to access the content of the SQL Server Cubes, when i've running the Checkpoint Integrity firewall on the system. I've to shut down the firewall to see the content of the Cubes. Does any one have idea, what could cause this best regards Alfredo hi, thx for your answer, traffic for is port 1433 is open. For testing i allowed also any traffic, but it didn't fix the issue, it only works when Integrty doesn't. I had a similar issue with the Ab Initio application, but this Software Company did fix the issue. I don't know how they exactly fixed it, but it was not a Firewall Policy related issue. ...Show All
