User Profile

Collapse

Profile Sidebar

Collapse
xoinki
xoinki
Last Activity: Jul 16 '09, 07:51 AM
Joined: Apr 12 '07
Location: Bangalore
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • xoinki
    started a topic Access a shared path through a service.
    in C

    Access a shared path through a service.

    Hi,
    I have a service which is started with a local system account. and through this service i am trying to access a shared path. It is naturally failing since service started with an admin account can only access the shared path. So workaround for this is to go to service properties and change Log On as Admin. But other than this is there any way to create a service with Admin properties by default? i read about null session shares but this...
    See more | Go to post

  • xoinki
    replied to _open on a shared file not working
    in C
    This was a service previlege problem. when you right click on service and then go to Log On you need to give a admin account and then restart the service. this solved the problem
    See more | Go to post

    Leave a comment:


  • xoinki
    started a topic _open on a shared file not working
    in C

    _open on a shared file not working

    Hi all,
    I have a shared file in a system. My program in Debug and Release mode can open this file successfully, But when i run my program in service mode _open is failing. I am testing with firewall turned off. Does anybody have any idea?

    Waiting for your reply,
    Xoinki
    See more | Go to post

  • hi,
    I tried with the above approach.. it is simple but i still have the same problem..once data is given to browser browser goes into a not_responding state..
    My question is
    1) When will the browser actually display the data? As soon as we do appendChild?

    waiting 4 u r rep,
    Xoinki
    See more | Go to post

    Leave a comment:


  • xoinki
    started a topic <BR> tag with innerHTML problem

    <BR> tag with innerHTML problem

    hi all,
    I have a very large string with no space and i am putting that in a table cell.
    1) Problem is that it does not wrap if a string does not have space in between and i want to force wrap it since an ugly horizontal scrollbar is coming inspite of proper percentage width assigned to the respective <thead>.

    2) So a workaround which we found was to break the large string at regular intervals and add <BR>...
    See more | Go to post

  • hi,
    Thanks for your quick reply, ok i will check this out.

    Xoinki
    See more | Go to post

    Leave a comment:


  • xoinki
    started a topic How to display dynamically growing table?

    How to display dynamically growing table?

    hi all,

    I have a content which is fetched from a JSON response. I am putting that in a dynamic table and showing the data. The problem with this approach is, I am adding row by row and finally appending that to a table, so if result set is large then browser struggles a lot to display and takes some time to display whole result in one shot. Instead of this if we can display the table as a growing table with rows displayed as and...
    See more | Go to post

  • xoinki
    replied to Regular expressions
    in C
    [^ is used to negate character classes.. not strings..
    If we want to exclude strings then
    1) either we need to use negative lookahead as i am trying.
    2) or replace the not required pattern.
    3) or just use pure C++.

    I am trying with 1 not yet went for 2 and 3.. PCRE is same as any other regex..

    thnx for replying,
    Xoinki
    See more | Go to post

    Leave a comment:


  • xoinki
    replied to Regular expressions
    in C
    hi,
    Thanks for d reply, I am using C++ and i am using PCRE(www.pcre.o rg), I found out another thing.. lets say the pattern to be matched is "@H portal[portal]@localhost" and the regex for extracting "portal[portal]@localhost" i would use "(?!@H).*" meaning: except @H match everything else.. this should match "portal[portal]@localhost" in theory but it is matching "H portal[portal]@localhost"...
    See more | Go to post

    Leave a comment:


  • xoinki
    started a topic Regular expressions
    in C

    Regular expressions

    I am trying to fetch "portal[portal] @ localhost [127.0.0.1]" info out of "User@Host: portal[portal] @ localhost [127.0.0.1]" I am trying to use negative lookahead for excluding user@host pattern.. like this, "(?!\\b(# User@Host: )\\b)\\b.*" but the problem is, the regex engine does not seem to work for a combination of a special character and a normal character.. if "@" is removed it works fine.. anybody experienced...
    See more | Go to post
    Last edited by xoinki; May 7 '08, 12:23 PM. Reason: one string misssing

  • xoinki
    replied to GO BACK N protocol in C
    in C
    good. implement it.
    all the best.
    See more | Go to post

    Leave a comment:


  • xoinki
    started a topic Circular headerfile inclusion problem
    in C

    Circular headerfile inclusion problem

    hi all,

    I have 3 classes. class A, class B, and class C, class D, defined in 4 files A.cpp, B.cpp, C.cpp, D.cpp
    inheritence hierarchy is as follows.
    A--> B --> C
    |
    |
    V
    D
    i.e, A is inherited by B which is inherited by C and D.
    then, A and B has a virtual function test() overridden in C and D.
    and I need to use dynamic binding as follows.....
    See more | Go to post

  • xoinki
    replied to OnChange event handler question..
    hi!,
    I am not using any JS framework. actually I am using classes exactly as you have mentioned above. Only thing is i am using it in different way.

    Code:
    function OBJ() 
    {
              // a priv variable
              var vFoo = 'bar';
              // a public variable
              this.vfFooBar = 'barfoo';
              // a privileged method to access the priv variable
               var vPrototype
    ...
    See more | Go to post

    Leave a comment:


  • xoinki
    replied to IE padding problem
    hi,
    I found the problem.. the structure is as follows..

    <div1>
    <div2>
    <table>
    here I had specified the padding for div1 and not for div2.. in FF the css for div1 is inherited to div2 and then to table.. but in IE this is not so..

    Thanx and Regards,
    Xoinki
    See more | Go to post

    Leave a comment:


  • xoinki
    replied to IE padding problem
    hi,
    thnx for the reply.. I tried this. but still the same result. I am trying to find out padding-left and padding-right is padding with respect to the window screen or with respect to the parent div.. If i can find out this then my problem will be solved.
    anybody knows about this?

    thnx and regards.
    xoinki
    See more | Go to post

    Leave a comment:


  • xoinki
    started a topic IE padding problem

    IE padding problem

    hi all,
    I have a DIV element for which a table is appended..
    CSS for this div element is..
    Code:
    .optiondiv
    {
        display:block;
        padding: 0px 30px;
        padding-left: 30px;
        padding-right: 30px;
    }
    and CSS for table is
    Code:
    .headeroptions
    {
         background-color: #8CB0D2;
         font: 12px "Trebuchet MS", Verdana, Arial, Helvetica;
    ...
    See more | Go to post

  • xoinki
    started a topic unigned __int64 equivalent signed datatype??
    in C

    unigned __int64 equivalent signed datatype??

    hi all,
    I have a 20 digit numeric value.. say 184467440737095 51615..
    This i can store if i have unsigned __int64 datatype varible in windows (unsigned long long). I am not able to find out a signed equivalent for data of this magnitude..
    Is there any signed equivalent for handling this type of data?

    wating for your reply,
    Xoinki
    See more | Go to post

  • xoinki
    replied to OnChange event handler question..
    hi!
    Thnx for replying, I got the solution.
    What i am trying to do here is.. to disable/enable some elements based on select element change. I was trying to do the wrong way here.. I cannot call a eventhandler which is a member function of a class from HTML.. since i would require an instance of that class to access that handler.. the solution for this which i found out is to attach an event handler "onload" this solves the...
    See more | Go to post

    Leave a comment:


  • xoinki
    started a topic OnChange event handler question..

    OnChange event handler question..

    hi all,
    I am trying to attach an event to onChange property..
    the function i am trying to attach is inside a class.
    for eg..
    my js has a structure as follows..
    Code:
    // if not defined
    a = new Object()
    //if not defined
    a.b = new Object()
    a.b.init = function()
    {
      var vproto = a.b.Init.prototype;
       var vthis = this;
       vproto.somefunction = function()
    ...
    See more | Go to post

  • xoinki
    replied to Identify which radio button is selected
    hi,
    dont bother to reply..
    I found the issue..
    its a silly mistake in code..
    thnx and regards,
    Xoinki
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...