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
S

Siddharth Rastogi

@Siddharth Rastogi
About
Posts
16
Topics
12
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Group Policy
    S Siddharth Rastogi

    Hi... :) Don't mind for late reply. I was searching this, for RND in Rolebase management system. Now, I am working On ADAM + AZMAN for the RoleBase. Whts ur requirement? Some thing like that or Only GroupPolicy. Enjoy!! :rolleyes:

    C# csharp tutorial question

  • max() in XPath
    S Siddharth Rastogi

    Hi All.... How can i use MAX() function in XPath. 1) By Googling... showing comparing node values.. some thing like /root/node[not(@val <= preceding-sibling::node/@val) and not(@val <=following-sibling::node/@val)] 2) But I want to work like this xd.SelectNodes("max(//dgn/one/@id)"); from the reference http://www.w3schools.com/xpath/xpath\_functions.asp#anyuri Any Idea...? Thx for the time. Enjoy!! Siddharth

    C# question com xml

  • Group Policy
    S Siddharth Rastogi

    Hello All... Do U know how to work with Group Policy in C#. Any Samples or Docs...? Thx 4 reading :) Enjoy... Siddharth

    C# csharp tutorial question

  • Group Policy
    S Siddharth Rastogi

    Hello All... Do U know how to work with Group Policy in C#. Any Samples or Docs...? Thx 4 reading :) Enjoy... Siddharth

    .NET (Core and Framework) csharp tutorial question

  • Group Policy...
    S Siddharth Rastogi

    Hi... I have some questions:-> 1) What is difference between gpedit(Group Policy Object Editor) and gpmc, as both are used for groupPolicy editing... 2) How I can work on GroupPolicy in C#, as gpedit.dll or gpedit.h works only for C,C++. I download GPMC(Group Policy Management Console), and by that got some COM dlls(Like GPMGMTLib, GPOADMINLib etc). Using these COM Dlls are the only way in C#, or is there any other way. thx in adv. Siddharth

    C# csharp c++ com question

  • Difference between gpedit(Group policy object editor) and gpmc(Group policy Management console)
    S Siddharth Rastogi

    Hi... Can u plz tell me wht is difference between gpedit and gpmc. Both are used for groupPolicy editing... thx in adv. Sidh

    IT & Infrastructure

  • Remoting Isuue..
    S Siddharth Rastogi

    Hiii... I am receiving this error :---> Server encountered an internal error. For more information, turn on customErrors in the server's .config file. Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) 1) After googling, I found that customErrors mode="off can help. Presently its True on Server side. Like this RemotingConfiguration.CustomErrorsEnabled(true); 2) I am using .Net 1.1 on the server side and .Net 2.0 on client side. 3) Not getting this problem frequently. It has only 5% chances. 4) When I debugging found some interesting stuff: class One { public string m_sResult = null; public string GetInfo(string sID) { try { if(OnRequested != null) OnRequested(sID); return m_sResult; } catch(Exception ex) { WriteLog(“ “); } } } class Two{ void OnRequestedHandler(string sID) { try { One.m_sReult = "Done"; } catch(Exception ex) { One.m_sReult = ex.message; } } } From the client side, I am calling One.GetInfo() method. a) Event OnRequested(sID) raised and handled by class Two and One.m_sReult is set as "Done". b) But on client side it returns NULL and also writes Log "Server encountered and internal....." on Server side. So suggest me, what I should do to solve this problem. I should use customErrors mode="off for better understanding? I would appreciate any help or suggestions that anyone can provide. Thank you. Sidh

    WPF help csharp sysadmin data-structures debugging

  • remoting issue..
    S Siddharth Rastogi

    Hiii... I am receiving this error :---> Server encountered an internal error. For more information, turn on customErrors in the server's .config file. Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) 1) After googling, I found that customErrors mode="off can help. Presently its True on Server side. Like this RemotingConfiguration.CustomErrorsEnabled(true); 2) I am using .Net 1.1 on the server side and .Net 2.0 on client side. 3) Not getting this problem frequently. It has only 5% chances. 4) When I debugging found some interesting stuff: class One { public string m_sResult = null; public string GetInfo(string sID) { try { if(OnRequested != null) OnRequested(sID); return m_sResult; } catch(Exception ex) { WriteLog(“ “); } } } class Two{ void OnRequestedHandler(string sID) { try { One.m_sReult = "Done"; } catch(Exception ex) { One.m_sReult = ex.message; } } } From the client side, I am calling One.GetInfo() method. a) Event OnRequested(sID) raised and handled by class Two and One.m_sReult is set as "Done". b) But on client side it returns NULL and also writes Log "Server encountered and internal....." on Server side. So suggest me, what I should do to solve this problem. I should use customErrors mode="off for better understanding? I would appreciate any help or suggestions that anyone can provide. Thank you. Sidh

    ASP.NET help csharp sysadmin data-structures debugging

  • Remoting issue
    S Siddharth Rastogi

    Hiii... I am receiving this error :---> Server encountered an internal error. For more information, turn on customErrors in the server's .config file. Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) 1) After googling, I found that customErrors mode="off can help. Presently its True on Server side. Like this RemotingConfiguration.CustomErrorsEnabled(true); 2) I am using .Net 1.1 on the server side and .Net 2.0 on client side. 3) Not getting this problem frequently. It has only 5% chances. 4) When I debugging found some interesting stuff: class One { public string m_sResult = null; public string GetInfo(string sID) { try { if(OnRequested != null) OnRequested(sID); return m_sResult; } catch(Exception ex) { WriteLog(“ “); } } } class Two{ void OnRequestedHandler(string sID) { try { One.m_sReult = "Done"; } catch(Exception ex) { One.m_sReult = ex.message; } } } From the client side, I am calling One.GetInfo() method. a) Event OnRequested(sID) raised and handled by class Two and One.m_sReult is set as "Done". b) But on client side it returns NULL and also writes Log "Server encountered and internal....." on Server side. So suggest me, what I should do to solve this problem. I should use customErrors mode="off for better understanding? I would appreciate any help or suggestions that anyone can provide. Thank you. Sidh

    .NET (Core and Framework) help csharp sysadmin data-structures debugging

  • Remoting Exception...Am i solving it correct.......?
    S Siddharth Rastogi

    is it.....? ok..

    C# help csharp sysadmin data-structures debugging

  • Remoting Exception...Am i solving it correct.......?
    S Siddharth Rastogi

    Hiii... I am receiving this error :---> Server encountered an internal error. For more information, turn on customErrors in the server's .config file. Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) 1) After googling, I found that customErrors mode="off can help. Presently its True on Server side. Like this RemotingConfiguration.CustomErrorsEnabled(true); 2) I am using .Net 1.1 on the server side and .Net 2.0 on client side. 3) Not getting this problem frequently. It has only 5% chances. 4) When I debugging found some interesting stuff: class One { public string m_sResult = null; public string GetInfo(string sID) { try { if(OnRequested != null) OnRequested(sID); return m_sResult; } catch(Exception ex) { WriteLog(“ “); } } } class Two{ void OnRequestedHandler(string sID) { try { One.m_sReult = "Done"; } catch(Exception ex) { One.m_sReult = ex.message; } } } From the client side, I am calling One.GetInfo() method. a) Event OnRequested(sID) raised and handled by class Two and One.m_sReult is set as "Done". b) But on client side it returns NULL and also writes Log "Server encountered and internal....." on Server side. So suggest me, what I should do to solve this problem. I should use customErrors mode="off for better understanding? I would appreciate any help or suggestions that anyone can provide. Thank you. Sidh

    C# help csharp sysadmin data-structures debugging

  • Remoting issue.............
    S Siddharth Rastogi

    Dear All..... I am using .Net Remoting with C#. I want to access windows Form, from the Client. Means on calling some function from the client windows form at server end should be invoked (activated). So accessing Form's object as singleton object in client side and trying to activate that form. Now the problem is, That form (Form1) becomes activated but hangs also. Message Box which is in Form1's Load Event is visible but still Form1 is hanged. Server Form and Client Form is not hanged, and are workable. Application not throwing any exception. So suggest me, what to do. Or how i can access form on Server Side using .Net Remoting. Thx 4 Reading...:) Enjoy Programming! Sid :)

    C# csharp help sysadmin

  • Regex.....Problem...........
    S Siddharth Rastogi

    string sPattern = @"[^\p{Cc}\\r\\n\\a\\e\\b\\t][\S]*[\w\p{Po}\s-`\p{Sm}]*[^\p{Cc}\\r\\n\\a\\e\\b\\t]"; try { if (Regex.IsMatch(txtText.Text, sPattern, RegexOptions.Multiline | RegexOptions.IgnoreCase)) { objMatch = Regex.Match(txtText.Text, sPattern, RegexOptions.ECMAScript | RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.IgnoreCase); if (objMatch.Success) lblDone.Text = objMatch.Value; }//end (if (Regex.IsMatch...) }//end(try) finally { sPattern = null; }//end (finally) input string is :-- \r\nloadplayer "playername=test_1"\r\n output string should be :-- loadplayer "playername=test_1" want to neglect all newline,tabs.. etc from the input string. Now its doing fine, but also removing "r,n,a,e,b,t" from the starting of the input string. Means, if the input string is:-- roadplayer "playername=test_1"\r\n output becomes:-- oadplayer "playername=test_1" it should be:-- roadplayer "playername=test_1" so, tell me what i should do for better working. Thxx... Enjoy!!

    C# regex help

  • RegEx.....
    S Siddharth Rastogi

    string sPattern = @"[^\p{Cc}\\r\\n\\a\\e\\b\\t][\S]*[\w\p{Po}\s-`\p{Sm}]*[^\p{Cc}\\r\\n\\a\\e\\b\\t]"; try { if (Regex.IsMatch(txtText.Text, sPattern, RegexOptions.Multiline | RegexOptions.IgnoreCase)) { objMatch = Regex.Match(txtText.Text, sPattern, RegexOptions.ECMAScript | RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.IgnoreCase); if (objMatch.Success) lblDone.Text = objMatch.Value; }//end (if (Regex.IsMatch...) }//end(try) finally { sPattern = null; }//end (finally) input string is :-- \r\nloadplayer "playername=test_1"\r\n output string should be :-- loadplayer "playername=test_1" want to neglect all newline,tabs.. etc from the input string. Now its doing fine, but also removing "r,n,a,e,b,t" from the starting of the input string. Means, if the input string is:-- roadplayer "playername=test_1"\r\n output becomes:-- oadplayer "playername=test_1" it should be:-- roadplayer "playername=test_1" so, tell me what i should do for better working. Thxx... Enjoy!!

    C# regex

  • RegEx.....
    S Siddharth Rastogi

    Hiii Guffa thx..... its............ i am using Regex to remove \r from the string. so using \\r for this. it removing \r, but also removing r from string. Not want 2 remove r, just \r need to be removed. so, plz tell me where i am wrong. Or what else can be done. thx in Adv. Enjoy! Sidh

    C# regex

  • RegEx.....
    S Siddharth Rastogi

    Hiii All.. i am using Regex to remove \r from the string. so using \\r for this. it removing \r, but also removing r from string. Not want 2 remove r, just \r need to be removed. so, plz tell me where i am wrong. Or what else can be done. thx in Adv. Enjoy! Sidh

    C# regex
  • Login

  • Don't have an account? Register

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