No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
This 'sticky' thread is for working examples of Python GUI code. Note that most wxPython examples have their own thread. Please use comments in your code to help the reader. The example code should be usable as a template, so folks get a feel for the toolkit and can use … |
|
I'm using the GreenDroid library for the actionbar. I can't get a title to show up no matter what I do. I have tried setTitle(), getActionBar().setTitle(), changing color in the styles. Has anyone else had this problem? |
|
I am building a 2-3-4 tree animator as a favor for one of my teachers. I want to use animations to have the newest value traverse the tree to find where it goes and then insert the value into the node. The problem comes when I have more than 1 … |
|
I'm trying to write out a series of objects as an XML file so they can be read in later. I have all the code to build the XML tree and set all the attributes, etc. I've looked through the whole tree in VS so I know all of my … |
|
My program talks to a USB device over a serial connection. I have WMI ManagementEventWatchers watching for the device to be plugged in and unplugged. If I try to enable, disable, or change anything about the GUI from the event handlers for the WMI Events, I get a InvalidOperationException because … |
|
I am writing a supplemental program for the software that came with a programmable robot. The DLL structure has about 6 DLLs that I can reference, with another set that I need to load at runtime. The ones I need to load at runtime have a class inside them that … |
|
I have a project where I'm building a motion-sensing controller. It has around a dozen buttons plus the motion sensors. I'm having it wireless transmit the status of the buttons and sensors to the base station. I know interrupts are better than polling, but most people seem to recommend polling … |
|
I am trying to update/modify/reverse engineer the software for a robot I have. The company went out of business and some friends and I are trying to add features to the program. I use RedGate's .NET Reflector to unpack the DLL and EXE files into VS solutions, projects, and code … |
|
I am trying to modify and recompile a dll file. I disassembled it so I have the C# code. I also have the .resources file that is a Pack URI. I want my version to have it's own resources file, but I need parts from the original. How can I … |
|
I am reading bytes from a FileStream. When I try to read 0x8000 bytes from the file (which are there) it says: "Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection." … |
|
I am writing a script to rename and reorganize the mp3 on my iPod. For those who don't know, if you drag and drop your music from the iPod to a computer, there is a crazy F## folder structure and all the names are 4 random characters. I want to … |
|
I use python for various personal projects and hobby stuff. I do mostly command line stuff, just cuz I don't need the gui for a lot of it. I would like to start moving on to GUIs, but I have run into a problem. I started with Python v3. All … |
|
I have a ListBox using an ItemTemplate. Here is the XAML: [CODE] <ListBox Name="list_Sensors" ItemsSource="{Binding}" Grid.Column="0" IsSynchronizedWithCurrentItem="True"> <ListBox.ItemTemplate> <DataTemplate> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <GroupBox Header="Part Number/Description" Grid.Column="0" Margin="5" Width="200"> <StackPanel> <TextBlock Text="{Binding Path=PartNumber}" HorizontalAlignment="Center"/> <TextBlock TextWrapping="Wrap" FontSize="8" HorizontalAlignment="Center"> <TextBlock.Text> <MultiBinding StringFormat="{}{0} {1}"> <Binding Path="Manufacturer" /> … |
|
I am writing a flat-file database app using SQLite. That part works just fine, but the GUI not so much. The issues are arising in the bindings. I have a list of accounts displayed in a datagrid. The datagrid has its ItemsSource set to a List<Accounts> collection. That works fine. … |
|
I am trying do a search and replace with Dreamweaver and regex. Specifically, I am trying to replace all the ' with ' but it keeps inserting &apos; I can't find an option to change or anything else. Does anyone know how to escape the ampersand or where the option … |
|
I have an ebook in HTML that is about 10000 lines long. I am looking to find and fix the misspelled words, words that don't have spaces etc. Is there anything out there that can take an input file and a dictionary file and find all the unrecognized words? |
|
I have a couple radio button groups in my Windows Form that I would like to bind to a data table. When I query the database for a single record, I just grabbed row zero and used if-else to select the one i wanted. Unfortunately, when I get multiple records, … |
|
I have a combobox that has state abbreviations. It is filled from a dataset table, which is read in from an xml file. The combo box populates just fine. I want the selected value and text to change when I load a record from an accounts table in the dataset. … |
|
I have a combo box that is populated from entries in a SQLite table. The entries are city names. Here is the code for the data binding: [code] cbb_City.DataSource = data; cbb_City.DisplayMember = "Accounts.City"; cbb_City.ValueMember = "Accounts.City"; [/code] It gets the values just fine but it has an entry for … |
|
I am writing a ping app for my networking class. I have the ping part of the code working perfectly, my issue is in shutting down my "ping" server. If I run it with while True, not even ctrl-C will shut it down till the next ping request. I can … |
|
I like really clean code so I want to pull all of the common includes into a separate file and then include that single file in all my other files. Also makes it easier if I start using a new or different library cuz I only have to change it … |
|
I have a HUGE text file (over 60,000 lines) and I'm using python to do regex fixing on the file. I want to wrap any lines over 100 characters, and wrap on a space. I know I can use ".{100}" to find 100 characters but when I do this: [code] … |
|
I have a flat file database program I'm writing using SQLite3 and I've run into a problem and a question. Problem: I have the various fields on the forms linked to the results of my queries using databindings. They all work just fine except for 2. They are pulled from … |
|
I'm pretty sure this isn't possible but I want to be sure. I have a form with text boxes. I want to be able to link the text boxes to members of an object. Is there anyway that I can make the text boxes reflect specific data members? |
|
I have a windows form box that is supposed to just display a message. Unfortunately, whenever the box pops up, it has all the text selected. I cannot figure out how to stop that. Any ideas? |
|
I am trying to use an existing access db file with my c# app. When I try to connect, it says that: "The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine." How do I register it/install it/whatever it is I need to do to make it work? Thanks. I … |
|
I am trying to access a .accdb file from my c# app. when i run the app, it tells me that I don't have Microsoft.Jet.4.0 Provider installed. I know that I need the Jet provider to access MS Access files, I just don't know how to get or install it. … |
|
I have an Access database that I use to keep track of account and inventory information for my job. I am currently writing a C# app to allow me to search through and pull up the information from a couple different tables and display them. How can I access the … |
|
Does anyone know how to convert a .accdb file into a SQLite compatible format? I am looking to migrate an existing DB from Access to an app I am writing to add and retrieve the information for me without having to manually enter the stuff into 4 different tables. |
|
I'm helping my dad out with some of his website issues, so any help is appreciated. He is getting an error (and no I don't have the exact text at the moment) that there was a fatal error in charlint.pl The problem apparently started when the site's host updated the … |