vtortola's Q&A profile
Visual C# error CS0016
I'm trying to run the csc command on a server. One user works, but I can't get any other user to work. I've tried giving the other users admistrative rights, but still no luck. The user that does work logs in against the machine and not against the company domain. I can not find any other differences. Why can't any user run this The command is like csc.exe /target:library /out:D:\DEVTEST\cc_keys.dll /reference:D:\DEVTEST\library.dll cc\src\Class1.cs Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42 for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727 Copyright (C) Microsoft Corporation 2001-2005. All rights reserved. error CS0016: Could not write to output 'd:\devtest\cc_keys.dll' -- 'The direct ...Show All
.NET Development Another property question
Thanks to Douglas I solved my indexer problem. Another issue I have is a non indexer that cannot be used as a property: .property object ActiveConnection() { .custom instance void [mscorlib]System.Runtime.InteropServices.DispIdAttribute::.ctor(int32) = ( 01 00 E9 03 00 00 00 00 ) .other instance void ADODB.RecordsetClass::let_ActiveConnection(object) .get instance object ADODB.RecordsetClass::get_ActiveConnection() .set instance void ADODB.RecordsetClass::set_ActiveConnection(object) } // end of property RecordsetClass::ActiveConnection However, if used in C# produces: error CS1545: Property, indexer, or event 'ActiveConnection' is not supported by the language; try directly calling accessor methods 'ADODB._Record.get_ActiveConnection( ...Show All
Internet Explorer Development Dave Massey or any other poster
apologies in advance if this is in the wrong forum, I'm not a techie or developer but a director of a company that owns the site www.firstrung.com/co.uk . We've just noticed that the site doesn't appear to work that well in IE7, no active links on the front page, images skewed, (it would be us out of all the sites visited over the weekend that doesn't work!). In particular the main links in the sub nav. categories don't work.. Anyone offer any help or advice Much appreciated... ...Show All
Visual C# How to make a treeview control like a FolderBrowserDialog that can view files within those folders
hi How to make a treeview control like a FolderBrowserDialog that can view files within those folders so that the user can select the file. Asked and answered, see http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=135792&SiteID=1 ...Show All
Visual Studio 2008 (Pre-release) ListView sorting
I have a ListView with sorting. In my ListView I have the header names distinct from properties of object to witch the ListView bound. So I can't use sorting parameter as string sortBy = headerClicked.Column.Header as string ; I tried to add x:Name to GridViewColumn, but in code I can't get it (Name=""). My question is - What parameter can I use in order to sort ListView void GridViewColumnHeaderClickedHandler(object sender, RoutedEventArgs e) { GridViewColumnHeader headerClicked = e.OriginalSource as GridViewColumnHeader; sortBy = headerClicked.Column.Header as string; ..............} < ListView GridViewColumnHeader.Click = " GridViewColumnHeaderClickedHandler " ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Intel(R) 82815 Graphics Controller and transparency problems
Hi It looks like the gfx card doesn't support alpha. But DirectX should attempt to emulate this in software. You can see more info here (with screenshots) http://www.flatredball.com/frb/forum/viewtopic.php t=783 Is anyone know where is problem with DirectX on this GFX card Kind regards from Poland Mateusz Kierepka How can transparency be accomplished without using the destination. A regular alpha blend generally takes the source alpha for the source and inverse source for the destination. Is there a different way to do it ...Show All
SQL Server SQL Server on a subset of processors
Can I install SQL Server on a machine and use less than the # of processor on the machine. In a UNIX world, I'd call it LPARing with Oracle and AIX, and they only let me do this with Enterprise Edition. With Windows, I think the only way is using virtual machines and attaching processors to them Do any vendors offering LPARing Can I take any edition of SQL Server and subcapacity price so that I only pay for the processors I'm using What about SS Express It only scheds to a single core - so could I put that on a larger machine Thanks! I can run on either -- so what are the licensing rules. If I disable the processors -- then I can just pay for the ones I use So I'll put SQL Server Standard ...Show All
Visual C# How to remove spaces inside a string in C#.net?
Hello All, We are supposed to create a Word doc file for our client that is to be used for printing a large list of names and addresses. I am facing the below problem in my C#.net Application. Eg. I am reading the values from the Access Database and showing it in the MS Word Document using C#.net windows Application. The original name looks like: " Michelle Accuso-Stevens" From DataBase side the name looks like this. Mich el le Acc uso-Ste ve ns [some spaces inside the string] foreach ( DataRow myRow in dsContacts.Tables[0].Rows) { if ( "" != myRow[ "FirstName" ].ToString() || "" != myRow[ "LastName" ].ToString().Trim()) { if ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Spacewar Starter Kit
Hey , I just started using XNA Game Studio Express . When I load the Spacewar Starter Kit and press start to test the game there is only Xbox 360 functions , Is there any way I can play this using my PC keyboard or send this to my Xbox 360 . Microsoft recently released an adapter so that wireless controllers can be used on a PC. http://www.xbox.com/en-GB/hardware/x/xbox360wirelessgamingreceiver/ ...Show All
Visual Basic Setup Wizard in VB 2005 Standard SP1
This one is aimed at Matthew Gertz in VB Development Team. Yes, I am aware that the Christmas Holidays are near but I hope your response will be quicker than last time. First two points and then my query 1. Despite ticking the Alert Me box, I am not getting Alerts when you post responses. 2. The first time, I opened VB2005 after installing SP1, I got the error message "Run Time Error/Program C:\Pro\R6025 - pure function call" and VB closed. The second time I got an Report Error toMicrosoft - which I did. Third time the programme loaded and ran OK. Curious QUERY I have read extensively in the help file about using the Setup Wizard but the reality does not match the reporting. Page bf5cf02e-b0b7-4a99-ba9c-bcf9d383b7d ...Show All
.NET Development VS2005 - Passing Collection/Array as a Parameter to a Web Service
I have a web service that I'm trying to call using VS2005. I'm not understanding how to pass a collection as a parameter into my web service. (This does work in VS2003 by modifying the Reference.vb file, which does not exist in VS2005.) Here is a simple web service: <WebMethod()> _ Public Sub TestMethod(ByRef oTestItems As GlobalAccountsClasses.TestItems) End Sub Here is the TestItems collection along with the TestItem class: Public Class TestItems Inherits CollectionBase 'Retrieves an item from the collection by index Default Public Property Item(ByVal Index As Integer) As TestItem Get Return CType(List.Item(Index), TestItem) End Get Set(ByVal Value As TestItem) List.Item ...Show All
Smart Device Development Designer issues after CF2.0 SP1 installation
I just installed the CF2.0 SP1 patch. Seeing other posts, I uninstalled the Beta 1 version I had used in developing some apps (because I needed more control over the datagrid), reinstalled the original CF2.0 from my DVD, and then loaded the SP1 patch. Initially, everything in my projects looked fine. However, after rebooting my machine later in the day, I now get designer errors on any form with a grid control. The main part of the message is: Could not load type 'System.Windows.Forms.DataGrid' from assembly 'System.Windows.Forms.DataGrid, Version=2.0.0.0, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes'. Actually, I also the following message as well, but it will go away on a recompile, although it comes back the ...Show All
Windows Forms Question about DataGrid with Business Object as DataSource
Hi all, i have a model for instance, with 4 fields and i use a collection of those objects(IList<Object>) to populate my DataGrid. This work properly execpt because the DataGrid shows all the for fields of the objects, do you guys know what i have to do to show a exact nambers of fields, for instance only 3 fields. I tried create DataGridCollumns mappings the propierties that i want, and add them to a DataGridStyle wich has a mapping for the Class. Ex: MailBox box = new MailBox (); DataGrid datagrid = new System.Windows.Forms. DataGrid (); DataGridTableStyle style = new DataGridTableStyle (); style.MappingName = "Model.Classes.MailBox" ; DataGridTextBoxColumn field1 = new DataGridTextBoxColum ...Show All
Software Development for Windows Vista Velocity profile for ink stroke
Hello all! I'm fairly new to Tablet PC app development, so sorry for my rather (but hopefully) simple question. I used the ink recorder sample from the Tablet PC SDK and recorded a random scribble (2 strokes). I was wondering if there is a way to find the velocity profile of this scribble. Otherwise, is there a way to record strokes in digital ink (sort of like an e-signature capture) and retrieve its velocity profile Note: I'm using the SDK on a regular Windows XP machine, not a Tablet PC, so pressure profile isn't needed since I'm only using a mouse. Thanks in advance! - impish Hi impish, the points in a stroke are collected with a constant sampling rate for a given input device (note that the ...Show All
SQL Server Sample code for creating and processing a Partition with AMO
//===================================================================== // // Summary: Sample code for creating and processing a partition in // the "Adventure Works" Analysis Services database. // //--------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // //===================================================================== using System; using Microsoft.AnalysisServices; namespace Microsoft.AnalysisS ...Show All
