Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:837676
More Search Options
RSS Available
Matching Posts
Re: unhandled ObjectDisposedException though exception handler provided
Following is the stack trace which i got: at Microsoft.Win32.Win32Native.SetEvent(SafeWaitHandle handle) at System.Threading.EventWaitHandle.Set() at System.IO.Ports.SerialStream.AsyncFSCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOverlapped) at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP) Also i tried to abort the application using Ctrl + C while it was waiting for some data to be read and timeout
Posted to
IronPython for ASP.NET
(Forum)
by
sheetalp
on 11/17/2008
unhandled ObjectDisposedException though exception handler provided
Hi, I am writing a serial port communication application using Iron Python. Following is my code: class serial: def sendMessage( self, entity, command, endstring ): try: BaudRate = 9600 DataBits = 8 comPort = "COM1" #create a serial port instance for the desired port as specified serialPort = System.IO.Ports.SerialPort( comPort ) serialPort.BaudRate = BaudRate serialPort.DataBits = DataBits #open the port serialPort.Close() serialPort.Open() serialPort.ReadTimeout = 30000 serialPort.Write
Posted to
IronPython for ASP.NET
(Forum)
by
sheetalp
on 11/17/2008
Filed under: ASP.NET Python IronPython, IronPython ASP.NET
How to get the line number of the code being executed
I am new to Iron Python and .Net Programming. Please help me in this. I have to display the line number and the file name of the code written in Iron Python. As per my knowledge Iron Python gives the line number only when an exception occurs. Is there any way to get the line number and file name from the stack even if there is no exception ?
Posted to
IronPython for ASP.NET
(Forum)
by
sheetalp
on 11/12/2008
Filed under: IronPython
Page 1 of 1 (3 items)
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online