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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
Z

ZawMinTun

@ZawMinTun
About
Posts
12
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • communicate with usb (MTP) device and IOCTL
    Z ZawMinTun

    How about trying this? GENERIC_READ || GENERIC_WRITE, FILE_SHARE_READ || FILE_SHARE_WRITE Change those above to: GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE

    C / C++ / MFC com question

  • WML Page is no more visible
    Z ZawMinTun

    Hello everyone, We have a web site which can be viewed from the old device and the content is returned as wml for those devices automatically. It's working all the way. One day, we cannot see the web site from the devices anymore. So we try to peek into the response data from the server and found out that it's not wml anymore, so the device cannot show this info. We checked the IIS settings such as MIME, Handlers and so on. We still cannot find the cause yet. I know the information is so vague for you to help. However, please share any kind of advice or guess or your similar experience for now we run out of the idea and any other hint to try out will be very useful for us. Regarding to WAP gateway, is there a way I can check how my server is handling this or so? Thanks & regards, Zaw Min Tun

    Hosting and Servers sysadmin windows-admin help question

  • Using .Net DLL in VC6
    Z ZawMinTun

    Thanks a lot, David. The first option is probably a bit discouraging (for the source files are quite a lot and a bit messy already through the ages), so I'll be trying the second. In fact, I've already tried wrapping in C# and calling from VC++, but still in vain. So I will try this in C++/CLI. For your advice and time, thanks a lot. Best regards, Zaw Min Tun

    C / C++ / MFC com help csharp css

  • Using .Net DLL in VC6
    Z ZawMinTun

    Hello everyone, Now I'm facing some problems trying to use .Net 4.0 DLLs in VC6. Just to share some background info, it started with a requirement I need to use a (.Net 4.0 third-party) grid in an old VC6 application. I browsed the internet and got the information about the interop and COM and so on. Finally I arrived to this point: I used Microsoft's Interop Form Library in VS-2010 and created a dll file wrapping the third-party grid. Then from VB6 I tried to use it in VB6. It's working. I tried to do the same in VC6, but failed, and I also don't know exactly how to do exactly the same as in VB6. So I created VB6 ActiveX Control wrapping this dll. I used this ActiveX Control in VB6 exe applicaiton. It's working too. Then I tried to use the ActiveX control from VC6. I can load the grid on to the UI (by clicking a button). However, the intrinsic functions of the third-party grid (such as sorting by double-click on the column-header, group by the colums drag and drop) are not working anymore. Even when I click on the grid, the application hangs up. The error is saying something related with ".Net-BroadcastEventWindow". Can you please help me? Any information or guess-and-advise will be useful and really thankful. Best regards, Zaw Min Tun

    C / C++ / MFC com help csharp css

  • Serializing null
    Z ZawMinTun

    Thanks a lot for this useful information.

    Java java json help tutorial question

  • Serializing null
    Z ZawMinTun

    In fact, I'm doing this in Java, it's a Maven project and hosted as a web service on GlassFish. The service returns the data in json format. The problem is when the values are null, I have to serialize them as "" or "null". I want to return as just null. However, I still can't find a way.

    Java java json help tutorial question

  • Serializing null
    Z ZawMinTun

    Hello everyone, Is it possible to serialize null as just null in java? For example, if I have a row such as below, Col1 Col2 Col3 ---- ---- ---- A null B Is it possible to seriazle the row above to the json below? {"Col1":"A", "Col2":null, "Col3":"B"} Thanks for taking your time and help a lot. Best regards, Zaw Min Tun

    Java java json help tutorial question

  • C# RTD + .Net Remoting
    Z ZawMinTun

    Hi all, I have a problem in creating a Excel RTD Server using C#. The application is laid out as follows: A window application which is running .Net Remoting server on a tcp channel (let's call it DataFeedServer). A dll which can call DataFeedServer to get the data (let's call it DataFeedClient). The communication between those DataFeedServer and DataFeedClient is two-way (using callback functions and delegates). Then I tried to call the DataFeedClient dll from a test windows application (let's call it TestWinApp). Then the application flow is: TestWinApp calls DataFeedClient, DataFeedClient calls DataFeedServer, DataFeedServer fires an event in DataFeedClient and finally DataFeedClient fires an event in TestWinApp. And it's working fine. Then MS Excel comes in for real world scenario. I put a dll for RTD interface which will be called by MS Excel and which will call to DataFeedClient. Then the scenario changed to MS Excel RTD calls DataFeedClient, and DataFeedClient calls DataFeedServer. Then DataFeedServer tried to fire an event of DataFeedClient. But fails. No error. Just silently stopped at that stage. So there's no calling from DataFeedClient back to MS Excel. The direction of the data flow is only half of the route always. I'm not so sure I'm explaining clearly enough and thanks for taking your time this far. Actually, the very essential information I need to know is if it's possible to use IRtdServer and Two-way .Net Remoting (with callback functions and delegates). Any information source is gratefully appreciated too. Thanks in advance. Best regards, Zaw Min Tun

    C# csharp help sysadmin

  • .NET C# CLI/C++
    Z ZawMinTun

    Dear Addy Tas, Thanks for your reply. Yes, CLR setting is checked. But now I found out that it's happening only in some CLI/C++ projects. In other CLI/C++ projects, the load event is fired. So now I'm trying to pin-point what's wrong with those projects, but still can't get a clue though I spent so many days on it. The projects are actually UserControl projects and we have another function to call such as Init() after creating the control. If I can't pin-point why it's happening, I'm thinking I will move the code lines from the Load-event to that Init() function. Regards, Zaw Min Tun

    .NET (Core and Framework) csharp question c++ help

  • .NET C# CLI/C++
    Z ZawMinTun

    Hi all, I hope I put this question in a right category. I have a base class (let's call MyWindow) in C# which is based from UserControl. MyWindow is used as a base class in other projects of the same solution, and the projects are written in different languages, some C# and some C++(CLI). In C#, it's working properly. The Load event of the inheriting control is fired when the control is created in our application in run-time. But for CLI/C++ projects, the Load event of the inheriting control is never fired. Can you please give me some information to settle this? Thanks for your help and time, Zaw Min Tun

    .NET (Core and Framework) csharp question c++ help

  • C# UserControl Focus
    Z ZawMinTun

    Thanks a lot, Bill. As you said, I have no choice but to add click event handler to every control on that user control. Best regards, Zaw Min Tun

    C# help question csharp

  • C# UserControl Focus
    Z ZawMinTun

    Hi all, Please help me or share me any information regarding to the issue below. I have a UserControl, e.g. with a number of text boxes on it. That UserControl is created in run-time as needed and can be overlapped each other. If I want to bring that UserControl to front, I need to click on one particular textbox. That particular textbox has a mouse-down event handler, which will bring the whole UserControl to front. The other textboxes don't have this mouse-down handler. So if I click on those textboxes, the UserControl will still stay behind. So if I want to bring the UserControl to the front-most when the user clicks on anywhere on it or any control on it, how can I make it done? Is there a way without implementing mouse-down event for every control? Thanks & best regards, Zaw Min Tun

    C# help question csharp
  • Login

  • Don't have an account? Register

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