ActiveX App-wizard generated control and memory leaks
I use Visual Studio 2008 version 9.21022.8 RTM
I have created a ActiveX control project using App-wizard. (Only what
it generated, no programming done !)
I have created a CDialog project using App-wizard. (nothing more)
I have put this ActiveX control on the dialog an created an instance
of this control in the CDialog class.
I have not done anything else than that.
If i run the ActiveX project and then close the dialog which shows the
activex control i get a memory leak dump:
Info: AfxDllCanUnloadNow returning S_OK
Detected memory leaks!
Dumping objects ->
I have a number of rows were I would like to remove space between words in
For example cell A1 reads Holiday Inn Toronto. I would like to remove space
between these words so that it reads HolidayInnToronto.
Any help will be appreciated.
...convert a .dat file opened in Word to excel?
How do I convert a file to excel. The file I wish to convert is a .dat file
that was opened in Word.
File > Open and type in the name of the file. The import wizard should
wake-up to help you.
> How do I convert a file to excel. The file I wish to convert is a .dat file
> that was opened in Word.
Yes I am aware of the import wizard process - I guess I didn't ask the right
question. Once it is imported into excel - it doesn't line up in the columns
- is there a quick way to fix this or is it cut and pas...Paragraph spacing is off
I copied an article from online and pasted into word. The article was single
spaced, with a double space between paragraphs. In word, I attempted to
change it to double spacing, but there is a triple space between paragraphs.
I've tried to get rid of the triple space between paragraphs, but I can't. I
want it all to be double spaced, within paragraphs and between paragraphs.
How can I get this to happen? Help please!
On Tue, 9 Feb 2010 13:49:01 -0800, gfswolf
>I copied an article from online and pasted into word....About Memory release Problem in c++
How can i use the delete operator outside the Dll to release the memory
which is being alloced using new operator in dll.
thanks for your attention or help.
>How can i use the delete operator outside the Dll to release the memory
>which is being alloced using new operator in dll.
The only way that will work is if both EXE DLL are built with the
same version of the compiler, and both use the DLL version of the 'C'
run-time, and you don't mix debug & release components.
I have sloved this problem by using member function to release the memory.
alloc in dl...Convert OL2002 message rules to OL98
Want to convert message rules (rwz file) from Outlook 2002 to Outlook
Is there a way to do this or a customize option for it to work on older
Outlook? Using WinXP.
PS - Tried it once ages ago and got an incompatibility error.
...convert activity to account
I am creating a quick campaign for Leads. This creates a phone call activity
for my sales reps to call. I would like that once they complete their phone
call successfully, a Contact/Account/Opportunity is automatically created.
I have set up a workflow to automatically do this, however, because the
REGARDING on the phone call activity is the quick campaign and not the Lead,
I can not pass the variables from the Lead to create a new Contact/Account.
I would like to keep the campaign responses to track success (hence the need
for a campaign), but I would like to make it as simple as poss...How to convert Excel file to PDF?
How do I convert an Excel workbook to PDF format? I can't find information
about this in Excel Help. Thanks.
You have to BUY a program that can create PDF files. Adobe Acrobat is the
original. There are others available for less money. Search Google.
On Mon, 4 Oct 2004 09:51:05 -0700, "YvonneP"
>How do I convert an Excel workbook to PDF format? I can't find information
>about this in Excel Help. Thanks.
"YvonneP" <email@example.com.(donotspam)> wrote in message
ne...Word 2004 will no longer convert docx to doc
Word 2004 was automatically converting docx files to doc when I opened them; it would display a message asking if I wanted to convert. Recently, I accidentally clicked on the button that said "Don't show this message again" (or whatever the exact wording was), and since then, docx files open as docx and cannot be saved as (or converted to) doc format. I've installed the latest updates of Office 2004 and Open XML converter, re-started, etc., but nothing has helped. All I can do now is to save as RTF, which is not satisfactory for my purposes. How can I get the doc conversion o...Is there a way to select all text boxes in a document?
I want to change the size of my document from a booklet on 11 x 14 paper to
one page each on 8 1/2" x 11" paper. I can get the document to change to the
81/2 x 11 paper but the text boxes are still the smaller size (from the
booklet). Is there a way to select all the text boxes at once so I can
reformat their size?
I want to make a large-print version of this booklet.
Thank you for any help you can offer.
Try the Painter tool.
Quickly copy formatting with the Format Painter
Mary Sauer MSFT MVP
http://office.mi...Hyper V, SBS 2008, Server 2008, XP
I have a a Dell PowerEdge T610 with the following config:
16GB of RAM
Dual Quad Core Processors
RAID 0 - Two 500gb 10,000 rpm drive (500 gb total)
RAID 5 - Three 500gb 7,200 rpm drives (1 terabyte storage total) -
with on addition Global Hot Spare drive
My question is how best to setup the Windows 2008 Server Hyper OS as
well as the Virtual Machines (SBS 2008 Premium, Windows 2008 Server
for SQL, & Windows XP) on the Hard Drives and Arrays.
My thinking was the following: put the Hyper V OS on the RAID 0 array,
on a C: parition 60GB in size. Afterwards, I was thin...Exchange Disk Setup
What is the recommended stripe size and NTFS cluster size when running
There is no specific recommendation for those as far as Exchange goes, at
least not as far as I have seen.
We just recommend RAID 0+1 as the best solution for both Transaction Log
and Database drives nowadays.
Take a look at the document at
bb71-908b8f2b980d&displaylang=en for full planning details.
Microsoft Exchange Support
This posting is provided "AS IS" with no warran...Space between graph ticks
I would like both of the axis to have the same distance between their
units. I manage to make it so that both axis increase by 1 by each
tick, but the physical distance between each tick is not the same on
both axis. The x-axis might have 2cm between each tick, while the
y-axis has 3cm. This creates a false impression of what the graph
actually looks like. I know I can drag the window sideways or up and
down to change this, but that would only be approximate. Anyone?
Siberian's Profile: http://www.exce...Multiply CViews in a document
I want to show two CViews in a single MDI Document. One view must not
overlap on the other. How can this be acheived?
Didnt the splitter work for you as mentioned earlier (if you want it in
the same frame)? AliR had earlier provided couple of links to codeguru
which show if you want multiple views/frames on the same document.
I'd use a splitter window:
"Jessica Weiner" <firstname.lastname@example.org> wrote in message
news:e_GLf.37327$F_3.email@example.com...Not enough memory
I installed Microsoft Office 97, Pro Edition on a computer running XP.
Everything except Access 97 works OK. When I try to open Access, it gives a
'not enough memory' message and will not open.
On Thu, 6 Dec 2007 20:17:01 -0800, Mac attack <Mac
Install the latest service pack and try again.
>I installed Microsoft Office 97, Pro Edition on a computer running XP.
>Everything except Access 97 works OK. When I try to open Access, it gives a
>'not enough memory' message and will not open.
Mac attack <Mac a...row spacing in custom drawn CListCtrl
I have noticed that row spacing in a custom drawn (not owner drawn)
CListCtrl when run on Vista or Server 2008 is about 20% larger than on XP.
Is there a way to reduce this spacing?
Thanks in advance,
Probably not easily; Vista uses a different font than XP, so you are probably seeing
artifacts of the different font size (assuming that the Vista machine is running in an
absoutely identical configuration to the XP machine, same size screen, same resolution,
same default font name, etc.; if not, then there is no reason to expect they will be "the
same", ever, anyway).
...How can I type within a cell like it is a word document?
Is there a way to type text within a cell where I can choose the position of
the text by clicking within the cell like you can within a word document?
I'd like to be able to easily type in something like this:
No I can not do that! (happy)
Yes you can!
And be able to select the placement of my text WITHOUT having to hold down
the cursor to push it forward.
N...not enough resources
I have code that does the following:
Refreshes 730 X 26 cells from an external data source for the first item in
Copies the refreshed cells to a new workbook
removes rows for items that have no data for the item.
do while <> end of list
Refreshes the cells for the next item on the list. 730 X26
copies and pastes the cells of the refeshed data under the last set of
removes rows for the item that have no data
Refresh the next item on the list
I have 5000 items.
I estimated the new workbook will contain a sheet with 10,000 rows due t...Convert day, month, year, and time to just year
Hello, what formula can I use to convert day, month, year, and time values
to just a year
For example, what formula can I use to convert 4/16/2002 12:59pm to simply
2002 or 1/1/2002.
or just format the cell as YYYY to se ethe year but retain the value
(there's no email, no snail mail, but somewhere should be gmail in my addy)
"bam" <firstname.lastname@example.org> wrote in message
> Hello, what formula can I use to convert day, month, year, and time values
> to just a year
> For exam...Blank page prints in between mail merged document
I have a word template and an access database file used to create mass
mailings. When completing the mail merge, I edit the mail merge recipients
and merge to new document. The first page has my letter with a Section Break
(next page) at the bottom, the second page has my letter with a Section Break
(next page) at the bottom etc. When I print the document a blank page comes
out between my letters.
In the template there is not a section break at the end of the page.
How can I stop the blank pages in between each of my letters?
Also, is it possible to then use the same e...convert money files from 2005 to 1995
how can I go back and open my converted files to money 1995
"jcm" <email@example.com> wrote in message
> how can I go back and open my converted files to money 1995
You're kidding, right? Not gonna happen.
You have (a) Money 2005 file(s) you want to open in M95?
The only thing you can do is export accounts in QIF format from M05 and
import these accounts in M95. I'm at a loss why you'd want to do this. And
I'm surely no fan of M05.
"jcm" <firstname.lastname@example.org> wrote in message
news:uMX...Questions About Posted Documents
I'm writing a small integration that will export various information
pertaining to posted documents in the sales module and project module. For
SOP and IVC, it is pretty straightforward, but for RM, it seems a little
When I post documents from the Receivables Transaction Entry form, they seem
to go into the RM_OPEN table, but there are many other types of documents in
that table as well. I noticed the batch source on my RM documents is always
XRM_Sales. Can I assume that this is always the case?
Next, I notice there is a table called RM_HISTORY. It would seem...vlookup not precise enough
When using a lookup function, if a value not in the table is entered,
the lookup function "interpolates" and gets the next appropriate
value. I.e., if I have set up my table so that "apple" returns "1" and
"orange" returns "2", and I enter "banana", it will return "2", the
next value in the table. Is there any way, other than VBA, to change
it so it only returns values actually in the lookup column/row?
Thanks in advance!
Set the fourth argument (which you probably omitted) to FALSE, like:
...I paste a jpg into the publisher document and then it disappears,
I'm trying to copy an image into a newsletter in publisher and will do so but
it will just disappear. what could cause that?
> I'm trying to copy an image into a newsletter in publisher and will do so but
> it will just disappear. what could cause that?
Avoid using the Clipboard. Save the image to a file on your hard disk
and insert it via Inert > Picture > From File instead.
Ed Bennett - MVP Microsoft Publisher
"Ed Bennett" <email@example.com> wrote in message
&g...Convert SQL timestamp to Unix timestamp with timezone
I've been running the following to convert SQL time into Unix time:
select DATEDIFF(s, '19700101', end_date), end_date, start_date,
where courseid like 'HLH 110.R031%'
However, it isn't taking into account the timezone - I need the unix
timestamp to take into account Eastern Time (GMT -5) so that when
translated taking into account timezone it comes out as such.
For example, given the SQL timestamp 2010-01-14
my script returns 1263427200 (when translated as GMT this is Jan 14,
but with the -5 for ET, it co...