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
K

kasturirawat

@kasturirawat
About
Posts
32
Topics
24
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • programming issues
    K kasturirawat

    Check out site for programming issues http://discuss.fogcreek.com/techInterview/default.asp Feel free to spread word fro thsi site

    C / C++ / MFC com

  • secondary thread to add data to the control
    K kasturirawat

    I’ve a WinForm application and a TreeView control on it. I’m creating another thread to add data to the control. So far I’m able to achieve this behavior, but sometimes secondary thread is not destroyed. I know it is not recommended, but I’d like to know more about my options and why I should not do this. Thanks

    Visual Basic

  • Secondary Thread
    K kasturirawat

    I’ve a WinForm application and a TreeView control on it. I’m creating another thread to add data to the control. So far I’m able to achieve this behavior, but sometimes secondary thread is not destroyed. I know it is not recommended, but I’d like to know more about my options and why I should not do this. Thanks

    C#

  • services and UI
    K kasturirawat

    I know that services and UI are No-No and Microsoft says that it is not recommended ( But their SQL server service does the same and so a lot of other third party services….Where can I find explanation for this). I’m trying to display user interface from my VB.Net service. I can run my service under system account and check “allow to interact with desktop”, however my Form hangs. What are my options? (1) Can I start another UI application from my service have them talk i.e. service can talk to application? Thank you for helping me with this Kasturi

    Visual Basic design csharp database sql-server

  • Common Control and Microsoft Layer For Unicode
    K kasturirawat

    I’m using Microsoft Layer For Unicode on 98. I’m not using any of CCM_Get/SETUNICODEFORMAT messages. Some of the common control as property sheet acts weired when I use IE 4. If I upgrade to IE 5, every things works as expected. I could not find any Microsoft documentation which says that I’ve to use IE 5, with UNICODe support. Is there any documentation on this? I guess it is requirement to use IE 5 with UNICOWS, but I was hoping to find some doc to justify this Thanks Kasturi

    C / C++ / MFC question

  • MCSD 70-316
    K kasturirawat

    Hi, I'm preparing for "Exam 70-316*—Developing and Implementing Windows-based Applications with Microsoft Visual C# .NET and Microsoft Visual Studio .NET". Any suggestion\help and cpmments would be apprecaited. Kasturi

    C# csharp visual-studio help

  • Network Neighborhood Icon
    K kasturirawat

    MS doc says to change Network Neighborhood Icon Modify key HKEY_CLASSES_ROOT\CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}\ DefaultIcon = shell32.dll,17 When I change default "shell32.dll,17" to "shell32.dll,7", it does not change icon on Win XP and Win2K. Any thoughts?

    C / C++ / MFC sysadmin question discussion

  • WideCharToMultiByte
    K kasturirawat

    Following code gives assertion fail under VS 7 (sometime with 6) void StringFromWide(const wchar_t* pwch, int cch, char *psz, int szLen) { if(cch == 0) { cch = wcslen(pwch); // TODO it will display only first four char } if(cch > szLen) cch = szLen; WideCharToMultiByte(CP_ACP, 0, pwch, cch, psz, cch, NULL, NULL); psz[cch] = '\0'; } As workaround I'm using following code void StringFromWide(const wchar_t* pwch, int cch, char *psz, int szLen) { size_t szt; if(cch == 0) { szt = wcslen(pwch); cch = sizeof(szt) ;// but this will retrieve four chars only } if(cch > szLen) cch = szLen; WideCharToMultiByte(CP_ACP, 0, pwch, cch, psz, cch, NULL, NULL); psz[cch] = '\0'; } What is missing here?

    C / C++ / MFC question visual-studio

  • Icon IDs for Imagelist
    K kasturirawat

    I want to specify IDs, not file path.

    C# question csharp

  • Icon IDs for Imagelist
    K kasturirawat

    How can I specify standard Icon IDs for Imagelist such as STD_COPY ( for Copy ). I could not find any way to specify such IDs to non-standard icons too. Is it possible at all to load icon using IDs in .Net?

    C# question csharp

  • Deploying C# Application?
    K kasturirawat

    this may help. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmag01/html/buildapps.asp

    C# tutorial csharp sysadmin help question

  • Deploying C# Application?
    K kasturirawat

    How did you create setup project? what attributes you specified in setup prg? Did you look at "WalkThrough" doc on MSDN? Send me some more detail, I hope I'll be able to help you.

    C# tutorial csharp sysadmin help question

  • drag & drop as in explorer
    K kasturirawat

    Hi, I’m trying to implement drag & drop (explorer like application) in my application using C#. appreciate some guidance on this. Thanks

    C# csharp

  • OpenThemeData
    K kasturirawat

    Hi, I'm trying to write caption on my main window. hTheme = OpenThemeData(hWnd, L"MyClass"); but above code always returns hTheme as NULL. Am I missing soemthing here? Thanks for help.

    C# help question

  • lParam to LPNMHDR
    K kasturirawat

    Hi, I’m trying to use wndProc for ListView in C#. LRESULT CALLBACK MainWndProc( HWND hWnd, UINT uMessage, WPARAM wParam, LPARAM lParam) { switch (uMessage) { case WM_NOTIFY: ListViewNotify(hWnd, lParam) } } LRESULT ListViewNotify(HWND hWnd, LPARAM lParam) { //Any idea how can I write following code in C#. //C Code is LPNMHDR lpnmh = (LPNMHDR) lParam; // Translate in C#??????? } Any help on this would be great.

    C# question csharp help

  • handling WM_NOTIFY
    K kasturirawat

    Hi, Any suggestion on handling WM_NOTIFY, LVN_ODCACHEHINT and LVN_ODFINDITEM events from C# app? -Kasturi

    C# csharp question

  • LVN_ODCACHEHINT and LVN_ODFINDITEM
    K kasturirawat

    I’m using List-view controls with the LVS_OWNERDATA style and I’m trying to handle notification messages LVN_ODCACHEHINT and LVN_ODFINDITEM. Any help on this would be great.

    C# help

  • PostMesssage Virtual key code
    K kasturirawat

    It works with DOS window for AlphaNumerics. But any idea how to translate $ and & to VK_Key?

    C / C++ / MFC data-structures tutorial question

  • PostMesssage Virtual key code
    K kasturirawat

    I’m trying to send data to console window using PostMessage with WM_KEYDOWN. The third and fourth param for postmessage are WPARAM wParam, // virtual-key code LPARAM lParam // key data i.e. PostMessage( hwndDOS, WM_KEYDOWN, ‘K’, 0X10250001 ); Any idea how to translate my array (ascii data such as abcd, <> fg etc ) to third and fourth parameter? Thanks

    C / C++ / MFC data-structures tutorial question

  • "event bubbling" for winform control
    K kasturirawat

    Thanks for responding to my post. Unfortunately I can not post any code. I’ll try to be clearer about my question this time. I have a composite control, combination of standard control (say text box). Every time any onClick happens on this child(text box) control, I want to pass this event to parent(composite) control. -Kasturi

    C# 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