Thanks Dave, i will get back soon after resolving this issue
My small attempt...
Thanks Dave, i will get back soon after resolving this issue
My small attempt...
I just told about file parsing, but this behavior may not be related to that. Below is another strange behavior i am seeing. This is happening only sometimes, which may/may not related to our issue. Say i have opened any popup window or some applications ( like MS word, IE) from my main form. When I close that popup window/app then the main form will be minimized or some other app will come front. So i had to click the app icon from task bar to bring it back
My small attempt...
Thanks Dude, instead of BackgroundWorker is use Task and continue with. Is there any way to check, what went wrong when i got this situation again?
My small attempt...
I dont think that the GUI thread is blocked, because using TPL I parse all the files. Then show the result in the grid. I am minimizing the application after all these operations are completed. That mean app is Idle when i minimize. If i maximize the app immediately or like after 5. 10 minutes, then i am ok. But after 30-40 minutes i am having issue. I also use DEV Express grid o show the result.
My small attempt...
I know this is not a clear question, but this is the situation. I have a windows application which parse some file( i use TPL here). If i minimize this application and keep idle for more than 30 minutes, then i cannot bring the application back. I can see the minimized icon, but this wont come back even if i do ALT-TAB. This is in windows 7. Any idea?
My small attempt...
Hi, i am trying to implement cache managing using Microsft enterprise library. I want to fetch the physical path of my file saved in cache. i tried with reflection like this
Stream dcmStream = (IsolatedStorageFileStream)cache["key"];
string fullPath = dcmStream.GetType().GetField("m_FullPath",
BindingFlags.NonPublic | BindingFlags.Instance).GetValue(dcmStream).ToString();
It is not working. Could you help me?
My small attempt...
Thanks..
My small attempt...
Could anyone explain the difference between wix setup project and normal setup project in visual studio??
My small attempt...
modified on Friday, September 24, 2010 3:40 PM
Instead telling this kind of comments let me know this thing.. My intention is to know 'all the advantages' of this kind of a design... I guess the following please add if you know anymore 1) the implementation of different file type class can be isolated to separate class 2) i can simply add a new file type into this system 3) There wont be any change in obj.ProcessFile() as it is a base pointer. Pls add more to this
My small attempt...
hi Thanks for the update... do not misunderstand my intention.. i am not asking about design patterns, but what is the exact use of this kind of design?
My small attempt...
Can anybody tell the exact use of design/design patterns in C#. Let me come with an example, i am designing a software for processing different type of input files. My design will be like this. I will have a baseclass
class BaseFileClass
{
protected void ProcessFile();
}
Then the derived classes
class XMLClass : BaseFileClass
{
public override void ProcessFile()
{
//Process XML File
}
}
class CSVCLass: BaseFileClass
{
public override void ProcessFile()
{
//Process CSV File
}
}
class ExcelClass: BaseFileClass
{
public override void ProcessFile()
{
//Process Excel File
}
}
On the main
Base b = null;
if( isXMl)
{
b = new XMLCLass();
}
else if( isExcel)
{
b = new ExcelCLass();
}
else if( isCSV)
{
b = new CSVCLass();
}
b.ProcessFile();
What are the uses of this kind of a design??
My small attempt...
How the memory is allocated in heap for a dynamically growing List. while creating a new object the number of bytes required for that type is allocated in heap. How this is working if that class has a dynamic list???
My small attempt...
according to my current knowledge in .net memory management the value types are stored in stack and reference types are stored in managed heap. Form this, its clear that the object of a class will be saved in heap. Then where will be the memory allocated for the value type member of that class??
My small attempt...
From my knowledge CLR is a set of DLLs. In which language CLR is Written?
My small attempt...
i think i got it finally Here it is
My small attempt...
we should not encourage unnecessary replies, that why i did it... :) Yes you got my correct question.. Now I want to know in what situation I can not replace Hashtable with Dictionary. Please put some more lights
My small attempt...
i could not find the answer for my question with your 'google assist'. Please check your search and let me know whether is saying the answer for my question
My small attempt...
Thank you for the answers.... It was an interview question... i said the latest is C#4.0 but he was not convinced
My small attempt...
Shall we replace all the Hash tables with Dictionary?? Other than boxing-unboxing any other difference between these two?
My small attempt...
What is the latest C# version? is it same as the .net version number?? ie C# comes with .net4.0 is C#4.0. Is it like that?
My small attempt...