CheckBUtton is not responding to click event

G

Guest

Hi

I am finding that the click event behind my command button works ok but not
any of the check buttons.

So this works Sub commandbutton_click() ..... End Sub

But not Sub Chk_Click()..... End Sub

Have I missed something obvious ?

ZAK
 
G

Guest

Thanks for the response, I will try use this. Just let you know I alreeady
bought your book so count me as one of your FAN :))

My only point about the book is I think you should remove the sections (or
rewrite them) that sort of tries to teach you programming from scratch. As
anyone doing forms development must some basic coding skills. The book should
not attempt to teach someone how to do basic coding perhpas you can do that
as a separate book.

Zak
 
S

Sue Mosher [MVP-Outlook]

Sorry, but I disagree strongly. The book has sold more than 10,000 copies largely because of its mission to bring novice programmers up to speed. If you want a book without basics, there are others to choose from -- I'd recommend Randy Byrne's.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

HI

I posted this question earlier not many people seems to be able to help me.
When I move a form to another folder which has an identical form associated
with it, the code behind it no longer works. Do you know how I can make it
work? Also does this have anything to do with the "EditCompose Page" and
"Edit readPage"

regards

Yamin
 
S

Sue Mosher [MVP-Outlook]

Did you move an item (data record) or a form (code/UI template)? They're not the same thing.

Assuming If you moved an item, what was the value of its MessageClass property? Is that the same as the class for the form published in the target folder?
 
G

Guest

I moved the item I assume to the traget folder: objItem.Move objFolder

The traget folder has the same form installed as the target one. Hence same
message class?

Once the fom arrives no response. I want the form to maintain all the
changes when it gets to the new folder. Hence I also raise the earlier point
regarding "Edit Read Page"

ZAK
 
S

Sue Mosher [MVP-Outlook]

I wouldn't make any assumptions about forms published to different folders having the same message class. Check them and the value of the property on the item itself.

A received item will show the read page of the associated form, regardless of what folder it's in.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

They are the same message class, all I want to do is to create a form that
gets updated and pushed to another folder, updated again and pushed and so
on, until the process finishes. Perhaps there is a simpler solution.

regards

Yamin
 
S

Sue Mosher [MVP-Outlook]

Now you've really lost me. Did you understand the point I was trying to make about the difference between items and forms? From your last post, I can't tell which you're referring to.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

Hi Sue,

Thanks for being patient. My understanding is Forms are like a class and
item is an instant of that class (like a record in a table). I check the
Forms attached to the folder they point to the same form from my harddisk.

I have another solution in my mind. Is it possible to attach a form created
in VBA ( Tool, Macros, VBA Editor) to the public folder forms library ? If so
that may give me another option. PLease can you tell me how it is possible to
do that if it is possible.
I am going to post this question in the main forum as someone else may be
able to answer it and I dont think it is fair to pose all my questions to
yourself.

Regards

Zak
 
S

Sue Mosher [MVP-Outlook]

What is the "form from my harddisk"? Only published forms can run code.

You still haven't clarified whether it's an item or a form that you want to create and "push" into another folder.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

HI

I examined the message class it is something like this, public.post.prodcreate

The name of my form is prodcreate -

I would like to move the item (which is an instance of the form) which gets
updated and moved along. A bit like a tracking application

Regards

Zak
 
S

Sue Mosher [MVP-Outlook]

"public.post.prodcreate" is not a normal MessageClass name. Instead of guessing at "something like," please look up the exact name, both on the published form in the Forms Manager and on the individual items in the original folder and the folders to which they were moved by your process.

If you want the item to show the custom form in multiple folders, the form should be published either to the Organizational Forms library or to each folder's forms library. If you use the second approach, you need to make sure that you publish it to each folder with exactly the same message class. Please check this essential detail.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

Hi

The form name in the library is definitely called "ProdPublic" published in
each of the forms folder.

I got the information about the message class from the "MessageClass" field
for each of the items which says IPM.Post.ProdPublic. I do not where else to
look, if you can advise me I can look there.

As for the apporach I have adopted the second one, publishing the smae form
to each of the public folders. The same form are published in the respective
forms folder.

Regards

Zak
 
S

Sue Mosher [MVP-Outlook]

The forms library should show you not just the form name, but also the message class. They don't have to be related at all. The easiest way to see both is to choose Tools | Forms | Choose Form and click the Advanced button. The Message Class will appear at the bottom of the Choose Form dialog as you select each form.

In the meantime, let's assume that the items all have the same MessageClass and that each folder has a form published to it with that class. What are the exact symptoms you are seeing? "Code no longer works" isn't quite good enough. What code? We don't need to see it all, but it would be helpful to know what event handlers you're using.

You also never clarified what you meant when you referred to a form from the harddisk.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top