Scott Sackville's Q&A profile
Visual C# RTM Web refactoring... Serious problems!!
I am amazed that the refactoring support in VS2005 is in this state. It is utterly useless. How can they claim to have Refactoring support for web projects I have a Solution that contains one web project and two library projects. It is NOT a complicated solution (~150 .cs files and maybe 100 .aspx and .ascx skin files). And when I try to use ANY of the refactoring tools that have been provided in Visual Studio 2005, it takes an eternity (over 2 minutes) and I normally give up on it... This includes, Find References, Rename, etc... No matter what I do, it iterates through EVERY aspx file in the web project ! ! I choose a method and selec ...Show All
Visual Studio Background Picture
How could you add a background image to the diagram canvas as a whole How to repeat the background image (link in CSS: background-repeat: repeat; ) ...Show All
Visual Studio Team System beta2, personal website starter kit problem
downloaded latest team system beta 2 today, created new personal web starter project, when i attempt to create an administrator account here: http://localhost:1689/asp.netwebadminfiles/security/users/addUser.aspx no mater what i type, it continues to say "please enter a different password". you are instructed to create an admin account for your personal web site by the new starter project. ideas >I'm pasting this into my web.config file and then most of these attributes >get the error underlining with "The xxx attribute is not declared" >error message. Anyone have any ideas Wel ...Show All
Visual Studio Express Editions BindingSource.Filter Problem Part 2
Sorry for reposting this, but my new question was burried within the thread of my previous post and I wanted people to get a fresh look at my problem. I have a form with a DataGridView with multiple columns. I have another form that pops up to give the user options of filtering the data in the DataGridView form. I have several ComboBoxes bound to tables that contain the data available in a certain column in which the user can select items from the ComboBox to filter the column. Thanks to tabdalla, I was able to get the code to make a single column filter based on the item selected in one of the ComboBoxes. Here is the code tabdalla he ...Show All
SQL Server Problem with date range and aggregate function
Good afternoon, I use aggregate function to calculate measures on period of time. For example: Income from 01/01/2006 to 01/15/2006 or income from 01/01/2005 to 12/31/2005 I'va got a time dimension with this hierarchy: year - quarter - month - week - day When i used the aggregate function (from 01/01/2006 to 12/31/2006): AGGREGATE({[EVENEMENT].[Temps Numerique].&[1].&[2006].&[1].&[1].&[1].&[1]: [EVENEMENT].[Temps Numerique].&[1].&[2006].&[4].&[12].&[53].&[365]} I've got my result but when i cross the years, I've null values. For example from 01/01/2005 to 12/31/2006: WITH MEMBE ...Show All
Visual C# VCSExpress: How to set the icons for setup.exe, start/programs/programname.exe etc?
Hi, I'm a Visual C# Express beginner I've set the Icon (32x32) in the property of my form, and it works well running the application (the icon is showed in the upper,left corner of the form. But the icon on setup.exe and also the icon on the program shortcut in programs/myApplication is not set. Any solutions Many thanks ...Show All
Visual Studio Team System does web test simulate the same as the explorer
Hello All, i have a web application that sends in one user action some several web requests - some of those requests launch from the explorer in parallel - for example request1 send by the explorer at 15:00:01.500 the second request sent at 15:00:02 - the response body for both of the requests returns at the same time 15:00:10 - so my question is - does web test has the option to act exactly as the explorer by sending more then one request at a time when it necessary. thanks, tzvika. can you tell if there is an expected due date for another version of web test or any release updated patches - any way i'm glad to here y ...Show All
Visual Studio Team System How to set version information in a builded exe file
Hi all, When I build a solution, there will be exe file generated. Each time I build a solution, I want to set a unique version to the exe file. (right click the exe file, there should be a tab about the version informatin of the exe file.) Where and how could I set this version information Thanks, Leon Leon, You will need to programatically modify the AssemblyInfo.cs/vb file in your build script. There is a set of custom MSBuild tasks available that can help you do this depending upon the format you desire. Check out the AssemblyInfoTask home page on gotdotnet for installation files and source code. Also, check ou ...Show All
Visual C# Obtaining Static Duration
In C++ static variables are initialized when the program starts. Is there any way of making variables in C# that do this I have written code in C++ that allows new classes to register themselves by including a static variable within the new class that calls a registering function. This trick allows new classes to be added to a program without any alterations to the rest of the code. I am now trying to achieve the same thing in C#. This would have to be implemented via the CLR and would not be just a feature of C# itself. I would suggest you post a suggestion at the Microsoft Product Support Center ...Show All
Visual Studio Tools for Office Saving word doc silently
From within a word doc project in VSTO, I am trying to create and save a word doc to the server without starting an instance of word. Something like this: Private Sub ThisDocument_Startup( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Startup Me .Range.Text = "Hello World" Me .SaveAs( "C:\Temp\WordDocTest.doc" ) End Sub Running this in my local visual studio project opens an instance of word. How can I prevent Word from opening up I could not find any examples in the forum. Thanks for any help, Brian Ok last post--I ...Show All
.NET Development WSE 3.0 RTM for VS2005
Does anyone know when this will be released BenW It already is! Go get it! http://msdn.microsoft.com/webservices/webservices/building/wse/ Daniel Roth ...Show All
Visual J# ResourceBundle
I am having trouble figuring out where to place my resource bundles inside my asp web site. My J# class file is in: \Visual Studio Projects\WebSites\view\App_Code\com\systems\test\rbw.jsl In rbw.jsl I do: resourceBundle = ResourceBundle.getBundle("login", new Locale("en", "us")); I've placed a "login.properties" file and a "login_en_US.properties" in a bunch of different file locations and I always get a "Resource Bundle not Found" exception. Normally if you do ResourceBundle.getBundle("MyResources", new Locale("en", "US")), the resource bundle will search the classpath for a file called MyResources_en_US.properties.&nbs ...Show All
Visual Basic Graphical GUI's in Visual Basic -- is it possible?
Hello, first off, i'm not much of a programmer so forgive me if this question sounds silly... Is it possibleto create a DLL file in visual basic 2005 express which consists of a GUI ...maybe I put that the wrong way...here's what i'm trying to do: I'm using a program called ActiveWords that can read from a .dll file. I want the program (activewords) to call a method in the .dll file which will display a GUI file and then return a value to activewords... the activewords part aside, can a GUI be created in a dll thanks for the help A form is just a class (with a user interface) and therefore putting forms in othe ...Show All
.NET Development EventLogPermission
I am getting an EventLogPermission exception when calling my assembly from an ASP.NET 2.0 app. I tried setting the assembly to FullTrust via caspol.exe, but I still get this exception. Firstly, I am not attempting to log from ASP.NET directly, but from a dependent assembly (albeit in the same process space - effectively the same thing, I assume). I am loading the web app and assemblies over UNC. I am also impersonating a Domain Admin account in my web.config. My trust level is the default setting of "Full". I have tried various caspol commands such as "caspol -m -fulltrust \\mydomain\dfsroot\dfslink\myapp\bin\myassembly.dll " with n ...Show All
Visual C++ C++/CLI
I was wondering. Where can I find C++/CLI tutorials for use with the Visual Studios 2005 I have the Team System edition. I rather recommend buying a book, which should be much more comprehensive than a tutorial. And ususally, you don't find tutorials on learning a programming language. ...Show All
