CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: xusword

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Javascript reflection - getter setter

    Nevermind, there was a typo... I have fixed it
  2. [RESOLVED] Javascript reflection - getter setter

    Hi:

    I started learning js recently. Just for exercise, I want to create a function that inject getter and setter to an object. After some research, I have come up with this:



    function...
  3. Replies
    1
    Views
    892

    JQuery general reading

    Hi all:

    I recently have the need to read and understand jQuery code. It was quite different for me. I have gotten a book "head first jQuery" and that solves most of my questions. However, there...
  4. Replies
    5
    Views
    898

    Re: Event handling madness

    I was trying to broadcast an event to a collection of objects that rely on it. The collection is collected in a chain of logic prior to his and the count of this collection is not predetermined.
    ...
  5. Replies
    5
    Views
    898

    Re: Event handling madness

    Thanks

    I agree swallowing exceptions are always bad idea. The second block of driver code is just to show contrast of what happens to the third block when you don't swallow the exception, which...
  6. Replies
    5
    Views
    898

    Event handling madness

    Hi:

    I encounted a problem during event handling. If I generate event handler in bulk (iterate through a ICollection<> and add events) Things get really weird when the event is invoked. Does anyone...
  7. Re: traverse through a solution to find classes that are descendant of Control

    Great solution, thanks Arjay
  8. traverse through a solution to find classes that are descendant of Control

    Hi all:

    I need to find a way to traverse through a solution to find classes in the solution that are descendant of Control. I have thought of the Microsoft.Build.Engine package but can't find a...
  9. Replies
    7
    Views
    1,153

    Re: 2 questions about drawing pixels

    thanks BigEd and Cthulhu

    actually, I was told I don't have to implement this button anymore, but I will keep in mind what is said here for future reference.

    (Don't you hate it when that...
  10. Replies
    7
    Views
    1,153

    Re: 2 questions about drawing pixels

    I was asked to create a button that looks like an image given to me but resize nicely so it can be put in various places with different text in it. There is a dark boarder around the button's image....
  11. Replies
    7
    Views
    1,153

    Re: 2 questions about drawing pixels

    Yup, I will be using bitmap instead
    This article seems promising. I will look into it. Thank you so much
  12. Replies
    2
    Views
    687

    Re: Drawing 1 pixel

    nice, thanks
  13. Replies
    7
    Views
    1,153

    2 questions about drawing pixels

    Hi

    I was asked to write a custom control (button) that renders itself. I need to render it pixel by pixel. I was wondering what is the most efficient way of drawing 1 pixel in C#. Drawing a bunch...
  14. Replies
    2
    Views
    687

    Drawing 1 pixel

    Hi

    I was asked to write a custom control (button) that renders itself. I need to render it pixel by pixel. I was wondering what is the most efficient way of drawing 1 pixel in C#. Drawing a bunch...
  15. Replies
    3
    Views
    1,846

    Re: Font linking for a unicode string

    Thanks for your reply

    This is the new functionality I have to provide base on an old interface. They are not interested on adding a new control for selecting font. Pluse, text boxes would...
  16. Replies
    3
    Views
    1,846

    Font linking for a unicode string

    Hi All

    I am using a pdf generating library. It requires me to provide a font whenever I am printing a string in the pdf document. The problem is that the string that will be printed is the user...
  17. DataSet containing unicode characters lost by SqlDataAdapter

    Hi

    I have a dataSet object containing cells with Unicode characters (such as Chinese). However when I do



    sqlDataAdapter.Update(dataSet);


    The unicode characters are lost and become "??".
  18. Replies
    5
    Views
    1,280

    Re: Security issue for SOAP protocol

    Hmm

    I wonder if I am using SSL already. What I know is when I try to connect to their server, it requires a "security token". However, I brief browsed through the server but never see the word...
  19. Replies
    5
    Views
    1,280

    Re: Security issue for SOAP protocol

    thanks for your advice

    As you might have detected I am an absolute beginner at this. How do I know when I calling these SOAP method that SSL is involved? Or is asking the people who maintains the...
  20. Replies
    5
    Views
    1,280

    Security issue for SOAP protocol

    Hi

    I am working on a software that uses SOAP protocol. (Using WSDL generated classes) One thing came to mind. If the server provide a method such as SetPassword(...), is there going to be a...
  21. Replies
    2
    Views
    932

    Tiny little question (Comparer)

    I recently found out the Comparer class that can be used to compare two objects that may potentially be null. It runs 3 times faster than any code you can write.

    I wonder if there is such class...
  22. Replies
    4
    Views
    843

    Re: Abstract vs delegate member

    Interesting

    Now it looks like the solution using abstract is kind of obsolete (compare to delegate) performance-wise.

    Even if the user want to design a highly reusable concrete class, s/he can...
  23. Replies
    4
    Views
    843

    Abstract vs delegate member

    Hi

    I am seeing code from other developer like this




    public class Algorithm{

    public delegate ReturnType SpecializedAction(ArgType arg);
  24. Replies
    5
    Views
    19,356

    Re: Nested Left Join

    Oh silly me
    I did some research and find out

    when you do left join, the subquery should be on the left side

    so I think you can do



    select *
  25. Replies
    5
    Views
    19,356

    Re: Nested Left Join

    Thanks for you both
    Actually neither of these solution solves my problem

    Perhaps I didn't explain clearly enough

    As for Alsvha's solution



    Select ...
Results 1 to 25 of 94
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured