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
J

Jacobb Michael

@Jacobb Michael
About
Posts
103
Topics
39
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • AddOn manager
    J Jacobb Michael

    Hello Friends, I am develping a simple Addon(Extension)

    var observerService = Components.classes["@mozilla.org/observer-service;1"]
    .getService (Components.interfaces.nsIObserverService);
    var enu = observerService.enumerateObservers("domwindowclosed")

    while(enu.hasMoreElements())
    {
    var x1 = enu.getNext()
    }

    It works fine, from here i want to identify which addon(Extension) uses the current X1 pls help some sone thanks in advance

    COM help

  • Diable the Refresh button !
    J Jacobb Michael

    Hi all i want to disable the Refresh button i just addeded javascript function for F5. and it works fine here is my code works fine for F5

    "function refresh()"+
    "{"+

                            "if (116==event.keyCode)"+
                            "{"+
                                "event.cancelBubble = true;" +
                                "event.returnValue = false;" +
                                "event.keyCode = 0;" +
                                "return false;" +
                             "}"+
                             
                        "}"+
                        "document.onkeydown = function (){ refresh(); } ");
    

    but i cant diable the icon shown in tool bar for Refresh can some one help me thanks in advance

    ASP.NET javascript help

  • Downloading a File from the web ?
    J Jacobb Michael

    Thank you I will try ...

    C / C++ / MFC csharp c++ tutorial question

  • Downloading a File from the web ?
    J Jacobb Michael

    Hi all, using System.Net.WebClient().DownloadFile we can download the files from web in C#. How to incorporate these functionalities in WIN32 C++ projects i am using Microsoft Visual C++ 6.0 Thanks in advance

    C / C++ / MFC csharp c++ tutorial question

  • Microsoft Visual Studio 6.0
    J Jacobb Michael

    Hi all, I am new to Microsoft Visual C++ 6.0 development environment. So i want to do a simple application which takes the User name as a user input. and process it. How can i do it in Win32 Application Please some one provide me some links or samples. Thanks in Advance.

    C / C++ / MFC c++ csharp visual-studio question workspace

  • Visual C++
    J Jacobb Michael

    Hi Thanks Again Is it possible to access the DLL/EXE without making a COM object For Example: Just Execute an EXE from the C++ project( like starting a separate Process) thanks.

    C / C++ / MFC c++ csharp dotnet tutorial

  • Visual C++
    J Jacobb Michael

    Thank you Friend, Can you help me how to invoke the DLL/EXE that is developed in C# from Win32 C++ appliction Thanks again

    C / C++ / MFC c++ csharp dotnet tutorial

  • Visual C++
    J Jacobb Michael

    Hi all, I want to develop a small demo.exe which runs in the client system with out .Net Framework and any other dependencies is it possible to get this through Visual C++ projects. Please guide me some one. thanks in advance

    C / C++ / MFC c++ csharp dotnet tutorial

  • onChange Event in javascript
    J Jacobb Michael

    Hi all,

    **this works in Firefox browser as expected, but it does not work in IE Browser

    If some one knows please help me

    thanks in advance**

    ASP.NET javascript help

  • onChange Event in javascript
    J Jacobb Michael

    Hi all

    the above works in firefox as exptected
    but it does not work in IE
    Has any one know this issue? Please Help me !

    Thanks in advance

    Web Development help javascript question

  • How to Register mshtml dll in to GAC ? Urgent.
    J Jacobb Michael

    Hi all, any way i'v found the solution. we need to run a exe called "vs_piaredist.exe" thanks to all.

    C# dotnet com help tutorial question

  • How to Register mshtml dll in to GAC ? Urgent.
    J Jacobb Michael

    Hi Thanks, Do you have any idea ? How to overcome this problem. if it is please do guide me thanks

    C# dotnet com help tutorial question

  • How to Register mshtml dll in to GAC ? Urgent.
    J Jacobb Michael

    Dear All, I am using the bellow lines

    mshtml.HTMLHeadElementClass elDynHead = null;
    foreach (IHTMLElement elcol in (IHTMLElementCollection)document.getElementsByTagName("HEAD"))
    {
    if (elcol.ToString() == "mshtml.HTMLHeadElementClass")
    {
    elDynHead = (mshtml.HTMLHeadElementClass)elcol;
    }
    }

    it works in Develpement system, but not in the client system it throws the following error

    Error :: System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to class type 'mshtml.HTMLHeadElementClass'. COM components that enter the CLR and do not support IProvideClassInfo or that do not have any interop assembly registered will be wrapped in the __ComObject type. Instances of this type cannot be cast to any other class; however they can be cast to interfaces as long as the underlying COM component supports QueryInterface calls for the IID of the interface.
    at PAW_URL.clsURLMON.browser_DocumentComplete(Object pDisp, Object& URL)

    so i think i have to Register mshtml in GAC. But i dont know how to do it. can some one help me how to Register the mshtml.dll in to GAC.(urgent please) thanks in Adavnce

    C# dotnet com help tutorial question

  • Regular Expression Find And Replace ?
    J Jacobb Michael

    Hi all, See the bellow lines

            string sTmp = "jacob martin (234) 890-3456 UsPhone comes -4533 UsPhone";
            string patern = @"\\(\\d{3}\\)\\s\\d{3}-\\d{4}"; //Find
            string sRpl = "XXXX";//Replace
            string sResult = "jacob martin (234) 890-XXXX UsPhone comes -4533 UsPhone";
    

    I want to replace the 4 digit elements with XXXX which is @"\(\d{3}\)\s\d{3}-\d{4}" in use formate. See there is another 4 Digit string is there (4533) but it is not in the us pattern so i have to leave that. can any one help me how to write Regular Expression for that My Question is Simple 1.STmp is the input string 2.The Reg has to find the us patern (@"\(\d{3}\)\s\d{3}-\d{4}") 3.Replace the last 4 Digts as XXXX 4.Leave the another 4 Digits which is not as valid usphone no -4533 5.The ourput Replace String should be as _"jacob martin (234) 890-XXXX UsPhone comes -4533 UsPhon_e" Please some one help me to do thanks in advance

    C# regex question help tutorial

  • Regular Expression ?
    J Jacobb Michael

    Hi, Good exactly you are correct, sorry for taking the SSN no instead take USPHone No like ... etc.. added to that for SSN there is option to mask based on the Field value, for example if the input/span element contain SSN then i mask that. This regex is only for unique analyzing for example if i give : user@gmail.com - we can make regular expression for all the mails, Thanks for your continuous encouragement you are most welcome to make a comment on that....

    C# regex com help tutorial question

  • How to merge 2 multidimensional Array into Single one in C#
    J Jacobb Michael

    Hi Friend! The more clarity you give to your question will get the answer fast. Please try to give the code and errors so that some one can help you with clear idea thanks

    C# help csharp data-structures tutorial question

  • Regular Expression ?
    J Jacobb Michael

    Hi thanks for your reply, The mask is not only for a corporate sites, it is for the entire web. if i specify to mask all the security No (SSN) in a page, even if i Google it also, i have to mask the SSN in the Google page as (XXXXXXXX). I have done that using ihtmlElementCollection (BHO). My problem is i know SSN format so there is no issue.But there can be any format, so just seeing one format dynamically i want to generate the regex. This question may be quiet meaningless, but we can could arrive a solution. if no one had come across like this, then i will try to generate a algorithm to achieve, but my thinking is, if already some one knows on that, then i don't want to wast my time to creating algorithm again. thanks any suggestions are greatfull Thanks

    C# regex com help tutorial question

  • How to lock the column width expansion in list view at run time
    J Jacobb Michael

    Hi Just a simple approach, but not feasible, see bellow code

    private void listView1_ColumnWidthChanged(object sender, ColumnWidthChangedEventArgs e)
    {
    if(listView1.Columns[e.ColumnIndex].Width != 50)
    listView1.Columns[e.ColumnIndex].Width = 50;
    }

    check the static column width, if it miss matches then it is changed so reset it , this is a simple approach, if you find some other good method follow that. thanks

    C# tutorial

  • Generating code when works in design mode.
    J Jacobb Michael

    hdv212 wrote:

    i'm looking for a best way to accomplish this (user design form and my application generate aspx code for it).

    Hi What do you mean, what do you really expect from others.... i don't get you...!

    C# tutorial csharp visual-studio design help

  • how to design page navigation window form using back and next button
    J Jacobb Michael

    Hi even if it is in windows application and if you use client server application, and if you bother about the performance you can follow what i suggested above. thanks

    C# design help tutorial
  • Login

  • Don't have an account? Register

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