I need help to display a dialog from a resource-only DLL
I created a resource-only Dll to store string, dialog, icon and bitmap. With
loadstring function i can load a string from this dll, but i don't know how
dipslay a dialog from it. here is my code :
UINT CDataResource::GetResourceDialog(int ResourceID)
// load resource
LPCDLGTEMPLATE lpDialogTemplate = NULL;
HGLOBAL hDialogTemplate = NULL;
HINSTANCE hInst = AfxFindResourceHandle(MAKEINTRESOURCE(ResourceID),
HRSRC hResource = ::FindResource(hInst, MAKEINTRESOURCE(ResourceID),
hDialogTemplate = LoadResource(hInst, hResource);
if (hDialogTemplate != NULL)
...Accessing a Different GAL
How can i put a link(entry) to another companys Gal in my gal. Who would i
have to contact and how would we set it up. I currently don't have access to
their gal. For instance, I am employed by a govt. agency and i want to be
able to see a different govt. agencies gal. remember both gals have entries
from multiple sites within their own gal.
You're best bet is to synchronize your directory with theirs. You can do
this using Microsofts Identity Information Feature Pack, or some other 3rd
party utility. When you set up the synchronization, ensure that their
directory goes into...Accessing class members ...
m_pEditBoxViewTemplate = new CMultiDocTemplate( IDR_MAINFRAME,
RUNTIME_CLASS( CChildFrame ), // custom MDI child frame
RUNTIME_CLASS( CEditBoxView ));
pDlgFrame = m_pEditBoxViewTemplate->CreateNewFrame(NULL, NULL);
I need to be able to access a function within the CEditBoxView class, and I am not quite sure how.
Any suggestions ?
> m_pEditBoxViewTemplate = new CMultiDocTemplate( IDR_MAINFRAME,
> RUNTIME_CLASS( CChildFrame ), // custom MDI child frame
> RUNTIME_CLASS( CEditBoxView ));
&...Newbie, accnts. payable & accnts.receivable sample DB
I�m running access 2003, windows xp pro SP2
I've been commission in my work to do a small application to track and
report the accounts payable and accounts receivable movements, I'm not an
accounting savvy person :(, does anyone know of a link or sample access
database that can help me with the basic structure of the tables and
reports?, any help would be greatly appreciated.
...Helo command rejected: Access denied
I got a problem when i try to send message, the error message as
Your message did not reach some or all of the intended recipients.
Sent: 29/7/2004 11:55
The following recipient(s) could not be reached:
'support@xxx.COM' on 29/7/2004 11:56
The recipient name is not recognized
The MTS-ID of the original message is: c=US;a= ;p=xxx (HK)
MSEXCH:IMS:xxx(HK) Ltd.:TDHK:xxxEX01 3554 (000B09B6) 554
<xxxex01.xxx.com>: Helo command rejected: Access denied
Why doesn't MS support MS Access for Macintosh? Since I work in an
educational environment that's mostly PC with MS Office begin the main
suite, it would only be logical that since the PC version of MS Office
contains MS Access for database entry, the Mac version of MS Office would
also have MS Access.
In article <BE09D66D.5FB8firstname.lastname@example.org>,
Red Claw <email@example.com> wrote:
> Why doesn't MS support MS Access for Macintosh? Since I work in an
> educational environment that's mostly PC with MS Office begin the main
> suite, it would only ...Access 2003 >> Access 2007 (Run-time error 2467)
I'm trying out how our access 2003 applications work in access 2007.
Unfortunately, lots of forms refuse to open. Where the error occures
is Form_Current event, which contains something like
std = "SELECT ....."
Me.Subform_Name![Field Name].RowSource = std
The program reports an error: "Run-time error '2467': The expression
you entered refers to an object that is closed or doesn't exist."
Anyone has any ideas how to fix this?
Technically, that shouldn't work in Access 2003 either, but it wasn't quite
as sticky about the syntax.
To refer t...Problem with TransferSpreadsheet in Access 2007
I'm having a problem with the TransferSpreadsheet method in Access 2007. The
TransferSpreadsheet method is exporting a query to Excel, and it has been
working fine under Access 2002. Under 2007, however, Access seems to
truncate up some of the query column names, with the result that Access
doesn't recognize them and prompts me for values for those columns. The
problem is reproducible, occurring on the same columns every time. If I open
the query directly the column names are fine and it exports to Excel with no
problems; it seems to happen only with the TransferSpreadsheet meth...exchange 2003 email access
Can I setup exchange 2003 clients to login to it as apposed to being
authenticated by the DOMAIN?
I have two domains in diferrent locations but want to share one exchange and
accessed by IP address as apposed to the computer name.
Can you explain what you're trying to achieve a little more? Are you trying
to get users from domain A to access an exchange server in domain B?
"Raul Rego" wrote:
> Can I setup exchange 2003 clients to login to it as apposed to being
> authenticated by the DOMAIN?
> I have two domains in di...Visio Newbie
Hello all, this is my first time using Visio for drawing a floor plan and I
have a quick question.
Yesterday, (Using a tape measure) I mapped out the floor plan of an office
my company might be moving into. I wrote everything down in Inches.
Is there a way once I get a room shape kinda close to teh measurements, that
I can manually type in teh length for each wall?
if not in inches, at least in feet.
For example, I have one wall that is 154 inches ( 12.83 ft) Then the next
wall is 242 incehs( 20.1 ft) The opposite wall of the first measurement is
288 inches, third wall 100 inches, then 13...ASAP: Accessing ROot
I am having problems accessing the root on an Exchange 5.5
server. When I use "LDAP:\\Servername:Serverport" it
directely goes to the default Naming Context. How do you
overrided this. I have also tried RootDSE.
...accessing autosaves after closing program?
Recently I’ve managed to close a few documents (excel and word) without
saving them. Not very clever I know. I know as you are working in these
programs you can autosave, which saves the document in a temporary file. But
when you close a document the temporary file gets deleted / is not obviously
1. is it possible to access these so I could open the last autosave? Or
2. is it possible to change some setting / autosave location so these
autosaved files are available after I close the program?
Actually, autosave just overwrites the file in place but it has to be saved at
least...Exchange newbie problem
A user on our domain was deleted when he should not have been. His mail
box was not deleted. When his account was recreated, we tried to reconnect
the old mailbox. But when selecting a user in the "Select a new user for
this mailbox" dialog a message comes back saying that the user cannot be
found. We tried several different users a none can be found even though
they can get there mail just fine.
We need to get the messages from this mailbox.
Any ideas would be great
Craig in the High Desert. firstname.lastname@example.org
But it's a dry heat.
you should be able to reconnec...C++ / Access Newbie
I have a small commercial package written in C++ (targeted to Windows
platforms) that uses its own proprietary database. We are just starting to
investigate the option of replacing our database with a commercial package,
such as Access or MySQL. Can anyone recommend informative reading that
provides details on programming C++ with either of these two databases? At
this stage we have no (any I mean ZERO) experience such programming. Any
information would be helpful: recommendations for Access over MySQL (or
vice versa), sources of such comparisons, licensing considerations, OD...Applying Hyperlink in Access Genrated Email
I am trying to apply a hyperlink to an email that is generated out of Access
and sent to Outlook
The message body needs to say something like this:
The Report is now posted on the server:
I need the \\Server\Test to be hyperlinked above
Below is what I have so far
On Error GoTo Err_cmdEmail_Click
Dim StrTemp As String
StrTemp = Format("\\bhihnbwfa01\Groups\HRR_WFA\300_General Employee
Can this be done?
Dim strDocName As String
Dim strEmail As String
Dim strMailSubject As String
Dim strMsg As St...newbie
joining the group
where are you from and what versiona re you using?
> joining the group
...removing access to unsafe attachments
Every once in a while I will get the message that "OE has
removed access to the following unsafe attachments in your
mail" I have not thought much about it until I e-mailed
myself some attachments from my home computer which I know
does not have a virus and the attachments are
not "unsafe" If it automatically removes access to it,
can I somehow get access to the attachments I sent. I
really need to have them here at work and they are too big
to put on a disk and bring with me.
Carol Husted Bashed at the keyboard and said:
> Every onc...Help with Excel ActiveX listbox controls
I�m trying to create listboxes that displays data from a named range
spanning multiple columns. I am able to populate the listbox with data
and use it without any problems. However, if the sheet that contains
the listboxes changes, the size/dimensions of the listbox unexpectedly
also changes. Since I have not written any procedures that control the
height/width properties of the listboxes, I cannot determine why the
dimensions of the listboxes are changing.
I have attached a spreadsheet that illustrates this problem. When you
open the spreadsheet, you should see two listboxes named Lis...Real Newbie newbie question
Hi All - I hope you can help me! I have Finepix M603 camera and although I
take reasonable shots in daytime, I'm not able to produce anything at night.
eg On The Thames on New Years Eve, may people were using digital cameras and
their screens should clear bright picture - mine was black! What setting
should I set on mine? Any advice really appreciated.
Wrong group. Sorry.......
"Dave" <cadasco@SUPERhotmail.com> wrote in message
> Hi All - I hope...eConnect newbie
I've installed eConnect 7.5 and am planning to use this to read & write xml
files to GP can anyone give me samples or examples of how to do this, also my
company is planning to upgrade to GP 9 shortly are there major changes
between each version?
Thanks in advance.
If you've installed eConnect, then you have several samples already. They
are located in the samples folder underneath the eConnect installation.
The changes from 7.5 to 9.0 are fairly minimal. Mostly, there are new xml
elements that can be included, but many of those are optional. It's my gue...Exchange 2003 web access questions
We've recently added an Exchange 2003 server into our network, while
leaving the original Exchange 2000 server up and running with a few
mailboxes on it.
I'm currently having a problem completing the transition to 2003
because some old code doesn't seem to work anymore. We have implemented
a very limited email interface for our factory workers, so that they
can only send email to approved addresses, and all emails are CC'd to
supervisors. I wrote this interface a couple of years ago in ASP, and
it does every thing we need.
If we try to copy this interface over to t...proper closing of modeless dialog box in dll
I have created a modeless dialog box from a dll and would like to know what
the correct method is for shutting it down.
here is what I do:
in the oncancel handler for the dialog:
((CMyApp *) AfxGetApp())->pDlg = NULL
That last line I am doing because the process that uses the dll may reopen
the dialog box and the way I judge whether or not the dialogbox needs to be
created is by testing whether pDlg is NULL. If it is not NULL then obviously
I don't want to be putting another dialogbox on the screen.
So, is it safe to be assigning NULL to pDlg, ...Microsoft Access 2007
What is the maximum Access 2007 database size?
2 GB as it was with 2003, Look at this link for mare information
"Fred Cody" wrote:
> What is the maximum Access 2007 database size?
...MDI newbie ?
I want to add a "reload" command that will close the current(and only)
document and reload it again. Here is what I have tried so far:
while(AfxGetApp()->GetOpenDocumentCount() > 0);
This doesn't work, because, as I've learned ID_FILE_NEW create just that, a
new blank document so count is still 1. I can't figure out what I should
check for, how I can know when the ID_FILE_NEW is done so that I can call
Does ...Access 2002 bug: "dynamic" forms problem
A while ago we had a discussion about A2002 (sub)form which changes
dynamically from code (hide/unhide controls, change subfom's width, etc.).
There's a problem if I make some changes in code when the form is open: if I
save changes, A2002 saves controls positions & subform's size as well. This
is a BIG A2002 BUG and it's really annoying. Why Access forms don't behave
as Visual Basic forms? I don't want Access to change my (sub)forms' design
Somebody has recommended not to save changes when I'm in debug and/or(?)