David Burg - MSFT's Q&A profile
Windows Forms Insufficient Privileges during My applications Install
Hi is this the right place for VS Setup project type questions In VS 2005 I have created a setup project. I set the InstallAllUsers to False because I want non admin people to be able to install my app. However, when a non admin user runs the msi it goes through the UI sequence ok, i.e. doesn't allow them to install for 'All Users', but when it starts copying files it fails with 'Insufficient Privillages' type of error. I thought that when the msi engine went in to the execute sequence it ran with elevated privileges therefore allowing the msi file to create directories in 'Program files' and write to the HKLM registry. Am I missing somethi ...Show All
Visual C# A C# Program Failed to initialize on friends computer, please help
Hello all, I know this maybe a stupid newbie question, but I need help with it all the same, so please bare with me. I'm a graduate student in psychology who has a BS in computer science. I am currently writing a program in C# that I need to be able to give to other researchers to use. I wrote a beginning sample and when I sent the release .exe off to a colleague to check it out an error appeared when he clicked on it that said the program failed to initialize. Is this because he does not have the .Net framework installed on his computer If so, is there a way around this that I don't have to have all these different researchers go to wi ...Show All
Visual Studio Team System Is there an example of how to test web services using https with X.509 certificate
Any examples out there to test web services that require a client-side certificate using https I created the tests on my local machine without ssl and now am trying to enhance them for our larger test system. Can't record as we are using Smart Client WinForms. Actually, the problem migh not be the certificate but how to add a FormPostParameter with Username and password. Is this the same in Smart Client forms as in IE Thanks, Burkhard WebTestRequest class has a Certificates collection that you can put client-side certs in. You may be better off writing a unit test to test the web services. ...Show All
SQL Server A little MDX problem
Hi, I need some support for a MDX problem. We have a cube with a measure, are region (with hierachy, but this doesn't matter at all) and two time dimensions (with the usual hierachies). The business problem is now: You select a date (on any level) from Time1. If you would place the region on rows and Time2 on colums (the days) with nonempty enabled, you would get a number of members back (about 1000 numbers in Time2 per day in Time1). I don't what to see that 1000 numbers, I need a measure which is calulated like this: - Sort these numbers by value - Find the number which is as position 99%, so i.e. if you have 1000 numbers (b ...Show All
Windows Forms keyevents in datagrid
Hallo, I have a windows form with one treeview and two panels.In one panel have a datagrid. I am trying to capture the keyevents in the datagrid.When i use keydown eventhandler for the datagrid the keystrokes gets captured only if the rowheader or the pointer on left side of the grid. I also tried ProcessCmdKey, but then the event gets captured anywhere in the form which i dont want to happen. Can anybody please help me thanks n regards swingme hallo Ken, Its not working. I dont know what i do wrong. I tried with event handler for key down.But as i told only works if i first click on the table he ...Show All
Visual Studio Team System GroupsandPermissions - I could have sworn
I cold have sworn I have used a command line command to upload GroupsandPermissions.xml up to existing Team Projects. For the life of me I cannot find it or recall it or my notes on it. Can anyone help me out. Thanks, Which brings to mind another question. When utilizing the API's for such things as making these sorts of mods ane especially when there are command line tools that do similar things... are there any published unit tests in the VSIP SDK or otherwise we can run against our own process to ensure we took all the necessary steps That would be valuable as part of the extensibility sdk. Maybe it's there an ...Show All
Smart Device Development some question of datagrid in .netCF.
I have three question of datagrid in .net compact framework. first, How do I freeze the first colum of a datagrid when I scroll HScrollBar of the datagrid Just like Excel do work second,How do I use AlternatingBackColor of DataGridTableStyle in datagrid in .net compact framework third, How do I specify each colum width of datagrid according the maximal length of the colum That's all. Can anyone help me Thank you very much. 1. You can not do that with NETCF's grid. Consider using 3rd party if you need that functionality. 2. Please see this: http://www.opennetcf.org/Forums/topic.asp TOPIC_ID=350 3. You'd have to loo ...Show All
SQL Server Compatibility Level SQL Server 2000 (80)
Hallo Everyone, I have an SQL database that I need to detach from an SQL2005 server and reattach to an SQL 2000 database. I tried to set the Compatibility level from SQL Server 2005 (90) to SQL Server 2000 (80). This did not work Any ideas Nigel... How are you trying to do this Try setting the compat level to 80 when attached to SQL Server 2005, and then attach to SQL Server 2000. Peter ...Show All
Visual Basic SQL 2005 and VB.net 2005
I have a question dealing with SQL and VB. I have been looking for a way to "Browse" my SQL for different Databases for useage in my programs. Is there something I'm missing dealing with a way to browse the SQL My app under Access had a dialog to select which MDB you wanted to use. I know SQL is Different, Need to get list of Servers. Now I want to be able to have the client select which server to use, and which database. I don't use the dataconnections within VB, as the database's could be on different machines ETC. Thanks Larry Gatlin Look around the Miscrosoft site for: SQL Server ...Show All
Smart Device Development Application info in Homescreen
Hi all, I have an simple windows mobile application (c#) for Windows 2005. the application contains certain data of the user. i would like to show some of these data in the Home Screen as well. how is it possible regards, rnv are you talking about a homescreen plugin or do you want to get information about some user of the device and display that in your application ...Show All
.NET Development How do I allow users to pick SQL database at runtime ?
I've got an app using a SQL backend on my develop box that will reside on a LAN client-server (no web issues). The database name and table structures will be the same. To avoid having to recompile on ach client PC, Is there a feature that allows an authorized user to 'browse' for the data source Second part of question: If I have two databases on the server, one for production and one for testing, and each has a unique name, can I point the app to either The issue appears to be that the database name is incorporated into all of the dataset names in the app, so that a database by the name of "Fred" has "FredDataSet", ...Show All
SQL Server store procedures creation on prepare statment
Hi, Can I remove stored procedure creation(optimization) for prepareStatment execution (Something like 'prepare=false' parameter on connection string) Thanks The problem, is that we create the pstm every time we need it (withot cache using). So, it's create prepared statment also. (We use pstm for easy working with sql parameters.... :) ). Driver we used before (iNet) has parameter named 'store=false'. I looking for something like that. Thanks Vitaidov ...Show All
Visual Studio Document Explorer Crash Bucket 232224388
Attempting to use search tab in help for Visual Basic 2005 I get the "Microsoft Document Explorer has encountered a problem and needs to close" error. Information from event log: Event Type: Information Event Source: Microsoft Document Explorer Event Category: None Event ID: 1001 Date: 4/23/2006 Time: 5:11:52 PM User: N/A Computer: AMDTOWER Description: Bucket 232224388, bucket table 1, faulting application dexplore.exe, version 8.0.50727.42, stamp 4333d0b3, faulting module kernel32.dll, version 5.1.2600.2180, stamp 411096b4, debug 0, fault address 0x0001eb33. For more information, see Help and Support Center at http: ...Show All
SQL Server OLE DB Command with property expression
Hi, I am trying to use an OLE DB Command to run a different SQL command for each row in the data flow. I have a script component that builds the SQL command and puts it in a data flow variable, and a property expression in the data flow mapping [OLE DB Command].[Sql Command] to that variable. The problem is that the OLE DB Command has a validation error, saying that "the command text was not set for the command object", and it doesn't run. Did I miss anything should I tell the OLE DB Command that the SQL command would come from expression or is it a bug Thanks. Your scenario should wor ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Iam lost...with making GUI
Hello guys, I've started making my GUI in C++ for a 3D GAME- I am just at the beginning - making the menu....and I am feeling like REINVENTING the wheel... I've seen the SIMPLE SAMPLE in new Dx SDK and its not bad, especially I would like those settings in my GAME, but when I looked into code of DXUT, I was not sure about using it... So now I feel like being lost...whether to try to do the GUI it by myself or try to get somehow to (for me) robus DXUT framework. The thing is I would not like to spend months reinventing the wheel when there is a tutorial how to make one, though I havent found it. There more aspects in the game I wo ...Show All
