43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Jayzilla

Hi there, My niece often asks me to quiz her on her times tables, so I thought I'd spare myself any further effort and write a program to ask her random multiplication questions. I used Tkinter to create a GUI with a label asking the question, an entry box for …

Software Development gui python tkinter
Member Avatar for bumsfeld
0
131
Member Avatar for bumsfeld

Why is there a tuple and list in Python. They seemed to perform similar things.

Software Development python
Member Avatar for jrcagle
0
175
Member Avatar for lballans

Hi All, I'm new to C++ and I have a C++ mortgage assignment due where a user inputs there mortgage amount, interest rate, and term of the loan and the program should give the user there monthly payment and also ask the user if they want to quit or enter …

Software Development c c# c++
Member Avatar for lballans
0
98
Member Avatar for noobDesigner

hello!!! again i encounter a problem ......... I was wondering if anyone can point me in the right direction. What i am trying to do is create a volume dataset. I have been aiming to create a coloured cube and put a cylindrical object inside it (of a different colour). …

Software Development dataset
Member Avatar for b4codes
0
260
Member Avatar for asmith3006

Hi. Is it possible to add new rows and columns to the table layout panel at runtime? I want to create a table of text boxes, but I don't know how many rows or columns will be needed. Also, is it possible to add rows and/or columns at the click …

Software Development
0
84
Member Avatar for aruma

hi , today i got an error with : Exception in thread "main" java.lang.NoClassDefFoundError : Loop i have gone thru so many links which i found in google but i am unable to solve that problem iam using both eclipse and command prompt. in both i got the same problem …

Software Development google java
Member Avatar for aruma
0
123
Member Avatar for msaenz

:cheesy: hi all, i do not know how many people have worked in biopython before but, i am soo close to this answer i can feel it! just need a lil help again... basically this takes a FASTA file from NCBI and makes it into a dictionary which is wonderful …

Software Development python
Member Avatar for vegaseat
0
131
Member Avatar for msaenz

:mrgreen: hi guys/gals, thanks for the bioinformatics help, im working on tons of independant projects, it feels like im in summer school and im not even in it! oh well, that is how it is. Python and me are like new friends so I have been needing on this journey …

Software Development file-system python
Member Avatar for Ene Uran
0
119
Member Avatar for comwizz

hi , I just was trying to implement a stack using doubly linked list . Well , i cannot exactly find out the error. Any hint would be of great help. Heres the code [code] #include<iostream.h> #include<conio.h> class abc { public: int num; abc* next; abc* previous; friend void push(abc*,int); …

Software Development c++ linked-list
Member Avatar for Lerner
0
4K
Member Avatar for cozofdeath

Ok, I've been trying different tutorials/methods of learning asm and right now I'm reading Dr. Paul Carters tutorial and using NASM and DJGPP to compile. I just got into the conditional/jump section and I wanted to test how the jumps work and ran into a problem. The read_char macro seems …

Software Development assembly
Member Avatar for cozofdeath
0
138
Member Avatar for girish_sahani

hi ppl, Consider a list like ['a.1','b.3','b.4','c.2']. Here 'a','b','c' are objects and 1,3,4,2 are their instance ids and they are unique e.g. a.1 and b.1 cannot exist together. From this list i want to generate multiple lists such that each list must have one and only one instance of every …

Software Development python
Member Avatar for vegaseat
0
84
Member Avatar for aeinstein

Hi All, I've converted the [URL="http://www.daniweb.com/techtalkforums/thread49412.html"]pseudocode from this thread[/URL] into a flowchart, and I'd greatly appreciate if anyone can point out any errors and/or inefficiences in the represented coding. as posted in the above referenced thread, the flowchart represents a solution for a chapter exercise, as follows: "The problem states …

Software Development c
Member Avatar for iamthwee
0
363
Member Avatar for asmith3006

Hi, not sure if the title is correct but I think that's what I mean. I have the following code: [code]//Box the shape is contained in protected Rectangle container; /// <summary> /// Gets or sets the value for position /// </summary> public Point Position { get { return container.Location; } …

Software Development
Member Avatar for Lord Soth
0
198
Member Avatar for stharmon

Hey all, I have a simple one I hope. I have created an editable combobox and wanted to clear what is currently displayed in the box once the user sets focus on it either through "tab" or a "mouse click". For example, the combobox would say "Enter a phone number …

Software Development java
Member Avatar for stharmon
0
276
Member Avatar for anderde

I have been looking for several hours now trying to figure out how to display a transparent back-color label over other controls. I have a user-control with tons of controls in it such as text-boxes, combo-boxes, etc. I want to display a BIG RED LABEL titled "VOID" over this user-control …

Software Development
Member Avatar for anderde
0
126
Member Avatar for conryf

I'm writing a program in VC++ 6.0 professional and am encoutering a baffling error. The program compiles fine, but seems to be fed up with anymore member functions. If I add one in the header implementation it still compiles but if I call that function anywhere in the program I …

Software Development c++
Member Avatar for Dave Sinkula
0
122
Member Avatar for ars-ceful

Hi. all, im a newbie here, i just need an help on how to code in C# to find an open ports in a network.. I had a program to interact in a network.. Any ideas how, links, tutorials or sample codes??? Pls.. do help.. Thanks a lot

Software Development c#
Member Avatar for alc6379
0
324
Member Avatar for holysmokes

I am trying to free up space on my hard drive. when I go into add/remove programs I see seemingly redundant entries. are they redundant or are they individually necessary. they are: J2SE Runtime Environment 5.0 Update 2 J2SE Runtime Environment 5.0 Update 4 Java 2 Runtime Environment SE v1.4.2_04 …

Software Development hard-drive java
Member Avatar for jwenting
0
105
Member Avatar for b.janahi

i'm trying to open a txt file and write the text included in a texbox so how can i get the open window to choose the file i want to open :o thanks

Software Development visual-basic
Member Avatar for b.janahi
0
84
Member Avatar for JohnJohnUSA

:?: I am using Python IDLE 2.4.3 on Windows XP. I use File->New Window to create a new program. In the Save As dialog, it always takes me to the python program directory (where python is installed). Since this is not where I want to save my source file, I …

Software Development python
Member Avatar for bumsfeld
0
422
Member Avatar for Kumal

I can't seem to use the 'cin.get' statement for getting character arrays. I've just switched to VC++ Express, from Dev-Cpp, which allowed that. I have tried other methods like declaring the variable with 'string' but the compiler doesn't recognise it even with the <string> header. [code] void encrypt() { string …

Software Development c++
Member Avatar for WolfPack
0
154
Member Avatar for joydeep1

I am trying to prepare a database using C,which can store data and from which data can be retrieved and edited. [B]First storing,then retrieving data from the file works.But,during first run of the prog if choice#2(i.e.,DISPLAY)is entered without entering any data using choice#1(although the file contains data),then error occurs,gets hung.A …

Software Development c linked-list
Member Avatar for joydeep1
0
106
Member Avatar for blacklocist

Hi all, I am having a wee bit trouble with with the SQL Command Builder. It does not build anything but frustration. From all the books I have read and everything this is how you go about updating changes from dataset or datatable without writing your own updating logic. Build …

Software Development asp asp.net dataset laptop
Member Avatar for Paladine
0
198
Member Avatar for JohnJohnUSA

I ran the following program to retrieve entries from the windows registry on Windows XP: [code] import win32api, win32con aReg = win32api.RegConnectRegistry(None, win32con.HKEY_CURRENT_USER) aKey = win32api.RegOpenKeyEx(aReg, r"Software\Microsoft\Internet Explorer\PageSetup") for i in range(100): Name, [URL="http://www.tek-tips.com/viewthread.cfm?qid=1249756&page=1#"]Data[/URL], Type = win32api.RegEnumValue(aKey, i) print "Index=(", i,") Name=[", Name,"] Data=[",Data,"] Type=[",Type,"]" win32api.RegCloseKey(aKey) [/code] Program output: [quote] …

Software Development python windows-xp
Member Avatar for a1eio
0
169
Member Avatar for Ene Uran

Does Python have a module to display when a file has been last modified? Also, how do you get the file length?

Software Development file-system python
Member Avatar for bumsfeld
0
671
Member Avatar for msaenz

Hi everyone, I am doing a bioinformatics project and I have this code: [code]def three2one(prot): code = {"G" : "6", "A" : "7", "L" : "1", "I" : "4", "R" : "2", "K" : "3", "M" : "5", "C" : "8", "Y" : "9", "T" : "10", "P" : "11", …

Software Development python
Member Avatar for bumsfeld
0
81
Member Avatar for leb

I need help with my python project. I am supposed to draw something "cool" that includes loops, variables, if-statements, modules, etc. Some ideas given are to draw snails, constellations, a face, daffodils, etc. Anyone help please?

Software Development python
Member Avatar for Jayzilla
0
108
Member Avatar for robertlees

I have a 5 column flexgrid. I want the user to click a column and get the grid sorted by that column. Works fine for non-date collumns. For date columns, I firstly loop through all rows changing them from dd/mm/yy to yy/mm/dd. But the sort doesn't do anything.

Software Development visual-basic
Member Avatar for robertlees
0
672
Member Avatar for Sannn

Hi, I'm not sure if there's another topic about this but couldnt find it with the searchoption.. I'm creating an app which uses a cardreader, it works perfectly.. but now i have to let the app run in the background, but the cardreader still has to work, when a card …

Software Development visual-basic
Member Avatar for Sannn
0
96
Member Avatar for shalini_roy
Member Avatar for shalini_roy
0
113
Member Avatar for sgriffiths

Hello I am trying to write some data to a certain position in a file, but cannot get it to work I want to write "XX" to position 6 of a specified file, but the data is just being written to the end of file. see below [code]#include<stdlib.h> main() { …

Software Development c file-stream file-system
Member Avatar for sgriffiths
0
2K
Member Avatar for Ricky_v.s_C++

How can I separate an integer into digits using for loop? eg. before: 123 after: 1 2 3 anyone can help me with that?

Software Development c
Member Avatar for Ricky_v.s_C++
0
400
Member Avatar for mrjaiswal

Hi All, I am new member of this forum. I am trying to implement the simple c logic for the following problem : I want to come out of a [B]while[/B] loop only when I press the key 'e' But [B]condition is that, it should not wait for me to …

Software Development c
Member Avatar for spaceboyz87
0
193
Member Avatar for slacke

I start to write a code for a shell with some basic functions: open files, save files, create files... I try to use the ifstream for opening files. I found the constructor - ifstream openfile("file.txt", ios::in); I try to use this constructor in the way (function openfile()) that I can …

Software Development c++ ios
Member Avatar for Dave Sinkula
0
101
Member Avatar for squirrel

Hi, I have a program which is hard coded, I need to enter a value(n2 in the below code) in the program, and the program processes the file according to the value n2. how I compile now is as follows: cc -o test testprog.c ./test [filename] What I need to …

Software Development c open-source
Member Avatar for squirrel
0
259
Member Avatar for NewVBguy

Hi Everyone, This is probably simple but I don't know how. Can someone show me a code the test if the child form is currently active or currently the one open in front of my screen. Thanks in advance. newvbguy

Software Development visual-basic
Member Avatar for NewVBguy
0
100
Member Avatar for asmith3006

Hello new world. I'm new to C# and very new to GDI and drawing and would really appreciate some help. I'm trying to draw some boxes (rectangles). I wont put code up as I don't think it's nessesary... but you never know. As a test I've made a form and …

Software Development c# first-post
Member Avatar for asmith3006
0
129
Member Avatar for vegaseat

In case you are curious, I just posted a new tutorial "Python and Multimedia, Part 1, The amazing Webbrowser Module" on DaniWeb at: [url]http://www.daniweb.com/tutorials/tutorial47392.html[/url] I would love some input from our Linux and Unix friends to see how much cross platform the module is. Post any comments in this thread!

Software Development first-post multimedia python unix
Member Avatar for vegaseat
0
201
Member Avatar for Blujacker

In code snippet, there is an example with wx.menu(), but there is only one command in menu. I need moore [code] menu = wx.Menu()#create_menu menu2 =wx.Menu()#menu2 menu2.Append(wx.ID_EXIT, u"Add")#menu2 self.Bind(wx.EVT_MENU, self.a, id=wx.ID_EXIT) #menu2 menu.Append(wx.ID_EXIT, u"PÅ™idat")#menu self.Bind(wx.EVT_MENU, self.Pridat, id=wx.ID_EXIT)#menu menuBar.Append(menu2, "File")#menu2 menuBar.Append(menu, "Soubor")#menu self.SetMenuBar(menuBar) [/code] it doesn't work correct If do i …

Software Development python
Member Avatar for vegaseat
0
148
Member Avatar for shalini_roy

I have just started to learn VB.i'm making a database using oracle and vb6. i have a listbox of items and a search button. one can see the details of a particular item in the listbox in a couple of textboxes in that same form by clicking on the search …

Software Development oracle visual-basic
Member Avatar for Comatose
0
221
Member Avatar for Blujacker

Is in wxPython event like root.bind('<Double - 1>,function) i need on one wxButton 2 event, normal and double. How to create this?

Software Development python
Member Avatar for vegaseat
0
101
Member Avatar for Blujacker

How to create an image to wxButton??? this is my button [code] self.button3 = wx.Button(id=wxID_FRAME1BUTTON2, label=u'Hraj', name='button3', parent=self, pos=wx.Point(35, 925), size=wx.Size(20, 20), style=0) self.button3.Bind(wx.EVT_BUTTON, self.OnButton3Button, id=wxID_FRAME1BUTTON2) [/code]

Software Development image python
Member Avatar for vegaseat
0
109
Member Avatar for pythonguy

How to activate file typ filter in wxPython file browser I am using wxFileDialog() call for file browsing,I want it to filter all unwanted files in display.

Software Development file-system python
Member Avatar for vegaseat
0
259
Member Avatar for shanenin

I was seeing if I could use python to delete a file upon reboot. I am only able to rename it at reboot, I can't figure out the syntax to set the destination to null. Below is what works to rename the file [code] import win32file import win32api win32file.MoveFileEx("test.txt", "test2.txt" …

Software Development python
Member Avatar for vegaseat
0
452
Member Avatar for Drowzee

This is an offshoot of a specific problem I've posted in the C# forum. However, it applies to C++ as well. If you have opened a file, specifically, an image file, but would like to rename (or, as MSDN says, 'move) the directory the file resides in, what are the …

Software Development c++ image
Member Avatar for Drowzee
0
437
Member Avatar for Drowzee

I have a fairly simple set of controls that make up an image viewer. The goal of this software is to allow image captures to be stored in a temporary directory, viewed in the image viewer, and then have the user able to choose to delete or save the contents …

Software Development image session
Member Avatar for Drowzee
0
165
Member Avatar for Ene Uran

Is there a way to do math with hexadecimal numbers in Python?

Software Development python
Member Avatar for vegaseat
0
189
Member Avatar for vince_2x

Hi guys! sorry if this question has been asked b4. I just wanna know what is the difference between a==b and a is b? Thanks

Software Development python
Member Avatar for bumsfeld
0
159
Member Avatar for Blujacker

Is possible to display animated image?for example [URL="http://tibia.gamigo.de/images/monster/demon.gif"]this?[/URL] thanks:D

Software Development image python
Member Avatar for bumsfeld
0
678
Member Avatar for evil_dude_01

Please help me !!!!! I want to know how to sort a list of records in a text file. I want to sort them by customer number. Here's whats in my module Public CustomerArray() As CustomerRecord Public Type CustomerRecord Number As String Name As String Address As String Town As …

Software Development display email visual-basic
Member Avatar for strick9
0
216

The End.