How to get ride off this warning ?
I have a string resource defined. I need to pass this string ID to another
function like this:
void foo (UINT string_id)
CString str ((LPCTSTR)string_id);
During comiling, got error at casting ((LPCTSTR)string_id. But it works
fine. Just wonder, how to get ride off this warning?
Thanks In Advance!
> I have a string resource defined. I need to pass this string ID to another
> function like this:
> void foo (UINT string_id)
> CString str ((LPCTSTR)string_id);
...How to get free traffic to your website
The facts you should know about making money online!
Hi , my name is Ben Durandt.
-Discover how to get 1 Million visitors without paying a dime
-Discover how a young 31 years old man just became a
millionaire on the Internet... in weeks!
He paid cash for a Porsche 911 Carrera convertible and a
giant domain with private lake in only 28 days.
More than 20,000 people have been raging on his website every day! ... Because he just revealed HOW to do it!
Heck, go there TODAY and See what he has to say!
Click here : http://www.freeadguru.com/cgi-bin/i.pl?c=a&i=34180
-...How do I get excel to accept (c) as text and not change to copyri.
How do I enter the text (c) in Excel without having it changed into the
Tools | Autocorrect | Select (c) | Delete | OK
"daffyd" <firstname.lastname@example.org> wrote in message
> How do I enter the text (c) in Excel without having it changed into the
> copyright symbol?
Go into the Tools Menu. Look for AutoCorrect. In the bottom half of the
AutoCorrect Tab, look at the list for Replace text as you type. Delete the
entry for (c).
"da...How do I fix this so I don't get an "Error 2015"
x = Application.CountIf("E5,E6000", "T13065")
How do I fix this so I don't get an "Error 2015"
Not tried it but I would think
Providing T13065 is a string you are counting. If it's a range reference
Microsoft MVP - Excel
"2D Rick" <email@example.com> wrote in m...Saving User Settings in Outlook...
Does anyone know how to save the user settings for MS outlook 2003?
Thanks to all who reply,
The reason I would like to be able to save the user settings is so I'll be
able to restore these settings should I need to in case I had to do a clean
install of WinXP and office 2003 either on the same computer of on another
newly bought computer.
Thanks to all who reply,
"Ismael" <I_Tena@hotmail.com> wrote in message
> Hello everyone,
> Does anyone know how to save the user setting...Getting an Error when there is nothing to show
The bottom of my report which is a statement shows #Error when there is no
Invoices to add up. Can I have it blank instead. this my text Box Control
thanks for any Help....Bob
Bring the total from a subreport onto a main report
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.h...Outlook 2003 Cant get to newsgroups
I dragged the NEWS icon from tools/customize/commands/go
to the GO button on the tool bar. It worked fine then I
got on a newsgroup and a posting that read "payback"
multiple times. I didnot open the attachment. Next time I
tryied to go to NEWS it was not there. How can I get
newsgroup access back? Tryied reinstalling Outlook2003
and Office 2003 with no luck. Expect the answer to be in
registry. Help please.
I got the similar problem and got the fix. Here is what you need to do:
- add the NEWS button under Go menu
- accept Outlook Express is your default NEWS client
- c...I've got a formula for stones and pounds
I've got a column that displays a series of weights in stones & pounds (both
in the one cell). How do I get a chart to recognise and display in the same
What is the format of the cells with stone & pounds
It is best to enter such values a 10 3/14 and format the cells with # ??/14
best wishes from one who is INT(275,14) stone & MOD(250,14) lbs
Bernard V Liengme
remove caps from email
"mikelenno" <firstname.lastname@example.org> wrote in message
news:5AD608FA-5367-4CED-AD76-1F54228EFDBA...Need help getting this code to compile under VS.NET 2003 (compiles under VS6.0).
I'm tasked with converting a LARGE project from VS6.0 to VS.NET 2003. Here
is a VERY scaled down version of an error I'm getting. I must be getting
rusty, but the way to get around this compiler error is just not coming to
If you need to compile this, just create a Win32 console app and specify to
add support for MFC, then copy this code into the cpp file and press
class CLogItem : public CObject
virtual BOOL CheckConflict(CLogItem* pItem) const;
struct MapEntry; //forward declaration..
typedef CArray<MapEntry, MapEntry&> CMapEntryArray;...Deleting a half sent message
Sorry, forgot to say that I have Outlook 2003:)
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/
...How do I create a bookfold document in Word 2007?
I am new to Word 2007. How do I create a document in booklet form? Thanks
I'm sure you'll get better answers in an MSWord forum.
> I am new to Word 2007. How do I create a document in booklet form? Thanks
...Problems saving a worksheet with Links
Does anyone know how I can resolve this issue ... I have a directory which
contains 129 worksheets which have links to external data (in a Master
Spreadsheet) -- I need to copy these files into a New Directory, but kee the
Master Spreadsheet (which they are linked to) in the original location. If
I do a simple Cut & Past, the Reference Link to the Master Spreadsheet gets
moved to the New Directory (where the file does not exist), but if I open
the worksheet (in the original directory/location) and Save As to the New
Directory, the worksheet saved in the New Directory maintains its link t...I get COMException while exporting chart on IIS 6.0.
I have this code that works perfectly on my development machine when I
deployed it at customer site it gets exception. Here is the error and my code:
Exception from HRESULT: 0x800A03EC.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Exception
from HRESULT: 0x800A03EC.
An unhandled exception was generated during the execution of the c...How to get a macro to do what i want?
I have designed a form in Excel and the data that is inputted i want to be
able to save in a separate worksheet. The problem i am having is that
eveytime i record the macro, it over writes the same row each time (if that
makes sense). For example if i copied every cell in the form and paste them
into the database Row 1, i then want the new piece of information inputted
into the form to go into Row 2 and then Row 3 etc.... But it keeps going
into Row 1, it wouldnt move down the rows.
Hopefully this makes sense to someone and someone can give me some advise.
Calculate the last row
...Not receiving messages correctly
I have a Microsoft Outlook XP client that is used to get mail from an
Exchange 5.5 server that is not receiving meesages in a timely manner. If I
send a message to the mailbox it takes an average of 20 minutes to get
delivered. Doing a manual send/receive does not help. The message only
comes through when I change the message that I am viewing in the preview
screen by cycling through the messages with the arrow keys.
The message that is sent can be seen when logging into webmail though. Has
anyone heard of this before? All of the service packs and latest updates are
installed, and they have...Save As using contents of Cell in Name
Can someone help with code that changes the "save As" file name to
combination of the original File Name + the contents of a cell, an
saves file in same folder as the original.
E.G. Original File Name= Timesheet
Cells B1= Location
Cell C1 = Date in format 3-5-2004
Cell A1 = concatenate(B1,C1)
Fle Name will therefore be "Timesheet Location 3-5-2004"
The other problem is with the date. When concatenating, how do I forma
the date to avoid it looking like "Location 38051"
Any help much appreciated
Message posted from http://www.ExcelForum.com
for c...why do changes only save locally on networked excel file?
why do changes only save locally on networked excel file?
...How can I open a file saved in Pub 2000 version 6 in Pub 2000 ver.
The file is saved in Publisher 2000 v6 and I am trying to open it with
Publisher 2000 v9. can this be done?
Hi LaTrice (LaTrice @discussions.microsoft.com),
in the newsgroups
|| The file is saved in Publisher 2000 v6 and I am trying to open it
|| with Publisher 2000 v9. can this be done?
No. There is no such thing as Publisher 2000 v9, nor is there a version 9 of
Verify the version of Publisher that you have, and also verify the version
of Publisher that you received the file from then post back.
Microsoft Publisher MVP
http://www.publi...Inserting charts into many workbooks
I'm using Excel 2007 and am pretty new to VBA. I have a folder with 40
or so workbooks- all with the same worksheet table format. The worksheets
are huge (20 000 + rows, 50 or so columns). I need to open a workbook, make
several fully formatted graphs, then insert the same graphs into every
workbook , updated them with that workbooks' data.
Any ideas on code for this?
This isn't fully automated, but it will save some time. In one workbook,
create the chart and format it to your specs. Then paste the chart into
another workbook, and use the utility linked to i...Printing Word and excel documents via excel vba
I have a document that has some Excel and some word content i would
like to use excel vba to print both a page from word and then a page
from excel. I know how to select and open the word document, however i
cant find any code to print page X from word.
basically i need to:
print page 1 of c:\xx\document1.doc
print page1 of sheet1 of c:\yy\excelwkbk1.xls
print page 2 of c:\xx\document1.doc
print page2 of sheet1 of c:\yy\excelwkbk1.xls
and so on it will require moving between word and excel - the excel
bit i get, but getting back to excel from word, and printing out in
word is slightly more...Outlook 2003 not displaying multipart/mixed messages properly
This is a multi-part message in MIME format.
I know that Outlook is known for having problems displaying =
multipart/mixed messages but this is just weird.
I am using Outlook 2003 with a POP email account and occasionally with =
an email that has been exchanged a few times already and I will send out =
a reply and when the person replies back to me what they wrote no longer =
appears in the email. I basically get back a copy of the email I sent =...Cells Fill Automatically on Another Workbook
I've created what we'll call a seed worksheet to be used over and over for
different clients. I have linked its cells to another workbook. As the
originating seed worksheet directs its cell data to a specific cell on
another workbook, how can I accomplish the workbook data not being
overwritten but the new incoming data default to the next unused cell in the
column? i.e. If the original seed worksheet cell B1 links to the worksheet
cell A1, I would like the next instance of creating a new customer and his B1
information on his use of the seed worksheet to populate onto th...formula to get sheet name
can a formula retreive a worksheet name or does it need to be macro based?
This formula that takes care of the possible situation whereby you have only
one sheet in the workbook and its name is the same as the workbook's. Note:
CELL("filename") will only work if the file has been saved at least once and
if the file is opened in a different language system, the argument
"filename" will need to be changed manually to the corresponding word (e.g.
in Spanish "nombrearchivo"):
=LOOKUP(REPT("z",255),SUBSTITUTE(MID(CE...error message in Outlook after running windows and office updates
I am hoping someone can help me with this. When ever a
few staff tries to send a new e-mail, a message "Do you
want to save changes" come up and on the back of this
message I see the spell checker box come up. The problem
is that if you click on "no" on the error message, it
comes up with another message something like "running out
of memory". I just ran all the windows and office updates
on all the machines in the company and so far two
employees are having this problem. Is this something to
do with the updates? Any suggestions?
did you try ...save as version 2003 problem
I'm working in vba in Access to create and save an Excel file. All's good
except that one of the workstations this is runnign on is using Office 2007.
I'm developing in 2003 and all the other workstatiosn they have are using
2003. It's very important that the files be saved in 2003 format.
When I do this, it runs fine and saves as 97/95
objExcelBk.SaveAs sTempPath & sExcelFileName, xlExcel9795 ','56 = xl
I read online in a forum post that "56" is the correct code for saving as
2003 but that's when the code is written in 20...