132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Turo1

I am getting this error "The program is still running! Do you wan to kill it?" from the python IDE when I run the following code. Any ideas why this is happening? #!/usr/bin/python import sys ######################################################################## # prints program usage ######################################################################## def printUsage(): print "** Print part of Bible **" …

Software Development ide python
Member Avatar for james.lu.75491856
0
2K
Member Avatar for sirlink99

I am attempting to make a Dictionary like software. The way this software will work is that You will be able to enter a word into a search bar, and the dictionary will search for the word. It will display the word, the pronunciation and the meaning of the word …

Software Development java
Member Avatar for sirlink99
0
435
Member Avatar for nytman

Dear list, i have problem, i was going through with python programming and found there is something missing in case of float data types. what i am trying to do is: i am writing a simple program in which i asked user to input salary, i want to ristrict user …

Software Development python
Member Avatar for nytman
0
19K
Member Avatar for benjo.s.lucas

I want to sort it by not using Array sorting. import java.util.Scanner; public class practice5 { public static void main(String[] args) { Scanner p = new Scanner(System.in); int i,j,temp = 0; int min=0, max=0; String w; System.out.print("Enter a Number to sort:"); w = p.nextLine(); String[] m = w.split("\\s+"); int [] …

Software Development java
Member Avatar for somjit{}
0
306
Member Avatar for AquaNut

Hi All, I am trying to write a small app that reads a logfile in the form of: 01/07/2013 07:40:12 => Start of process. 01/07/2013 07:40:17 => Preparing authentication token 01/07/2013 07:40:17 => Attempting authentication with supplied credentials 01/07/2013 07:40:20 => Authentication successful! 01/07/2013 07:40:20 => Using BinarySecurityToken: a9d4e88c077e342d 01/07/2013 …

Software Development display
Member Avatar for AquaNut
0
265
Member Avatar for yudop

hello, I want to write a cybercafe application using java that allows users to login wit a preconfigured password that also reflect different time the cafe client wishes to spend. I dont know how to start and would be glad if you guys could show me where to start from. …

Software Development java
Member Avatar for JamesCherrill
0
269
Member Avatar for james.lu.75491856

Traceback (most recent call last): File "C:/Users/James/Desktop/hugevar.py", line 2, in <module> class var(tempfile.TemporaryFile): TypeError: Error when calling the metaclass bases function() argument 1 must be code, not str Why does this happen and how can I fix it?

Software Development oop python
Member Avatar for Gribouillis
0
1K
Member Avatar for DeadH34d

I've been reading through this introductory book on Python, and I've been following along fairly well. Compared to C++, Python seems to make more sense to me. That is, until I reached a section on Logical Operators. I don't completely understand what I just typed in to IDLE, and the …

Software Development python
Member Avatar for Gribouillis
0
409
Member Avatar for mferarri

Hi everyone, I'm getting the following error: Cannot apply indexing with [] to an expression of type 'System.Array' I'm trying to print out the first element of the array as a string. Can someone explain what the error message means? using System; using System.Collections.Generic; public class MyClass { public static …

Software Development
Member Avatar for kvprajapati
0
144
Member Avatar for james.lu.75491856
Member Avatar for bumsfeld
0
101
Member Avatar for sreevenkatg

in my dev c++ i'm not getting the window at the bottom of the screen which shows our errors after compilation..how do i find it..?

Software Development c++
Member Avatar for rubberman
0
81
Member Avatar for SaRa Ahmad

hi every body , i have recently developed a system using vb6 forms but i need a help o f how to save and view a file with the pdf and .dwg and view it in a form , any help plz ??

Software Development pdf visual-basic
Member Avatar for SaRa Ahmad
0
2K
Member Avatar for IsaacMessi10

Close is a Custom Button I made. Dim CloseButton As New Close Private Sub CloseButtonCode() Handles Me.Load CloseButton.Anchor = AnchorStyles.Top And AnchorStyles.Right CloseButton.Enabled = True CloseButton.Location = New Point(1170, 0) CloseButton.Size = New Size(30, 30) CloseButton.Visible = True Controls.Add(CloseButton) AddHandler CloseButton.Click, AddressOf CloseButtonClick End Sub Whenever I Maximise, this button …

Software Development vb.net
Member Avatar for IsaacMessi10
0
95
Member Avatar for MasterHacker110

Well this is not as much as something that I dont know how to implement, but more something that I dont know why I would want to implement it. When I have a simple class, say this one: class Cube { public: Cube(int x, int y, int z); int return_area(); …

Software Development c++
Member Avatar for rubberman
0
115
Member Avatar for Ryan_6

Hi all, I have a save button that should be disabled unless the checkbox is 'checked' the code I have makes no difference even though I think it should! Any help is appriciated. private void EnabledCheckBox_CheckedChanged(object sender, EventArgs e) { var checkbox = (CheckBox)sender; foreach (Control c in this.Controls) { …

Software Development
Member Avatar for Ancient Dragon
0
141
Member Avatar for baabjitvk

i'm using visual studio 2008 implementing a project in vb data base is ms access. its about 500 lines of code. its taking llllllllllllllllllllllot of time for execution. can any one help me please to improve speed...?

Software Development visual-basic visual-studio
Member Avatar for rishif2
0
374
Member Avatar for Shodow

how to delete in lisview base on selected items help pls this is my sql code for delete Try If identifier = Nothing Then MessageBoxEx.EnableGlass = False MessageBoxEx.Show("Please Choose an Item to Delete", "Specialized Training", MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Exclamation) Else Select Case MessageBox.Show("Are you sure you want to delete?", "Specialized Training", MessageBoxButtons.YesNo, …

Software Development listview vb.net
Member Avatar for Reverend Jim
0
285
Member Avatar for Paul_15

I have an issue within VB Express 2008 which I am struggling to resolve. I am trying to take the information from 3 columns in a CSV file (ServerRef, ServerName, ServerIP) with no header row and populate 3 combobox's for users to select from to initiate an RDP connection. So …

Software Development vb.net visual-basic
Member Avatar for Paul_15
0
241
Member Avatar for marouane12

hi, i made a vb.net project thant make connection between PC and PIC18F2550 using usb temple (USB HID) when i run it i have this message "badimage exception". I use windows 7 64 bits . please help me this is the code.

Software Development vb.net
Member Avatar for marouane12
0
3K
Member Avatar for warren13

I have 7 edit text boxes established as preferences they are workiing correctly and when selected they display their vaue. But I would rather that they display their vaue from the preferences screen if a value has been entered instead of requiring the need to click the preference to open …

Software Development android java
Member Avatar for JamesCherrill
0
197
Member Avatar for nikki05

Hi, I am able to change the language in the windows form by selecting language from ComboBox. However, I want to make it dynamic so that it will change the language of all the other forms by selecting language from ComboBox in the first form. I got some clues from …

Software Development microsoft vb.net
Member Avatar for Eternal Newbie
0
707
Member Avatar for laguardian

Hey guys! I'm working on this project of mine and I can't seem to get it to work. It keeps saying that I haven't initialized the variables: name, address, email, contactNumber, numberOfVisits. I currently have 3 classes in the package: PagamutanClinic, Clinic, and Patient. Here's my Main: import java.util.Scanner; public …

Software Development java
Member Avatar for JamesCherrill
0
150
Member Avatar for sushilsth

Sub loadtodgv() Dim sqlquery As String = "select * from nursery" Dim sqlcommand As New OleDbCommand Dim sqladapter As New OleDbDataAdapter Dim table As New DataTable With sqlcommand .CommandText = sqlquery .Connection = conn .ExecuteNonQuery() End With With sqladapter .SelectCommand = sqlcommand .Fill(table) End With DataGridView1.Rows.Clear() For i = 0 …

Software Development vb.net
Member Avatar for sushilsth
0
206
Member Avatar for Fangling

Hi i have a datatable, dt3 showing: adminno paperno 111411H 4 111411H 9 182938C 2 192839A 3 111380Y 26 111380Y 36 111380Y 40 182737N 26 182737N 40 i want to populate: conflictingpaper numberof students adminno 4:9 1 111411H 26:40 2 111380Y 182737N ... .. .... ... i have these codes: …

Software Development open-source vb.net
Member Avatar for Fangling
0
236
Member Avatar for eos.paks

Good Day, *I would like to ask a Free SDK or a Program that generate a Barcode that will base on a User Input and have capability to Print it?* Your help is Highly Appreciated. Thank You, Eos

Software Development vb.net
Member Avatar for heartbeet
0
177
Member Avatar for singularity~

I am using the BusyIndicator from the WPF Toolkit in my WPF application. I am trying to access the label (artistLabel) from the C# code behind. Unfortunately I cannot access the label if it is inside the busy indicator. I am sure that it's some kind of binding or scope …

Software Development asp.net c#
Member Avatar for lizhenfan
0
4K
Member Avatar for senergy

I've googled for a while and found few things (I hate using external libs such as cURL) and I don't really have experience with HTTP, so the question is: how can I interact with websites using sockets? so something like this: 1. I connect to the website 2. I store …

Software Development c++
Member Avatar for senergy
0
374
Member Avatar for Patrick_3

I would like to have a file in my project which contains variables for use by all classes. I this possible to accomplish efficiently. I have heard that using a module with static varibles could work.

Software Development vb.net
Member Avatar for Reverend Jim
0
234
Member Avatar for gvenkatesh1989

Help me to load data into Jtable when jframe loads...

Software Development java
Member Avatar for prrmod
0
96
Member Avatar for johnappiah

how can i develop a new accounting software

Software Development
Member Avatar for rubberman
0
114
Member Avatar for DarkLightning7

I am working on a mapping system to support pathfinding over areas that are too large to hold in memory. The problem i have run into is how to load only a small part of the map when its all linked together and then dynamicaly load more of the map …

Software Development data-structure java operating-system sql
Member Avatar for JamesCherrill
0
223
Member Avatar for fsusem1nolez

Greetings, this is my first time posting here, I've been a long time lurker. I have a lab assignment which is: > Write an application where you ask the user to input the price per letter (PPL), and then ask the user to input the sentence they want printed. The …

Software Development c++
Member Avatar for deceptikon
0
430
Member Avatar for sumitrapaul123

Hi, Its an c# winform application. I have different parameters such as UI colors, Fonts, control size which user changes from UI and saves it. Each parameter implementation is kind of big so we have a saparate assemblies also. All the parameters will be displayed in one UI and if …

Software Development c#
Member Avatar for Ketsuekiame
0
251
Member Avatar for Fangling

Hi, can anyone tell me whether im storing my data into list<of T> correctly? My codes are as follows: Dim connect As String connect = "Provider=Microsoft.ACE.OLEDB.12.0; Data Source=" & Application.StartupPath & "\segdata.accdb" Dim conn As New OleDbConnection(connect) Dim cmd As OleDbCommand = New OleDbCommand cmd.Connection = conn conn.Open() cmd.CommandText = …

Software Development open-source vb.net
Member Avatar for Begginnerdev
0
260
Member Avatar for varun7952

Hi i m getting problem in uploading files to my site i am not expert in java i m novice whenever i trying to upload files via jupload it give me error ClassNotFoundException wjhk.jupload2JUploadApplet [Error Picture](http://postimg.org/image/qt0s56cr3/) some days back it was working fine and its w-script which use jupload to …

Software Development java
Member Avatar for JamesCherrill
0
150
Member Avatar for guy40az

I have a java program that dispays the temperature in digit format ie 87.7F. I would like to make a thermometer using graphics to do this. I have only been using java for 2 weeks now and just wonding if someone could give me pointers on the best way to …

Software Development image java
Member Avatar for JamesCherrill
0
265
Member Avatar for vividiah

I use this to make a VB6 program, the program was created in order to enter a lot of the songs on the list with a single select listbox and press the save button once. happens after the first song on the list that has been stored, then the process …

Software Development visual-basic
Member Avatar for vividiah
0
85
Member Avatar for CainKilgore

Hi everyone, first time poster so I apologise if I'm not that great. Basically, I am looking into creating a Minecraft Launcher and I cannot for the life of me get this to work correctly. public static String authCode = "cmd javaw.exe -Xmx1G -Djava.library.path=\"%APPDATA%\\.minecraft\\versions\\1.6.2\\1.6.2-natives\" -cp \"%APPDATA%\\.minecraft\\libraries\\net\\sf\\jopt-simple\\jopt-simple\\4.5\\jopt-simple-4.5.jar;%APPDATA%\\.minecraft\\libraries\\com\\paulscode\\codecjorbis\\20101023\\codecjorbis-20101023.jar;%APPDATA%\\.minecraft\\libraries\\com\\paulscode\\codecwav\\20101023\\codecwav-20101023.jar;%APPDATA%\\.minecraft\\libraries\\com\\paulscode\\libraryjavasound\\20101123\\libraryjavasound-20101123.jar;%APPDATA%\\.minecraft\\libraries\\com\\paulscode\\librarylwjglopenal\\20100824\\librarylwjglopenal-20100824.jar;%APPDATA%\\.minecraft\\libraries\\com\\paulscode\\soundsystem\\20120107\\soundsystem-20120107.jar;%APPDATA%\\.minecraft\\libraries\\argo\\argo\\2.25_fixed\\argo-2.25_fixed.jar;%APPDATA%\\.minecraft\\libraries\\org\\bouncycastle\\bcprov-jdk15on\\1.47\\bcprov-jdk15on-1.47.jar;%APPDATA%\\.minecraft\\libraries\\com\\google\\guava\\guava\\14.0\\guava-14.0.jar;%APPDATA%\\.minecraft\\libraries\\org\\apache\\commons\\commons-lang3\\3.1\\commons-lang3-3.1.jar;%APPDATA%\\.minecraft\\libraries\\commons-io\\commons-io\\2.4\\commons-io-2.4.jar;%APPDATA%\\.minecraft\\libraries\\net\\java\\jinput\\jinput\\2.0.5\\jinput-2.0.5.jar;%APPDATA%\\.minecraft\\libraries\\net\\java\\jutils\\jutils\\1.0.0\\jutils-1.0.0.jar;%APPDATA%\\.minecraft\\libraries\\com\\google\\code\\gson\\gson\\2.2.2\\gson-2.2.2.jar;%APPDATA%\\.minecraft\\libraries\\org\\lwjgl\\lwjgl\\lwjgl\\2.9.0\\lwjgl-2.9.0.jar;%APPDATA%\\.minecraft\\libraries\\org\\lwjgl\\lwjgl\\lwjgl_util\\2.9.0\\lwjgl_util-2.9.0.jar;%APPDATA%\\.minecraft\\versions\\1.6.2\\1.6.2.jar\" net.minecraft.client.main.Main --username playername --session …

Software Development apache java session
Member Avatar for JamesCherrill
0
230
Member Avatar for Mr.M

Hi Dw I've created a console application and now I want it to close or teminate straight when I choose exit I've tried the System.Exit(0) but it doesn't close the command screen please help me out. Thanks

Software Development java
Member Avatar for Mr.M
0
217
Member Avatar for mesbahuk

I have a Java code block like following: Vector<NameAddress> route = dialog.getRoute(); for ( Enumeration<NameAddress> e = route.elements(); e.hasMoreElements(); ) { // some more to copy route to another Vector<> } I am trying to convert it in C# and here is my code: List<NameAddress> route = dialog.getRoute(); for ( …

Software Development c c# c++ java
Member Avatar for C#Jaap
0
309
Member Avatar for Haquo

> 8086 Interpreter: This program should allow the user to type in 8086 assembly language programs, syntax check them line by line, and run them. This is my summer project for this year, I just want to better understand, what do I have to do. Is a interpreter the same …

Software Development assembly
Member Avatar for Assembly Guy
0
690
Member Avatar for Louie_Rave

Hello. I uhh... I just want a sample code for the Exceptions: SecurityException and StackOverflowException. I'm still new to handling exceptions. Please, just a sample code that is about those two will do.

Software Development java
Member Avatar for |-|x
0
210
Member Avatar for Sebastian_1

I have made VB populate Hostname and IPv4 on a Form. However, need help getting Gateway, DNS and DHCP on same form. Here is code... Private Sub Getip(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Me.Shown Label3.Text = ("Address: " & GetHostIP(Net.Sockets.AddressFamily.InterNetwork)) ' Show IPV4 End Sub Private Function …

Software Development dns vb.net
Member Avatar for tinstaafl
0
268
Member Avatar for 3e0jUn

So I have this piece of code in a socket server: def process(self, request, client_address): input_file = request.makefile("rb", 0) output = request.makefile('wb', 0) remote_input = input_file.readline().strip() + b"\n" self.log(remote_input) self.proc.stdin.write(remote_input) self.proc.stdin.flush() self.proc.stdout.flush() while True: line = self.proc.stdout.readline() line = line.decode() if line: line = bytes(line.rstrip() + "\n", 'utf-8') output.write(line) else: …

Software Development python
Member Avatar for Gribouillis
0
516
Member Avatar for daino

Anyone know how to simulate holding down a CTRL key in C++. I'm using Windows XP. Thanks

Software Development c++
Member Avatar for rubberman
0
349
Member Avatar for ram619

The output of this snippet is 4 and 1. 4 is ok but why this 1 ???? #include<stdio.h> int main() { printf("%d %d",sizeof(NULL),sizeof("")); return 0; }

Software Development c
Member Avatar for ram619
0
111
Member Avatar for Alice_Blue

Hi all! I'm at work - newly hired:) - and I'm given this mpeg2 video codec [URL="http://www.mpeg.org/MPEG/video/mssg-free-mpeg-software.html"]http://www.mpeg.org/MPEG/video/mssg-free-mpeg-software.html[/URL] and in particular the decoder that exists in the folder mpeg2v12.zip. It is code c written for gcc, so I decided to download MinGW and DevC/C++. I add all the files to the …

Software Development c c++ video
Member Avatar for Laszlo_1
0
1K
Member Avatar for SaRa Ahmad

hi every body , i am finishing the design of crystal report that connected to data base and i have an Project in vb6 how i can add these report to the project ??

Software Development visual-basic
Member Avatar for SaRa Ahmad
0
87
Member Avatar for 2384443

i need help in this program. The program question is: A function power which will calculate a number m to the power n (m^n). You will pass two parameters float & int. If the parameter n is omitted then it should taken as 2. i hope u all got the …

Software Development c++
Member Avatar for 2384443
0
132
Member Avatar for yvrej17_1

Hi, I'm just confuse about this.. I am making a form with 2 datetimepicker controls which are the Start and End date and when I click the action button it displays all the departments covered with the start-end date and it works fine but the problem is it loads all …

Software Development open-source vb.net
Member Avatar for yvrej17_1
0
157

The End.