Chris Tacke's Q&A profile
Visual Studio Visual studio insall bug
When I try to open help, as well as look in to the properties of a project, it appears that components of Visual Studio did not install properly. I had Studio Beta 1 installed, this may be related to the problem, though it has been uninstalled. This is the message I get: Message box title: Package Load Failure Message text: Package 'Visual Studio Common IDE Package' has failed to load properly (GUID = {6E87CFAD-6C05-4ADF-9CD7-3B7943875B7C} ...Show All
Visual Basic Accessing a web service from a vb.net windows form application
I have a web service that I have added as a web refernce in my vb.net application. The web service was created vs2005. I added a web reference in my vb.net application and it shows up as: Web Reference localhost The actual name of my webservice is http://localhost:2758/WebSite4/Service.asmx Now for my question, how do I declare an instance of my ...Show All
Visual Basic Generic Collections In vb.net 2005 Help
Hi, Getting to grasp with Generics.Could somebody help as follows: In vs 2003 I used to write strongly typed collections now I could simplify it all with generic. I am trying to write some base collections What is the difference between inheriting from collectionbase and list I have tried to implement the IEnumerator in my collection but the for each still doesnt work Can somebody provide a good example of collections using generics ...Show All
Visual C# MasterPage
Hi guys, I have a base page that basically contructs and loads all the html for every single page I have, i.e it builds the head, body, html and form tags etc I am trying to achieve the following, depending on what role the user is (taken from db) then display the masterpage that matches that role protected override void OnPreInit(EventArgs e) { // code to check which role if (role==Admin) { base.MasterPageFile = "/masterpageforadmin ...Show All
Visual Studio About adding "using xxx" statements programmatically.
Hello. I have a question about About adding "using xxx" statements programmatically after the class is created. I made the class just like as below. " CodeNamespace lcnNew = aprjTarget.CodeModel.AddNamespace(lsNamespace, lsClassPath, 0); CodeClass lcsNew = lcnNew.AddClass(asName, ...Show All
Visual Studio Express Editions Context menus
When I click on object, and then right-click on a textbox (thus show a context menu), the activecontrol still remains the object I clicked on before-hand. How can I change this Example: When click on a linklabel and then right click on a textbox (activate a context menu), Me.ActiveControl still remains the linklabel. How can I change the activecontrol to the textbox The ActiveControl is evaluated in Private Sub cntxtmnustrp_contextmenus ...Show All
.NET Development Method Authentication for Internet public Web Service
I need to create a web service to be consumed in the public internet. I woul like to use a declarative mode. From the WSE 3.0 documentation I have two posibilities: UserName or Certificate. I can not use certificates in the actual project, so I have only the UserName option. Is this correct But I need the X.509 certificate in the server, and copy the public part to the clients. Is this correct Thanks a lot for your attention ...Show All
Windows Forms Copy & Paste functions in datagrid?
Hi, I'd like to create my own Copy & Paste on datagrid. There should be functions available for them. Any body knows that Thanks There is no support for pasting data directly into the grid. The grid listens to the Ctrl-C message&nb ...Show All
Visual Studio 2008 (Pre-release) Conversion to expression trees
Hi, I played a bit with C# 3 and lambda expressions and I have one question. I was thinking of one usage where I'd like to convert statement block to expression tree. For example I'd like to get expression tree for something like this: ... myExpression = () => { Something s=new Something(); for(int i=0; i<10; i++) s.DoSomething(); } I know that using of statement blocks isn't supported in current preview, but will it be possible to ...Show All
Visual Studio Express Editions Ignore white-space characters
Does anyone know how can I ignore white-space characters(using a function maybe) I want this to happen when comparing two strings.To be more specific when,for example, I write "<hey>" I want in the string comparison to be perceived as correct with " <hey>" or " <hey> " but not "< hey>" or "<h ey>".I tried with escape sequences like \b or \t but this is for one instance(or as many as you have ...Show All
Windows Forms ClickOnce and Web Services
Hi Guys, I create an app, I specify partial trust, I select Internet as the target deployment zone and I Analyze my app's permissions. Because my app references a web service (as it seems from my testing), my app automatically can only be a fully trusted application, as reported by vs.net. Why is this How do I get around this What is the recommended approach for dealing with ClickOnce-deployed apps and web services It seems like a natural combi ...Show All
Visual Studio Express Editions MaskedTextBox Question
I need a textbox that will accept values in the format x.x or xx.x (i.e. 6.7, 4.4, or 10.0). I tried using a mask of "90.0" and "09.0" but they each seem to require two digits to the left of the decimal How should this mask be coded I agree that the design is rather weak. However You can achieve specific formatting by using a textbox and then reformatting when you leave. Private Sub TextBox1_Leave( ByVal sender As ...Show All
Visual Studio Change ASP.NET Worker Processes
Does anyone know if there is a way to select which version of the aspnet_wp.exe runs on my machine I have version 2 of the .NET framework installed on my machine alongside version 1.1 of the framework . When I build a web application using VS 2003 I get the error "Unable to Start Debugging on the Web Server". I checked all my settings (using this list: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vsdebug/html/vxtbserror ...Show All
Visual Studio Team System Error 28100.Error loading Event web service.
Hi, During installation I got "Error 28100.Error loading Event web service.". Any idea what is going wrong TFS is being installed on a Virtual Machine. Please feel free to contact me if you need any more information. Thanks, Bart ps. Is it possible to upload the setup log Are you attempting a single server or duel server TFS install At what stage of the installation process are you getting the erro ...Show All
Visual Studio Express Editions VISUAL BASIC EXPRESS - 2 COPIES
Several weeks ago I installed VB Express from a CD On Friday I installed Visual Studio Express from a DVD which I received from Microsoft. Do I now have 2 copies of VB Express on my computer If I do , can I use the Uninstall program to delete the 1st VB Express installation Visual Basic Express Edition is a product that can be individually installed and uninstalled. If you want to uninstall it you should be able to find it in the ...Show All
