fusi0n's Q&A profile
Visual Studio Team System Why is TFS not available to Empower Program subscriptions?
I checked with Rob Caron. Although Empower comes with MSDN Premium, the included version of VS is only Professional. You must have one of the VS Team Editions + MSDN Premium to get TFS Workgroup Edition, thus Empower doesn’t qualify :-( OK, I got an answer from the marketing team but they asked me to post it - I guess I'm the target dummy :) The short answer is "Empower offers an enormous benefit to small ISVs—5 use rights to Visual Studio Pro + MSDN—for only $375 per year: it’s a steal. Gold and Certified Partner program members who are building their business using Visual Studio Team System tools receive the TFS as part of their benefits for completing competency requirements along with the Visu ...Show All
Software Development for Windows Vista Disabling autoplay
I have one problem when my removable disk (which doesn't have a file system but only drive letter) is attached in Vista. (Especially in home basic edition) Whenever the removal disk is attached, one explorer popup comes asking for format. Is there any API function to programmatically disable/enable this behavior Similarly is there any control panel option to control this behavior Thanks for the reply. I already tried that. But still the message is popped up. When I debugged into explorer.exe using windbg, I found that the explorer during addition of new volume mount point to the system, checks whether the volume has a file system or not and if not, it pops up this error message. I am not sure whether there's any API or registr ...Show All
Visual C# multi lenguage
I need some example or direction where i can download it about the choise of lenguage. example button ita --> all string write in italian button eng --> all string write in english please help me. Hello LukaSoFt Try using a rescourse file. In your project, add a new item and locate the rescourse. If you call the file language.rscx you can have the text look in this file like this: label1.text = language.label1text; It will be a lot clearer to you if you try it, because the intellisence will aid you in this. If you then need another language, all you have to do is change the language file. ;) Hope this helps. Sune ...Show All
Visual C# encryption decryption in c#.net
Hi, I have a requirement where in I need to migrate the already available COM component in to .net assembly with C# as the language. This COM component is written in VC++ 6.0 and is responsible for preparing a XML content in the specified format and then encrypt it using MD5 and blowfish symetric algorithm inside COM. How could I write this method using C#.net. Please note that we need the same encrypted format as we get from COM components.we are using public key, symetric key and crypto block. Regards, Parag Dave ...Show All
Visual Studio Bug in debugger Edit value
In the process of debugging a VC++ function, viewing the disassembly window, place the cursor on edx (the CPU register). Its value is correctly displayed in a tooltip as 0x00000800. Position the cursor in the tooltip, right click and select Edit Value. The starting value apparently changes to 0x0000080C. Further investigation reveals that what is happening is that the text in the tooltip has increased in length, and the final 0 is being truncated. VS 2005 developers: Either the tooltip length should be increased when the text length is, or the text length should remain unchanged. Thanks for pointing this out. I will add a bug in our database. You can readily do this too by visiting the MSDN Produ ...Show All
Windows Forms ClickOnce Deployment and Registry Entries
At installation, how do I get user input which must then be written to the registry with ClickOnce ClickOnce doesn't really do that, that would be "impactful" which is really against the ClickOnce principles. There are several work arounds. I think the best would be to detect first launch, which I think there's an event for in the System.Deployment namespace, or else you can just see if the settings have been made in the app startup/load event. And, if you don't have to use the registry, I'd recommend using the Settings file for app/user settings. There's a settings desgner in the project properties you can use to set those properties. This way, those user settings are removed when the app is uninstalled. The re ...Show All
Software Development for Windows Vista IE7 Protected Mode and windows hooks
Hello Can anyone help me with information about hooks ran under Protected Mode in IE7. I am setting up hook from process running under interactive user privileges. Hook procedure perfectly loads into IE7. Upon some event in IE7 I need to send back to the process some data. I am using SendMessage for that purpose, but under Protected mode it fails with access denied error, because privilege level in IE7 context is lower than one in my process(this case is mentioned in Vista SDK documentation). How can I elevate my situation and let the system pass the message from IE7 to my process instead of just skip it Can set privileges for my service HWND as low as IE7 is running under It will bloody hard to switch from Windows messaging to some ...Show All
Game Technologies: DirectX, XNA, XACT, etc. D3D10 ERROR: D3D10 header version mismatch
(sorry for my bad english) Hi, I want to learn dx10. I have started with "Tutorial 01: Direct3D 10 Basics". The program compile with 0 error. When i launch the program this error appear: D3D10 ERROR: D3D10 header version mismatch. The application was compiled against and will only work with D3D10_SDK_VERSION (29), but the currently installed runtime is version (28). Recompile the application against the appropriate SDK for the installed runtime. What i need to do I have install Microsoft DirectX SDK (August 2006). My vista version is beta 2 build 5472. Thanks for your help, Alex As in the version info noticed the August release of the SDK needs Vista RC1. The Beta 2 bui ...Show All
Game Technologies: DirectX, XNA, XACT, etc. accessing pivot point in 3d objects
hello guys, i need some help here.. any body know how i can access the pivot point in a 3d object my friend said that the pivot point is set when the object is created using 3d modelers such as 3dsmax or lightwave. the thing is that i want to do a circular movement on a 3d object (obj A) based on other 3d object's (obj B) rotation and using xna, i can only rotate obj A with it's own pivot point. hope i'm not confusing everyone with my explanations. well the obj A is a robot/mecha and the obj B is an asteroid. i want to make the robot able to grab the asteroid and when it does, it will move around with the asteroid. and since the asteroid is rotating around, i want to make the robot rotate as well with the asteroid. yeah you can say i ...Show All
Visual C# Adding new project in current project?
How do i add new c# project file to a current project so that when i click a button on the current project it will invoke the project added... can also anyone provide me with c# code on "BROWSE" .. so that i can choose directory on where i want to save my file... thanks ahmedilyas thanks alot, i really appreciate it, but the code above doesnt work instead i use this: this.txtFilename.Text = (theFolderBrowserDialog.SelectedPath); it does work, but i have this problem, how do i give a filename to it instead of SelectedPath alone, i want it to be like SelectedPath\filenamegiven , can i like after pressing OK , it popup a windows asking me to enter a fileName and then it will appears in the txtFilename as: SelectedPath\Filena ...Show All
Visual C# Regarding Threading in C#
Hi i have a scenario where we i have piece of chunck that requires time consuming processing , so i put that chunck into seperate thread (see code below) now the problem is I got UI reponsive as soon as seperate thread starts so whole aplciation takes very little time around 6 seconds to load (prviously it was 5 mins) now the issue i close the Form and then open it again this time it takes bit more time like 8 sec and this continues as i close the form and reopen it it take some extra time. The only ways out is to close the entire application and then re-open it I am now looking where we can put Abort method or some thing else to free the memoery taken by thread. please let me know what can be done , every one is encourged to email me ...Show All
SQL Server Microsoft.SqlServer.Dts.Runtime ASP.NET Security Issue
I am struggling in calling an SSIS package programatically using the Microsoft.SqlServer.Dts.Runtime namespace. I am succesfuly connecting to the package insofar as I am able to retrieve the package ID (GUID), but when I call package.Execute I get a 'login failed for user' error, which indicates a security problem. My ASP.NET app is running as a domain user which has temporary 'SA' rights on the server where the package is hosted. In addition, I have set the protection level on the package to 'DontSaveSensitive'. What am I missing to be able to execute the package remotely TIA, Rick This depends on how you deployed your packages -- I've encountere this problem a few times myself. If you've deploy ...Show All
Visual Studio Express Editions Hyper Threading
I seem to be having an issue with a Multhreaded APP. The software runs 100% on a non hyperthreaded machine however when I switch the CPU to hyperthreaded mode it just comes up with an error etc. When i try and debug on the hypethreaded core it suns 100%. No Errors. Initially I ran with Mutexes to make sure that there is sync between the threads and this would run either come up with an error or run. I have now completely redisgned the Mutithreading to make use of events and not mutexes and still the same issue. Any thoughts on this issue would be appreciated. Why would hyperthreading cause this issue PS. This was tested on more than one machine and in both cases it failed when running with hyper threading enabled and works 100% when not. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Color Banding
I am getting color banding issues when viewing my project on my Xbox 360. The textures look perfect when the app is ran on windows, using the same XNA source just in a different project. But when I display the textures on an Xbox 360, I get serious color banding. These issues are most pronounced when my Xbox is set to output at 720p or higher resolutions, but the color banding is still there even if the Xbox is set to 480p. The following code is what I am using to setup my 'prefered' values for my graphics device. If you got any idea what could be causing this, I would appreciate the input. graphics.IsFullScreen = true ; graphics.PreferredBackBufferFormat = graphics.GraphicsDevice.DisplayMode.Format; graphics.PreferredBackBufferH ...Show All
Visual C++ Getting garbage setting dialog box text
Hi Folks; I'm trying to set the text of a dialog box with SetDlgItemText. As an example I'm trying: SetDlgItemText(hwnd, IDC_F1, "Some text"); where IDC_F1 is defined as the ID for an edit box. What I'm getting is just garbage and I thought maybe it was my font but I've set it do Courier New, size 8 which I thought was pretty standard. Maybe someone could shed some light on my sitation. Do you need Unicode for other parts of your software, e.g. localization If not, you can simply switch your project to build for multibyte, and continue to use the char CompName with SetDlgItemText , without any conversion. To do this, go to Project > Properties (bottom item) > Configuration properties > General , and swi ...Show All
