43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for RogerGC

**So i am having trouble with printing as you have noticed with the title** **i need to have 2 things print after the 2 menu choices. it is a smiley face creator** `Inline Code Example Here import time def eyes_menu(): print "These are your choices for eyes:" time.sleep(1) print " …

Software Development python
Member Avatar for RogerGC
0
154
Member Avatar for srinivas88

Hi, I'm running a script to bring down the logical ip address . But if the system doesnt have that logical ip addresss then i get the following error print on terminal - SIOCSIFFLAGS: Cannot assign requested address I just want to know whether there is a way to suppress …

Software Development lan-wan shell-scripting
Member Avatar for L7Sqr
0
313
Member Avatar for Begginnerdev

Hello my fellow DanniWebbers, it is me againg. I have yet another question for you guys and gals. I have a parent panel with child panels that contain images. I am looping through the panels to save the images in the order the panels appear in the parent panel. I …

Software Development vb.net
Member Avatar for Begginnerdev
0
153
Member Avatar for Syrne

Hi guys, I am toying around with ArrayLists and objects and I created a quick program to add some objects to an ArrayList and print the list afterwards. I ran into an issue, though. I am overriding the toString method in order to display the names of the objects I …

Software Development java
Member Avatar for Syrne
0
164
Member Avatar for CodeMonkeyJunk

This is the criteria i am required to get my program to do. I have looked on google for help but I can't find any. Enhance / modify the program you created in the previous assignment. Create a class ScanArray. This class should have two methods FindMax and FindMin. Class …

Software Development java
Member Avatar for CodeMonkeyJunk
0
417
Member Avatar for dark_sider_1

Hi there, I'm sorry if this is a vague question, but I've just been assigned to create a color animation project with GLSL, and I've never really used it before. The criteria for the assignment is that the animation should depend on object coordinates, vary over time and should use …

Software Development c++ opengl
Member Avatar for dark_sider_1
0
282
Member Avatar for darthswift00

How do i go about creating an exception handler when i want to login to my form to access the rest of my forms. The username and password are linked to server.What if it doesnt connect to server? here is coding for me to login: Private Sub btnLogin_Click(ByVal sender As …

Software Development vb.net
Member Avatar for darthswift00
0
176
Member Avatar for Mr.BunyRabit

hey there. (i first posted this question on the wrong forum... idiot.. i know) I want to change the looks of my buttons in netbeans (6.9.1) But when ever i try (when i go to the properties -> icon -> and try to select the images, ONLY a few of …

Software Development java
Member Avatar for Mr.BunyRabit
0
488
Member Avatar for Mr.BunyRabit

Hey there i have a problem with a program that works on other pc's but not on my laptop. (it connects to access) When i try to run it it gives me the error "AAAjava.sql.SQLException:[Microsoft][ODBC Driver Manager] data source name not found and no default driver specified" I already reinstalled …

Software Development java microsoft-access microsoft-office
Member Avatar for Mr.BunyRabit
0
210
Member Avatar for Mr.BunyRabit

Hey there I started coding again on my old project in netbeans but i have no idea what kind of a prject it is, for example, is it javaEE or whatever. like in the image attached. How can i find out what my current project type is? Thanx

Software Development java
Member Avatar for Mr.BunyRabit
0
110
Member Avatar for Mr.BunyRabit

Hey there. Whyy is my netbeans so retarted?! is this a common problem? or is it just with me? Ive attatched two images to show you what it does to my buttons. image one is the actualy program running image two is in the design view Thanx

Software Development java
Member Avatar for Mr.BunyRabit
0
102
Member Avatar for jhedonghae

![Untitled57](/attachments/small/3/Untitled57.png "align-left") hi everyone! below i will be showing you the codes of my scheduling module for an enrollment system..my problem is that on how to set conflict. i included a screenshot of the interface for further understanding... i hope you could help me... here is the code: Option Explicit …

Software Development dataset open-source vb.net
Member Avatar for jhedonghae
0
575
Member Avatar for bathtubbuddy

Hi everyone, im programing an agenda in c++ but im having a little trouble erasing an entry. Sorry the code is long, i was too lazy to use call functions... anyways bear with me. i tried setting the value to NULL on the entry i want to erase but that …

Software Development c++
Member Avatar for Lerner
0
213
Member Avatar for DoubleGee

Hello guys, I'm fairly new to Java. I have been asked to create a simple GUI (JLabel, JTextField and 3 JButtons) I have managed to create the GUI but I'm having trouble with making the buttons work. Here is my actionPerformed method: public void actionPerformed(ActionEvent evt) { if(evt.getSource().equals(printButton)) // This …

Software Development gui java
Member Avatar for 117
0
203
Member Avatar for Sahil89

Hello friends, Its my first thread here. I am lookin for source from where i can learn to change control properties at runtime using VB.NET. Actually I havent started working on the project so I cant mention exactly what I need. So if you can suggest me some source from …

Software Development vb.net
Member Avatar for Sahil89
0
186
Member Avatar for KickAssElmo

I want to call 'n' which is the input number followed by a string. I've been putting it like this: (n 'string') but it is wrong. How do I write it?

Software Development python
Member Avatar for KickAssElmo
0
86
Member Avatar for iweir

So I'm working on an assignment where we have to make a deck of cards using a Card class and a Deck class and when I try and test the constructor by testing the size i get this: Running 1 test*** glibc detected *** runner: free(): invalid pointer: 0x00902ff4 *** …

Software Development c++
Member Avatar for iweir
0
175
Member Avatar for Begginnerdev

Hello my fellow Danniwebbers, I am going crazy here. I have been messing around with the scanning packages(WIA and TWAIN) and have gotten WIA to work, but not as intended. At first I used the common dialog to show a Image Aquisition Wizard, but that did not return desired results. …

Software Development vb.net
Member Avatar for Begginnerdev
0
907
Member Avatar for nschessnerd

Hey, Ive been working on a program for a while, and once in a while it will crash for an unknown reason. I checked the error log and it says exception 0xc0000005 which means i'm writing somewhere i shouldn't. What are some common causes of this? Also is there anyway …

Software Development assembly c++
Member Avatar for MastAvalons
0
217
Member Avatar for kiail

Hello, I'm needing help with a query I've been working on for a week now, I've tried using IEnumerable and tried using the query like a var, to no avail. Basically I'm just trying to query a range using LINQ for example, I need to find the range of invoices …

Software Development c#
Member Avatar for kiail
0
538
Member Avatar for jarograv

import javax.swing.JOptionPane; public class Login{ public static void main(String[] args){ String username = JOptionPane.showInputDialog("What is the desired username?"); String password = JOptionPane.showInputDialog("What is the desired password?"); boolean unlock=false; while(unlock==false){ String usernameinput = JOptionPane.showInputDialog("What is the username?"); if(username==usernameinput){ String passwordinput = JOptionPane.showInputDialog("What is the password?"); if(passwordinput==password){ System.out.println("access granted"); unlock=true; }else{ System.out.println("denied"); …

Software Development java java-swing
Member Avatar for jarograv
0
120
Member Avatar for jhedonghae

![maintenance](/attachments/small/3/maintenance.png "align-left") i have here below codes of my maintenance module..my problem is that when i click the edit button and search for student number it makes error in saving but when i use the listview to edit it saves successfully...please help me i'll be attaching a sample screenshot here's …

Software Development dataset listview open-source vb.net
0
77
Member Avatar for jackbauer24

Hey guys, sorry I didn't post for long. Now here I am, with a new issue. Here is my code:- import java.applet.*; import java.awt.*; import javax.swing.JFrame; public class HelloWorld extends JFrame { public HelloWorld() { setVisible(true); setResizable(false); setSize(300, 300); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); } public void paint (Graphics g) { g.drawString("Hello World!", 50, …

Software Development java java-swing
Member Avatar for JamesCherrill
0
301
Member Avatar for kampao00

i have codes for adding data to listview from database but there's a problem .. Public Sub showmyrecords() Dim lvi As ListViewItem Dim dt As New DataTable Dim ds As New DataSet ' Dim intCount As Integer ds.Tables.Add(dt) Dim da As New OleDbDataAdapter("Select * from Schedulings where YearLevels = '" …

Software Development dataset listview vb.net
Member Avatar for kampao00
0
147
Member Avatar for Majestics

at javax.swing.table.DefaultTableModel.setValueAt(Unknown Source) at javax.swing.JTable.setValueAt(Unknown Source) I am setting a table row manually.... its just for checking purpose , i have 10 rows and 10 columns but still i am getting this error, please help me to resolve it....

Software Development java java-swing
Member Avatar for Majestics
0
283
Member Avatar for sinnebril

Hi there again, I'm still a newby in Python, so I'm taking the Google Python Class. They talk about `ls -l` and `rm -rf` (with the last command the class started laughing) But I don't understand it. I googled it and a hint came to me, that is is a …

Software Development python
Member Avatar for sinnebril
0
3K
Member Avatar for dejanc

Hello daniweb, Need someone to show how to get value from gridview column into textbox. For example if I have EmailGridview with 2 columns ID, and EMAIL. And would like under gridview to show Email value also in textbox. I'm still learning vb.net, and I was trying to do many …

Software Development vb.net
Member Avatar for poojavb
0
3K
Member Avatar for jhedonghae

please help me.. i keep searching anywhere but find no answer i want to set the default value of a combobox in my edit account module based on the levelofaccesstextbox in my login module but my codes doesn't work here's my code: Private Sub editaccount_Load(ByVal sender As System.Object, ByVal e …

Software Development vb.net
Member Avatar for jhedonghae
0
157
Member Avatar for mehnihma

Can you help me with this code, I do not know what is wrong? Thread is stuck somewhere? import java.io.*; import java.util.*; import java.util.concurrent.locks.ReentrantLock; public class Pokemon { private static ArrayList<String> pokemonList = new ArrayList<String>(); private static ArrayList<Thread> threads = new ArrayList<Thread>(); private static ReentrantLock lock = new ReentrantLock(); public …

Software Development java
Member Avatar for mehnihma
0
168
Member Avatar for frnds2vivek

Hi..actually am stuck up at a place while converting my current projet from DAO to ADO. As there is no equivalent function for Tabledef in ADO..thus i cant figure it out, as to how to replace the following code with. The following code searches for the table with name "BlockTable". …

Software Development visual-basic
Member Avatar for frnds2vivek
0
690
Member Avatar for Valiantangel

You can only inherit from one parent class in java. true or false.Why?

Software Development
Member Avatar for thines01
0
76
Member Avatar for userct

I want to be able to write a program that repeatedly prompts the user to enter an integer. The program determines if that numbers is perfect and then writes out a message saying if it is or not, then prompts once again. I'll end the loop (and the entire program …

Software Development assembly mathematics
Member Avatar for userct
0
2K
Member Avatar for yeeitsneo

hi. would someone minf giving me a snippet of a code where a program searches for a specific character in a string? for example. if i have a label that contains a string "abcd" the program would check if the characters "b" and "d" exist in the string regardless of …

Software Development visual-basic
Member Avatar for ChrisPadgham
0
1K
Member Avatar for wildplace

i created some segement of shared memory using <sys/shm.h> <-- im not sure what this thing called.. shared memory? seems shared memory doesnt like dynamic allocation and vectors what are some apporaches i could create a 2D array like structure in shared memory?

Software Development c++
Member Avatar for wildplace
0
172
Member Avatar for abulut

Hi, I tried to make a script but I need some help from you guys.. ıt will be like a fixing.. The output which ı had from my script and my script were sent as an attachment. 1)Can i get that output as left aligned? 2)Besides can you guys make …

Software Development perl
Member Avatar for d5e5
0
219
Member Avatar for f4fjks

hey all! i created a keylogger of my own in visual c++ 2010, and included iostream, windows.h winUser.h the problem m facing is that it runs only when visual c++ is open. as soon as i try to close it, it pops a message to stop debugging and if i …

Software Development c++
Member Avatar for f4fjks
0
949
Member Avatar for FelineHazard

Hi all, I encountered some weird act from the return(); function. I'm doing some book exercise in recursions: write a recursive function that makes a summation 1 + 1/2 + 1/3 + 1/4 + ... + 1/n. Rather basic. So I wrote this: float summation(int n) { if (n == …

Software Development c++
Member Avatar for FelineHazard
0
195
Member Avatar for kampao00

hi! kindly help meeeee :D Populating the combo box with the list of items from the one of the column in table from database. Based on the selection of item in the combo box, the another combobox should be populated with value corresponding to the selected item in the first …

Software Development vb.net
Member Avatar for kampao00
0
1K
Member Avatar for mehnihma

How to take any bumner of arguments form command line and to search in arraylist> I now do it in with defined number of arguments and take every argument and search, but this is unlcear to me? Thanks

Software Development java
Member Avatar for mehnihma
0
68
Member Avatar for deanus

Hi, I've been using C++ for quite a while but recently I discovered this peculiar behaviour. The following code works as expected: #define TWO 2; int nVal = 3 + TWO; cout<<nVal<<endl; // output is 5 ...if on the other hand I place the literal integer after the '+' in …

Software Development c++
Member Avatar for deanus
0
107
Member Avatar for saad749

I have this Regular Expression in C#: Regex myRegex = new Regex(@"^[a-zA-Z]{1}\s(! | && | \|\| | -> | <->){1}\s[a-zA-Z]{1}$"); if (myRegex.IsMatch(expression)) { validated = true; } else { validated = false; } and I would like to match the following types of Strings: A && B A -> B …

Software Development regex
Member Avatar for saad749
0
198
Member Avatar for mitchfizz05

Hi everyone. I am making an application that you need to sign up and login to. I want to use an online SQL database to store the login information. I know how to use a local SQL database, but I want to use an online database. Please help :) BTW, …

Software Development sql vb.net
Member Avatar for mitchfizz05
0
187
Member Avatar for alapeh

hi all pros, below is my vb6.0 code. the click command is to save my text and picture. there is no problem for my text. but, i have a problem after saving the picture. the picture can be saved but it is not availabe for preview. is there any fix …

Software Development visual-basic
Member Avatar for Jx_Man
0
4K
Member Avatar for poojavijay
Member Avatar for samsylvestertty
0
99
Member Avatar for cheiL

Hi there I have a few lines of code that I would like to ammend but have been unsuccessful in doing so. I have posted in a few other forums with no luck, hopefully somebody here can help me out. I have a delete statement which I have been asked …

Software Development session sql vb.net
Member Avatar for cheiL
0
137
Member Avatar for murnesty

The local pointer will be remove after i go out from that scope? or will remain? Example: int glb1 = 2; int main () { int var1 = 0; fnCall1(); fnCall2(); //at here } void fnCall1 () { int tmp1; tmp1 = 10000; } void fnCall2 () { int *ptr1; …

Software Development c++
Member Avatar for rubberman
0
133
Member Avatar for poojavb

Hello Friends, I need idea for my below process... I have one medical prescription form in my table....which will generate bill...and a receipt number will be generated in crystal reports.... If suppose a bill is generated for a particular transaction and after suppose few days i need a duplicate bill....how …

Software Development vb.net
Member Avatar for poojavb
0
100
Member Avatar for nuclear

Straight to the point, I am using SOIL (http://www.lonesock.net/soil.html) library to upload images into OpenGl. Loading textures works fine but there is this thing i dont fully comprehend. Lets say I load an image into OpenGL via SOIL and I want to reuse the same image over few other textures …

Software Development c++ opengl
Member Avatar for nuclear
0
2K
Member Avatar for tom12

Hey guys i'm new to visual basic and im trying to figure out where im going wrong. if you have any tip or a point in the right direction. i would be gratful thank you Public Class frmMain Public counter As Integer = 0 Public card1 As Integer Public card2 …

Software Development vb.net visual-basic
Member Avatar for Begginnerdev
0
80
Member Avatar for abed1986

Hello everyone, I am trying to read in a folder path, delimited by / and ending in COSC, and then output the last field to a file. It is supposed to match all directories that end in a course name, for example, COSC-101 or COSC201. I am using the following …

Software Development shell-scripting
Member Avatar for abed1986
0
141

The End.