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
M

milan

@milan
About
Posts
59
Topics
29
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Article Quality [modified]
    M milan

    Just wondering how my article got published when it looks like it shouldn't be :( Unfortunately I am requesting to remove it from the repository. Has the level of published aritcles' quality in codeproject degrading? My intention was to just share a my understanding! FYI, C# Interface – Making Application Resilient to Changes[^] Cheers

    satan

    modified on Tuesday, February 22, 2011 1:35 PM

    The Lounge csharp com question

  • Error in javascript to open new window - netilla platform asp.net
    M milan

    Hi, I have got a weird problem opening a simple .aspx page using a Javascript on the click of ASP.net server control. It works perfectly fine in my local system. Scenario: The application is deployed to production server. Clients get remote access to the application thr' Netilla platform which runs in https mode. Code snippet: Protected Sub LinkButton2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LinkButton2.Click 'Pop up new window for address collection... Dim x As String x = lstPickup.SelectedValue Dim sb As New System.Text.StringBuilder() sb.Append("<script language='javascript'>") sb.Append("alert('" & x & "');") sb.Append("window.open('CollectionAddress.aspx?selectedPickup=" + x + "', 'CollectionAddressPage',") sb.Append("'width=500, height=500, menubar=yes, resizable=no');") sb.Append("</script>") Dim t As Type t = Me.GetType() If Not ClientScript.IsClientScriptBlockRegistered(t, "PopupScript") Then ClientScript.RegisterClientScriptBlock(t, "PopupScript", sb.ToString()) End If End Sub The application URL looks is http://myApplication/Reserve.aspx but when browsed using Netilla it looks like.. https://ras.abc.co.uk/,host=192.168.145.32,port=80,proto=http/myApplication/Reserve.aspx Okay..now the funny thing is that the same code works if it is copied to another new pages with nothing but just the above code and a button. Weird. Any help would be appreciated. Many thanks Milan G

    Milan

    ASP.NET help csharp javascript asp-net sysadmin

  • WPF - Telerik
    M milan

    Hi, We don't specifically use WPF component but we are using Rad Control for ASP.NET. We are very satisfied with the controls and their support is superb! Cheers,

    Milan G

    The Lounge

  • Another new kid on the block - Wolfram Alpha.. [modified]
    M milan

    Hi, All apologises if it is a repost. New search engine is on the horizon. Wolfram Alpha[^] Cheers

    Milan

    modified on Tuesday, March 10, 2009 10:38 AM

    The Lounge

  • H1-B Visa Fraud
    M milan

    Hi, I hope some of us in this forum have something to say about H1-B visa fraud scheme and agree in some degree with the report published. H1-B Visa Fraud Cheers

    Milan

    The Lounge com question

  • Well, the Chrome is..
    M milan

    I like the utilities provided under "Developer" Menu Item. It might be quite handy. Rending looks really fast but I am missing that private browsing session available in Safari :)

    Milan G

    The Lounge com adobe algorithms

  • Dont feel bad CG!
    M milan

    Ahh..plz don't take Lars' job. You are good at what you do now. Stick with it :)

    Milan

    The Lounge php visual-studio com announcement

  • Amy Winehouse!
    M milan

    No doubt about her singing talent!

    Milan G

    The Lounge

  • Any one in London DotNet User Group.
    M milan

    Hi CPians, I am so unfortunate that London dotNet User Group[^]"> rejected my request to join their mailing list! Anyone here who are in the list, please help me outttttttttttttttt. :) Thanks Milan G

    The Lounge csharp help

  • Xmas Gift for me
    M milan

    Enjoy and I am thinking of presenting myself with iPhone :-)

    satan

    The Lounge workspace

  • It is Friday!
    M milan

    It will be long weekend for me. Monday is a bank holiday -hence don't know what I will doing on monday. cheers.

    satan

    The Lounge com json question

  • Down Down...Gmail...
    M milan

    Probably because of the chilling weather here in London, Gmail packets got freezed in the way.. :-)

    satan

    The Lounge json help question

  • Australian Pink Floyd...
    M milan

    Never miss Pink Floyd - Amazing band.

    satan

    The Lounge question

  • Down Down...Gmail...
    M milan

    Hi all, Is it only me or rest of you are also facing problem in accessing Gmail for the last 4-5 hours? cheers, Milan G

    The Lounge json help question

  • Gmail behavoiur...
    M milan

    Hi Steve, I tried just now. I opened up a conversation in actual fact..email. I see no delete button for each conversation. Therefore I have to rely on the delete button available at the top of the page - which again deletes whole conversation.. Sucks. Thanks. Milan

    satan

    The Lounge

  • Gmail behavoiur...
    M milan

    :^)

    satan

    The Lounge

  • Gmail behavoiur...
    M milan

    Friends, I was cleaning emails in my Gmail account. I did nothing except deleted the all the emails in the trash. Odd thing is that all mails in my INBOX as well got deleted. It seems it's due to feature that GMAIL stores email as conversation. If one is deleted, then all related mails will also get deleted. Damn. :-) Milan G

    satan

    The Lounge

  • Indian English
    M milan

    Hey guys! what is your response when someone ends every single sentence with "ra".. "how are you ra?" "what ra?" :-)

    satan

    The Lounge question csharp c++ com

  • Windows service to open folder
    M milan

    Hi all, I have using FileSystemWatcher class so as to watch particular folder. If any new files get copied to it, windows explorer open the folder automatically. It works fine with console application but when it's been created as a windows service, it doesn't work. The code ---

    public class JobClass
    {
    public void startJob()
    {
    FileSystemWatcher watcher = new FileSystemWatcher();
    watcher.Filter = "*.*";
    watcher.Path = "c:\\DMSTemp";
    watcher.EnableRaisingEvents = true;
    watcher.Created +=new FileSystemEventHandler(watcher_Created);
    Console.ReadLine();

        }
        void watcher\_Created(object sender, FileSystemEventArgs e)
        {
            Process process = new Process();
            process.StartInfo.FileName = "explorer.exe";
            process.StartInfo.CreateNoWindow = true;
            process.StartInfo.Arguments = "c:\\\\DMSTemp";
            process.Start();
        }
        
    }
    

    From the onStart() event of WindowsService, JobClass's startJob method is invoked.

    protected override void OnStart(string[] args)
    {
    JobClass jobClass = new JobClass();
    jobClass.startJob();

        }
    

    Any idea? Thanks, milan

    satan

    C# question

  • The initial CP site..
    M milan

    Hi, Do you have the screen shot of codeproject.com when it was launched years back? Just curious, satan

    The Lounge com 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