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
D

Dan Broomall

@Dan Broomall
About
Posts
11
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • System.Type Object
    D Dan Broomall

    I am attempting to load some controls at runtime based on information from an XML file. However, I can't get the System.Type object created properly. Documentation alludes to the idea that the System.Type object can only represent simple/base data types. Does anyone out there know if this is correct or not? Thanks Dan Broomall

    .NET (Core and Framework) xml question

  • InputPanel Blues
    D Dan Broomall

    I am writing a WindowsCE/Pocket PC application and need to enable/disable the InputPanel for text fields during GotFocus/LostFocus. Obviously, I can't just drop an InputPanel object on the form if this app is to be used for Windows CE as well. So, to enable/disable the InputPanle object, I wrote the following code: private sub setSIPDisplay() { if ( ipInput != null ) ipInput.Enabled = !ipInput.Enabled; } Now, it works fine until the user closes the form while the InputPanel is still enabled. Then I get an error. I placed the "dangerous code" in a try-catch block (on the assignment statement above) and I get the ever helpful and descriptive exception of "Exception". I am sure it has to do with the InputPanel being orphaned somehow, but I haven't figured out why. Any thoughts on how I can a) fix this error or b) get a better exception description so I can learn more. Thanks Dan Broomall

    Mobile help discussion

  • FindFirstFlashCard/FindNextFlashCard
    D Dan Broomall

    THANK YOU, THANK YOU, THANK YOU! I couldn't understand why there wasn't a way implemented in managed code to find them. Thanks again Dan

    Mobile tutorial csharp question discussion

  • FindFirstFlashCard/FindNextFlashCard
    D Dan Broomall

    I am attempting to access these functions through a .NET wrapper. I am using P/Invoke, but I am having very little success. Does anyone out there have an example of how to do this? When I can get it compiled and the call made, I get a NotSupportedException returned with very little explanation. Other times, I can't get it to compile because I have been unable to fill the Long variable (acting as a LPWIN32_FIND_DATA object) I am passing to the function call properly prior to use. Any thoughts on this? Thanks Dan

    Mobile tutorial csharp question discussion

  • .NET Framework 1.1
    D Dan Broomall

    I have it on my machine. Did you search for dotnetfx.exe? If you still need it, e-mail me and I will zip it up for you.

    .NET (Core and Framework) csharp dotnet question

  • .NET Framework 1.1
    D Dan Broomall

    I believe it is also freely downloadable from msdn.microsoft.com.

    .NET (Core and Framework) csharp dotnet question

  • How do I change the icon on the dialog?
    D Dan Broomall

    Okay. I just ran a test of this and I have found two specific ways of doing this (although I am sure there are more out there). I created a project and added two different looking icons. The first I went into the form's properties and changed the icon there. The mis-leading part is that even though your icons are loaded as "part" of your project/solution, you will still have to reference them by path and filename. So, I set one of them at design time to make sure that worked. It did. Once this was successful, I went into the Form1_Load procedure and created an object of type System.Drawing.Icon. This has 6 different constructors, one of which accepts a path/filename. I created that and passed it "..\Icon2.ico" as the path/filename (.. because the root for execution is bin and I had the file in the main project directory). I then simply set the Me.Icon property to the Icon object I had just created. All tests were successful. Does this make sense?

    .NET (Core and Framework) question

  • How do I change the icon on the dialog?
    D Dan Broomall

    Let me make sure I understand the question before I say something stupid. You have created a custom dialog and you want to change the icon for that dialog. Correct? If so, then you should be able to simply change the Icon property of the dialog. It should simply be a matter of mapping to the Icon file that you would like to use. For simplicity, you could add the Icon to your project, then you won't have to worry about validating whether the file exists or not. It will be a part of your solution. Is this what you meant? Dan

    .NET (Core and Framework) question

  • drop-down text field
    D Dan Broomall

    I am looking for a web-like drop-down text field for a Compact Framework application. It would need to drop-down displaying past entries and allow new text entries as well. Much like you get with most of the Search fields on the web. Any thoughts or ideas? Thanks Dan

    .NET (Core and Framework) question discussion

  • Fortran from an MFC Application
    D Dan Broomall

    I am attempting to reference some legacy Fortran code from an MFC application. I get a flood of library and include file redefinition errors when I compile the code. Is this a compatibility issue between MFC and Fortran? I can use the same code in a generic C++ application and there is no problem. Any information would be helpful. Thanks in advance! Dan Broomall GIS Programmer/Analyst Forest Technology Group 125 Crosscreek Drive Summerville, SC 29485 (843) 832-4169 - Phone (843) 873-6618 - Fax www.ftgrp.com mailto: dan.broomall@ftgrp.com The bearing of a child takes nine months, no matter how many women are assigned. - Frederick P. Brooks, Jr, The Mythical Man-Month

    The Lounge c++ help com question

  • Changing Static Text Font
    D Dan Broomall

    I am a little embarrased having to ask about this, but I have a need to change the font size/style of a static text field and I can't remember how to do it. My old code library is at my last job and I don't have access to it anymore. Is there anyone out there with a lead on where I might go to quickly solve this problem? Thanks for any help you can give! Dan Broomall GIS Programmer/Analyst Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. - Albert Einstein

    C / C++ / MFC help tutorial question career
  • Login

  • Don't have an account? Register

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