Thanks Hessam...
RYU
Posts
-
How to set modeless form to stay modeless? -
How to set modeless form to stay modeless?Hi, I have 2 forms. One is the main form and another is just a normal form. In the main form, I have two buttons. One is to open modeless form and another is to open modal form (using ShowDialog()). When I clicked the first button, it will show modeless form. However, if I clicked the second button and the modal form is open, the first modeless form can't be access anymore (until the modal form is closed). Any idea how to allow this modeless form to be accessible? Thanks for any help :)
-
Zip Compression in C#Hi Rajesh, I tried the LZMA, but the compressed file can't be open in Winzip. Cheers :)
-
Zip Compression in C#Hi Mirko, I have tested this class, it is very slow for big files. In fact, SharpZipLib is faster. But thanks though for this info. I have learned something new :) Cheers :)
-
Zip Compression in C#Yes!! That is exactly what I am looking for. I have to modify the code a little bit to support compression. Thanks Programm3r for your help :)
-
Debug Assertion Failed...Hi Roger, I can call Dispose(). I think that is similar with ::CoUninitialize(); but where can I put that function? There is no Disposing event in the user control. I tried to put in Disposed event, but it still doesn't work :( Any idea? Thanks for your help again... :)
-
Zip Compression in C#Hi Giorgi, I have tried this. It is extremely slow for big files. But will try all other people suggestion tomorrow. Thanks for your help :)
-
Compression in C#If I can't get the answer from C# forum, I will try and download the demo project and try to see how fast does it compress the file. If it is fast, will build the COM object for it. Thanks Hamid :)
-
Debug Assertion Failed...Hi, I have an ActiveX component that I build using MFC. I use this component in my C# application. Every time I close my C# application, it generated this error:
Debug Assertion Failed!
Program: ...
File: f:\sp\vctools\vc7libs\ship\atlmfc\src\mfc\wincore.cpp
Line: 1007
etc..
etc..
etc..I do the debugging and it fails on this line:
#ifdef _DEBUG
ASSERT(pMap->LookupPermanent(hWndOrig) == NULL);
#endifI know it is not an important question, because if it is in release, it works perfectly. But I was wondering, what can cause this problem? Please note: 1. This error only occurs on my specific application. 2. When I build a new C# application. It works fine. Any idea?
-
Zip Compression in C#Hi, I am looking at a way to do zip compression in C#. Is there any free library that do zip compression as fast as winzip? Thanks :)
-
Compression in C#Upss.. wrong forum... sorry...
-
Compression in C#Hi, I am looking at a way to do zip compression in C#. Is there any free library that is as fast as winzip? Thanks :)
-
Change ClassName in c#leppie wrote:
Why on earth would you want to do such a thing?
Do you mean changing the class name from WindowsForms10.Window.8.app.0.378734a to MyTestApp.MainForm? Well, I need to do that so that I can use FindWindow(). The reason I need to use FindWindow() is because that is the only function I can find in NSIS (NULLSoft) to find out whether specific application is running or not. Cheers :)
-
Change ClassName in c#Hi, If I built a windows application in VS2008, the class name I got is something like WindowsForms10.Window.8.app.0.378734a Is it possible to change this class name? I tried to do
protected override System.Windows.Forms.CreateParams CreateParams { [SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)] get { System.Windows.Forms.CreateParams cp = base.CreateParams; cp.ClassName = "MyTestApp.MainForm"; return cp; } }
But every time I run my application, I got this error
Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.
Any idea? Cheers :)
-
How to convert MFC application to OLE?Hi Pallini, The application is too complex. We've bought the code from 3rd party company for 100K. I kind of hoping be able to just convert it to OLE object so can be used within our application. Any idea? Cheers :)
-
error : Building MFC application questionAre you building MFC application? If you go to your project properties under Configuration Properties | General, there is a setting whether to use MFC and/or to use ATL. If your project is not a MFC application, you should set the Use of MFC to Use Standard Windows Libraries Cheers :)
-
How to convert MFC application to OLE?Hi, I have a SDI application that is written in MFC. I am just wondering, how to convert this application to be OLE capable application so I can embed it into my C# application? What I am trying to achieve is to have my main application (written in C#) with my MFC interface inside my main application interface. Is it possible? If yes, is there any link or tutorial site that I can go to? Thanks for any help in advance... Cheers :)
-
Executable COMAh... found the solution. Simply convert it to Automation class :-D
-
Executable COMHi, Currently, I have a form application (written in MFC). Lets call it AppsTest.exe. But I wanted to change this application (exe) into exe + COM. What I mean is that I wanted to be able to call a COM function in my other application (eg. VB or C#) and launch a message box in my MFC application (AppsTest.exe). I am just wondering, where to start and is there any tutorial site that I can use as reference? Thanks for any help... Cheers :-D
-
Fast way to convert string array to double array...Yeah, unfortunately :( Thanks though for your help. At least I know there is nothing I can do about it. Cheers :)