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
P

panks_r

@panks_r
About
Posts
8
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Handling globalization/localization when converting string to double
    P panks_r

    I am a bit confused about using the InvariantCulture flag while converting a string to double. Can someone please guide me as to how do we take care that when we are converting a string to double it should work in different culture settings(like English which uses "." and french which uses "," for decimal separators). My idea is that if I give the InvariantCulture flag then Double.Parse or Convert.ToDouble can convert any string correctly. Thanks, Pankaj

    C# tutorial

  • Closing the FolderBrowserDialog programatically
    P panks_r

    I used the FindWindow and SendMessage combo and it worked. Thanks a lot!!

    C# question

  • Closing the FolderBrowserDialog programatically
    P panks_r

    I am writing automated tests for my project. As part of this I bring up a FolderBrowserDialog and need to close it programatically. But since the dialog is not derived from Windows.Forms and it is modal, I cant capture and close it. Is there a way to do this?

    C# question

  • Printing tooltips displayed using cWindow class
    P panks_r

    I have an application displaying an activex component which is in vc++. The component contains some tooltips which need to be printed. The tooltips are created using the CWindow class which takes in the class name in the ctor as TOOLTIPS_CLASS. Is it possible to print the tooltips?

    C / C++ / MFC c++ com question

  • How to Create icon Object from Stream ?
    P panks_r

    Well this is my first reply in cp, so please correct me if i'm wrong:) This works in vs2k3 so i guess it'll work in 2k5 as well.U can create a Bitmap from the stream, which can then be converted into an icon object. Bitmap b = new Bitmap(System.IO.Stream); Icon tempIcon = Icon.FromHandle(bmpTemp.GetHicon());//Hicon returns a handle to an icon which we use to create a temp icon. obIcon = (Icon)tempIcon.Clone(); Win32API.DestroyIcon(tempIcon.Handle);//we have to create a temp icon and destroy it coz of some resource disposal probs.

    C# tutorial question learning

  • Searching Text in MS Word using c#
    P panks_r

    Hi, I have loaded a Word document in c# using the Word 9.0 object library. The doc contains numbered paragraphs.Now i have to navigate to a particular paragraph using only the list number(i.e. i want to goto paragraph with no. 2.3, 3.4 etc). Can any method in word object library do this? There's a find method but it only searches for text. I tried setting the format option for this method to true, but it doesn't work either. I need help ASAP

    C# csharp algorithms help question

  • How do I convert a double to binary
    P panks_r

    Thanks a ton Mihai!!!u posted just in time

    C / C++ / MFC windows-admin tutorial question

  • How do I convert a double to binary
    P panks_r

    I have to store a DateTime in the registry in binary key. I think i can use the DateTime.m_dt variable which a double to store the value of the datetime. But I don't know how to convert it to binary like in Managed where we have the BitConverter.GetBytes(double). I need this urgently.

    C / C++ / MFC windows-admin tutorial question
  • Login

  • Don't have an account? Register

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