64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for bumsfeld

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

Member Avatar for jrcagle
0
175
Member Avatar for donkey

I have a bit of a problem. I am opening a file that has been exported from access with fopen(), reading it to a variable with fread() and then closing it. these files unfortunately have a LOT of blank lines. ex(one of them has over 50,000 blank lines). So i …

Member Avatar for donkey
0
314
Member Avatar for balagod

Hai, i want to send mail from my localhost in php,i try to using my outlookexpress smtp and email parameters but it gives warning like this Warning: mail() [function.mail]: SMTP server response: 553 Sorry, that domain isn't in my list of allowed rcpthosts. in D:\wamp\ww It's possible to send mail …

Member Avatar for Vote4WillFree
0
116
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 …

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). …

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 …

0
84
Member Avatar for j4mes_bond25

My Contact form on my website [url]www.allinclusivewebdesign.co.uk[/url] does the job well. However, as the time went by, I've been thinking to make it do MORE than just a basic form, allowing me to receive the information viewers' submits (as it does perfectly well, at the moment). I wonder if anyone …

Member Avatar for zippee
0
141
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 …

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 …

Member Avatar for vegaseat
0
131
Member Avatar for ashneet

I have three question: 1) how can i post a variable which is an array? 2) Lets say i post declare a variable by typing: [php]$_POST['test'] = 'hello';[/php] would it transfer that variable to next page. 3) is it possible to post variable with the header command: [php]header("Location: index.php?Successful=UPDATED&hello=yes");[/php] into …

Member Avatar for ashneet
0
120
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 …

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); …

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 …

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 …

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 …

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; } …

Member Avatar for Lord Soth
0
198
Member Avatar for aish

I fill dropdown lists values from the database then I wants to hard code first value and last value. I already hard code first value it's like this. cboName.Items.Insert(0,new ListItem("----Select----","0")); how can I hard code last value of the dropdown list, I want to add last value as a ----Other----. …

Member Avatar for ChimpusDupus
0
149
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 …

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 …

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 …

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

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 …

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

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 …

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 …

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 …

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 …

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] …

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?

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", …

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?

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.

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 …

Member Avatar for Sannn
0
96
Member Avatar for shalini_roy
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() { …

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?

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 …

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 …

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 …

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

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 …

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!

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 …

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 …

Member Avatar for Comatose
0
221
Member Avatar for J_Search

JavaScripters, This question is in regards to a JavaScript script within a PHP page. I included everything in case a complete understanding is required for a correct response. Thanks in advance. ****INFO**** Rater.php has a JavaScript script, which displays an interactive rating tool. It allows a user to slide a …

Member Avatar for J_Search
0
391
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?

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]

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.

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" …

Member Avatar for vegaseat
0
452
Member Avatar for ashneet

I am trying to get URL from address bar and store it in a variable. Anyone know how it may be done as i was looking on php.net and couldn't find any function that grab URL form the address bar.

Member Avatar for ashneet
0
213

The End.