Can anyone enlighten me?On 10/14/06, jeff sacksteder [EMAIL PROTECTED] wrote:
On 10/13/06, Martin Maly
[EMAIL PROTECTED] wrote:
Int16 is a type: System.Int16 and I am calling its constructor,
passing output as the value: System.Int16(output), just like in Python you
can call: int
On 10/13/06, Martin Maly [EMAIL PROTECTED] wrote:
Int16 is a type: System.Int16 and I am calling its constructor,
passing "output" as the value: System.Int16(output), just like in Python you
can call: int(3.5), this is very similar, except constructing .NET System.Int16
type.An
What's the favored way of handling fixed-point datatypes? Should I be using decimal from the standard library, or a .net datatype of some sort?
___
users mailing list
users@lists.ironpython.com
I have compiled my application to an exe.Must I distribute the .pdb files along with my app or can I just delete them?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
If I make exe's like this-ipyw.exe -X:SaveAssemblies myscript.pyI still get the console window. Is this correct?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
I'd like to change the text of my button column based on some criteria. If I handle the CellFormatting event, I can get a reference to the Cell, but how do I then get to the Button Control within?
___
users mailing list
users@lists.ironpython.com
Could someone please try the following code? By every piece of documentation I can find, this SHOULD create two button columns with the text provided displayed on them. All I am getting is blank buttons and I'm beginning to suspect that there is something wrong with my workstation.
import
I note that ipy.exe has a new icon.The titlebar icon reflects this new icon if the Forms.FormBorderStyle.FixedDialog property is set. If not, the icon is the previous, colored squares one. An oversight?
___
users mailing list
users@lists.ironpython.com
Do you call DataBind ?No, Call it on what? The Datagridview?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
DataGridViewCheckBoxColumns seem to return (True|None) instead of (True|False) even if The ThreeState and FalseValue attributes are set to 'False'. One of us is in error...
___
users mailing list
users@lists.ironpython.com
If Count is zero then presumably there's no items in the
collection. Is that possible?In this instance, I have three columns bound to a DataSet, and a button column that I Add()-ed. Count only says I have 1 Column. The bound columns do not appear to count.
I even tried moving the count statement
I have a data-acquisition device whose vendor provides a dotnet library for software integration. The dynamic nature of IP is giving me a bit of a problem. To record data from the unit, I make a method call like this:
errorlevel = board.AIn(channel,mode,output)It seems that the library wants to
Another tutorial opportunity for Michael.I have a DataGridView control containing data that needs to be flushed back into the original data source. I believe the following to be true:The DataGridView control is bound to the DataSet Object, which is bound to the DataAdapter, which connects to the
So how do I propagate my changes back, then?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Let me show a more specific example. How does the saveChanges method find a reference to the correct DataAdapter to call Update() upon?dataConn = OleDbConnection('provider=microsoft.jet.oledb.4.0;data source=cheeseshop.mdb
;')cheese_sql = 'select * from cheese'my_DA =
I'm have trouble mentally translating the Vb and C# examples I found online. Could someone finish this trivial example of calling a modal dialog and returning the choice that was selected?import clrclr.AddReference
('System.Windows.Forms')from System.Windows import Formsclass
The TabPages attribute of the TabControl class contains a collection of TabPage objects. I was under the impression that individual tabs would be accessable by index or key. That is apparently not the case.Is this a bug or a misunderstanding on my part?
for p in tab_book.TabPages:... print
For the sake of those reading this later-The trouble with my previous example is that the ReadLines() method of a serial port expects a simple newline(\n), while the return key in Windows Hyperterminal sends a carriage return(\r) only. I'm not sure if this behaviour is because of the CLR or of
I'm having trouble reading data from a serial port. I'm connected with a null modem to another pc- I can send text fine with the Write() method, so I know the cable and bits are all correct. I'm trying something like
from System.IO.Ports import SerialPorts =
Given the general lack of IP example code, could someone post a simple example of an application that contains multiple forms or dialogs?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
To clarify my earlier message-If I want to create a non-trivial application, I will have several forms and dialogs. My(apparently broken) understanding is that I would create a class representing the application and pass that to the
Application.Run(method). For example, the tiny app here:import
On 6/16/06, jeff sacksteder [EMAIL PROTECTED] wrote:
Does anyone have an example of how
to use System.IO.Ports.SerialPort from IronPython?I don't know if this will tell you anything new, but there's some sample vb that might be useful.
http://www.devx.com/dotnet/Article/31001
And this will produce a source.exe file.The executable, however, willstill need the
IronPython.dll reference.That appears to still create a console window at runtime. Can that be disabled? I know that Py2exe can create 'console' or 'windows' applications optionally.
Are you using ip.bat or ironpythonconsole.exe?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
In the demo video, it appears that Jim H. is using tab completion in
the interpreter. If so, how does that feature operate? The tab key
itself does nothing, and the keyboard is not visable in the video.
___
users mailing list
users@lists.ironpython.com
Will MSI packaging happen in the beta timeframe or is that planned for just before 1.0-final?
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
MSI packaging has been very low on our
list since my impression is that most IronPython users are happier with the zip
file style of installation where you can know exactly where everything came
from and went. If there's interest in an MSI installer we can prioritize
it higher. We expect to split
I was unclear on the nature of Anchor Dock. Mistakes were made.On 12/28/05, Keith J. Farmer [EMAIL PROTECTED]
wrote:
Perhaps he intends Anchor instead of Dock?
___
users mailing list
users@lists.ironpython.com
I'm sorry, I meant in Python.
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
29 matches
Mail list logo