43,549 Solved Topics
Remove Filter ![]() | |
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 … | |
Why is there a tuple and list in Python. They seemed to perform similar things. Software Development python | |
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 … | |
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 | |
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 | |
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 … | |
: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 | |
: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 | |
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 | |
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 | |
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 | |
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 ![]() | |
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 | |
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 | |
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 | |
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++ | |
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# | |
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 | |
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 | |
:?: 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 | |
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++ | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
how do i add the numbers in a listbox and display it in another textbox? Software Development display visual-basic | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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] | |
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 | |
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 | |
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 … | |
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 … | |
Is there a way to do math with hexadecimal numbers in Python? Software Development python | |
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 | |
Is possible to display animated image?for example [URL="http://tibia.gamigo.de/images/monster/demon.gif"]this?[/URL] thanks:D | |
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 |
The End.