undead142's Q&A profile
Visual Studio Tools for Office Excel Instances Creating Multiple Custom Menus
Hello all. I have a question to which searching and research has yielded no answers. I followed the MSDN blog here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_vsto2003_ta/html/odc_VSTCommBar.asp about creating custom menu items in Excel. This project is for an end user that needs to open multiple instances of this file. However, when multiple instances of this file are opened, it creates that man ...Show All
Visual Basic Optimizing application
I found the program I wrote (The keystater one again) uses up 16mb of memory which is riddiculous. It is designed to be a program that will run in the background without eating tons of memory. I have set up 5 tray icons (only 1 is visible) because I can't get the ico in the res file to go into the tray icon. (I get can not convert bitmap to icon). Make sure everything that can be closed or disposed is. And.N ...Show All
.NET Development object reference
If in form1 I use User user = new User(); to create my user object. When I go to form2 how do I reference the same user object Thanks Mike I have a similar problem but with using a customRoleProvider My IsUserInRole method is set to public overrides isUserInrole so when i change Public Overridable function IsUserIRole(username as string, Rolename as string) to Shared Overridable functi ...Show All
Visual C# Design of 'this'
Hi All, I seek a clarification in the design of the 'this' keyword in C#. Let us consider this bit of code- class Test { public Test() { Test t1 = this ; } } This is fair enough,it works-memory for the instance of Test has been created and Test1 has been made to point to the current instance.Fine Contrast the above to the following code class Test { Test t1 = this ; public Test() ...Show All
Visual Studio Express Editions VB + SQL server vs Access
I am very new to programming etc so I may be misunderstanding the situation, but my question is this: VB.Net Express is a programming language which comes with database functionality via SQL Server Express, whereas Access is a Database which is programmable via VBA. So, if one is developing a (fairly simple) database based application what are the pros and cons of using one set of software tools versus the other Thanks for any insights. Eric ...Show All
Windows Forms Statrt Up for Smart Client Projects
I have been reading the articles and overviews on Smart Clients. But have been unable to find some simple/example solution/projects to get started. Where can I find some sample apps to get started Also is the a Smart Client forums somewhere, havent been able to find smart client forums This forum seemed most relavent place to post. TIA Have a look at the following page: http://www.windowsforms.net/Default.aspx tabindex=8&tabid=3 The ...Show All
Visual Studio Express Editions How do you make an invisible OCX?
Hi, I'm using VB express and I cant seem to find a way of making my usercontrol invisible I can do it with VB6, its easy, But I want to make a control that doesn't have location and other visual properties, I've seen them but I cant make them. Am I missing something PS. Please dont post the obvious set visible to false, thats not what I want, lol, I want the ocx to only expose the methods and properties I set. Thanks. Sounds to me li ...Show All
Visual Studio Tools for Office Create a "Bare" Workbook From VSTO
In my Excel VSTO project, I would like to provide an "Export" button that would copy and reformat one of my worksheets into a new "bare" workbook. The "bare" workbook would not have any VSTO code behind. So, for example, I could e-mail the workbook to a client, and the client clould see the data without worrying about Dot Net deployment and security issues. Read in the data from ...Show All
SQL Server problems with report
Hello, I have a report in Matrix form. Now i need a report in a way that when i click on any item in my column ,another report should be generated with all the data related to it. For example below is a matrix report A B C X x1 x2 x3 Y y1 y2 y3 Z z1 z2 z3 Now when i click on 'X' i need a report with data x1 ...Show All
Windows Forms Is it possible to create a dynamic userControl?
Can I create a user control that contains dynamic controls What I meanis that at design time there is no static controls created except place holders for text boxes and labels. When the user control is added to a form, the form will tell the&n ...Show All
Visual Studio Team System Proxy Configuration for Dummies
Hi, my coworker and I just can't get the proxy setup straight. I started a test setup where I have one TFS and one client. The client can connect directly to the TFS without a problem, now I want to do the same, but use a proxy (we will later do this between remote locations with a slow connection). I have some really basic questions and I guess I just did not understand how exaclty the proxy works. a) Where do I have to install the proxy ...Show All
Visual Studio Using Crystal Reports 10 with C# EE 2005
Hi! I've created report file for crystal report, and have placed report viewer on the form. Can anybody tell me how can I do the following: 1) Displaying the report in the viewer on the form. 2) To be able to change the data source programmatically before displaying it in viewer. Please respond with sample codes or specify related links. Thanks in advance. Sohail. 1) to display there are two main ways, depends on if you a ...Show All
Visual Basic Opening empty file as XMLDocument
Hi, in my form load I'm looking for an xml file and if it does not exists then I create it. But wen I try to open it as an XmlDocument it popups an error. I thik its because the created file is empty. Could I add the line " < xml version ="1.0" encoding ="utf-8" > " to the file on its creation and how Here's the code : Private Sub Form1_Load( ByVal sender As Object , ByVal e As S ...Show All
SQL Server Database Mirroring is not working at all in RTM
I tried all the scenarios . 1- three CLEAN machines in the same domain each has a default instance 2- 1 machine having principal and witness and another one having mirror 3- 1 machine has all the service for all of them is running under 1 account which is the domain admin. but still i always getting the same error 1418 "the nework address '...' can not be reached or does not exist ..." when i try to add the mirror server as a partner fo ...Show All
Visual C# how to use properties/IDE to link events to handlers?
I'm sure it's just a case of me being dense.... I'm comfortable with Visual Studio and C++ and generated code, event/message mapping to methods, etc. I can't seem to do it with C# (I'm a C# newbie). If I bring up the designer window, and double click on a ListBox form, the IDE will generate code for the SelectedItemChanged message/method. What I want is to hook up the DoubleClick event/method. I tried doing it manually (with ...Show All
