MrCRM's Q&A profile
Visual C# Change default access modifier for design-time placed controls
Hi, We're generating XML documentation files, so when a publically visible property has no comments a warning is displayed. Because VS2005 re-generates the entire designer.cs file for each change in the aspx, putting (empty) comments above each control is no solution, because we'll have to place it again after each change in a page. We want to keep our solution at 0 warnings, but we do want XML documentation for the frontend project. The question I have is: is it possible to change the default access modifier a control gets when you put it on a page And if that is not possible, is there a ignore-me attribute which can be placed There are a couple of solutions to your problem. The first solution is to not generate XML documentation fo ...Show All
Visual Studio Express Editions What is the Best Method?
What is the best method to get file names from a directory in order to rename them I used a combo box and a numeric up down..and you will have to do some padding but this should get you started.... Dim RootPath As String Dim TheFiles () As String Private Sub Form3_Load ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Me . Load For x As Integer = Keys . A To Keys . Z Me . cboAlphaSequence . Items . Add ( Chr ( x )) Next Me . cboAlphaSequence . SelectedIndex = 0 If FolderBrowserDialog1 . ShowDialog () = Windows . Forms . DialogResult . OK Then 'FolderBrowserDialog1.SelectedPath = SelectedFol ...Show All
Visual Studio Team System TFS reporting
After create a new Team Project, why always have reporting services error Reporting Services Error Hi Jiajia, TFSWarehouse is a database on your data tier (the machine that contains the SQL Server for the databases for work items, build, version control). Specifically, it would be helpful to know if you're seeing any errors in the event viewer on your application tier with source = "TFS Warehouse". To open the event viewer, type eventvwr.msc into a command window and click on "Application" in the window. Thanks! Mauli ...Show All
Visual Basic I can't see the "Windows Control Library" template
Hi. I wanna build a custom form, but I can't see the Windows Control Library, which is needed to build it. When I open up the Create New Project, it doesn't show. Is this feature unavailable in Express Edition Ahh, I see. Yeah, that worked. Thanks, Dave. It's this book of Evangelos Petroutsos (Mastering Microsoft Visual Basic 2005) that can give you a hard time, especially since he's so good making it hard to understand by not explaining everything in detail, especially the new codes he introduces IMHO. I'd be glad to pick up a Programming Microsoft Visual Basic 2005: The Language here in the Philippines, but the thing is...nobody's selling it, and I don't have credit card to order online. Well, thanks aga ...Show All
Visual Studio VSS 2005: Require Secure Communications using SSL is grayed out
I am having some issues setting up VSS Internet access. Has anyone run into the issue where the "Require Secure Communcations over SSL" is grayed out. I have already created, issued and applied a SSL cert to my Default Web Site. I have searched all over the web and the documentation doesn't seem to point to this occurrence. Any ideas See link for the screenshot. http://test.naturalproduct.us/images/vss.jpg Actually, the certificate is already trusted by the server. On the server, I opened up IE and navigated to https://tenali.myftp.org and I do not get the cert warning. At the bottom of IE, if I click on the gold lock, I can see the cert and it has a valid status (not expired, trusted, cert m ...Show All
Visual Studio Team System Can't see test project -templates? Where to get them?
Hi all! I have Visual Studio Team System installed and I want to use it to create test projects for my solution. Problem is that when I try to create new test project, I can't see any of those templates (e.g. load test). Where should they be (on hd) or is it possible to install them somehow I'm just looking the "default" test projects... Thanks in advance! I have the correct version(s). From help/about: Visual Studio 2005 Team Edition for Architects, Visual Studio 2005 Team Edition for Developers and Visual Studio 2005 Team Edition for Testers. Visual Studio's version is 8.0.50727.762 (if it helps somehow). Any ideas ...Show All
SQL Server SQL Server 2005 Analysis Services - disk configuration
Hi Could anyone please refer me any documentation or link that refers about disk & drive configuration for SQL Server 2005 Analysis Services. Thanks in advance The Business Intelligence Architecture and Design Guide should have some useful info: download and look at 10 - OnlineAnalyticalProcessing_OLAP.doc . There are a few pointers in there. Essentially, if you have massive cubes, you could partition data across disks just as you would in the RDBMS. However, I'm not sure if there would be any benefit, since I don't know if SSAS can take advantage of any parrallell processing. On the other hand, just creating physical partitions for the data is supposed to speed up queries if the data is contained in that particu ...Show All
Visual Studio Express Editions Change font
Hi i would like to know how can i change the font of a RichTextBox clickng on the button. When i'm clicking on the button, the selected text in a RichTextBox must be Formated with " Microsoft Sans Serif" font . I have tried this code, but is not working RichTextBox1.SelectionFont = New Font(RichTextBox1.SelectionFont, RichTextBox1.SelectionFont.Name Xor Font.Name "Microsoft Sans Serif" ) Anybody know how to do this Thank you Use a fontdialog Private Sub FontToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FontToolStripMenuItem.Click If FontDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then RichTextBox1.SelectionFon ...Show All
Visual C# Screen Resolution in C# 1.1
Hello, I designed an application in c# windows forms (.net 2003). I have some doubts about screen resolution. 1. When my application is starting, i want to change the system resolution depends on my application. 2. Changing the application settings depends on System resolution.Which is better one and give any ideas about changing the resolution. Hi I am sure that there are some API's available that will allow you to change a screen resolution but to be honest, I don't particularly think this is a good idea. Users generally set their resolutions to what works best for them and I am sure that they would not appreciate a particular piece of software changing it for them (especially the ...Show All
.NET Development Instantiating Remote Object as a new Process
Hello, I have a question regarding remoting objects and their instantiation on the server side. Can remote object be instantiated as a new process on the server side my remote object takes up heavy-duty calculations and i want for each of the clients that connect to the server to have a new process for their instantiated remote object on the server. Currently the server has one process on which many clients run, but i want to seperate each client's remote object process as well. any input would be greatly appreciated! Hi Nuri, Thanks a lot for your reply! Just a silly question; I'm not familiar with *thread* instantiating for remoting object. Is that multi threading ...Show All
Smart Device Development Home screen plugin for smart phone
I want's to make a smart phone home screen plugin in which my application[which is a C# application] shortcut icon appear on the home screen. I have make a today screen pulgin for this purpose for pocket pc.But I think home screen behavior is little bit different. In pocket PC I add the registry entries in the HKLM\Software\Microsoft\Today\Items\.... But Like Pocket PC I can't find the registry entry for Home. What I want's is the home screen extension that if user change any of there home screen this link should remain same on each screen That what exactly i want's want's to update all the files [xxxx.home.xml] in the \Application Data\Home with my plugin I have seen the sample in windows mobile 5.0 sdk HomeScreen it creates a ...Show All
Commerce Server Virtual directory problem
Hi This isn't really a Commerce Server question but I thought others might have had similar issues. We are currently running our commerce server site as http://xxx.xxx.xxx.xxx/StarterSite/ prior to going live. We want to run the site as http://xxx.xxx.xxx.xxx/ so I wondered what the best way forward is I've tried using pup to package up the site, but the databases weren't created correctly on XP (yes I know its got problems) when I installed it on my own machine. Given that it doesn't change all the name instances of "StarterSite" I can't really risk installing it back on the same machine (as a new website rather than a virtual directory of the default website) in case it messes up the site. Any help would be hugely a ...Show All
Visual Studio Team System Unauthorized operation during distributed build
Hi, All! I have TFS server on a one PC and ms build server on another. I tried to execute distributed build. The build was failed. See the build log on the bottom of my message. Team Build Service works under account witch have full access permissions to the Drop Directory and the Build Directory. Do anybody know how can I find out a cause of the error Thanks in advance, Pavel Mikheev What do you mean by "distributed" exactly Using a separate box as the build machine (separate from the TFS machine) is a standard configuration, so I don't think that this, in and of itself, is causing your problem. -Aaron ...Show All
.NET Development Out of memory exception (c#, .net 2003, large images)
Hi, I am developing an application (c#, .Net 2003, Framework 1.1) that deals with large images. The application captures multiple image frames and stitch them up into a large hige-res image. We are looking at 50+ frames and sometimes more than 100 frames of 1024x768 color images. I am also using double buffers for edit purposes. To get an idea of what this application does: beyond the image acquisition and stitching, it is very similar to Paint.Net ( http://www.getpaint.net/index2.html ) in providing tools to draw on top of the image. The program is hitting out of memory exceptions -- sometimes even with smaller images. Documentation on LOH seems to explain this observation well, especially with memory fragmentation a likely cause of ...Show All
.NET Development WSE 3.0 get UsernameToken
How do i get my UsernameToken in a web Service [ WebMethod ] public string HelloWorld() { UsernameToken token = // how String username = token.Username; return username ; } Thanks. Paul. Ive found this code on the net which does work ok but it's obsolete. string tokenStr = string .Empty; UsernameToken token = null ; foreach ( UsernameToken t in RequestSoapContext .Current.Security.Tokens) { token = t; break ; } String username = token.Username; It's saying: Warning 1 'Microsoft.Web.Services3.SoapContext.Security' is obsolete: 'SoapContext.Security is obsolete. Consider deriving from SendSecurityFilter ...Show All
