Bren Anderson's Q&A profile
Gadgets Permissions in appdata\local\microsoft\windows sidebar
my gadget calls a bat file which in turn calls an exe. i get permission denied and the bat will not run when my gadget it located in 'C:\Users\%username%\AppData\Local\Microsoft\Windows Sidebar\Gadgets'. It however works perfectly when my gadget is placed in 'program files\windows sidebar\gadgets' directory. My account has full permissions to the folder in appdata and i can run the bat file manually, but the gadget will not allow it to run. I assume this is by design, but is there any way to bypass this Or a way to change the default path my gadget installs to (program files, instead of appdata) Thanks Sidebar runs in protected mode, so you're probably causing UAC to fire when it tries to run ...Show All
Visual Studio Team System Unable to see information when user added to project administrator group
I add three user to Builtin Project administrator group and try to loging with that user, i am not able to see any information of project and it give error that u not have enough permission on TFS. Then i made custom group and give all permission for project then everything goes fine. Can some one guide me what would be wrong It is not giving error when we connect to server or project with that user name. It allow user to connect but when we click on all workitem query it is does not show any workitems. when we try to add workitem through excel. At the time of publish in Issue it show "Access Denied" and in the screen at down it show user does not have sufficient permission to save w ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The Unofficial "Hooray I'm Done With my DBP Game" Thread
When you get done with you game and sumbit it, crow about it here. A little over 24 hours left until the deadline and I'm so amazed I'm done, so much better than college Thanks to ZMan for his help, good luck all. I'll post the source code for my submission once the deadline hits. Bill It's done and submitted now. It's called Joe's Fuel Harvest Service. The game consists of mining planetoids for radioactive mineral to fuel the ships of Spacewar. Link to screenshots on the project page Youtube Link I can't wait to see all the entries. ...Show All
SQL Server xp_delete_file
I created a maintenance plan to remove files older than 2 weeks. The plan executes successfully, but does not work. I notice in the log that the single quotes are doubled. I ran one command which worked, but others did not. Is there a problem with the command Here is a copy of the log: Microsoft(R) Server Maintenance Utility (Unicode) Version 9.0.1399 Report was generated on "SQL". Maintenance Plan: Clean Up Backup Files Duration: 00:00:12 Status: Succeeded. Details: Cleanup Master (SQL) Maintenance Cleanup on Local server connection Cleanup Database Backup files Age: Older than 2 Weeks Task start: 9/12/2006 7:34 AM. Task end: 9/12/2006 7:34 AM. Success Command:EXECUTE master.dbo.xp_delete_file 0,N''F:\SQLBackup\master'',N''ba ...Show All
Visual Studio Express Editions Ugh....Driving Me nuts....
I am in the middle of writing a prog that takes a file within a directory on a HD renames it to the directories name and then places the newly named file on the root of that HD. Here is the code. and I am not getting it.....I would really appreciate your help. Thanks Imports System Imports System.io Imports System.IO.DirectoryInfo Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dlg As New FolderBrowserDialog Dim FileNamesSelected() As String Dim SelectedFolder As String 'Dim FileFound As String SelectedFolder = Me .FolderBrowserDialog1.SelectedPath FileNamesSelected = System ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vista Compatibility
Looking for any hints on when a Vista version will be released. (Note that I'm in the middle of installing the same version as everyone else is right now, but the web site says it won't be out for a bit). I really don't want to put a third OS on my system just so I can run xna express. (I've already got Vista Ultimate 32 and 64 bit on here - starting to get crowded) Dan Well, major thanks to the people on this forum. I've now got game studio running under Vista Ultimate 64 bit. Time to get to work on my game, although I'll really be spending the next week or two doing design, and just futzing with xna to test some ideas out for now. Cheers, and thanks again. Dan Lingman NoGotoGam ...Show All
SQL Server inquiry
I just have a basic inquiry about sql server mngt studio. I have create about 50 tables under the Master database. i no longer want them there and would like to place all 50 of my tables into another database. The only way I can seem to go about doing it, is to go into the code and change "Use [Master]" to "Use [Quickwire]", where quickwire is my new database name. however, since there are so many tables this is a very tedious process. Is there an easier way...like a copy and paste concept Please let me know if there is.. The forum for SQL Server Management Studio is available at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=597172&SiteID=1. If you want to use ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Now that D3D10 hardware is available...
... has anyone actually been able to run their own programs using only publicly available resources The October SDK requires Vista RC1, which I'm currently using. Seems that they made some DDI changes in Vista RC2 such that it is no longer compatible and the latest publicly available drivers from Nvidia seem to be for RC2 only (makes sense). Even then, I have no idea if these RC2 drivers actually enable D3D10 on their new GeForce 8800 hardware. I doubt any archived RC1 drivers have the necessary parts (can anyone confirm ) nor would any "in box" default drivers. I presume various developers have been using GeForce 8800 hardware behind closed doors for a while, but they'll have access to Nvidia's developer relations te ...Show All
.NET Development PopUp problem.
Hi! I have a page (say parent page) which has a button(Button1). When the user clicks on 'Button1', a popup screen(child page1) pops up. This child page has a lot of controls. When the user clicks on one of the buttons on this child page , the childpage1 closes and the values entered in child page are displayed on the parentpage controls. I have implemented this using showModalDialog() , __doPostBack() (for the button Button1) and Page.GetPostBackEventReference(Button1 ,string.Empty). The part mentioned above is working absolutely fine. Now, on the same parent page, I have one more button (Button2), which when clicked also opens another pop up page(child page2). In this child page2, I have drop downlist & listbox. The dropdownlist has ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA GSE B2 Tutorial 1 Texture problem
Hi, I am new to XNA, just saw the posts about "Beta 2" and have started to dig in. I started on the tutorials in the help file in "Getting Started -> Going Beyond" and found an issue with Tutorial #1. (This may be an old issue, but I could find no posts on the topic.) The spaceship texture is never loaded onto the ship. In steps 1 and 2 we get the model and the texture and load them into a content folder. Then, in step 3 we load the model (but never the texture). Then, toward the bottom, we see a screenshot of the program output and the spaceship has a texture on it. Can someone please tell me how to skin a texture onto a 3d object When I complete the tutorial I have a black ship with no texture. Thanks. ...Show All
.NET Development OleDBCommand.ExecuteNonQuery - HELP????????????
I want an MS Access table to return a single record from a query So that I can use output parameters (oledbParameters) and Execute NoneQuery to Read the value from access table See the code below ( is it possible ) Thank you in advance Public Function GetPrice( ByVal ipkCatalogID As Integer ) As Double Dim opAdptShoppingCart As New OleDbDataAdapter Using opConnShoppingCart As New OleDbConnection(ConnectionString) Try Dim opCmdShoppingCart As New OleDbCommand( "GetPrice" , opConnShoppingCart) opCmdShoppingCart.CommandType = CommandType.StoredProcedure Dim opPrmShoppingCart As New OleDbParameter opPrmShoppingCart = opCmdShoppingCart.Parameters ...Show All
Visual C# How to retreive the line number and file name of C# source code
hi all I want to log information about the method currently running. I want to get name of method that is currently invoked. Also I want to get line number which is currently running. I can get line number for exception occurence... but i want to log a method information if exception is not occured.....& method is going to complete its operation well. it is top urgent hoping any one can help me. Thanx in adavance Thats odd... I get the line numbers correctly (in Debug mode). But I noticed that in Release mode the program outputs linenumber of the NEXT method that is is called after the debugging call. I have tried this both in .NET 1.1 and 2.0, and in debug mode they both work. Only way I can get th ...Show All
Visual Studio Express Editions InputBox won't run from a shared Network Location
I get the following message with the InputBox: System.Resources.MissingManifestResourceException was unhandled Message="Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Microsoft.VisualBasic.CompilerServices.VBInputBox.resources" was correctly embedded or linked into assembly "Microsoft.VisualBasic" at compile time, or that all the satellite assemblies required are loadable and fully signed." Source="mscorlib" StackTrace: at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents) at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean cre ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Recommended Graphics Format?
These are primarily questions for the XNA developers... 1) What is the recommended graphics format for textures, bitmapped fonts, etc. I'm currently using BMP files but most of the examples appear to use TGA . 2) Also, should I restrict my graphics files to widths and heights of powers of 2 (eg, 128x32, 64x64, etc.) Please be verbose. I would like to know *WHY* I should use one format over another, so please don't just respond with "bitmap" or "targa". Thanks! :) 1) I would recommend using anything other than BMP. Bitmaps are an uncompressed file type and that will bloat the size of your game project quickly. My personal choice is to use PNG files. They support transparency ...Show All
SQL Server Remote update having a linked server takes forever to execute
UPDATE CD SET col1 = SR . col1 , col2 = SR . col2 , col3 = SR . col3 , col4 = SR . col4 , col5 = SR . col5 , col6 = SR . col6 , col7 = SR . col7 , col8 = SR . col8 , col9 = SR . col9 , col10 = SR . col10 FROM LNKSQL1 . db1 . DBO . Table1 CD join Table2 USRI on USRI . col00 = CD . col00 join table3 SR on USRI . col00 = SR . col00 Here, I'm trying to tun this from an instance and do a remote update. col00 is a primary key and there is a clustered index that exists on this column. When I run this query, it does a 'select * from tabl1' on the remote server and that table has about 60 million rows. I don't understand why it would do a select *... Also, we migrated to SQL 2005 a week or so back but before that ...Show All
