132,726 Archived Topics
Remove Filter ![]() | |
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 **" … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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? | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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, … | |
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 | |
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 … | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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++ | |
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 | |
Help me to load data into Jtable when jframe loads... Software Development java | |
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 | |
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++ | |
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# | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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 | |
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 ( … | |
> 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 | |
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 | |
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 … | |
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 | |
Anyone know how to simulate holding down a CTRL key in C++. I'm using Windows XP. Thanks Software Development c++ | |
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 | |
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 … | |
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 | |
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++ | |
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 |
The End.