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
A

arcticbrew

@arcticbrew
About
Posts
34
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Looking for any way to transfer file from PPC to PC
    A arcticbrew

    How are you going to connect the PPC to the PC ?

    Mobile csharp question

  • How to retrive the Storage Card name
    A arcticbrew

    The System.IO.DirectoryInfo object can be used to get a list of all directories. Storage Cards will have this attribute: System.IO.FileAttributes.Temporary.

    Mobile help tutorial question announcement

  • Double Buffering for PocketPC
    A arcticbrew

    I do double buffering on Windows Mobile 2003 devices. It works well. Show your code and I might be able to help you.

    Mobile csharp help tutorial question

  • Button pressed issue
    A arcticbrew

    The only way that I know to do this is to make your own button class derived from control. Then you can use the mouse events from the control class.

    Mobile csharp help

  • GPS error ASUS P535
    A arcticbrew

    Does the Asus provide gps sharing through a virtual port scheme. If so this may be your problem. The workaround would be to implement your own polling and NMEA sentence data parsing routine. I experienced a problem on an HP Travel Companion with the serial port data received events when the virtual port feature was being used. The virtual port feature is intended for sharing of the gps port by multiple applications. When I disabled the feature and accessed the port directly the data received event was fired. If I enabled the feature I had to use a polling routine to get the serial port data. I do not think that this is a bug. I am not sure how I would implement a data received event for multiple listeners when using virtual ports.

    Mobile help c++ tools performance question

  • Bitmaps and com interop
    A arcticbrew

    how are you drawing to the bitmap in unmanaged code? Don't you need a Device Context?

    ATL / WTL / STL com graphics csharp c++ performance

  • Bitmaps and com interop
    A arcticbrew

    Hi Mike thanks for responding. Would you describe the method you used. I tried creating a bitmap from the device context of the screen, passing the Device Context and hBitmmap to unmanaged code, drawing on the bitmap in unmanaged code and passing back to managed code. But when I try to draw in managed code using GDI I get a memory exception.

    ATL / WTL / STL com graphics csharp c++ performance

  • Bitmaps and com interop
    A arcticbrew

    I am working in the compact framework. I have an ATL object that needs to draw on a bitmap. I need to pass the bitmap to a C# program and display it. We have tried creating the bitmap in C# with GDI methods then used the APIs for CompatibleDCs, selectobject, getHdc, etc and passed the DC to the ATL object. On returning it from the ATL object I get ExceptionHandling errors relating to memory when I try to get a bitmap I can use in managed code. We have been able to pass the DeviceContext and draw directly on it but I want to retrieve a bitmap that I can cache as a member variable in my class. Has anyone successfully passed bitmaps back and forth between managed and unmanaged code?

    ATL / WTL / STL com graphics csharp c++ performance

  • bitmaps and com interop
    A arcticbrew

    I am working in the compact framework. I have an ATL/COM library that creates a bitmap. I need to pass the bitmap to a C# program and display it. We have tried creating the bitmap in C# with GDI methods then used the APIs for CompatibleDCs, selectobject, getHdc, etc and passed the DC to the ATL object. On returning it from the ATL object I get ExceptionHandling errors relating to memory when I try to get a bitmap I can use in managed code. We have been able to pass the DeviceContext and draw directly on it but I want to retrieve a bitmap that I can cache as a member variable in my class. Has anyone successfully passed bitmaps back and forth between managed and unmanaged code?

    C# com graphics csharp c++ performance

  • Custom Region in Window CE
    A arcticbrew

    You can find a sample program that shows how to create an irregular shaped window on smart devices here http://www.opennetcf.org/PermaLink.aspx?guid=f0abe92f-6e94-4a19-b0e3-11d1bdb3c9f0

    Mobile question tutorial

  • Multithreading Local Variables
    A arcticbrew

    Read about synclock and monitor. They provide a mechanism that locks an object and blocks other threads from accessing it except the thread that created the lock. When the lock is released the blocked threads are allowed similar lock and access.

    .NET (Core and Framework) help question

  • Daylight saving not working in vb .net application
    A arcticbrew

    Interesting question. Perhaps, your program is working correctly (without regard to the "garbages in my registry"). How do you test the time change? What should happen? The logistics of making the clock jump forward are straightforward. Advance the clock when you hit 2am. What happens when it is time to jump backwards. Obviously, MS has had this function working correctly for years. How should the system clock behave on the switch in November when you are watching it? Should it jump back to 1am when it reaches 2am? This poses a problem when it hits 2am the next time. Dave do you know how to test this function?

    Visual Basic csharp windows-admin linux testing beta-testing

  • Help Needed!! Problem in running an exe file
    A arcticbrew

    You can use the CreateProcess api to start an exe. There are many examples of how to do this on the web.

    Mobile help csharp

  • Windows Mobile Soft Keys
    A arcticbrew

    1. There is codeproject article on capturing hardware key events. 2. You can add a background image to a form by overriding the paint event and using GDI to draw a bitmap on the form. I do this. 3. me.close, then application.exit If you still have the problem use the debugger to see if the application is hanging during the form's dispose event and determine which object is causing the problem.

    Mobile csharp help tutorial question

  • Running regsvr32.exe from CreateProcess
    A arcticbrew

    As an alternative to regsvr32, you could (pinvoke) call the DllRegisterServer function in the Dll. Regsvr32 executes this function in the Dll to perform the registration.

    Visual Basic question com help

  • Very Long Integers
    A arcticbrew

    Karens Power Tools has a free calculator with source code that handles numbers with thousands of digits http://www.karenware.com/powertools/ptcalc.asp

    Visual Basic

  • Dynamically creating panels and text boxes
    A arcticbrew

    Set the parent property of the label to the panel you create. Set the parent property of the panel to the form on which you want it to appear. The labels location coordinates will be relative to the top left corner of the panel. If you want the panel to show on the form you must set its visibility property to true and call BringToFront. You must do the same for the label so it shows on the panel.

    Visual Basic help

  • VBA speed issues
    A arcticbrew

    Did you run an analysis, identify the procedures that are consuming the most time, and optimize them? This would be the first step before making a decision to rewrite in another language. How large is the program? Converting to VB.Net might be the most prudent and quickest.

    Visual Basic c++ question data-structures performance

  • Exe file bigger than usually
    A arcticbrew

    "the exe file is about 120MB" Is it 120MB or 12MB?

    Visual Basic visual-studio help announcement

  • Split function
    A arcticbrew

    I ran your code and it worked without error.

    Visual Basic 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