GaneshMoorthy MC's Q&A profile
Windows Forms Databinding to a ToolStripStatusLabel
Hi, Why there is no databindings for ToolStripStatusLabel I need to add a databinding to it, like a regular label allows databinding for its text. I know StatusStrip can be databinded, but I cannot use this solution (I need a StatusStrip with 3 labels, each of them databinded to different properties). Regards, Valentin Iliescu This is not supported directly - you'll need to sub-class a ToolStripStatusLabel and make it an IBindableComponent (sample below). You'll then need to manually add the Bindings. Joe [ToolStripItemDesignerAvailability(ToolStripItemDesignerAvailability.StatusStrip)] public class Bindabl ...Show All
Visual Studio Team System Reports for all the projects.
Hello. My company currently is making java software and they have a freeware bug tracker called Mantis. They put all the bugs in that software and they generate reports for all the bugs on all the projects. As far as I know team foundation creates some databases but the Portal created is ONE for ONE project. The question is: Could I make a report that joins me all the projects on team foundation server I need this because my company has some Indicators on bugs, developers, etc. But those Indicators are global for all the software the company is developing not for any project specific. Thanks. You can create repo ...Show All
Visual Studio Team System Team Foundation Server Trial Edition on Microsoft Downloads
Are you eager to try Team Foundation Server, but you don’t have an MSDN Subscription to access the download, or you don’t want to wait to order and receive a CD in the mail We just put the English 180-day Trial Edition on Microsoft Downloads to make it more accessible. We also plan to make localized versions (e.g., Japanese, French, etc.) available for download once they’re ready. Visual Studio 2005 Team Foundation Server Trial Edition The download is a CD image file (.ISO) that is just around 447 MB, so be sure you have a reliable connection with adequate bandwidth for a successful download. Microsoft Downloads doesn’t ha ...Show All
Visual Basic display files names in a button in alphabethic
I have visual studio 2003. how can i show, in alphabeth, files names in different buttons without the extension, thanks anyway Could you use the debugger to step through the code Please check whether you get multiple file names in the early code. You need assign different Location for each new button, otherwise, they will overlap each other, and you will only see one of them. Thanks Lifeng Lu ...Show All
Visual C# simple editor using webBrowser control
Hi, I am working on an editor using the htmldocument in the webbrowser control. This is my code for testing out its capability: private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { htmldoc = webBrowser1.Document; htmldoc.ExecCommand("EditMode", true, null); } private void webBrowser1_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e) { // process key pressed switch ( e.KeyCode ) { case Keys.I: if ( e.Alt ) { htmldoc.ExecCommand("Indent", false, null); } // end if ...Show All
Visual Studio Express Editions problem at the start..
hi.. when i start my installation.......it doesnt connect with the microsoft server........as a result the installation doesnt even start.....is there a problem wit the server...or is it just me...any suggestions Try again and if it is the same problem it might be your internet settings that cause it to fail. Firewalls and proxies are configured to allow it to download If you do not get it working maybe it is an option for you to download the images and install it from there http://msdn.microsoft.com/vstudio/express/support/install/ ...Show All
Visual C# Setting Panel's 'Locked' property in code?
Hey Howzit I was astonished to see that a person can't override or set a Panel's "locked" property, how can I get around this Regards, Hi The Locked property doesnot belong to any Component... will you beleav that it is a property of the desginer .... so in design time it is acceble through desinger ... while at runtime there is no designer. Its work just like we drop a component on the designer and some of the properties appeared in other controls property lists ... Hope that you understand this ...Show All
Windows Forms Prevent Flickering
Ok, I'm about done with this form and one last thing to do, prevent the flickering. Yes, I have looked everything up I could find, but just can't seem to find the right sample. Most are for images, not created lines with createGraphics method. I have this on the form as well.... SetStyle(ControlStyles.UserPaint, true ); SetStyle(ControlStyles.AllPaintingInWmPaint, true ); SetStyle(ControlStyles.DoubleBuffer, true ); And, in my procedure to create the lines, I still get the flickering. Anyone have a link I may have overlooked or a suggestion //Enter here from quick sort recurrsion - may loop many many times pictureBox1.Refresh( ...Show All
.NET Development Protecting Assemblies
I'm building an n-tier application with data access, application and UI layers in separate projects and hence separate assemblies. MyProjectUI.dll MyProjectApp.dll MyProjectDataAccess.dll etc... The application will eventually be publicly available for download and installed on end-users machines. How can I protect my middle tier and DAL assemblies from unauthorised access so that a 'clever' user cannot add a reference to one of my separate assemblies and start calling it's public members. Marking members as Internal only works for classes that are 'inside' the same assembly. Any tips or suggestions would be greatly ...Show All
Smart Device Development Need some advice from the Pros
Hi, I need some advice developing a DSP app on PocketPC (specifically iPaq 2215 , which is PPC2003 I think). I have been developing Windows apps for a long time using VS with C++ as well as C#. So I am quite familiar with Win32 and the .Net framework on Windows but when it comes to developing for the PPC I am a complete newbie. I have the following requirements for my PPC app: 1) Must be able to record and play back audio at the same time (full duplex). A typical example might be a spectrum analyzer that also needs to send out a test tone at the same time. 2) Need as small as possible latency from recording a buffer of aud ...Show All
Visual Basic Suggestion for New VB Constructor Language Feature
Hi, When defining Attributes you can add properties as "Named Parameters". Why not allow us to do this in general in VB Class MyClass() Public Sub New(Arg1 As String) ... End Sub Public Property Property1 As String ... Public Property Property2 As Integer ... End Class ... E.g. Dim obj As New MyClass("Arg1Value",Property1="Prop1Value",Property2=12345) I know you can sort of do this anyway (nearly)... Dim obj As New MyClass("Arg1Value"):obj.Property1="Prop1Value":obj.Property2=12345 Or Dim obj As New MyClass("Arg1Value"):With obj:.P ...Show All
Visual C# traversing xmlschema
hi, Is ther is any sample to get the values of the message types in the xmlschema by parsing through the xpath iterator or xmldocument.The result sould consist of the xmlComplexTypes and xmlelements which also including the base types and ref types if they are present! Thanks in advance! ...Show All
Visual Basic Common class library between XP and SmartDevice
I want to have a common class library between windows xp program and a Pocket PC program. The code in the class is general processing, nothing device dependant. So, in my VS2005 Solution, I have a XP program and a Pocket PC program, and a Class Library. How can I get VS2005 to ( I guess) compile the class twice generating a DLL that will work with windows XP, and another DLL that will work with Pocket PC with out having to copy the code into another class libary that is specific for Pocket PC Any suggestions on how to have common code work for both without having to repeat it would be greatly appreciated. ...Show All
Windows Forms How can execute the public method inside the MDIparent from the client form?
Experts, I have an MDI form and child form. MDI form has two public methods which should be called or executed from the child form. Please guide me with same sample pages or code pages with c# or c++ visual studio 2003 version. Thanks, I find some information in this pages, same as what I need, but could not clearly understand the solution. Is there any C# example for this Any help Thanks ======== I have a main form (an mdi container) with a menu and the item "open". When clicking "open" a child form appears. Now, i don't want that several childforms are opened. So i want the "open" item to be ...Show All
Visual C# help me with datagrid and datagridView (noob problem)
Hi I know that this is for u guys a dumm question.. but please help What is the diference between datagrid datagridView datagrid source... I use the Mysql Server for an sql server.. and i have a little database named 'Test' how can i get all the rows there in my DataGrid View/ Some nobish tutorial abit how tu use themm will be helpfull!! Thanks !! Here is the nobish tutorials you asked for, click ! And here is a other list of articles: Data binding concepts in .NET windows forms Data Binding with Windows Forms 2.0: Programming Smart Client Data Applications with .NET Differences Between the Windows Forms DataGridView and DataGrid ...Show All
