User Profile

Collapse

Profile Sidebar

Collapse
mynkow
mynkow
Last Activity: Jul 24 '08, 02:14 PM
Joined: Jul 28 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mynkow
    replied to How to write an universal function isNegative?
    in .NET
    I am using C# and I get a compile error when I try to do such compare.

    Operator '<' cannot be applied to operands of type 'object'.

    Also I do not want to create hundreds of functions. I think it is possible with runtime type cast or something like that.
    See more | Go to post

    Leave a comment:


  • mynkow
    replied to How to write an universal function isNegative?
    in .NET
    NO. You cannot compare object type just like that!
    See more | Go to post

    Leave a comment:


  • mynkow
    replied to Web Service - Event Handle Leak?
    in .NET
    I had the same troubles like you. I have a WCF web service for graphic effects. Each time I transfer the image the RAM increased where the service is hosted. Then I simulated long and intensive work because I thought that the server will stop responding after some time. So the results were positive for me. The garbage collector frees the memory. But you should consider to do the following in the web service:
    - sometimes you have to dispose....
    See more | Go to post

    Leave a comment:


  • mynkow
    started a topic How to write an universal function isNegative?
    in .NET

    How to write an universal function isNegative?

    Hi,

    I want to write an universal function called isNegative( param ) where the param can be float, int, double, long etc. The result will be true/false. Any comments?
    See more | Go to post

  • mynkow
    replied to How to highligh textbox?
    Thanks, the good news is that IE8 will support this :) But I think that MS will keep the tradition all IE versions to be hell for developers :P
    See more | Go to post

    Leave a comment:


  • mynkow
    started a topic How to highligh textbox?

    How to highligh textbox?

    I have tons of textboxes. My boss wants to highlight the active textbox so in the css I wrote this class .textbox:focus{ background-color:Blue;} . The Problem is that do not work with IE. Javascript is not acceptable. Can you help me?
    See more | Go to post

  • mynkow
    started a topic Send email using only HTML?

    Send email using only HTML?

    I know it is tot possible. I just want someone to confirm that there is no way to send an email using only HTML code. If I am wrong will be greate.

    10x
    See more | Go to post

  • mynkow
    replied to How to execute in DEBUG only?
    in .NET
    10x alot. It works for me :)
    See more | Go to post

    Leave a comment:


  • mynkow
    started a topic How to execute in DEBUG only?
    in .NET

    How to execute in DEBUG only?

    I want to execute some code only in debug mode. I found this:
    Code:
    [ Conditional("Debug") ]
    public void DebugThis(){...}
    But this refers for methods. I want to say something like this:

    Code:
    #if DEBUG
          code...
    #endif
    The code there seems to be commented. What I have to do?

    Thank you!
    See more | Go to post

  • mynkow
    replied to .NET configuration problem
    in .NET
    I get your point but the problem is not there because I use administrator account. I think that the framework is restricted somehow and don't know how to reverse that. If I use non .NET classes to connect to the DB everything is good.
    See more | Go to post

    Leave a comment:


  • mynkow
    replied to .NET configuration problem
    in .NET
    How can I grand this access. Where should I add the user if I am using Windows Server 2003
    See more | Go to post

    Leave a comment:


  • mynkow
    started a topic .NET configuration problem
    in .NET

    .NET configuration problem

    Hi,
    I have BIG BIG problem with .NET. I have an application on .NET 2.0 which connects to a local database. On my machine there were no problems and everything goes smooth. When I upload the application to the server ( windows is x64 bit) I get an error which tells that the .NET functions are restricted/disabled and I cannot connect to the DB. The connection string is 100% correct. I installed .NET SDK and set full access from these tools...
    See more | Go to post

  • mynkow
    replied to CSS problem
    The question is not why I enter double ' // '. I have to solve this. If I try to do this with some page of microsoft website it is OK.
    See more | Go to post

    Leave a comment:


  • mynkow
    started a topic CSS problem

    CSS problem

    Hi,

    I have ASP.NET 2.0 website. I have 3 files. style.css, master.page and page1.aspx. I load the css from the master.page. If my URL is like this:

    http://www.mywebsite.com/new_web/page1.aspx

    the CSS is loaded and everything is OK. But when I try this URL everything becomes a mess because the CSS could not be found.

    http://www.mywebsite.com/new_web//page1.aspx
    note: ( double '...
    See more | Go to post

  • mynkow
    replied to Text align within a div problem
    Thank you for the help!
    See more | Go to post

    Leave a comment:


  • mynkow
    replied to Text align within a div problem
    Can you give me an example because I tried as you wrote but still no effect?

    Code:
    <div style="height:150px; width:200px;vertical-align:middle; border:solid 1px red;">
    		<p>text align test</p>
    </div>
    ...
    See more | Go to post

    Leave a comment:


  • mynkow
    replied to Text align within a div problem
    Yes, good answer. How can I miss that? I can if I am trying to do it with vertical-align. Thanks for the answer. So I have another question. In which situations should I use this sh*t vertical-align in divs?
    See more | Go to post

    Leave a comment:


  • mynkow
    replied to Text align within a div problem
    I dont care if I use line-heigth or not. I have to align the text at the bottom of the div. I MUST use div, not a table.
    10x
    See more | Go to post

    Leave a comment:


  • mynkow
    started a topic Text align within a div problem

    Text align within a div problem

    Hi all,
    I have a problem with aligning text within a div. I want the text to be aligned at the bottom of the div. What is wrong with his code:
    Code:
    <div style="height:150px; width:200px; line-height:150px; vertical-align:bottom; border:solid 1px red;">
    This text should apear at the bottom of the div!
    </div>
    See more | Go to post

  • mynkow
    replied to DataGridView problem
    in .NET
    When occurred this kind of exception the DataGridView calls "DataError" event where I can handle the Exception.

    Code:
    private void dataGridView1_DataError( object sender, DataGridViewDataErrorEventArgs e )
    		{
    			System.Diagnostics.Debug.WriteLine( e.Exception.Message );
    		}
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...