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
L

LiYS

@LiYS
About
Posts
366
Topics
175
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Another Tooltip question
    L LiYS

    I implemented the Tooltip.Show(String, IWin32Window, Point, Int32) in "OnMouseMove", such that I could specify the position where tooltip is shown, the only problem I have with this method is that tooltip displays as the mouse is moving. I tried to use Tooltip.SetToolTip for which I could specify "AutomaticDelay" so that the tooltip will be displayed when mouse is stopped for seconds. But in this method tooltip will be positioned in the center of the associated control. So I registered ToolTip.Draw event, but I didn't find where to change the Tooltip display position. Thanks,


    C# help question

  • Get current cursor lower left position so that tooltip could be displayed properly
    L LiYS

    Thanks for the replies. It seemed “Cursor.Size.Height” could be used。


    C# question

  • Get current cursor lower left position so that tooltip could be displayed properly
    L LiYS

    Hi all, I'm trying to display the tooltip by calling "ToolTip.Show(String, IWin32Window, Point)", but I wanted to do it like what Windows explorer does - displays the tooltip at the lower left corner of the cursor. I could get the mouse position by "MousePosition", but how could I get its lower left corner position? Thanks,


    C# question

  • What does "sporting a black eye" mean?
    L LiYS

    Thanks for the explanation!


    The Lounge question

  • What does "sporting a black eye" mean?
    L LiYS

    Thanks. So there are bruises around the eyes? What "sporting" means here, in particular?


    The Lounge question

  • What does "sporting a black eye" mean?
    L LiYS

    I came up with this phrase this morning and just can't find its meaning...


    The Lounge question

  • C# equivalent of "EXCEPTION_CONTINUE_EXECUTION" with exception filter
    L LiYS

    Hi all, Is it possible that using C# to do some exception handling with filter function and continue execution at the point where the exception occurred like C++ does? Thanks,


    C# csharp c++ question

  • How to get stack trace
    L LiYS

    Thanks for the reply. With the method I was able to see the previous stack trace that I can "step into", but when it came to untouchable third party calls in between, it didn't work. Thanks,


    C# question csharp visual-studio data-structures debugging

  • How to get stack trace
    L LiYS

    Hi, I wanted to get a call chain(stack trace) starting from my code extended to a third party library which I don't have the source code access - the type of call chain shown in the exception window in visual studio when an exception occurs. How can I do that? I'm using VSTS 2008. In addition, is there any difference between "call stack" and "stack trace"? Thanks,


    C# question csharp visual-studio data-structures debugging

  • Meaning of an old saying
    L LiYS

    Hi, I came across this saying the other day, but don't know the meaning it tries to convey, here it goes: "Everyone can be taught to sculpt: Michelangelo would have had to be taught how not to. So it is with the great programmers". Thanks,


    The Lounge

  • breakpoints to all the functions inside a .cs file
    L LiYS

    Tried and True. Thank you very much! Thanks,


    C# question

  • breakpoints to all the functions inside a .cs file
    L LiYS

    Hi all, Is this possible that set breakpoints to all the functions inside a file? I just want to see which function is first called among many functions. I've tried Macro recording but didn't work out. Thanks,


    C# question

  • a single carriage return means new line? [modified]
    L LiYS

    Hi all, I'm using c# in VS 2008, I just found out a single '\r' could be used a new line control code, why's that considering '\r' is to move the position of the cursor to the first position on the same line? Isn't '\r\n' supposed to do that? Thanks,


    modified on Monday, April 27, 2009 4:10 AM

    C# csharp visual-studio question

  • retrieve image
    L LiYS

    Hi all, I have HTML code like: "". how can I get the final local path that this web handler generated or other methods to get a reference to the final image in C#? Thanks,


    Web Development question csharp html

  • retrive image local path from web handler
    L LiYS

    Hi all, I have HTML code like: "". how can I get the final local path that this web handler generated or other methods to get a reference to the final image? Thanks,


    C# question html

  • string comparision ignores escape sequence and html tags [modified]
    L LiYS

    Hi all, Is there any build in string comparison or filter method that could ignore escaped character(like /r/n) & html tags(like
    )? I've tried the regular expression like "Regex.Replace(xml, "\\.", "");" for escape characters, but it didn't work. Thanks,

    modified on Wednesday, April 1, 2009 11:11 PM

    C#

  • Domain name retrieval
    L LiYS

    Hi all, How can I get a domain name from a remote address either IP or host name? I could get the host name by Dns.GetHostEntry(IP/hostname) but what about domain name? Thanks,


    C# question

  • remove escape sequence [modified]
    L LiYS

    Xmen wrote:

    Its hard to tell, because I dont know how you setting this path in src Attribute...

    Like this:

    imageNode.SetAttributeValue("src", strpath);

    where "strpath" is "C:\Documents and Settings\Administrator\Local Settings\Temp\image0.jpg"


    C#

  • remove escape sequence [modified]
    L LiYS

    Xmen wrote:

    like this ? code

    Exactly!


    C#

  • remove escape sequence [modified]
    L LiYS

    It's a string inside of tag. The \\ in file path made it failed to locate the .jpg file.


    C#
  • Login

  • Don't have an account? Register

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