Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

RYU

@RYU
About
Posts
73
Topics
29
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to set modeless form to stay modeless?
    R RYU

    Thanks Hessam...

    C# help tutorial question

  • How to set modeless form to stay modeless?
    R RYU

    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 :)

    C# help tutorial question

  • Zip Compression in C#
    R RYU

    Hi Rajesh, I tried the LZMA, but the compressed file can't be open in Winzip. Cheers :)

    C# csharp question

  • Zip Compression in C#
    R RYU

    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 :)

    C# csharp question

  • Zip Compression in C#
    R RYU

    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 :)

    C# csharp question

  • Debug Assertion Failed...
    R RYU

    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... :)

    C / C++ / MFC c++ help question csharp sharepoint

  • Zip Compression in C#
    R RYU

    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 :)

    C# csharp question

  • Compression in C#
    R RYU

    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 :)

    C / C++ / MFC csharp question

  • Debug Assertion Failed...
    R RYU

    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);
    #endif

    I 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?

    C / C++ / MFC c++ help question csharp sharepoint

  • Zip Compression in C#
    R RYU

    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 :)

    C# csharp question

  • Compression in C#
    R RYU

    Upss.. wrong forum... sorry...

    C / C++ / MFC csharp question

  • Compression in C#
    R RYU

    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 :)

    C / C++ / MFC csharp question

  • Change ClassName in c#
    R RYU

    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 :)

    C# csharp help question

  • Change ClassName in c#
    R RYU

    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 :)

    C# csharp help question

  • How to convert MFC application to OLE?
    R RYU

    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 :)

    C / C++ / MFC tutorial csharp c++ com help

  • error : Building MFC application question
    R RYU

    Are 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 :)

    C / C++ / MFC c++ help question announcement

  • How to convert MFC application to OLE?
    R RYU

    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 :)

    C / C++ / MFC tutorial csharp c++ com help

  • Executable COM
    R RYU

    Ah... found the solution. Simply convert it to Automation class :-D

    C / C++ / MFC csharp c++ com help tutorial

  • Executable COM
    R RYU

    Hi, 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

    C / C++ / MFC csharp c++ com help tutorial

  • Fast way to convert string array to double array...
    R RYU

    Yeah, unfortunately :( Thanks though for your help. At least I know there is nothing I can do about it. Cheers :)

    C# question com data-structures performance help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups