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
N

Natty Gur

@Natty Gur
About
Posts
26
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • MVP summit
    N Natty Gur

    Oh boy, it's so close to realty ... ;-)

    The Lounge architecture

  • MVP summit
    N Natty Gur

    I can bet I'll be the first to fall :-) So I'm bringing my wife to keep an eye on me.

    The Lounge architecture

  • The Palestinian/Israeli conflict
    N Natty Gur

    Well, I usually don't like to participate in political debates but I have to say couple of words. First of all I'm living in Israel so I'm pretty diverts. I don't think that the blame is on Israel or on Palestinians. I do think that as every crisis the blame can be split equally between the two parties. I also thing that most of the palatinates and Israeli people just want to live their life peacefully, but there are small groups of extremes that knows how to keep the fire up. Any way I think that no one that lives here (Israel) can really understand what goes here. You can't understand such a conflict from 50,000 feet view. It's like Don Box that from 50,000 view throughout that COM is great solution but down from the ground it looks completely different.... :-)

    The Lounge question discussion

  • MVP summit
    N Natty Gur

    I wonder if someone is attending the nearest global MVP summit.

    The Lounge architecture

  • POST to outside legacy form?
    N Natty Gur

    Scott Hi, 1)Add new Form without runat=server and set its Action attribute to new address. 2) catch the button event on the server and use Response.Redirect()

    ASP.NET csharp asp-net help question

  • Execute-like
    N Natty Gur

    Do you mean Server.Execute ?

    ASP.NET csharp asp-net com question

  • How to change remote service on runtime?
    N Natty Gur

    Qin hi, You might use Activator :

    SessionInterface.ITryClass oObj = (SessionInterface.ITryClass)Activator.GetObject( typeof(SessionInterface.ITryClass),"tcp://localhost:1967/TcpSession");

    ASP.NET question csharp design sysadmin help

  • System.Web.HttpException: The View State is invalid for this page and might be corrupted.
    N Natty Gur

    Venkatraman Hi, Part of the form that you are sending contains the view state of the current page (the __ViewState hidden field), for the PostBack machinery. While page is load on the server side the ASP.NET read the viewstate hidden field to set the controls value. Your problem is that the target page can’t translate the __viewstate field to the target page controls and you get your error. To overcome it try to: 1) Remove viewstate, if you don’t use it. 2) Create new form with javascript that will send the necessary fields. 3) User server side event to catch the click. Use Server.Transfer to move into the target page. Send the Form data view Context

    ASP.NET

  • sending a string value to a web site
    N Natty Gur

    If I understand you, You can send the string using GET : http://www.m.com?MyString=data. You can handle it in the server side by using QueryString :
    C#

    string mydata = this.Request.QueryString["MyString"];

    Visual Basic question

  • Speed up port scan process...?
    N Natty Gur

    by using multi-threading ?

    ASP.NET csharp asp-net performance question

  • Internet Web Controls
    N Natty Gur

    I find them very useful. You can find their source at: http://www.asp.net/IEWebControls/Download.aspx?tabindex=0&tabid=1

    ASP.NET asp-net csharp game-dev question lounge

  • Sessions
    N Natty Gur

    No you cant. Session is part of application and every application got its own sessions (users). So, the best way to do it is to share data between two applications. The problem here is that every application living in its own application domain. Every application domain got its own memory address so you can’t share data between them. As far as I know you can overcome it using two methods 1) Using remoting to share the data. Slower 2) Using memory map file to share the data. Faster.

    ASP.NET sysadmin help question

  • cast to c++ interface from C#
    N Natty Gur

    public interface ICOSP_9054_Connection { object getConnection( ); } public MyClass : public ICOSP_9054_Connection { public: Object __gc* getConnection() { } };

    Managed C++/CLI help csharp c++ question

  • create object with string parametert
    N Natty Gur

    Using System.Reflaction

    Visual Basic help question

  • _EVENTTARGET
    N Natty Gur

    The button ID should appear as a key in the Form collection. You should: Check the _EVENTTARGET for data. if the _EVENTTARGET is empty look in the key collection of the Form (Page.Form) for one of the buttons. If you found one of them, he is the responsible for the postback.

    ASP.NET csharp help question

  • _EVENTTARGET
    N Natty Gur

    Yes, just the button ID will be return with the Form to the server.

    ASP.NET csharp help question

  • _EVENTTARGET
    N Natty Gur

    It returns the name of the control id that fired the postback unless no one call the postback function. If a button is responsible for the postback the form will be submit without using the __dopostback.

    ASP.NET csharp help question

  • Accessing Web Service through HTTP Proxy
    N Natty Gur

    If you use the HttpWebRequest class under the Proxy property you can find Credentials.GetCredential(..params..).Password or .UserName

    C# csharp visual-studio sysadmin help question

  • Jagged arrays in MC++
    N Natty Gur

    __wchar_t comma __gc[] = {L','};

    Managed C++/CLI question csharp c++ com data-structures

  • What's the difference between VC++ and Managed C++?
    N Natty Gur

    Managed c++ - the C++ code will be run under the CLR. you can take advantage of the CLR services and be aware of its limitation (for example the CLR control the memory allocation) COM - is a protocol used by Microsoft in the latest years (until the appearance of .Net) to enable communication, transfer of data and activation of components (DLL, EXE, OCX …) writing in different development tools and languages. As long as the provider and consumer support COM a communication can established between them. ATL (Active Template Library) - is a library that enable c++ programmer to write components that support COM with less effort. The ATL contain templates that encapsulate many coding issue regarding to COM and let you spend more time on your application rather on COM.

    Managed C++/CLI c++ 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