61 Discussion / Question Topics

Remove Filter
Member Avatar for WolfShield

Hello everyone, I am writing a program that has a part where the user can type in notes, and I would like the program to insert the date and time into the beginning of the note. I have the time and date part figured out: [CODE] import datetime now = …

Member Avatar for Ajeet_8
0
10K
Member Avatar for WolfShield

Hello DaniWeb members, I know I'm not the only one who has tried to talk with non-hackers and used the term 'Crackers', to their total confusion. The problem is that the media has always refered to the Black Hat Hackers as just 'hackers', and that has given the **REAL** (White …

Member Avatar for Raunikkapoor
0
421
Member Avatar for WolfShield

I'm wanting to make a voice controlled program, But when I type: 'import javax.speech' into NetBeans it says that 'javax.speech' doesn't exist. I then downloaded Free TTS, copied the speech.properties like I was supposed to. It still is showing the error. I did some more research and found a place …

Member Avatar for Asif_12
0
2K
Member Avatar for WolfShield

So, While I was working on a project I accidentally closed down my Form1.cs[Designer] window and I haven't been able to find how to open it again. I am using Microsoft Visual C# Express Edition. I have looked around in the program and haven't been able to find a way …

Member Avatar for Momerath
0
1K
Member Avatar for WolfShield

Hello DaniWebies! It seems like everytime I read a story or see something in a movie that involves a programmer and/or hacker/cracker they smoke at some point (usually at the computer). I'm curious: why is this? Is it just the fact that a lot of people smoke and so many …

Member Avatar for BitBlt
0
250
Member Avatar for WolfShield

Hello everyone, I am working my way through the Forger's Win32 tutorial and am on the "Creating a Simple Application" part currently. I am using C++ (instead of C in the tutorial) and the WinGW compiler. When I compile the below code I get this error: main.cpp: In function 'LRESULT …

Member Avatar for ravenous
0
584
Member Avatar for WolfShield

Okay, So I noticed that the joke threads are pretty old ones, and if you're like me then you like to laugh. Well, let's start a new one! (Come on, you know you want to!) ;) So, let's hear some (programming) jokes! -WolfShield

Member Avatar for itzarun
0
1K
Member Avatar for WolfShield

Hello everyone, I am working on a software project that when completed I will need a website to put it on. However, I suck at web design. So I am looking for a free web design program where I can just drag and drop to create my website. What are …

Member Avatar for Ausopenxcell
0
1K
Member Avatar for WolfShield

Hey everyone, I was wondering what some reasons would be to use an XRC file in a program? Does it make it easier to read? Does it help with organization? Are there times where that format is needed/beneficial? Just looking to know, - [B][I]WolfShield[/I][/B]

0
79
Member Avatar for WolfShield

Okay, I have been thinking about writing a GUI toolkit recently, and after doing some searching on the web, I haven't found much on it it's self. But I believe I have the basic idea down, and I was wondering if you guys who maybe know about this could let …

Member Avatar for WolfShield
0
489
Member Avatar for WolfShield

What I want is a pic to show on full background. But the image is not displaying. The code I have ( the relevant parts ): [CODE] <div id="bg"><img src="welcome.psd" width="100%" height="100%" alt="" /></div> [/CODE] And the CSS: [CODE] #bg { position:fixed; top:0; left:0; width:100%; height:100%; } [/CODE] I have …

Member Avatar for rotten69
-1
176
Member Avatar for WolfShield

So today I made a realization in my programming hobby, I LOVE making the User Interfaces of programs. The core stuff I usually lose interest in, but I could program GUIs all day long and not get tired of it. This made me quite happy to finally realize. So, my …

Member Avatar for WolfShield
0
312
Member Avatar for WolfShield

Hey guys, I actually have two questions here. I've made a splitter window with two panels and set the min size to '200'. But how do I make one panel not be allowed to re-size to larger than '200'? And the second question is: if I wanted to put a …

0
88
Member Avatar for WolfShield

Python was my first programming language and I have been programming for about 5 years now. I LOVE Python, but there is one thing I haven't got myself to believe yet. In the Zen of Python one of the entries is: "There should be one, and preferably only one, obvious …

Member Avatar for WolfShield
0
244
Member Avatar for WolfShield

Hello all, I have been programming for about five years now and am finally looking into getting my own computer. :) The deal is I need a cheap computer ($100 - $800 about) that can handle programming (C++, Java, Python, Web Dev, some minor Game Dev) and college life as …

Member Avatar for WolfShield
0
116
Member Avatar for WolfShield

For those of you unfamiliar with Google Documents, it is like Microsoft Word/Excel/etc. online. I would like to create a simple online document editing program where a logged-in users could edit and save a book or other text-based document. However I do not have a lot of Web Programming experience …

0
77
Member Avatar for WolfShield

C++ was once the King of programming. It would crush any competitor! But, now it seems that C++ is getting less popular. New programmers are rushing to easier to learn, higher level, programming languages (e.g. Java). And with Microsoft coming out with C# which is gaining popularity (even though it …

Member Avatar for Netcode
0
1K
Member Avatar for WolfShield

I have a wxPython project that I want to add a syntax highlighting feature to the RichTextCtrl. I have the function and the binding, but it doesn't format the words when I type. If I bind the function to a menu item it works just fine. I am using "this" …

0
89
Member Avatar for WolfShield

I have some program ideas that I would like to build for PC, Mac, and Linux/Unix. The process I have in mind is to write the core libraries in C++, then program each UI based on OS. Windows: C# Mac: Objective-C and Cocoa Linux/Unix: C++ and GNome/Gtk But, I only …

Member Avatar for mike_2000_17
0
216
Member Avatar for WolfShield

Hello guys, I am very interested in the Common Lisp programming language, but I need to know if it can be used as a general programming language. As in, if I wanted to create an IDE for three separate languages, then make an image editing programs after that, then make …

Member Avatar for WolfShield
0
576
Member Avatar for WolfShield

Hello everyone, I am a Java developer and have been considering making a script editor (stand-alone) for the [URL="http://unity3d.com/unity/"]Unity3d[/URL] Game Engine (a friend of mine programs in it). However I need a good name for it. I asked the Unity Community to see what they thought and have come up …

0
81
Member Avatar for WolfShield

So, What are some of your non-programming hobbies? I was on the local swim team for seven years. I enjoy doing pretty much anything outside with my family or friends. And I am collecting music (I only have about twenty CDs right now). Also, I am on a mission to …

Member Avatar for jwmollman
0
209
Member Avatar for WolfShield

So guys, I am thinking about starting a little business for some pocket change. What I am thinking about is becoming a middle-man between people who want a program or website, and freelance programmers. The idea is that the person or company would not have to learn how an entire …

Member Avatar for BitBlt
0
245
Member Avatar for WolfShield

So, I am working with some code I don't understand. Here is the file: [CODE=Python] import sys import os def change_ext(directory, old_ext, new_ext): for f in os.listdir(sys.argv[1]): base, ext = os.path.splitext(f) if ext[1:] == sys.argv[2]: os.rename(f, "%s.%s" % (base, sys.argv[3])) if __name__ == '__main__': if len(sys.argv) < 4: print "usage: …

Member Avatar for WolfShield
0
430
Member Avatar for WolfShield

Hey guys, I am curious about how many teen programers there are here. I am 16 and I have been hobby programming for about three(3) years now. I have looked around and I haven't found any forums for teen programers, but I know there are a fair number of teen …

Member Avatar for thing789
0
315
Member Avatar for WolfShield

I am going through a tutorial and have come to opening a file. I'm running it in Command Prompt, but I know there is no problem with that because I have been running code in it without problems. Here is the code I'm supposed to be typing: [CODE=Python] f = …

Member Avatar for WolfShield
0
469
Member Avatar for WolfShield

So, I am looking into web creation and have started making a site just to see how the coding of websites work and how the files link to each other. So, what I am trying to do is when the page loads it prompts "What is your name?" with a …

Member Avatar for WolfShield
0
4K
Member Avatar for WolfShield

Hello guys, I am pretty new at (good) programming, so I had some pretty bad code I was using until I ran across some code and decided to model my code after it. I have the code so it has no errors, but when I run it (NetBeans) it doesn't …

Member Avatar for WolfShield
0
148
Member Avatar for WolfShield

Hello all, I have a window with a JList inside it. I would like each line in the JList to show up in a certain font. But when I try the 'setFont(font)' method where 'font' has already been defined it say that it cannot find the symbol 'setFont(java.awt.Font)'. Here is …

Member Avatar for WolfShield
0
137
Member Avatar for WolfShield

I have a lot more code than I'm going to post here, but I am posting the relevant parts. What I have is a Calculator program. Here's the code: [CODE=Python] num1 = None num2 = None oper = None def calculate(num1, num2, oper): print("calculate() called") if(oper=="+"): answ = Decimal(num1) + …

Member Avatar for woooee
0
261
Member Avatar for WolfShield

Well, For the past week I had been spending all of my time programming and posting on Daniweb. However, for the last two days I haven't been able to get on a computer. Today I just got on Daniweb for the first time in two days and looked at all …

Member Avatar for iamthwee
0
384
Member Avatar for WolfShield

Hey all, I am working on a calculator program and am using a StringVar() for the Entry widget. What I need is to delete the last char from the StringVar() when the user hits the 'Backspace' button. I have everything bound and all, I just don't know what the code …

Member Avatar for WolfShield
0
1K
Member Avatar for WolfShield

Hi, I am running Windows Vista. I am trying to run a .py file, but the computer says it doesn't know what program to run it with. So, I clicked 'Choose Default Program', then I found 'python.exe' and clicked it. But 'python.exe' didn't show up in the 'Choose Default Program' …

Member Avatar for thetazva
0
232
Member Avatar for WolfShield

I would like to make a LUDICROUSLY high number calculator in Python. I am thinking 60 numbers and a decimal point. So numbers could be in a format like these: 60 numbers, 30 numbers decimal point 30 numbers (30nums.30nums), or decimal point 60 numbers (.60nums). E.g. 999,999,999,999,999,999,999,999,999,999.999999999999999999999999999999 But, I am …

Member Avatar for WolfShield
0
321
Member Avatar for WolfShield

Hey guys, I am making a calculator program and don't want the user to type directly into the Entry, so I made the Entry 'readonly'. But that makes it to dark for my liking, so I am trying to set the readonlybackground='white', but it gives me an error saying that …

Member Avatar for WolfShield
0
395
Member Avatar for WolfShield

I am going through the Tk/Tkinter tutorial and when I try to run the menubar program I get two windows instead of a menubar on one window. Here is the code: [CODE=Python] from tkinter import * from tkinter import ttk root = Tk() root.option_add('*tearOff', FALSE) win = Toplevel(root) menubar = …

Member Avatar for HiHe
0
183
Member Avatar for WolfShield

Hey everyone, Yesterday I wrote a simple Hello World program and saved it as .py. However, when I tried to run the .py file it didn't have a default program. So, I went to 'Choose Default Program', found 'python.exe' and clicked it. 'python.exe' did not show up in the 'Choose …

Member Avatar for WolfShield
0
191
Member Avatar for WolfShield

Hey guys, I need to find the length of a long variable (how many numbers it holds). So if the variable holds: '1234567890' then I want to return an int value of '10'. varName.Length() doesn't work, and I haven't found anything from google or msdn. Thanks for the help, - …

Member Avatar for WolfShield
0
194
Member Avatar for WolfShield

So, What do you guys think? Are humans usually good or bad? To be trusted or not? A good example: If you were to leave a box of something (cookies, donuts, soda, whatever you like (beer? :D)) and left a sign that said: "One dollar each." Would most people pay …

Member Avatar for WolfShield
0
182
Member Avatar for WolfShield

Hey, I am working on a book writing program right now and I am wondering what the best way of saving the book(s) would be. I would like all of the books in one place, and I need to divide between all of the chapters in the book. So I …

Member Avatar for WolfShield
0
213
Member Avatar for WolfShield

Hello everyone, I am creating a C# application that has a Web Browser imbedded in it. I am using Microsoft Visual Studios C# Express Edition so I just dragged and dropped the web browser into the application. What I notice though, is when I run it and do a search …

Member Avatar for WolfShield
0
128
Member Avatar for WolfShield

Hey all, I figured this would be the best place to post this, since it doesn't have to do with code or hardware. Under each member's name there is a title of sorts. I've seen from 'newbie' to 'posting shark'. I know that if you contribute you can customize it …

Member Avatar for WolfShield
0
191
Member Avatar for WolfShield

Hey everyone, I'm trying to figure out how to convert from an Integer or a Double into a string. I want a string variable to print out on a command line. Thanks for any help. - [B][I]WolfShield[/I][/B]

Member Avatar for rubberman
0
193
Member Avatar for WolfShield

I am thinking of learning C++ (I already know Python and Java), and a friend of mine is thinking of learning C# (already knows some Java and JavaScript). I know there is a long debated "C++ or C#" ordeal out there, so I am not asking about that! :) (I've …

Member Avatar for WolfShield
0
565
Member Avatar for WolfShield

I've run java programs in Command Prompt before and it worked, but today I tried and it's saying: 'javac' is not recognized as an internal or external command, operable program or batch file. I am running Windows Vista and have four (4) files under Java: jdk1.6.0_23 jdk1.6.0_24 jre1.6.0 jre6 Umm, …

Member Avatar for DelphiGuy
0
234
Member Avatar for WolfShield

Hello, I have a program that has three text areas, and I'm going to add an image viewer. My question is how to save and load the text and images so that when the user clicks 'save' it will save a file with the text and images, and when the …

Member Avatar for sourabh17
0
154
Member Avatar for WolfShield

Hello, I've just recently found out about Python scripting and I am interested in programming an auto login script. However, when looking around, I haven't found any Python web scripting tutorials or guides. If someone could either explain to me how it works, or point me towards a good tutorial …

Member Avatar for WolfShield
0
514
Member Avatar for WolfShield

Okay, So this code I have is giving me an error: non-static variable this cannot be referenced from a static context. Here is the code: [code=java] package macey; /** * @author WolfShield */ import java.awt.*; import java.awt.event.*; import javax.swing.*; public class DemoConv implements ActionListener { private JLabel answerL; public static …

Member Avatar for WolfShield
0
158
Member Avatar for WolfShield

Okay, I'll just post my code and see what you guys can make of it. I'm getting the error that the 'main' class could not be found, but as you can see I have it in the code. Thanks for the help! [code=java] package macey; /** * @author Mike */ …

Member Avatar for Taywin
0
395
Member Avatar for WolfShield

Hello everyone, I am trying to get an ActionListener to work in Java. On lines 310 and 312 it says 'cannot find symbol: variable calcDisplayF'. I am a complete noob when it comes to Event Handling so any help on this subject would be greatly appreciated. Here is the code …

Member Avatar for WolfShield
0
166

The End.