Click here to Skip to main content
15,924,901 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow to create like Windows O.S have run command box (Combo Box) Pin
Francis K Antony28-Jan-08 19:22
Francis K Antony28-Jan-08 19:22 
GeneralRe: How to create like Windows O.S have run command box (Combo Box) Pin
Mustafa Ismail Mustafa28-Jan-08 22:27
Mustafa Ismail Mustafa28-Jan-08 22:27 
GeneralShowing a property as a combobox in propertygrid Pin
VB 8.028-Jan-08 18:11
VB 8.028-Jan-08 18:11 
GeneralRe: Showing a property as a combobox in propertygrid Pin
Francis K Antony28-Jan-08 20:50
Francis K Antony28-Jan-08 20:50 
GeneralRe: Showing a property as a combobox in propertygrid Pin
Steven J Jowett28-Jan-08 22:52
Steven J Jowett28-Jan-08 22:52 
GeneralRe: Showing a property as a combobox in propertygrid Pin
VB 8.029-Jan-08 3:11
VB 8.029-Jan-08 3:11 
GeneralRe: Showing a property as a combobox in propertygrid Pin
Steven J Jowett29-Jan-08 4:04
Steven J Jowett29-Jan-08 4:04 
GeneralRe: Showing a property as a combobox in propertygrid Pin
VB 8.029-Jan-08 4:10
VB 8.029-Jan-08 4:10 
Thanks ,

Now i am able to show the Datatypes .

Now if i select the DataType "Date" then in Text property of Propertygrid , I want to show the datetimepicker .If not i want to show nothing .
For this i used ....

Public Class MyDate<br />
    Inherits UITypeEditor<br />
    Dim CustomDate As DateTimePicker<br />
    Public Overrides Function EditValue(ByVal context As System.ComponentModel.ITypeDescriptorContext, ByVal provider As System.IServiceProvider, ByVal value As Object) As Object<br />
        CustomDate = New DateTimePicker<br />
        CustomDate.Format = DateTimePickerFormat.Custom<br />
        CustomDate.CustomFormat = "d-MMM-yyyy"<br />
        CustomDate.ShowUpDown = True<br />
        CustomDate.Show()<br />
        Return MyBase.EditValue(context, provider, value)<br />
 End Function<br />
    Public Overrides Function GetEditStyle(ByVal context As System.ComponentModel.ITypeDescriptorContext) As System.Drawing.Design.UITypeEditorEditStyle<br />
        Return UITypeEditorEditStyle.DropDown<br />
    End Function<br />



it is showing the dropdown ,but not getting the Datetimepicker .

After selecting the date i want to show in Text Property .

For this what i have to follow ??????????

VB 8.0
QuestionIncreasing textbox height Pin
xbiplav28-Jan-08 17:57
xbiplav28-Jan-08 17:57 
GeneralRe: Increasing textbox height Pin
C1AllenS28-Jan-08 19:51
C1AllenS28-Jan-08 19:51 
QuestionIssue with printing floating point numbers Pin
nishkarsh_k28-Jan-08 17:53
nishkarsh_k28-Jan-08 17:53 
GeneralRe: Issue with printing floating point numbers Pin
Andy_L_J28-Jan-08 22:08
Andy_L_J28-Jan-08 22:08 
QuestionRe: Issue with printing floating point numbers Pin
nishkarsh_k30-Jan-08 17:34
nishkarsh_k30-Jan-08 17:34 
GeneralRe: Issue with printing floating point numbers Pin
Andy_L_J30-Jan-08 18:43
Andy_L_J30-Jan-08 18:43 
GeneralRe: Issue with printing floating point numbers Pin
Johan Hakkesteegt29-Jan-08 8:01
Johan Hakkesteegt29-Jan-08 8:01 
Generalmouse right click.... Pin
moomoooomoo28-Jan-08 17:22
moomoooomoo28-Jan-08 17:22 
GeneralRe: mouse right click.... Pin
nishkarsh_k28-Jan-08 18:12
nishkarsh_k28-Jan-08 18:12 
GeneralRe: mouse right click.... Pin
Steven J Jowett28-Jan-08 22:40
Steven J Jowett28-Jan-08 22:40 
QuestionReporting Services in VB Pin
di3.ny2828-Jan-08 15:42
di3.ny2828-Jan-08 15:42 
QuestionShape and line controls for VB6, only a little more interactive? Pin
Nick Alexeev28-Jan-08 11:34
professionalNick Alexeev28-Jan-08 11:34 
GeneralVB - Read XML data and Export to Excel Pin
VladFromNYC28-Jan-08 7:23
VladFromNYC28-Jan-08 7:23 
GeneralRe: VB - Read XML data and Export to Excel Pin
Johan Hakkesteegt29-Jan-08 8:21
Johan Hakkesteegt29-Jan-08 8:21 
GeneralRunning a Dos command in VB .net Pin
saravana00128-Jan-08 7:15
saravana00128-Jan-08 7:15 
GeneralRe: Running a Dos command in VB .net Pin
pmarfleet28-Jan-08 8:31
pmarfleet28-Jan-08 8:31 
Generaloverriding wndproc - need constants Pin
Smithers-Jones28-Jan-08 5:52
Smithers-Jones28-Jan-08 5:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.