gloriousgopi's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. How can I install XNA Game Studio Express over Visual Studio Std or TS?
I understand the support for VS Express to use XNA Game Studio Express, but as a professional developer, but a hobbyist game developer I don't want to have to install VS Express. Any plans or hacks to get it to install over VS instead of VS Express You can't even install it unless c# express is present. They live side by side quite happily. There may be a future product that support other VS Skus but not this one. Please search the forum before posting this question has been discussed MANY times today. ...Show All
Visual FoxPro Backup Options for newbie to VFP9
Can someone please advise me on how to perform backups to either a CD or a memory stick from a menu choice Referring to a previous thread re the zip libraries, how would I call these libraries then actually perform the physical backup to the CD or memory stick The users want VFP9 to completely run this routine for them without any intervention except either inserting a CD or placing the memory stick in the USB. Previously, the 2.6 app used the run pkzip then copied the file to a disk drive. Thanks Sammy32 Oh, I would agree. We do backups to tape with an external utility. They run at night and get rotated properly. I just suggested a way to deal with ZIP files to answer the que ...Show All
Visual C# print File
Hello, i have one Question. How can I print a document in Outputfile Source Code: Process myProcess = new Process (); myProcess.StartInfo.FileName = filename; myProcess.StartInfo.Verb = "Print" ; myProcess.StartInfo.CreateNoWindow = true ; myProcess.Start(); Argument Hoeler ...Show All
Windows Forms Deploy
I have now finished my apps. How do I deploy them so I can distribute via disk MItch Check out the following details on ClickOnce http://msdn2.microsoft.com/en-us/library/t71a733d(vs.80).aspx A good webcast showing it being used http://dnrtv.com/default.aspx showID=8 ...Show All
Visual Studio 2008 (Pre-release) Demo III: Offline Application – WebService
Hello all, The N-Tier demo has finally arrived. This demo shows you how to take the server side code, basically the ServerSyncProvider along with all SyncAdapters that we build in the last demo, and expose it as a web service. On the client side, you generate a web service proxy and build a thin wrapper around it to be able to plug it into the sync agent. These steps and more are described in the accompanying readme.txt file. For more details and to download the project please visit my blog at: http://blogs.msdn.com/synchronizer/ Download sample: http://blogs.msdn.com/synchronizer/attachment/1554160.ashx http://www.microsoft.com/downloads/details.aspx FamilyId=75FEF59F-1B5E-49BC-A21A-9EF4F34DE6FC&displaylang=en l ...Show All
SQL Server SQL Server Agent running SSIS Package. Permission Problem on Destination Server.
Hi, I have a Problem using SQL Server Agent with a SSIS package running as a proxy. Description: I have a SQL Server Agent Job that uses an SSIS package to copy a file from a share (Network) to our target system. To access the share the step uses a proxy (credential with account to access the share). The step fails! If i add the account under whicht the job step runs (the account to access the share) to the administrator group (on the target system) the Job succeeds. Question: What minimal permission do i have to set for the account (on the target system) that it works! Can you provide more details on how you configure your proxy and the job step that uses it Does the proxy have access to t ...Show All
Smart Device Development Subject: VS2003 Controls in VS2005
I've got some 3rd party controls that I can get into the VS2003 IDE toolbox, but I can't get them onto the VS2005 toolbox (if I do "Show All" they show as disabled in the toolbox). Is it impossible to use the VS2003 controls in VS2005 I figured there might be a way since you can use old ActiveX/COM controls in .NET, right Thanks for any help, Steve Indeed you can not as custom control model has been changed for VS 2005. But you can add reference to custom control DLL and use these controls them programmatically without designers. ...Show All
Visual C# Set and Remove access(delete) permissions to a folder.
Hi, My requirement is something like this. I am supposed to create a foler and have to check whether it already exists or not. If exists then delete the files from the existing folder and for that I need to check for the permissions(for ASPNET user) to that folder. and when files are deleted set the permissions back to the folder as it had earlier. Skeleton would be like this- void DeleteFilesFromFolder() { Get the access permissions for ASPNET user if(!Granted) { Give him/her the premission to delete the files from folder } Delete the files Set the permission back to the folder } Any idea how to do it in C# Regards, the most reasonable explanations is variable strFolder d ...Show All
Visual Studio 2008 (Pre-release) Problem with NTLM on IIS
Hi everyone! I began to investigate different security option of the WCF and found this problem: WCF is hosting on IIS. So I have no problems while there was Anonymous access. Then I restrict access only with integrated Windows security and since this i wasn't able to make my service work. So first time it responded with such error: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'. The problem seems to be clear: In Service and Client config's i set clientcredentialtype to Windows, then IIS responded generally the same error: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header receive ...Show All
Visual C# Static Methods And Thread Safety
could somebody please tell me, in the following static method, is it possible for a second thread to call the same method with a different input variable modway through, thereby screwing up the result thanks public static int GetString(int i) { // do some stuff with i. e.g. i = i + 100; i = i / 2 ... etc. return i; } In this code you are fine, all of the variables you are using in your static method are local variables, these local variables are going to be created on each threads stack, each thread has its own stack so does not see other threads local variables. Mark. ...Show All
Visual Studio Express Editions Very simple help needed
I apologize for asking this but I couldn't find any help. I wanna put a button on my form that will assign a number to a frame, it needs to be uneditable by the user but editable by the computer. I need to put something like a frame in there. I've looked up and down the list in my copy of 2005 Visual Basic Express Edition but I couldn't find a frame control to put on my form, so what do I choose to generate a random number: Dim randGen as new Random() Dim theNumberChosen as Integer = randGen.Next( min, max ) this will generate a random number for you between min and max. Now this will give you the number you need perhaps but you need to obtain that "frame" you need. perhaps b ...Show All
Software Development for Windows Vista User drawn ConnectionPoints
Hi! I'm rehosting the WF designer with a root activity inherited from FreeformActivityDesigner. What I am trying to do currently is to draw the ConnectionPoints by myself (I want to draw a bitmap with an arrow instead of small squares). I didn't find any method to override which draws these ConnectionPoints. How can I accomplish that Thanks! Take a look at this sample from the community site. It includes a custom connector that controls the drawing, color, endpoint, etc. http://wf.netfx3.com/files/folders/activity_behavior/entry840.aspx In order to get this to work on the latest bits, I removed and then re-added the references to all of the workflow assemblies. I cleaned and then rebuil ...Show All
Visual C++ Windows Service : Types HANDLE and HMODULE cause error :(
As I write a Windows service in C++, compiler doesn't reckognize types: HANDLE, HMODULE, WTSGETACTIVECONSOLESESSIONID and function GetProcAddress. Are there any libraries that should be included I only have the following libraries in my code: using namespace System; using namespace System::Collections; using namespace System::ServiceProcess; using namespace System::ComponentModel; LoadLibrary Windows.h Kernel32.lib WTSQueryUserToken WtsApi32.h WtsApi32.lib WTSGetActiveConsoleSessionId Windows.h Kernel32.lib All this information is from MSDN topics describing these functions. Some of these functions are not defined in all operating systems. To compile them read this article: http://windowssdk.msdn.microsoft.com/en-us/library/ms736 ...Show All
.NET Development Using XML to select a user
Hello all, I am trying to create a program that presents the user with a text box where they enter a number it logs them into a system where they have specific things they can do and some they (possibly) can't. I would like to use an XML file to do this. For example Number 0000 Logs in the user Jane. Jane has admin privileges Number 1111 Logs in Dick Dick can only access the Sales portion of the program. I'm not sure if XML is the way to go with this but it seemed to be the best choice. If you need a copy of my XML file I can post it. I think it is done correctly. Thanks Thomas Can that be done How I guess I dont understand XML well enough. I've looked in books and online and its a bit confusing to me. Th ...Show All
Audio and Video Development sAPO source code modification problem
I'm trying to use sAPO which is introduced in Windows Vista. Though, I had some trobule in compiling them, finally I was able to compile and install it on my computer. But the problem is that I don't think that it is not working properly. The sample which Microsoft gave me is just to switch channels. I added some more code which makes every sound output to white noise (0.00f ) in that sample. and added some code which shows message box whenever users click check boxes on property window. It looks like both of modification does not work properly. Anybody succeeded in this sAPO sample modification I just want to know if there is anything wrong with the provided WDK samples. Please, tell me anyone if you succeed in these things. ...Show All
