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

asp.net , vb , vb ocx India
  • 11 years 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

  • 11 years 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).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Brevity is the soul of wit” - Shakespeare