I am working with MFC VC++6 and want to read a file that I created and
display the contents of the file to a message box. The file has one
character 'a' at position 1.
Here is my code:
const int MAX_STRING_LENGTH = 10;
MyFile.Open("...MyfilePath", CFile::modeNoTruncate | CFile::modeRead );
char* TempBuf = MyString.GetBuffer(MAX_STRING_LENGTH);
UINT NumChars = MyFile.Read((void FAR*) TempBuf, MAX_STRING_LENGTH - 1);
Unfortunately I get an exception error. Does anyone know what I am doing
w...Publisher 2002 Application Error
After starting Publisher any action (e.g. open file,
help\about, etc.) the following message appears:
The instruction at "0x77f580db" referenced memory
at "0x00000000". The memory could not be "written".
Clik on OK to terminate the program.
Does anyone know what the problem really is and what the
Check back against your previous requests for information on this matter.
...error: The symbol $US:FTSE
I`m running Money 2000 (UK version) and I`m getting this error when I`m
I know people have asked before but I`ve reinstalled XP and all my software
lost the info.
The error coming up is:-
Online Quotes and Exchange Rates:
Money was unable to retrieve a quote for FTSE (London). The symbol $US:FTSE
is invalid. To correct an invalid or expired symbol, go to the Details for
that investment from the Portfolio and correct or delete the symbol.
Your call was completed success...Error Code 2046 when sending emails.
I have an Access 2003 database which is used to maintain membership records
for a charity. On a member's record there is a button which sends an email
to the member. On my new computer I have windows 7 home premium and I am
using Windows Live email linked to my ISP.
This worked fine on my old computer with Windows XP and Outlook Express.
When I click on the button I now get the message Error Code 2046 The Command
or Action SendObject isn't available now.
The code is:
Private Sub btnEMail_Click()
Dim vMessage As String
On Error GoTo ErrorCode
...Exchange Error 9325
I am getting this error because we start out dl's with #
I can't get this policy changed from a parent company so is there anyway to
stop generating these errors?
...Could Not Lock File error message
I am running a database on my c:\ drive, but just starting today, I am
receiving a "Could not lock file" error message when attempting to open the
database. I've used this database for quite some time and just now received
this message. Any ideas? Thanks!
Reboot the computer but do not start the database. Next open up Windows
Explorer and go to the folder that holds the database file. Is there a file
with the same name but ends in .ldb or .laccdb? If so, delete it.
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicy...linker error...
I have a very large 2-dimensional character array (50K words). Using
the CComboBox::AddString I loop through the array and populate my
Combobox. Unfortunately, I get a linker compiler error. Any help
would be appreciated.
What does the Array or Combobox have to do with that linker?
The solution is to throw away the computer and get a new one. (just kidding
But seriously, what is the linker error!?
"RAB" <email@example.com> wrote in message
> I have a very large 2...Paybale Batch pops up error message for all users
Unhandled script exception:
Index 0 of array 'VerifyBatchTotals' is out of range in script
'Batch_Lookup_Scrolling_Window SCROLL_FILL'. Script terminated.
and it pop up another error message:
And it says the batch has been deleted and when we click again, it go back
to normal view
Any body has resolution for that?????????? its very urgent please help
One of my client is getting following error when he click on lookup of
batch in purchasing.
Transaction>>>>Purchasing>>>&g...Outlook 2000 generating errors
As soon as I click on Find/Advanced Find in inbox of
Outlook 2000 I get the message "OUTLOOK.exe has generated
errors and will be shut down by windows". The same thing
happens when I select "find all related messages" for an
individual email. I'm running win2000 and have installed
all available updates for Office 2000. Present Outlook
version is SP-3. The Office software was pre-installed by
Dell. I've been really frustrated by this for some time.
Any ideas out there?
...Sync Money Files
I have a laptop and desktop, both running Money 07.
I have been away from home for three months and have been keeping my
expenses in Money on my laptop. My wife has been keeping our records on the
desktop. My problem is how to combine the two files so that I have one set
of money files. When I cease travelling, the notebook will not be used for
Money work; but the desktop will. So I need to combine the two files.
Are there any solutions?
There is no easy way to do this. There aren't even many hard ones. Have you
already done this or are you only pondering a re...File Association in Dialog-Based Application
Has anyone seen any info on how to associated a file type with my
In order to use RegisterShellFileTypes(), I must add my document template
using AddDocTemplates(). But AddDocTemplates() can't be called without a
Thanks for any thoughts.
>Has anyone seen any info on how to associated a file type with my
>In order to use RegisterShellFileTypes(), I must add my document template
>using AddDocTemplates(). But AddDocTemplates() ...Need to convert an HTML file to a valid XTML file
I just found out I can edit my HTMLHelp in VS2005
I like it better that editing in the HTML Help Workshop
This is an old help file, actually generated when Win help was in vogue.
VS identifies many things that should be changed - line HTML not being lower
Much of it is cosmetic - a program could fix most of it.
Is there such a program.
That is, one that will read an HTML file and produce a valid XTML file?
Thanks in advance
> I just found out I can edit my HTMLHelp in VS2005
> I like it better that editing in the HTML Help Workshop
> This i...Decoder Error?
Can anyone give me troubleshooting tips on "Decoder Error" when I try to play
a DVD? Is it possible to repair the Media Player with the OS re-installation
You can use this link to download the utility that checks a decoder.
"Stu Habermehl" wrote:
> Can anyone give me troubleshooting tips on "Decoder Error" when I try to play
> a DVD? Is it possible to repair the Media Player with the OS re-installation
...Mail Merge error
When I mail merge from a Contact, the 'mail merge recipient' dialog box in
Word is always empty. None of the Contact details appear. I made sure that
the correct Data fields are mapped before the merge.
1. Mail Merge error occurs on new or existing templates.
2. Mail Merge error only occurs with the Contact entity - merging with
Company or Quote entities works perfectly.
3. We are using CRM 4.0 and Outlook/Office 2003.
I cannot figure out why this is happening, any assitance would be most
I have experienced this as well using CRM 4.0 Web and Outloo...Error at installation because Timezone issue
When I try to install CRM 3.0 I got an error:
timeZones, Hashtable timeZoneNames)
timeZones, Hashtable timeZoneNames)
I think that it is a problem with Timezone Editor but I can't find a way to
fix this problem. Can anyone help me?
...Compile Module Error (TBRun9) just won't go away
this error seems simple enough--but it won't go away.
THE ERROR: "Compile error in hidden module: TBRun9"
The error appears when I open or when I close excel.
I have found the KB article and I have removed all files
from the XLStart folder, I have also removed all files
I have researched further and found that add-in programs
could be to blame, so I have uninstalled ALL Adobe
programs, all scansoft programs, uninstalled/reinstalled
and updated office.
I ran norton windoctor and fixed all errors it found. But
still I have this error.
I believ...Import .txt file format into two columns and not one row
I want to know how to import a text file, comma seperated, or delineated,
..csv into Excel and have Excel display it into two columns instead of one
long row. My file is a list of names and corresponding email addresses
Sounds like the .csv file does not have the end of record marker set
correctly. Try opening the file in Notepad or Word to see if there is
anything you can use to do a Find & Replace with - assuming you don't
have commas within the data, you could replace comma with comma plus
Line-break (Hard Return). This will effectively give you a single
column sheet when you im...help cfile
I have a simple question
This is what i have
char* pFileName = "C:\\newspaper\\b run\\text.txt";
CFile f( pFileName, CFile::modeCreate | CFile::modeWrite );
CString out =(buff2+ current->address);<- right here i would like a return
what i would like to know is how do i advance to the next line
I have tried
CString out = (buff2+ current->address+"\n");
well mabe i just have to revert back to the ofstream then cout << endl
I have keep getting an error signature imessage n Publisher and I am unable
to print my brochure. Any ideas???
> I have keep getting an error signature imessage n Publisher and I am unable
> to print my brochure. Any ideas???
The "error signature" bit is just a bit of text to tell you that the
next bit of information is the error signature. The error signature
itself is the important bit. Just like if you saw:
Telephone Number: 555 555-2176
in a message, the important data would be the number itself, not the
"Telephone number" text.
There sh...cut & paste error
After several successful cut n paste actions I receive and
error msg "can not empty the clipboard". When I access
the office clipboard underneath Edit it's empty. What's
the cause of this error. If I close Excel I'm able to
resume the cut n paste but eventually the error will
Your help is greatly appreciated.
If this is manually you can clear the clipboard at the upper right-hand
icon below the clipboard titlebar on the clipboard popup. ]
(View, Toolbars, Clipboard)
If this has something to do with macros. You can clear the...File Transfer Manager problems
Why do we have to be forced to use this awful File Transfer Manager to get
Service Packs? I've been trying to download a service pack from Customer
Source for a past couple of days. Microsoft says that firewall/proxy is
blocking the download. Our very competent firewall/proxy people are
struggling with this one. And mind you our firewall is not that restrictive
- I can download files from many sources and have not had a problem with a
site that would be blocked.
Why not keep things simple?
This post is a suggestion for Microsoft, and Microsoft resp...Wrong file attached. Caching?
I've been seeing a very strange problem, and it has even interfered
with a job application.
I am running Microsoft Office Outlook 2003 (11.8118.8122) SP2 on
Windows XP Professional Version 2002 SP2.
I attach the correct file to an Outlook email. My recipient receives
a different file.
What can I do to stop this from happening?
Yesterday I selected all stored versions of my resume, right clicked,
and selected "Open". I looked through the different file versions,
found the one I wanted to use as the starti...referenced memory error
Receiving the following error when shutting down Outlook
Express, can anyone help?
the instruction at "0x77f83187" referenced memory
at "0x00924830", the memory could not be "written"
Click on OK to terminate the program
...Saving As Something Different then A Pub File
I've been working on a 10 page report. I've been adding pages as I go along.
However, I want to email but not everyone can open Pub file. It won't save
all 10 pages as a jpeg. Only one page
I'm in the process of converting it into PDf. Is that the only option?
> I've been working on a 10 page report. I've been adding pages as I go along.
> However, I want to email but not everyone can open Pub file. It won't save
> all 10 pages as a jpeg. Only one page
> I'm in the process of converting it into PDf. Is that the only opt...Error 1402
I cannot open the adobe reader 9.2 my Windows XP system. When I attempt
repair or uninstall it I get this 1402 error message and
Could not open key ... and something about not having administrative
I cannot locate the file and do not have a clue how to give myself
adminstrative permission. I'm already logged in as such.
> I cannot open the adobe reader 9.2 my Windows XP system. When I
> attempt repair or uninstall it I get this 1402 error message and