Ganesh_.NET's Q&A profile
Visual Basic How do you create buttons with events at runtime in .Net?
Hi everybody, Is there anybody how to create buttons with events at runtime in .Net preferably in VB.Net --------------------------------------------------------- Sample: Inside the #Region " Windows Form Designer generated code " Friend WithEvents btnCenter As System.Windows.Forms.Button Outside #Region " Windows Form Designer generated code " Private Sub btnCenter_Click(ByVal sender As System.Object, ByVal e As System.EventAr ...Show All
Visual Studio Team System Object reference not set to an instance of an object
Everytime I check in a file, i get this message. What is this for Thanks, Ted OK, I just went through and traced by my fix for this. As indicated by my earlier posts, I fixed this in the sources about this time last year. The fix did NOT go into SP1, however. I believe this was due to the fact that the null reference exception occurs after the check-in is already complete and no harm is done. I agree ...Show All
Visual Studio Have both a ProjectCollection and ProjectItems in a Solution vstemplate
Hi! I hope this is the right forum to ask this question... I'm trying to have a solution template (.vstemplate file) that has both a ProjectCollection element with ProjectTemplateLink's inside, AND ProjectItem's. Something like this : <VSTemplate Version="2.0" Type="ProjectGroup" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005"> ... <TemplateContent> <ProjectItem TargetFileName="readme.txt">readme.txt</Proje ...Show All
Visual Studio 2008 (Pre-release) ReplyAction and void method
In the January CTP, I was able to have an empty reply sent back to a client by giving a ReplyAction in the contract. It was something like the following: [ OperationContract (Action = "DoStuff" , ReplyAction = "DoStuffResponse" )] void DoStuff( DoStuffMessage message); However, in the February CTP, this throws a CommunicationException: The server did not provide a meaningful reply; this might be caused by ...Show All
.NET Development HTML
Does anyone know if I am able to edit and compile or check HTML for errors in visual studio.NET I am fairly new to this so I am checking to see what exactly visual studio.NET is capable of. Thanks for your time ...Show All
Microsoft ISV Community Center Forums InputBox() in MS Word form textbox.
I would like to insert a InputBox() prompt with the text being entered into protected Word form Textbox. I understand the InputBox() code and that the macro will be going into the ''Run Macro On Entry' dropdown box. Can someone point me in the right direction on how to do this. I am new to VBA. Hi, The support engineer needs some clarifaction on what you're trying to do. 1. D ...Show All
.NET Development Searching a Generic List
I have no problem making and using a generic list. They work fantastic. However, I'm having a major problem being able to search them in the manner I want to. If I make a generic list to store some objects of some type, I want to be able to search the list not by passing it an instance of the object, (such as List.Contains(MyObj), or List.IndexOf(MyObj)), but rather by passing it the value of one of the properties of my object. For example, I ...Show All
Visual Studio Team System Team Build unable to Run Auto Builds now
For some reason today, when I run a build type (automated build) thru the VSTS Interface. I get the following message back: "Failed to retrieve data from the server. Please verify the network connection and try again." I have no problem building the Solutions manually. Only encounter problems thru the Build Type. I see the following in Event Viewer on the Team Foundation Server log: " An unexpected condition h ...Show All
Windows Forms DoubleClick event effect on all controls
Hi there I'm beginner and my problem is i want to make "DoubleClick" event effect on all controls like ContextMenuStrip you can see it's handle all the controls so is there any solution for this this is my code Private Sub Form1_DoubleClick( ByVal sender As Object , ByVal e As System.EventArgs) Handles _ Me .DoubleClick, FlowLayoutPanel1.DoubleClick, CpuGroupBox.DoubleClick, _ CpuGraphPanel.DoubleClick, CpuLabel.Doubl ...Show All
Visual Studio Express Editions Hi, can some one help me with a chatroom, guestbook?
Hi i'm from Holland, i'm learning to work with visual basic. Know a used a starterskit. Then made it my one stile. Look and practisch the starters video. But now it doesn't work in the starters kit. I want to make and add a chatroom, guestroom, and something like this form, where a inlogd guest can edit a form like this , in de starterskit. But is there anny video's about these guestrooms, chatrooms, form. Can some one please help me. I'm ...Show All
.NET Development Binding Multiple Values to Single Component
Friends, I am hoping someone can tell me if it's possible to bind multiple values to a single component and/or property. What I am attempting to do is display two values from a dataset in the Text property of a form. The form has a data navigator and the Text property should change with each record. Any info would be greatly appreciated. Thanks! You could create additional DataColumn in your DataTable and ...Show All
Visual Basic VS 05
I ordered a cd of vs 05 and when I try to install it my cdrom won`t read the disc. There is nothing comes up when I go to my computer and try to explore for the setup.It prompts me to insert a disc into the drive. I know that the drive is working because I tried another cd in it and it worked. Is there something that I have missed or did MS send me a blank disc i had that problem to cr*p i dont have a new ...Show All
Visual C# Problems with colors
I added a picturebox on my form and added an image on it. The background color is set to transparent. I putted another picturebox on that picturebox and setted the background color also to transparent , but it keeps the grey background color of the form background. But I want that it it shows background image of the underlying picturebox. Cause the transparency should normaly let the underlying picturebox trough that one. How is that possible ...Show All
Windows Forms Where is ClickOnce App?
Hi, After successfull installation of ClickOnce app can I find where it is installed. I can find it through explorer but what I need is to find it in code Thanks ... There is an undocument registry key that gets created, but you really shouldn't be accessing a ClickOnce deployed app from another app programmatically unless you are going through a remote communications layer like .NET Remoting. You can use .NET Remoting or eventually W ...Show All
Visual Basic Relase the Fix for Visual Basic Compiler Error &amp;H8013141e&amp;
Hi all i just want to know when is going to be released the fix for visual basic compiler error &H8013141e& this is already reported in the microsoft productfeedback site. i think this is a very urgent patch that must be released asap and please do not repond that i should go back to vs.2003 because i have lots of code developed in VS 2005 to framework 2.0 .. JSB PS: this error pisses me of, i need to res ...Show All
