Software Development Network Logo
  • VS Team System
  • Architecture
  • Windows Forms
  • SQL Server
  • Visual C#
  • Game Technologies
  • Windows Vista
  • Microsoft ISV
  • Visual Basic
  • VS Express Editions
  • Visual J#
  • Windows Live
  • Visual C++
  • Visual FoxPro
  • Smart Device

Software Development Network >> Beeblebrox_dk's Q&A profile

Beeblebrox_dk

Member List

LDJ
Ciprian Gerea
Abhinesh Jadhav
Kevin Moore - MSFT
cbroussard
Anujoy08
David Mann [MVP]
kspe92
Philly
marcelo mazon
ailin
Digo21
EarlyAdoptors
puneetjain83
michelangelot
jimc52
the user
Dwayne A. Davis
Pieter Coetzer - South Africa
Rui Silva18093
Only Title

Beeblebrox_dk's Q&A profile

  • Visual Basic Me.activecontrols not working

    Hi, I have a toolstripcontainer defined and i have 2 buttons inside the toolstrip. I want to use the Me.Activecontrols.Name to check the button that was clicked, but it always returns the toolstrip control name. Let me know how to get the button that was clicked with Me.ActiveControls.Name Private Sub btn_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn.Click MsgBox( Me .ActiveControl.Name ...Show All

  • Windows Forms Bind TextBox to Object with properties that may be null

    Using .net 1.1 I have business objects in a collection that is bound to a grid.  Only some of the properties of the business object are displayed in the grid (using table/column styles). Properties not shown in the grid are bound to TextBoxes b ...Show All

  • Visual Studio Team System ExecutionException when add a 3rd party reference

    I am trying to use NMock with VSTS Unit testing. I have referenced nmock.dll locally. When I run the tests, all the tests are aborted. Below is an extraction from the error report. Microsoft.VisualStudio.TestTools.TestManagement.ExecutionException: Test Run deployment issue: The location of the file or directory "%LOCALDISKPATH%nmock.dll' is not trusted. I tried to use the DeploymentItem attribute as [ DeploymentItem ( @"%LOCALDISKPATH%nmo ...Show All

  • Windows Forms Binding Index of Custom Object Collection to ValueMember of ComboBox

    I have a custom collection called Profiles which contains a collection of custom objects of type Profile.  When I am databinding to a combobox, I would like to bind the ValueMember to the Index of the object within the collection.  That way I can determine the index of the selected object. this.cboProfiles.DataSource = profiles; this.cboProfiles.DisplayMember = "Name"; this.cboProfiles.ValueMember = "Index"; <-- Something like this ...Show All

  • Visual Basic "key already associated..." error message

    I am getting the error message "key is already associated with an element of the collection" when the line with the arrow is executed.  Not exactly sure why     Set cLogin = New Collection     Open "\\hr-17\passwd\password.log" For Input As #1     Do While Not EOF(1)         Input #1, strLogin         strLoginSplit = Split(str ...Show All

  • Windows Forms How to access listbox from outside parent class

    I've written a function to add a line to a listBox so my program can give updates of its current status. Heres the code: void Main::listBox_Messages_Add(String ^message) { if (listBox_Messages->InvokeRequired) { listBox_Messages_Add_Delegate ^func_delegate = gcnew listBox_Messages_Add_Delegate(this, &Main::listBox_Messages_Add); Invoke(func_delegate, message); } else { Main::listBox_Messages->TopIndex = Mai ...Show All

  • Visual C# Question about class design best practice

    I've been trying to find and answer to this question for some time so I hope it can be answered here. My question is regarding the use of properties (get/set) in a class that will not be exposed to the public. Is it better (i.e. more effecient, best practice, Microsoft way, etc) to use a property to facilitate the use of an external object within a class as in example 1. OR just use the external class's properties directly without ...Show All

  • Windows Forms Remove created graphics in picturebox

    I am simply trying to remove graphics in a picture box that were created this way.... //begin loop //pictureBox2.Invalidate(); //removes it but then the last images created will not show after this line! Graphics gs = this .pictureBox2.CreateGraphics(); // more code to create shapes and text strings. There isn't a simple pictureBox2.clear or remove or anything else I can find. Suggestions Thanks, Zath T ...Show All

  • Visual C# How to launch process in c#.net web application(on button's click event)

      Hi All,   using System.Diagnostics; Process process = new Process(); process.StartInfo.FileName ="msimn.exe"; process.Start(); This code runs perfectly with Console Application but I need to run  same " msimn.exe" on button's click event in web application..I have tried but unable to do that.. Pls..let me know how to do that ,Thanks in advance Leena     & ...Show All

  • Visual Studio Express Editions Where's all the templates

    G'day I've been following along with Bob and his Learn Visual Basic.net video tutorials but I'm stuck on lesson 6. His first example involves using a class template however my Visual Basic Express edition hasn't got that one, or several others he has - Dialog, Explorer Form, MDI Parent Form, About Box, Splash Screen, Module, Data Series, SQL Database, User Control and Text File. I have installed SQL Server Express & S ...Show All

  • Visual Studio 2008 (Pre-release) support for Access

    Do you intend to include support for Access databases AFAIK they are thinking on supporting all databases in one or another way - perhaps through providers (there is also a post in the subject somewhere in this forum) ...Show All

  • Visual Studio Express Editions MicrosoftR Visual BasicR 2005 Express Edition: Build a Program Now! from Microsoft Press

    Good morning everyone! I understand that there is a downloadable version available of this manual so that those of us who are exploring Microsoft Visual Basic 2005 Express would have the benefit of text devoted to opening up the possibilities and providing the tools to make exploration and creation even more exciting. Sure, it's challenging to sort of go by your guts to pick up techniques for developing software products and services, but ...Show All

  • SQL Server Insert Trigger

    I have a table that has a unique ID field. When a new record is inserted into the table I would like to insert the ID into 3 other tables. I am new to triggers and am not sure how to handle this. Any idea how the trigger would be written I don't have a server around at the moment to provide you with working code, but all in all you have to create an AFTER INSERT trigger that will insert value inserted.ID ( i ...Show All

  • .NET Development Web Service Architectural Question

    What is the best way to implement a ASP.NET Web Service that must call a socket server in order to fulfill the web service request I have tried to create the socket in the web method, connect to the socket server, send the request, wait for the response, shutdown the socket, and close the socket; however, this is not very performant. Any suggestions would be very much appreciated... Thanks, James This is a diffic ...Show All

  • Windows Forms Accessing Bound DataTable Index from DataGridView

    I have two DataGridViews with their DataSource set to a DataTable BindingSource. I would like the selections made in one DataGridView to be reflected in the 2nd DataGridView. I was planning on raising/handling an event in the respective DataGridViews, but I don't have a common index to correlate the two rows that need to be highlighted.  Since the DataTable is the commonality between the two DataGridViews, I assume that there is a dire ...Show All

©2008 Software Development Network

powered by phorum