Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > VBA / Office Integration > Word, PowerPoint, Outlook, and Other Office Products > Custom Database Properties


Reply
 
Thread Tools Display Modes
  #1  
Old 06-20-2002, 05:59 PM
strBean's Avatar
strBean strBean is offline
Junior Contributor
 
Join Date: May 2002
Location: Rural Northwest USA
Posts: 315
Default Custom Database Properties


This is a question about the Access 97 product; I don't know if it properly belongs here or in the VBA forum:

I was messing around with the Custom Database Properties. I made a form that loads at startup, with a check box labeled "Show this dialog at startup". I created a custom DB property of the Yes/No type, and then wrote code to do 2 things:

1) Load the dialog at startup if the custom property's value is Yes, and

2) Set the custom property's value to the value of the form's checkbox when the form is closed.

Works great. But something is weird. When I manually go and look at the custom property from the File menu, it doesn't reflect the value that has been assigned by my code. It works the way it's supposed to, but doesn't seem to refresh the Database Properies sheet. Weird, huh?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->