PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Re: REMOVE DATE TIME PICKER FROM OL FORM

Reply

Re: REMOVE DATE TIME PICKER FROM OL FORM

 
Thread Tools Rate Thread
Old 07-11-2004, 01:20 AM   #1
E.Zenker
Guest
 
Posts: n/a
Default Re: REMOVE DATE TIME PICKER FROM OL FORM


I created a form using the DateTimePicker Control to write in a field.
Then I removed the code of the DateTimePicker Control from the form.
When I publish the form to another computer where the DateTimePicker
Control
is not installed, the form does not work.
If I install the DateTimePicker Control the form is working without
problems.
I want to sent this contact form to other people who does not have this
control.

In the fact I am not using the DateTimePicker Control but it must be
somewhere in the form, but I cannot find it.
If I put in the form another DTP Control in the activationlist it is
shown as DTP2 but there is no DTP1.
in designmode i removed all fields but I cannot see the dtp1 to delette it.
With code I set the size of DTPcontrol very big but still I cannot see the
dtp1 to delette it

maybee Someone can please tell my some code to remove all dtp controls
(maybee the name is not DTPicker1 ) from the form.

thanks for ideas
E.Zenker


  Reply With Quote
Old 07-11-2004, 08:16 AM   #2
Michael Bauer
Guest
 
Posts: n/a
Default Re: REMOVE DATE TIME PICKER FROM OL FORM

Hi Sue,

in VB I would loop through the controls collection and print out each
control name and it´s left and top values. Is that possible in VBScript
too?

--
Viele Grüße
Michael Bauer


"E.Zenker" <Ewald@web.de> wrote in message
news:#z2KffGxEHA.3088@TK2MSFTNGP12.phx.gbl...
> I created a form using the DateTimePicker Control to write in a field.
> Then I removed the code of the DateTimePicker Control from the form.
> When I publish the form to another computer where the DateTimePicker
> Control
> is not installed, the form does not work.
> If I install the DateTimePicker Control the form is working without
> problems.
> I want to sent this contact form to other people who does not have

this
> control.
>
> In the fact I am not using the DateTimePicker Control but it must be
> somewhere in the form, but I cannot find it.
> If I put in the form another DTP Control in the activationlist it is
> shown as DTP2 but there is no DTP1.
> in designmode i removed all fields but I cannot see the dtp1 to

delette it.
> With code I set the size of DTPcontrol very big but still I cannot

see the
> dtp1 to delette it
>
> maybee Someone can please tell my some code to remove all dtp

controls
> (maybee the name is not DTPicker1 ) from the form.
>
> thanks for ideas
> E.Zenker
>
>


  Reply With Quote
Old 08-11-2004, 02:06 PM   #3
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: REMOVE DATE TIME PICKER FROM OL FORM

Yup, should work in VBScript, too.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Michael Bauer" <mib00@t-online.de> wrote in message
news:u4LULVKxEHA.2600@TK2MSFTNGP09.phx.gbl...
> Hi Sue,
>
> in VB I would loop through the controls collection and print out each
> control name and it´s left and top values. Is that possible in VBScript
> too?
>
> --
> Viele Grüße
> Michael Bauer
>
>
> "E.Zenker" <Ewald@web.de> wrote in message
> news:#z2KffGxEHA.3088@TK2MSFTNGP12.phx.gbl...
>> I created a form using the DateTimePicker Control to write in a field.
>> Then I removed the code of the DateTimePicker Control from the form.
>> When I publish the form to another computer where the DateTimePicker
>> Control
>> is not installed, the form does not work.
>> If I install the DateTimePicker Control the form is working without
>> problems.
>> I want to sent this contact form to other people who does not have

> this
>> control.
>>
>> In the fact I am not using the DateTimePicker Control but it must be
>> somewhere in the form, but I cannot find it.
>> If I put in the form another DTP Control in the activationlist it is
>> shown as DTP2 but there is no DTP1.
>> in designmode i removed all fields but I cannot see the dtp1 to

> delette it.
>> With code I set the size of DTPcontrol very big but still I cannot

> see the
>> dtp1 to delette it
>>
>> maybee Someone can please tell my some code to remove all dtp

> controls
>> (maybee the name is not DTPicker1 ) from the form.
>>
>> thanks for ideas
>> E.Zenker
>>
>>

>



  Reply With Quote
Old 08-11-2004, 05:27 PM   #4
Michael Bauer
Guest
 
Posts: n/a
Default Re: REMOVE DATE TIME PICKER FROM OL FORM

Thank you, Sue.

--
Viele Grüße
Michael Bauer


"Sue Mosher [MVP-Outlook]" <suemvp@outlookcode.com> wrote in message
news:eA0rR3ZxEHA.3968@TK2MSFTNGP10.phx.gbl...
> Yup, should work in VBScript, too.
>
> --
> Sue Mosher, Outlook MVP
> Author of
> Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
>
> "Michael Bauer" <mib00@t-online.de> wrote in message
> news:u4LULVKxEHA.2600@TK2MSFTNGP09.phx.gbl...
> > Hi Sue,
> >
> > in VB I would loop through the controls collection and print out

each
> > control name and it´s left and top values. Is that possible in

VBScript
> > too?
> >
> > --
> > Viele Grüße
> > Michael Bauer


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off