SGK's Q&A profile
Visual C# How to hide class
I'm trying to hide class to the object browser, trying using the attribute : EditorBrowsable(EditorBrowsableState.Advanced)] but it seems run right only with properties and method. Is there any way to hide a class I found a workaround. Using EditorBrowsable to hide the classes/methods etc in question from Intellisense & the object browser works with a little help. First, it only works when the component ...Show All
Visual C# requiring a override method to call the overridden method
I'm trying to fiqure out how to require a override method to call the method that it overrode. for example: public class test { public test() { } public virtual void whatever() { // do something here you don't want to be done even though the class gets overridden // I know its not the way it should be done but I inherited this and have to get it to work } } public class ...Show All
Visual C++ LINK : fatal error LNK1104: cannot open file 'libcimtd.lib'
Hi, I've been trying to compile a code snippet and this is the first time I was using Visual Studio. I got an error while linking the objects: 1>LINK : fatal error LNK1104: cannot open file 'libcimtd.lib' I've already installed the Windows 2003 SDK without the x86_64 things, because my processor is x86. I didn't change any setting apart, VC++ directories where I added the SDKs ones. Do you know what my problem is Thanks! PS: I'm still ...Show All
Visual Studio Team System Distributed execution of functional tests
I have a requirement to run my functional tests across multiple machines. Ideally, I would want to set up, say, 10 machines to run tests, and trigger running my, say, 1500 tests from VSTS. Rather than run all 1500 tests on one machine, I should be able to let those 10 machines pick up the first 10 tests off the queue, run them, report the results back to VSTS, and have each machine pick up the next queued test as it completes its current task. ...Show All
Windows Forms SelectedIndexchanged event
Greetings I'm having a problem understanding how to code the SelectedIndexChanged event. I have two text boxes(txtAircraftID,txtCarrierName,) a radio button which you select plane type with and a listbox(lstAircraftID). I have created a menu so th ...Show All
Visual Studio Team System Sharepoint can't see ReportServer
Hi there,, I've just installed the the Team Foundation Beta 3, on a dual server setup. But I can't get my reportingservices to work as expected I've just found out that the installation did't exclude the "Reports" and "ReportServer"-paths automatictly So I tried to go to my app-tier and open'ed a command-promt and typed: > STSADM.EXE -o addpath -url http://tfs/ReportServer -type exclusion Then I get: The server i ...Show All
Software Development for Windows Vista winfx installation hang on Windows XP
Hi, I am trying to install WINFX beta2 runtime components on my XP machine, but it does not work. The install starts, copy some files and then shows a dialog saying that it may take a minute or two. This stays there forever. I can see 3 processes running: one winfxsetup.exe and two setup.exe. One of the setup.exe takes 50% of the cpu constantly (and I can't kill it, I have to reboot if I want to test the setup again). It's a french Wind ...Show All
SQL Server Please Help me with Editing XML files in SSIS 2005
I am using a XML file and retrieving data for my SSIS 2005 (Intigration Service) package, where after retrieving the data I need to update my XML file with new data by using script task or XML task < xml version="1.0" > <TimeBuilder> <StartYear>2003</StartYear> <EndYear>2004</EndYear> </TimeBuilder> ...Show All
Visual Basic Localizing the first form
Hello all, I am working on an application localized for 4 languages. The main (default) language is french. I am able to programatically change the CurrentUICulture at runtime, for all the forms except for the first one. I have 2 questions: Is there any way to change the interface of the first form Now I do that by "manually" reading from the ressource file (say ...Show All
Windows Forms Getting file download event of web browser
How can I capture the file download event of browser in C# when downloading files like pdf, doc, rar, and so on Thanks I am in a similar situation, I would like to capture download events in Internet Explorer. I want to get the URL link that the file was downloaded from.. and the local path to which it was saved to. How can obtain these information Thanks! ...Show All
Visual C# problem in making a directory tree?
i want to make a directory tree including some features like that of vs.net ide. i have a problem in expanding a node.i want to expand a node only when a node is double clicked. is there any way that i can raise a event only when a node is double clicked. i tried to use the double click event but that works for the whole control.The event is raised if i click in some other part of the node. how can i know whether a node is ...Show All
.NET Development Exception when client app try to connect to a server event
I write simple .net remoting app to understand this technology. I have server and client app. Remote object: public class JobServerImpl : MarshalByRefObject, IJobServer{ ... public event JobEventHandler JobEvent; ...}When client app try connect to JobEvent,m_JobServer.JobEvent += new JobEventHandler(this.MyJobEventHandler); it raised up an InnerException - Cannot load file or assambly JobClient.exe. What`s wrong Is that exception concerned ...Show All
Visual C# Sharing / Accessing comon control values between forms
I am a begining C# programmer using Visual Studio 2005 Beta and have the following question. How can I access values from common controls, like a ComboBox, or variables within Form1 (the parent) from Form2 (a dialog) and vice versa Scenario: In Form 1 the User enters form data. In Form 2 the input data is processed and the results are displayed in a new form with readonly textboxes. An explanati ...Show All
Visual C# Is there a way to get an array of all classes that inherits a specific interface?
Hi! Please help! Is there a way to get an array of all classes that inherits a specific interface For Example: Two classes named myClass1 and myClass2 inherits an interface called IMyInterface. I would then like to create a method somewhat like this: public string[] GetInterfaceClasses(string InterfaceName){ .... } Where string[0] == myClass1 and string[1] == myClass2. Is this possible at all ...Show All
Visual Studio Problem setting IVsTextLines buffer language GUID
I'm following the code described in D.Ex Weblog ( http://blogs.msdn.com/dr._ex/archive/2004/08/29/222425.aspx ) to create a code window. I set de language service using the Guid referred {E34ACDC0-BAAE-11D0-88BF-00A0C9110049} for the VB language but I had no success. What is even strange is that if I run the following code Guid vbGuid = new Guid ( "{E34ACDC0-BAAE-11D0-88BF-00A0C9110049}" ); buffer.SetLanguageServiceID( ref vbGuid ...Show All
