Hello,
I have a button on a form that brings up the dialog box you get when
using Access's menu to do Insert/Object:
RunCommand acCmdInsertObje ct
I'd like to over-ride some default settings on that dialog, such as
pre-selecting "Microsoft Word document" instead of the first one.
Can someone point me in the right direction please?
Thanks for your time 1 1690
If you want more control over how the dialog operates, so you can specify
the file types, the initial directory, the title of the dialog etc, you need
to call the Windows File Open dialog instead.
See:
Call Windows File Open/Save Dialog box
at: http://www.mvps.org/access/api/api0001.htm
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Rob Doe" <ge*******@gmai l.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. . Hello,
I have a button on a form that brings up the dialog box you get when using Access's menu to do Insert/Object:
RunCommand acCmdInsertObje ct
I'd like to over-ride some default settings on that dialog, such as pre-selecting "Microsoft Word document" instead of the first one.
Can someone point me in the right direction please?
Thanks for your time This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Michael Brennan-White |
last post by:
If I submit my for using a get action the resulting page loads . If I
use a post action I get an error page saying "The page cannot be
found". I am calling the originating page!!! This happens in IE as
well as FireFox.
This code has been tested on a Win2003 server, IIS6, PHP 5.0.3, mySQL
4.1.8 and it works fine.
The problem server is a Win2k server, IIS5, PHP 5.0.4, mySQL 4.1.11.
|
by: Lamont Sanford |
last post by:
I'm reading a book on design patterns, and the author seems to enjoy
using this word a lot. I've looked it up on Dictionary.com and still don't
understand how it applies to the context of software development. Consider
this quote:
"The primary, common goal of these patterns is to decouple orthogonal
software components."
The author absolutely LOVES the word "orthogonal", but I can't tell from
|
by: John Smith |
last post by:
Hi
I am getting the above error when I try to run the union query shown
below
select all as ,
as , as ,
as , ,, ,, , , as , as , as ,
as , as
from
|
by: Bonj |
last post by:
Hi
How do developers that use the SDK (not full-blown VS IDE) create dialog
boxes?
Do they type out the DIALOG resource section of the .rc file manually? Use a
third-party program? Or cheat, and hop on a mate's PC that has got VS IDE
whenever they want to create a dialog box?
Or do they use a dialog editor that is actually included in the SDK that I'm
failing to find?
|
by: Amelyan |
last post by:
How can I get state of dynamically created controls (RadioButton, CheckBox,
TextBox.Text) on post back when I click submit button?
The only way I know is by traversing Response.Form enumberator;
Response.Form.GetEnumerator(), etc. while, identifying specific controls by
programmatically assigned unique id (e.g. MyButton_AnswerID_123).
However, I am not sure if that is the proper way. What is the common
practice?
| |
by: Mark Harrison |
last post by:
So I have some data that I want to put into a table. If the
row already exists (as defined by the primary key), I would
like to update the row. Otherwise, I would like to insert
the row.
I've been doing something like
delete from foo where name = 'xx';
insert into foo values('xx',1,2,...);
|
by: royaltiger |
last post by:
I am trying to copy the inventory database in Building Access Applications
by John L Viescas but when i try to run the database i get an error in the
orders form when i click on the allocate button "Unexpected Error":3251
operation is not supported for this type of object.The demo cd has two
databases, one is called inventory and the other just has the tables for the
design called inventory data. When you run inventory the database works...
|
by: WaterWalk |
last post by:
I've just read an article "Building Robust System" by Gerald Jay
Sussman. The article is here:
http://swiss.csail.mit.edu/classes/symbolic/spring07/readings/robust-systems.pdf
In it there is a footprint which says:
"Indeed, one often hears arguments against building exibility into an
engineered sys-
tem. For example, in the philosophy of the computer language Python it
is claimed:
\There should be one|and preferably only one|obvious...
|
by: hamiltongreg |
last post by:
I am new to Java and am having problems getting my program to compile correctly.
My assignment is as follows;
Choose a product that lends itself to an inventory (for example, products at your workplace, office supplies, music CDs, DVD movies, or software).
• Create a product class that holds the item number, the name of the product, the number of units in stock, and the price of each unit.
• Create a Java application that displays the...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |