Software Development Network Logo
  • SharePoint Products
  • Smart Devicet
  • Visual C#
  • Microsoft ISV
  • Visual Studio
  • IE Development
  • Visual FoxPro
  • SQL Server
  • Visual C++
  • Audio and Video
  • .NET Development
  • Visual Basic
  • Game Technologies
  • Windows Vista
  • Windows Forms

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

Chris_Smith

Member List

Malleswar
Sonix2001
bbg
DeveloperFrankie
Jennifer Three
DazlerD
c0d3bl00d3d
VitCon
wolf777
Peter Ritchie
gparali
Satya vani
Rik Dodsworth
Michael BBB
Ori'
ishaywei
PublicError
realdealer
Deniseb
marthew
Only Title

Chris_Smith's Q&A profile

  • Visual Studio Express Editions Populating a Dataset from an SQL Database

    I am using VB 2005 Express Edition! Also - this is my first attempty at accessing an SQL database, so I acknowledge that I have probably done something very silly but at this stage I am stumped and need some help. As a reference on how to do this, I used KB Article 301216. I have basically copied exactly what was shown in the article changing names to suit my requirements and have come up with the following code :- Dim connection As New SqlConnection(ConnectionString) connection.Open() Dim adapter As New SqlDataAdapter ReadString = "SELECT * FROM configuration" adapter.SelectCommand = New SqlCommand(ReadString, connection) Dim DSetCONFIGURATION As New DataSet( "CONFIGURATION&qu ...Show All

  • .NET Development .NET Framework 2 to 1.1

    I know this question is asked alot but still... My boss just asked me if i could move our .net Application from .net 2.0 to 1.1 because of most users dont have 2.0 ( cant see the reason why microsoft just didnt include 2.0 in autoupdate but well ). anyway... the application is made in VS2005 with as base language C#. I doupt bringing the application from VS2005 to VS2003 would really be a usefull solution, because we use new c# keyparts like partial classes and attributes. So.... is there any way to use .net 1.1 in VS2005 thanks already! -Koen in the auto updater it won't be included as .NET is an optional component, not a required security patch. the same goes for things like WMP, t ...Show All

  • Visual Studio Express Editions Database problem

    Hello to all: I have a database program that is supose to let the user select a date from a DateTimePicker control or I can use a text box but then again maybe a combobox might be better, don't really know. Anyways, the program must display the first and last names of all members who joined before the selected date(1992 to 2005). My problem is that I do not know how and what to install in the Date timePicker or textbox control or combobox. Please note that I already have the grid complete with the lastnames, first names, phone and date joined. Any code examples and help are welcome well you can use the datetimepicker and look at the date they chose using the Value property then perform your query against the database based o ...Show All

  • Visual C# GridView doesn't show

    Hello, everyone.  I am sure I am doing something wrong and I would like to ask if you could show me my mistake. I am trying to call data from a SQL's stored procedure into a gridview, but it doesn't show up on the page.  The name of the stored procedure is GEM_AP_SearchString.  On the page, I have a text box to accept users' input and a Search button.  The methods are below: protected void btnSearch_Click( object sender, EventArgs e) { lblSearch.Visible = true ; lblSearch.Text = "Your search for " + "'" + txtSearchString.Text + "'" + " returned the following results:" ; this .SearchString( "@SearchString" );              ...Show All

  • Windows Forms datagridview parent relation selection changed event?

    I have 2 dataGridView's using the parent/child and datarelation technique. when a row is changed in the parent, the child's data rows update to reflect the newly selected key. I need to know which event fires when the child's dgv data is updated ( as a result of the parent's row selection being changed ). Can anyone help, I appreciate it very much.... thanks, -stellar The bindingsource's listchanged event will fire Public Class Form1 Private Sub Form1_Load( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles MyBase .Load Dim strConn As String = _ "Server = .\sqlexpress;Database = NorthWind;" & _ "Integrated Security = SSPI;" Dim ...Show All

  • Software Development for Windows Vista how to change the text shown when dragging activities from the toolbox

    Can someone please explain, how I can programmatically change the text, that is shown, when I drag activities onto the designer surface By default, the class name is shown (for example in the designer rehosting example). Thanks for your help. However, it dit not help to change the name property. I am using the designer rehosting example from MSDN. I have tried the following: public class OrActivity : System.Workflow.ComponentModel. CompositeActivity , IActivityEventListener < ActivityExecutionStatusChangedEventArgs > { public OrActivity() : base ( "Composite Activity" ) { this .Name = "Composite Activity" ; } The designer still displays th ...Show All

  • Audio and Video Development TIMING :Using "inherit" for an animated property and more

    I have two questions: 1. Can "inherit" or "auto" be used for an animated property, If yes then, Does "style" inheritance occurs from the loaded DOM or the live DOM 2. For style properties which have Initial="auto" and inherited="true". Does it mean that the default value is inherited from the parent element Thanks in advance Yes, if the spec says you can use "inherit" or "auto" and it is animatable then you can set it to that value. Style inheritence is from the current "live" value. ...Show All

  • Windows Forms Update a DB from DataGridView

    Hi, I want to update a table from a DB, I have a DataGridView filled with data from the DB, and then I try to do this: sql = " UPDATE eEstacioRemota SET NomEstacio = '" & DataGridView1.CurrentRow.Cells("NomEstacio").Value sql = sql & "', Data= '" & DataGridView1.CurrentRow.Cells("Data").Value & " ' WHERE " sql = sql & "idEstacioRemota = " & CStr(DataGridView1.CurrentRow.Cells("idEstacioRemota").Value) Updatecmd.CommandType = CommandType.Text Updatecmd.Connection = Conn Updatecmd.CommandText = sql da.UpdateCommand = Updatecmd da.Update(ds, "Estat") And it works.. But only for the Curren ...Show All

  • Visual Studio Express Editions how can i select startup to user control at start up

    I am new to programing and would like to know how to do the following. I have multiple use controls and i would like to select the control to show at start up from a combobox list. i would like to save the selected control to a usersetting so it will start up when the aplication is restarted. Thanks I don't know, is 'indentation' not a word Sounds like sup'en to me Besides, I was the first to use 'booleanessity' on the forum. I'm always on the cutting edge of changing vocabulary as we know it. I R eucaded U no! You and Stephen need a guy like me around to make yall look good ...Show All

  • .NET Development MD5 Hashing

    Hello, Which of these methods is best for MD5 hashing of files Way one or two Two is way faster, which is good because I'm checking 5,000+ files, but the difference in the two strings seems a bit to much. Is it good to do it that way One returns: 399A182C60FEBF9EA026B7394443BF3E Two returns: OZoYLGD+v56gJrc5REO/Pg== MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider (); MD5Buffer mBuffer = new MD5Buffer (); FileStream fsFile = new FileStream (strFiles[j], FileMode .Open, FileAccess .Read); StringBuilder sbConverter = new StringBuilder (); byte [] bHashBuffer = md5.ComputeHash(fsFile); fsFile.Close(); // Way 2 foreach ( Byte bByte in bHashBuffer) { sbConverter.Append(bByte.ToString ...Show All

  • Gadgets Great idea for a gadget!

    I have a great idea for a gadget and wanted to know how can I partner up with someone to develop this idea The first step would be to tell somebody what your idea is! ...Show All

  • Windows Forms Can we Add ListItem objects to ListBox ?

    Dear friends i have basic doubt that is can we add ListItem's to ListBox (or) is ListItem's are only for ListView any suggetions Thanks Ranadheer It is tricky to remove list items in an iteration statement, since the collection gets modified when an item is removed. Please see if this code helps for (; listBox1.SelectedIndices.Count > 0;) { listBox1.Items.RemoveAt(listBox1.SelectedIndices[0]); } ...Show All

  • Software Development for Windows Vista Binding array parameters to webServiceOutput in a workflow

    In Windows Workflow Foundation and using VS2005, I have an interface method (workflow) that Im exposing as a web service: Person[] getPersonList(Criteria) Within the webServiceOutputActivity, I would like to bind the parameter 'ReturnValue' to a defined public variable of Person[] type in my workflow class. Instead of getting the binding dialog, I get a "Person Collection Editor" dialog. This dialog doesnt appear to allow me to bind my variable to the WS output. Again, Person is a serializable type. How do I return my Person array from this workflow web service Hoping to hear from Joel, Chris Sorry - I'm not Joel but ... Click on the blue icon in the property grid next to ...Show All

  • Visual Basic Please help

    Write a program to provide information on the height of a ball thrown straight up into the air. The program should request the initial height, h feet, and the initial velocity, v feet per second, as input. The four options to be provided by buttons are as follows: a) Determine the maximum height of the ball. Note: the ball will reach its max height after v/32 seconds b) Determine approx. when the ball will hit the ground. Hint: calculate the height after every .1 second and observe when the height is no longer a positive number c) Display a table showing the height of the ball every quarter second for give seconds or until it hits the ground. d) Quit The formula for the height of the ball after ...Show All

  • Visual J# Resource?

    hi i added images to my resource file and now i want to call the image to a picturebox but i couldnt do it. is there anyway that i can work with resources in J#.NET thanks for your answers see the following discussion from the old J# newsgroup (which now is moved to theses forums). Probably somebody should enter a bug for this at MSDN Product Feedback Center ----------------- JonWalton wrote: Yeah, I guess so. "George Birbilis" wrote: > so, do you consider this a bug (even a usability one). Maybe it is > > > Hi > > > > I'm using Visual Studio 2005. I've sorted the problem now. I had initially > > selected an image from the project resource file using the choose ima ...Show All

©2008 Software Development Network