Distribution Files for MFC in VS .net 2003
I have an app that was developed under Visual Studio VC++ 6.0 & MFC and
deployed at our customer site.
I have since installed Visual Studio .NET 2003 and rebuilt the application
under the new development environment. I wanted to do a quick test of the
executable and copied it up to a test machine and tried to run it. I got a
series of "unable to find xxx.dll" errors.
I realized that none of the new DLLs were installed on the test machine.
Does anyone have a pointer to a good document on what distribution files are
required? I know about the obvious ones like MFC71.DLL...Save formatted text from RichEdit control to rtf-file
How can I save the text from Rich edit control (2.0) to *.rtf , *.txt ,
I tried to get the buffer and putting the buffer to file, then saving
but the text in the file is something different.
Please let me know what to do?
Here is the Code I ma using:
mFile.Seek( 0, CFile::begin );
int iTotalTextLength = m_oChatMessageControl.GetWindowTextLength();
HWND focusWnd = ::GetFocus();
cBuffer2 = m_oChatMessageControl.GetSelText();
LPTSTR...Creating a new field based on conditions
I have a database that tracks insurance information for our various vendors.
Each insurance type has 2 fields - a requirement field (yes/no), and an
effective field (some show an expiration date, some are yes/no). I have
created a query that will return only the records for which insurance is
required but is expired/missing. My problem is that I want to create a new
field that is calculated based on the values in the other two fields in order
to make the resulting report more user-friendly.
For example, if GLRequired is True and GLExpiration is <Now(), I want the
new field to say...Having problem of Outlook not receiving new e-mails
I have been using Outlook for over 1 year with Comcast
Broadband. Suddenly last week, I received a message that
Outlook 2000 was experiencing a problem when receiving new
e-mails and was going to shut down. I re-opened Outlook
and it looked different and then it asked for me set up a
profile and I canceled it. But after that window coming up
a couple of times after it shut down, I decided to put in
a new name and then I could not get to my old e-mails and
it acted like a new set up. Then I really got frustrated.
I was eventaully able to get back to my old e-mails and
have been able t...file cloning
I was wondering. How come it is possible to clone a file (using right
click copy/paste file), but not possible to do this for other documents
(apps and clip-art etc)?. Could it be possible to have an add-in in
excel to prevent people from copying documents on their desktop??
You can copy files that way (rightclick|copy, rightclick|paste).
But most windows applications are no longer just simple .exe files (like back in
the old DOS days).
They usually have tons of other stuff that gets installed with them--and that
stuff gets scattered all over your harddrive (windows folder, wi..."Application has failed to start..." error message with VS2005 on new machine
VC++ MFC Project working absolutely fine on one machine
Installed Visual Studio on a new portable and copied the project and all the
settings over, done a complete rebuild which worked fine but now get an
"The application has failed to start becuase the application configuration
is incorrect. Reinstalling the application may fix this problem"
Have tried reinsalling (but I dont think this is relevant as I am working
the message pops up a couple of times but then the program runs OK
Does anyone know what this means and how to find out what is missin...moving payables data from open to history
A client says that someone imported data about a year or two ago into Great
Plains from their AS400.
Many payables documents that were imported should have been coded during the
import as open, instead of history. The client knows that she can take care
of this herself within two hours, by simply turning off the posting to the GL
and entering and posting the payables documents to move them to history.
But, she is wondering if there is a quick and easy way to do this on the
I'm familiar with the open and history payables tables within GP. And, I
know through a T...Excel moving horizontal columns to vertical
I am trying to find a simple way of moving data in horizontal columns
(referencing the key in column 1) to vertical colums (still referenceing the
same key). This would mean automatically repeating the values in column one
for every entry in the moved columns.
I can do this through the pivot table, but this is a long drawn out process.
I'm not sure if this will work for you, but you can try this:
- Highlight & copy on the horizontal value you want to make vertical
- Now highlight the vertical area you want these value to got
- Right Click when highlighted & choose...Outlook 2003: Most messages are moved to junk folder
I am getting a lot of spam recently, at least looking at the numbers of
mails in my junk folder.
However, it turns out that these messages are not spam at all, but just
regular messages (even from the same domain), that should remain in the
regular inbox. Even when I identify a message as 'Not spam', then
subsequent messages from that sender keep popping up in the junk
Obviously I have changed the junk mail settings to 'No automatic
filtering' but Outlook keeps thinking it is smarter than I am.
Any idea? Googled the internet already but couldn't find anoth...how to build the netsample ipconfig to the exe file?
i want to make ipconfig.exe.
and i could found the sample code.
but it source code builded to the lib file.
in ipconfig sources files,
the project is .lib file. but the source code has a _tmain() funciton in the
it's looks possible to compile to the exe file.
how can it compile to the exe file?
You can add the SYSGEN_NETUTILS and you will have the ipconfig.exe
integrated to your OS.
Search ipconfig in the cat...How do I export Lotus Approach files into an Excel spreadsheet?
I need to export data from Lotus Approach to Excel; please help. I am using
an old version of Lotus SmartSuite 9.5 and I have Microsoft Office 2003 Basic.
Well, I don't know Approach at all but is there a common file format that
both use e.g. comma delimited. If so , save in that format from Approach and
import into Excel.
> I need to export data from Lotus Approach to Excel; please help. I am using
> an old version of Lotus SmartSuite 9.5 and I have Microsoft Office 2003 Basic.
...outlook can't receive exe files
A guy here at work can't get exe files through his outlook. Is there a check
to uncheck somewhere to allow it to do this? He can receive normal
...NNTP move to Exchange?
I'm having a problem with getting a NNTP feed from a
INND 2.2.1 server to Exchange 2003; are there any known
issues here? Has anyone done this type of migration
before? What issues did you encounter?
It seems as if Exchange just wants to pull down a few
of the groups (of which we have over 100 internal) and
even with that, not even pull all of the messages in from
those few groups (it usually gets a few hundred
messages). I'm using the basic NNTP wizards but
everything looks to be configured correctly.
...retrieving folders.old file
probably been posted before, but need some help. i was
getting the "MSIMN has caused an error in directdb.dll" i
found the solution by renaming the folders.dbx file to
folders.old. here's the problem, i opened express back up
and my sent folder was empty. my question is, how or can
i retrieve that old sent message list??
...Need code snippet to read offline PST file
I have a PST file in my local hard disk and have requirement to read
PST file and parse through all folders and then each message item in
all folders and then segregate them to different folders based on
Please kindly send the code for the above requirement.
Thanks & Regards
You're going to have to write your own code. Do you know anything about
Outlook programming at all? You can start out by looking at information and
code samples at www.outlookcode.com.
[MVP - Outlook]
http://www.slo...Add new record through Form view
I have a table which is linked to a form, i would like to have a command
button which will add a new record to my table.
On the click of command button it should view the last empty row of my table
in a form.
On Sat, 26 Dec 2009 11:11:01 -0800, Ranjith Kurian
>I have a table which is linked to a form, i would like to have a command
>button which will add a new record to my table.
>On the click of command button it should view the last empty row of my table
>in a form.
The Click event should show [Event Proced...Excel 2000 vs. Excel 2002
I am having troubles with a workbook that I created that is havin
I created it in 2002, and it opens fine in Excel 2002 for other people
However, when I send it to someone who has Excel 2000, it takes over a
hour to open.
Now I also made a very similar report that works just fine whe
trasferred to excel 2000.
Here are a couple of stats on the workbook that is having problems:
500+ externel links
200+ simple calculations (a1+b1; a1/b1;etc..)
1 Worksheet in the book.
2 columns with conditional formatting
Message posted from http://ww...Any FREAKIN' way to import DBX files into Outlook 2003
Importing via Outlook | Import from another Program or File
Importing via Outlook | Import Internet Mail and Addresses
Exporting from Outlook Express
Tried Many, many times...
Can Microsucks make this any more complicated...
It's a FREAKIN' DBX file collection
NO - No other Application has it Open.
YES - The Files ARE there
YES - the Internet Account IS there
Yes - I've wasted more of my time IMPORTING into Outlook Express in
VISTA just to RE-EXPORT back to Outlook. What a bunch of freakin'
Another 2 hours wasted - because one Microsoft applica...Opening .prn files in XL2000
I am using a software that does not save data/reports in .csv or .xls
formats; only in printed versions. Is there a way to save the printed
report in a file and open the file in XL2000? If there is, how is the print
file produced, where is it saved, etc? A friend suggested setting up a
generic printer but didn't know how to go about it.
You may want to give that other software just one more chance--look under File
and see if there is a SaveAs option. You may find something upon further
But if you want to add a generic printer, I think it'll depend on your version
of win...Import reg files into Registry, without UAC
I've got a .reg file to be imported silently in a batch. The file contains
only entries in HKEY_CURRENT_USER, therefore can be imported without
This works well with the regedit /s switch on limited accounts, however on
admin accounts, elevation UAC prompt is still shown, even though it's not
How can I prevent this?
Jens M�ller wrote:
>I've got a .reg file to be imported silently in a batch. The file contains
>only entries in HKEY_CURRENT_USER, therefore can be imported without
>...Retreive a deleted file
How can I retreive a delted file
If you have setup Excel to automatically create backup copies; then check
that folder for the last backed-up version....If it is from your PC, check
out the Recylcle Bin (on your desktop) and restore the file. If the file was
on a network drive you may need to contact your network administrator and
check whether they can recover.
Jacob (MVP - Excel)
> How can I retreive a delted file
Go into your Recycle Bin. If deleted from there;
...Only new email window?
Is there a way that I could have a shortcut on my desktop that does not open
the whole application, but rather ONLY open my new email window? I send out
a lot of email, and I also have a lot of other apps running.
Please let me know if that is possible. Thank you,
Steve F. <email@example.com> wrote:
> Is there a way that I could have a shortcut on my desktop that does
> not open the whole application, but rather ONLY open my new email
> window? I send out a lot of email, and I also have a lot of other
> apps running.
Create a shortcut whose target is:
"%Pr...Newbie needs help with new Exchange 2003 installation
I am TOTALLY new to Exchange. We just installed Exchange Server 2003
on a Windows 2003 domain.
I have one (test) account set up and it appears to work OK but I keep
getting an error message that says "Task "Microsoft Exchange Server"
reported error (0x8004010F): 'The operation failed. An object could
not be found.'
I know, I know...How could I possibly not understand THIS message?
I appear to be getting mail but I' can't be sure. How can I check to
see what's causing this (and more important...what object it's looking
Thanks for any help!
Where do i find my log files?
On an NT based system: go to start, run, type eventvwr,
then hit enter. There you'll see the application, system,
and security logs.
>Where do i find my log files?
...Need to show file properties dialog box
I need to show the shell's file properties dialog box. I tried
converting old vb6 code into vb.net but it gives me error. Here's my
Private Structure SHELLEXECUTEINFO
Dim cbSize As Long
Dim fMask As Long
Dim hwnd As Long
Dim lpVerb As String
Dim lpFile As String
Dim lpParameters As String
Dim lpDirectory As String
Dim nShow As Long
Dim hInstApp As Long
Dim lpIDList As Long
Dim lpClass As String
Dim hkeyClass As Long
Dim dwHotKey As Long