No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Re: Hi, You can use following code. [CODE] 'Declare a Date Time Variable Dim TempDateTime As DateTime = Nothing 'Declare a local time span variable Dim TempTimeSpan As New TimeSpan 'Declare a arry of type string and set the size equal to number of text boxes. Dim arr(4) As String 'set … | |
Re: [CODE] 'assign your image here Dim img As Image 'name of your image file Dim Name As String = "MyImage.jpeg" 'specify full path where you want to save your file Dim fileNameWithPath As String = "C:\Documents and Settings\navjyot.nishant\Desktop\" & Name 'saving the image. img.Save(fileNameWithPath, System.Drawing.Imaging.ImageFormat.Jpeg)[/CODE] Happy Coding:-) | |
Re: Hi. you can simply use SelectAll property of Datagridview. [CODE]DataGridView1.SelectAll()[/CODE] Happy Coding :-) | |
Re: Hi, To make a label in centre of form you just write.. 1. Make sure the anchor property of label is Top only. 2.write this code on load of form. label1.Left = (me.ClientSize.Width / 2) - (label1.Width / 2) Note: Label will adjust its alignment on resizing of form also. … | |
Re: hi, You can use MaxLength Property of text box. [CODE]TextBox1.MaxLength =5 [/CODE] Happy Coding:-) | |
Re: Hey guys, If any one suggesting to Create a separate application and call the window service from that. then what is the need of window service? If you want a User interface then go for Window application or else go for Window service. Thanks |
The End.