|
Help you with what? I don't see a question there.
|
|
|
|
|
I'm not looking for any code but for some possible references/links to find what I'm looking for.
I'm want to be able to export an Outlook profile (2010) to a PST file. I know you can do this in Outlook but it is time consuming to open Outlook and perform this action, then import it in the new profile.
I've looked over the assembly reference and not really finding anything: http://msdn.microsoft.com/en-us/library/office/bb652780(v=office.14).aspx[^] to do this.
I do see some information on the web about exporting calendar, contacts, tasks, etc to different formats such as Access Database, csv, etc... but haven't found anything to export to a PST using C#
Thanks in advance for any information!
|
|
|
|
|
I want to create a design where I have a pool of perhaps 5 worker threads, and any number of outside threads can post any number of work items for the worker threads to process.
The worker threads will wait in a loop using WaitOne() , and the outside threads will post the work items using calls to Release() .
Is there anything improper about this design? Am I misusing the semaphore, or doing anything not recommended?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I'd use the C# ThreadPool class instead of inventing your own.
|
|
|
|
|
Thank you, I was not aware of the ThreadPool class.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
hi
how are you
as i see you answer many questions about the http packet
and if you can help me please i will be very thankful for you
i am new in the programing in c# language
i have a pcap file , i open it in wiresharh program.
i nead to read this pcap file (which it is saved on my pc in a specific folder) in c# and display specific fields( time of the packet, ip source , ip destination , info(as it apear in wireshark) )
but not for all pachets just for the http protocol(as it aprear in wireshark)
i am using the (Tamir.IPLib.Packets) library and i program this
private static void device_PcapOnPacketArrival(object sender, Packet packet)
{
if( packet is IPPacket)
{
IPPacket etherFrame = (IPPacket)packet;
Console.WriteLine("time {0}, source ip address {1}, destination ip address {2} ",
etherFrame.Timeval.Seconds,
etherFrame.SourceAddress,
etherFrame.DestinationAddress);
}
}
this program print the fields (time ,source ip ,detination ip) but for all the packets
how can i specific just for the http protocol ( as it appear in wireshark)
thanks for your time
can you answer me on my email
mais_irreem@yahoo.com
|
|
|
|
|
Never post your email address in any forum, unless you really like spam! If anyone replies to you, you will receive an email to let you know.
Edit your question, and remove your email.
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
|
|
|
|
|
Hi,
I have the above options to save user comments in MySQL in my Windows Form application (C#)?
Which one you recommend?
Technology News @ www.JassimRahma.com
|
|
|
|
|
Unless you are looking for storing shapes, tables etc you could go ahead with RTF.
|
|
|
|
|
That depends entirely on your appications requirements, not our opinions.
"Comments" where I work could be an entire Word document. It doesn't matter what we think, only what your requirements dictate.
|
|
|
|
|
Hello All..
Hello All..
I am working on Visual studio 2008 C# Windows application.
But I want to provide login for different user like purchase manager, admin, store manager, department user.
Can u help me in coding for creating this four different user’s login? and how to provide the password to admin.
My English is poor but I hope u understand this.
Plz help me..
|
|
|
|
|
You can build a simple screen which endows entitlements to user ids.
Entitlements can be screen wise with user ids assigned to them.
For e.g. one user can have access to store screens and another to the department.
Of course, only an admin can have access to the entitlement screen.
|
|
|
|
|
So use it wots problem at time when application starts, provide a form for login , no one can use the application.
Or you have any problem in coding??
|
|
|
|
|
Hello All,
I'm using Dot Net 3.5 for performing tasks in parallel using below code but It's not showing expected performance i.e. if serial task takes 1 min then using multitasking/parallel tasking it will finish within 1 min or much less time but it takes same time.
Code Snippet:
ManualResetEvent[] resetEvents = new ManualResetEvent[arrFileName.Count];
for (int i = 0; i < arrFileName.Count; i++)
{
resetEvents[i] = new ManualResetEvent(false);
ThreadPool.QueueUserWorkItem(new WaitCallback((object index) =>
{
int actionIndex = (int)index;
ThreadExcecute(arrFileName[actionIndex]);
resetEvents[actionIndex].Set();
}), i);
}
WaitHandle.WaitAll(resetEvents);
Any suggestion?
|
|
|
|
|
KIDYA wrote: king it will finish within 1 min or much less time but it takes same time.
This is not at all necessary.
It depends on how much work your processor / memory are involved with and what data is shared between these threads.
|
|
|
|
|
Thanks for reply ,that means performance is also based on processor speed/configuration,
I'm sharing same dll for performing each task which are not sharing any same inputs,does this matters?
|
|
|
|
|
Threading is useful in situations when you want to perform tasks in the background e.g. process complex calculations while allowing the user to navigate across across web page.
Threading do not necessarily mean performance will be improved.
|
|
|
|
|
Threading isn't actually a silver bullet, you know?
Anyway it's impossible to tell where this goes wrong without seeing what "ThreadExcecute(arrFileName[actionIndex]);" is doing.
|
|
|
|
|
ThreadExcecute function is doing encryption of a files using third party dll. So depending upon file size it will vary the encryption time.But If I've run this in parallel for multiple files then definitely it suppose to take less time.
|
|
|
|
|
Maybe.. with an SSD, sure. With a HDD, it's less clear: the throughput isn't that high anyway, and reading many files at the same time can introduce some seek latency.
|
|
|
|
|
|
Dear all,
I require your opinion on what approach is good and/or practical for the following scenario.
There is a web application which queries data from SQL server.
For example:
Users report to a manager
1. The process by clicking a button is finding who reports to me (manager)
2. So there is a stored procedure written to find the users reporting to the manager
Now, there is a report (rdlc on the web server displayed via reportviewer control) which takes the manager as an input to generate report data for the staff members reporting to that manager.
The stored procedure for this report uses existing stored procedure (as in step 2 above) to find the staff members reporting to the manager and then generate required data.
My question is:
1. Is this the right way of doing this
2. Is there a need to develop a separate SQL view just for this report
3. What would be the best approach on doing this.
Please help.
Thanks
Regards,
Nayan
|
|
|
|
|
Does this have something to do with a C# problem?
Use the best guess
|
|
|
|
|
Not a C# question. Next time, you can post in the database section for better answers.
However, IMO, you should stick to one stored procedure unless you follow coding standards where you have to have a view per report.
|
|
|
|
|
I need the encryt and decrypt cod using one time pad
for client and server
gruda
|
|
|
|