How to Convert UTC to localTIme(C# )
I have got the value of user account's lastlogon time. Its type is Int64.
This value is stored as a large integer that represents the number of 100
nanosecond intervals since January 1, 1601 (UTC)(Refer to MSDN).
I don't know how to convert this value to localTime.
The following is my code.
DirectoryEntry deUser = new DirectoryEntry(ldappath);
DirectorySearcher src = new DirectorySearcher(deUser);
src.Filter = "(&(objectClass=user)(SAMAccountName=" +
accountNa...console use of GUI app?
trying to extend an MFC GUI app so that it can be given some command line
parameters and will then run in "quiet" mode, without displaying the GUI. Up
to here it works fine.
The problem is that when the app is launched e.g. from a cmd.exe console,
the console doesn't wait for the app to finish. Which also means the cmd.exe
console won't display the text written by the app to cout or stdout.
Any ideas on how to 'correct' this?
No surprises here. This is how Windows is defined to work. A console app writes to a
console, a GUI app doesn't ha...CRM 4.0 Database Move/Migration issue
I have a test CRM 4.0 enrivonment that I've built up and being
evaluating and also migrating data to from our previous CRM database.
I have now installed our production CRM 4.0 environment and created a
new organisation. This blank installation worked fine. I then wanted
to migrate the data from our test environment into the live
environment. So I thought I'd try the Data Migration tool from
Microsoft. This didn't work. It just pointed the entry in the
MSCRM_Config.organization record to the content database on the test
server. So, I tried backing up the 2 databases from ...Convert text to time value
I have a series of time values in a 'General' format. They are of the
Which is 18:45:25 or 6:45:25 pm.
A time which is am would be of the type:
Which is 1:23:45 am.
Is there a way to convert those 'General' values to an Excel serial so
that I can figure out the difference between two times? I've seen a
bunch of examples on the net, but none of those that I have found deal
with this format that I can tell.
"Andy" <email@example.com> schrieb...Problem installing Vista SP2
I am having a problem installing Vista SP2 on a laptop.
The laptop is an HP with Vista Home Premium SP1 originally installed.
When I try to install SP2, (either from Microsoft Update or downloaded
manually), I get the message that SP1 is not installed. However, it IS
I have run CheckSUR, checked for Malware, disabled anti-virus programs,
booted with a selective startup, all to no avail.
there is a known issue where SP2 isn't offered in windows update unless
every post SP1 update important or otherwise has been installed.
This doesn't ...how to convert date
I'm looking for some method to convert mail date, in format:
eg. "Sun, 18 Sep 2005 20:57:08 +0200", to computer local time.
I tried CTime but without resoults.
Have you tried COleDateTime::ParseDateTime()?
> I'm looking for some method to convert mail date, in format:
> eg. "Sun, 18 Sep 2005 20:57:08 +0200", to computer local time.
> I tried CTime but without resoults.
>I'm looking for some method to convert mail date, in format:
>eg. "Sun, 18 Sep 2005 20:57:08 +0200&qu..."Microsoft Outlook has encountered a problem..." Message Window
I frequently have the message window shown below pop up while I'm on the
"Microsoft Outlook has encountered a problem and needs to close. We are
sorry for the inconvenience"
It can happen whether or not the Outlook application is open. If the app is
open and I click "Close" the app may or may not close. I have gone through
the "Detect and Repair..." process on the Help menu, but the message
continues to appear. I have looked at the "...more information about..."
offered in the message window, but am not competent to interpret the
i...Personal Folder #6
This is Outlook 2000-When trying to move files from inbox
to personal folders user gets an error and the action
does not complete. all setting appear to be correct and
there is also no visible security issue.
error messages: item could not be moved. it has either
already been moved or access has been denied.
Check the size of the personal folder. It may be full and you may need to
create a new folder or delete from the original.
"Troy" <firstname.lastname@example.org> wrote in message
> This is Outlook 2000-When...RMS HQ 2.0 maximum stores connected
Is there a case study where over 100 RMS 2.0 Store operations + RMS 2.0 HQ
With a central 1 HQ Server running in our Head Office and with plans
rollout RMS 2.0 store operation for approx 100 store operations for the next
We rasied a concern on how the HQ Server can effectively communicate to all
stores with HQ Access, even if it runs 24/7. Will the HQ Server 2.0 allow
multiple communications server such that 1 communications server in the HQ is
mapped to say, 20 stores on the store side, but communicates to a single HQ
Most branches will run...How do I convert dates to text keeping the format?
I'm trying to convert a column of data in date format *m/d/yyyy to a text
format without converting to serial numbers. Ie: I want to retain the
mm/dd/yyyy format. Is there a way to do this?
"sprlarry" <email@example.com> wrote in message
> I'm trying to convert a column of data in date format *m/d/yyyy to a text
> format without converting to serial numbers. Ie: I want to retain the
> mm/dd/yyyy format. Is there a way to do this?
That ...Excel: Auto converting text to numbers
I am downloading an Excel sheet, and the numbers come in as text. It
basically comes in as "33 %" but Excel registers this as text, not a
I have a cell that will be used to add the numbers, but since they are
text it doesn't work.
Given this information, is there a way to convert the imported data
into numbers. I would prefer to include this into my formula. The
potential numbers are:
0, 1, 2, 3, 4, 0 %, 25 %, 33 %, 50 %, 67 %, 75 %, 100 %, and N/A
I would prefer a function, again if possible, that could convert any
number. Please note, the space between the nu...MFG 8.0 Error
I recently upgraded from ver 7.5 to 8.0 on our test
server, but now I'm getting the error:
"A count records operation on table MFGxxxList failed
accessing SQL data" whenever I select any of the
xxx represents the specific view e.g. MFGBOMList
I think this may be a bug as when I try to view the
records of the view MFGBOMList (BOMV1000) I get the same
error as when I drill into the details.
Has anyone else experienced this error and found
A problem has been identified in environments with more languages than en-us
installed. This issue ...USB Issue with WinXP?
I have a bit of a problem with WinXP telling me that one of my USB
devices would operate faster if it was connected to a Hi-Speed USB 2
port. But it does not ID the device in question. How do I figure out
which device it is referring to? It does not happen all the time,
maybe once or twice a day, so it's hard to pin-point.
I've attached screen copies of the messages, if that will help ID the
source. Any thoughts are appreciated.
| I have a bit of a problem with WinXP telling me that one of my USB
| devices would ope...Outlook problem after OS reinstall
I have just completed an XP pro reinstall. I then installed
BitDefender IS - my old install had AVG9.
I then copy/pasted my saved outlook and archive .pst files into my new
install at -
C:\Documents and Settings\Administrator\Local Settings\Application Data
Now when I start up Outlook it starts with an error because it cannot
find avgxch32.dll! I just click to ignore and I Outlook runs OK
Can anyone advise me how to resolve this issue and stop Outlook
looking for this AVG file?
Remove it from your Add Ins.
<firstname.lastname@example.org> wrote in message
new...how to convert excel's .cvf file to .csv file
...Convert Access97 to 2000
Hello, we're currently running access97 and would like to convert it to
2000, but we don't know what is the administrator password for this
database. Also this database is running on multi user and have difference
permission for diffence users. Could someone help me how to do make this
happen but keep the currently permission retaint. Thanks
...Jeff Prosise Programming Windows with MFC
Hello. Does anyone have the CD for Programming windows with MFC by
I bought used book and it didn't come with the CD. Any kind people
out there who can help, I'd greatly appreciate it. I can send u a
blank cd and some cash to send back or paypal or anything.
...Convert 2000 Calendar to web page
When I convert my calendar for 2005 to a webpage, the page is off by 1 day.
Is there a template or fix available to fix this?
I can edit the html file but this should not be the case. Fixes?
Suggestions...other than use Apple?
"Duane Perry" <email@example.com> wrote in message
> When I convert my calendar for 2005 to a webpage, the page is off by 1
> Is there a template or fix available to fix this?
I have a strange problem that's probably easy to solve but I'm missing some
I have a Win Svr 2k3 machine with MS CRM 3.0 installed. The SQL Server and
Reportig Server are installed on another physical server. Everything works
fine but for one detail: when I try to access Reports (no matter what user
is logged in), I get an error message: "A error has occured. For more
information, contact your system administrator." It happens on every
However, if I load CRM into browser locally, on the server the MS CRM is
installed on, Report...OnShowPopupMenu in MFC Feature Pack
Using an Office 2007 style based on the new MFC Feature Pack, I am
trying to customize a popup menu displayed on a toolbar button.
I am using CMainFrame::OnShowPopupMenu for this, but there is no change
at all on the menu.
I tried to add items :
CMFCToolBarMenuButton(100, NULL, -1, _T("test"))
I tried to remove all items from the default menu :
I tried to remove an item from the default menu :
I tried to import a menu :
pMenuPopup->GetMenuBar ()->ImportFromMenu (*p...Need help with this problem
I need a hand with the following problem as I have not used Excel fo
quite a while.
--------There are 4 categories of goods - A,B,C,D
--------Each category has 100 goods/supplies that range in price fro
$4.00 -$26.00(cents are inclusive: ie - one particular item in categor
A costs $15.41)
--------A certain # of goods must be chosen from each category a
A - 3
B - 4
C - 3
D - ONLY 1 ITEM IS NEEDED FROM THIS CATEGORY.
HERE IS THE TRICKY PART:
A buyer must select the exact number of goods required from eac
the total cost of all 11 chosen goods cannot exceed $100.0...Publisher v2.0 #2
I have an old HP PC (Windows 98) and trying to save old Publisher v2.0
documents (kids school work,etc.) prior to getting rid of the computer. Was
able to save files to a CD. Installed Publisher 2007 to my new HP (Windows
Vista). When I try to open the saved files on the new PC, I get "unable to
open files because created with an older version no longer supported (or
something like that.) What can I do to open the files in my new computer?
Still have the installation discs for Publisher v2.0, but my new computer
does not have a floppy disc drive. What can I do? Thanks.
"...outlook express 6 (no pics in outgoing mail)
I have outlook express 6.
I used to have no problem sending pictures in email.
Recently, they simply won't go. I have checked all the
settings, at least the ones I know of, to no avail. I've
gone to the HTML setting and set it to "send pictures". I
still, however, get only a box with the picture name on
all outgoing mail.
Incoming has all pictures as they should be and I can
send .jpg's as attachments. Nothing included in the body
of the mail works.
Any help would be greatly appreciated!!
"bill a" <firstname.lastname@example.org> wrote in messa...XML Note convert to DataSet
I have this function:
object acmResponse = acmLogin.acmString("4001", "", paramFormLogin +
paramUserBasics);System.Xml.XmlNode acmNodes =
What I have todo, to convert the XML Object in the DataSet Object?
I have a problem right here. When I want to create an individual list
(Sheet2) from the master data list (sheet1), the link does not follow
in accordance to the master list after I copy & paste in Sheet2. If
the individual list's range(Sheet2) is (A4:M49), (A50:M95),
(A96:M141)...almost 100 of if, and the linkage is as below:
Sheet1 Link to Sheet2
A4 - F5
B4 - D8
C4 - E8
A5 - M5