Community discussion forum

urgent help me(GPRS application using Asp.net with Vb)

  • 3 months ago

    i am developing asp.net2005 website application.my project goal is getting data from microcontroller via gprs to display in my web site.my web application internally use my own vb ocx control for communicating gprs using vb winsock control.i was created object for this ocx control in my aspx.vb .but this object is destroyed after i click any button in the page.how can i keep this ocx object?

    my sample code: import IPM50ocx 'my vb ocx protected WithEvents objGPRSControl As IPM50OCX.GPRSControl formload ScriptManager1.RegisterAsyncPostBackControl(Timer1) objGPRSControl = Server.CreateObject("IPM50OCX.GPRSControl") Session("ObjState") = objGPRSControl objGPRSControl.LocalPort = 1001 objGPRSControl.GPRSMode = 2

    Post was edited on 26/08/2009 12:48:56 Report abuse
  • 3 months ago

    i am developing asp.net2005 website application.my project goal is getting data from microcontroller via gprs to display in my web site.my web application internally use my own vb ocx control for communicating gprs using vb winsock control.i was created object for this ocx control in my aspx.vb .but this object is destroyed after i click any button in the page.how can i keep this ocx object?

    my sample code: import IPM50ocx 'my vb ocx protected WithEvents objGPRSControl As IPM50OCX.GPRSControl formload ScriptManager1.RegisterAsyncPostBackControl(Timer1) objGPRSControl = Server.CreateObject("IPM50OCX.GPRSControl") Session("ObjState") = objGPRSControl objGPRSControl.LocalPort = 1001 objGPRSControl.GPRSMode = 2

Post a reply

Enter your message below

Sign in or Join us (it's free).

We'd love to hear what you think! Submit ideas or give us feedback