132,726 Archived Topics
Remove Filter ![]() | |
hello friends i just start learning Python and i am going through book "how to think like a computer scientist", in forth chapter it start using "GASP" which needs to be installed and book totally ignored the need of a newbies regarding installation. so after some mucking around i did … | |
[CODE]Option Explicit Private Sub cmdExit_Click() End End Sub Private Sub cmdRun_Click() Dim num(19) As Integer Dim i As Integer Dim sum As Integer grd.Rows = 2 grd.Cols = 2 grd.Clear For i = 0 To 19 Step 1 num(i) = InputBox("Enter any integer") lstno.AddItem (num(i)) Next i grd.TextMatrix(0, 0) = … Software Development mathematics visual-basic | |
Hey guys, I have this code wherein I have 4 buttons to determine what set of values to display on my jtable. I've successfully displayed my data. After running the program, clicking a button, data is displayed in the jtable. Problem is, when I minimize/maximize the window, the data disappears. … Software Development java | |
1.what Is The Difference Between Procedure Oriented Language And Object Oriented Language? 2.what Are The Drawbacks Of Procedure Oriented Language? Software Development c | |
Hi Iam a Graphic designer and now i want to learn VB (software development) New to vb not know anything about that and iam quick learner any Help is appreciated. from where i start to learn. which software i download vb6? or vb studio? Thanks in advance.:icon_smile: Software Development vb.net visual-basic | |
So in the beginning, Im sure i can ditch #include <string>... Im sure at the end, where i have a million cout's (42-69) that could be simplified (i feel like the inverse of the distributive property in math could be applied. I want the ouput to look the same. this … Software Development c++ | |
I've often pondered over this subject. I know the main method has a special signature the JVM looks for, but why is it static? Software Development java | |
I am having a problem with my C# datagridview. When I add data into it, it doesnt auto update. And nothing I found online works to update the view for the user during runtime. I've used refresh(), update(), invalidate(). Nothing seems to work. Can anyone help me out with this … Software Development vb.net | |
im working on a program written on vb 6. i actually want to implement a gif to work on my program. by implementing, i mean how to make a gif file work on vb 6. thanks!:) Software Development visual-basic | |
Hello, I hope someone can give me some help. I have a datagridview (Unbound), wich calculate several numbers, and I use this following code to save 5 of the columns to a XML file. My problem is that I would like to load this file back to my datagridview, and … | |
I know this is like an idiot question, but i'm like totatlly stumped by it for some reason. First and foremost, i'm a total newbie at coding(1st month and would be grateful if someone could at least help me with the first part of the project to help me get … Software Development python | |
I have been trying to create a program that asks for a username and password, and if the user gets it right exits the program, if they get it wrong asks again, and if they get it wrong again logs out of the system. TWO QUESTIONS: 1: is this possible? … Software Development python | |
I would like to know how to use module, why we need to use module and when to use module. I've tried to use module but some of my textboxes, labels and other controls didn't recognize by the module i've created. Software Development vb.net | |
Hi i'm having problem with rebuilding my program. Everything went fine when I run my application but when I stopped and made some changes to it and re-run it again this error message kept on displaying [CODE]"unable to copy file "obj\release" to "bin\release". the process cannot access the file because … Software Development vb.net | |
i am trying to do this consider a=[[(34,5),(34,6)],[(35,5),(35,6)]] b=[(36,5),(36,6)] i want to put elements of b in a so i do a.append(b) now if i do b.pop() why does it effect a? a ends up being `a=[[(34,5),(34,6)],[(35,5),(35,6)],[(36,5)]]` WHY?? is there a way around it?? i don't think i had this … Software Development python ![]() | |
Can someone help me I keep getting an error code on this line and I cannot figure it out. cout <<"Encrypted digits:"; << digit_three; digit_four; digit_one; digit_two; << endl;// display encrypted numbers ________________________________________________________________________________________ #include <iostream> // required to perform C++ stream I/O #include <iomanip> // required to perform setprecision stream … Software Development c++ encryption | |
Hello there, I am having trouble with my C# datagrid. Im working with sql. I have four columns in my datagrid: firstname, lastname, membership, date. So heres the design behind my app. Employee scans a card, hits update. Info pertaining to that member gets pulled from the sql database, then … Software Development c# database-design | |
I am trying to make a simple calculator for my code and I wanted to know, how can I have the user input a number like c++ cin >> number; and then just have my math functions do the rest. I have this so far... [CODE] public static void Main() … | |
Hi, below is my code, but when i send the message thru client socket i receive [COLOR="Red"]Specified argument was out of the range of valid values. Parameter name: size[/COLOR] Can anyone help me ! [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim serverStream As … Software Development client-server vb.net | |
Why does this return None? [CODE]list1 = ['Herring','used','to','be','abundant','in','the','AtlAntic','Ocean','then','herring','got','overfished'] print list1.sort(key=lambda s : s.count('a'))[/CODE] Software Development python | |
everytime i click to open one it says it cannot open the file and when i search for a program online to open it none come up wat do i need to open it thanks all for your help Software Development python | |
Hello! I have a piece of code here that I just can't get to work. I get segmentation fault and now I'm trying to apply a ddd tool to understand the problem. I haven't used ddd before but there seem to be some kind of a problem around the subroutines … Software Development assembly | |
Good Evening! We recently had a project about java, and i chose to make a program that measures time. What i want is like a server in computer shops, but i dont know how to make a timer, displayed while running.. i guess it must have a loop to increment, … Software Development java | |
Hello everybody, Let me explain my problem. I have one datatable with all my data and the above function to calculate the eclidian distance. My function returns a DataColumn so I can add this column later to another datatable. The problem is that I´m not being able to populate the … Software Development | |
I m facing weird problem while running regression tests on my WPF Application. I m getting AccessViolationException with different stacktraces each time. First : Message :Attempted to read or write protected memory. This is often an indication that other memory is corrupt. StackTrace : at MS.Win32.PresentationCore.UnsafeNativeMethods.MILUnknown.Release(IntPtr pIUnkown) at MS.Win32.PresentationCore.UnsafeNativeMethods.MILUnknown.ReleaseInterface(IntPtr& ptr) … Software Development | |
hi i am trying to make a CAD program that read a text file which contain a vertecises and number of triangles, which look something like this"the file" : 8 -2.0 -1.5 -0.5 2.0 -1.5 -0.5 -2.0 1.5 -0.5 2.0 1.5 -0.5 -2.0 -1.5 0.5 2.0 -1.5 0.5 -2.0 1.5 … Software Development gui java java-swing open-source | |
Hi all, In a program I've been working on I would like to start a process and save it in a variable of type Process. This is so I can kill it later, if needed, and change the window type. The process is an Excel document. Here is some relevant … Software Development api microsoft-office vb.net | |
So I was looking at this problem , and in monodevelop (and Visual Studio). But for somereason I keep getting unreachable code or error in Visual Studio, I retyped and relooked over my code but I cant seem to find what the mistake is that I can run my code. … Software Development c c# c++ visual-studio | |
I am trying to use the fileinput.input() module to read in the lines from a bunch of files in a directory and occasionally receive an IOerror exception. What is the best way to handle this exception so that if 1 of the items in the list i'm feeding fileinput,input() generates … Software Development python | |
Friends, I would like to reformat a file ( fort.80) to fort.90! For that I used type constructs for reading the input ( fort.80) as well as writing it to output ( fort.90). I can successfully do copying all but one case (dihedral), where the output file looks blank ( … Software Development data-structure | |
i hav car racing program in c++ and i wish to convert this program in c what i do? prigram is this...... [CODE] #include <iostream.h> #include <dos.h> #include <graphics.h> #include <conio.h> #include <stdlib.h> #include <stdio.h> #include <time.h> #include <ctype.h> class car { private: int x1,y1,x2,y2,col,col2,col3; public: car():x1(200),y1(300),x2(270),y2(200),col(4) {} car(int a,int … Software Development c++ | |
how to creat layout for my sample website Software Development | |
Hello. I am trying to validate a customer number using isdigit. If the user accidently enters a character other than an integer, I want it to allow the user to try again. The problem is it only will check the first number and if that is a digit it it … Software Development c++ | |
hi everyone i want to pass values from webpage which is in asp.net to window form application .like i have button on asp.net whenevr i click on that button on the window form application its written button1 is pressed. how to code this program ? please help me ... | |
Hello! I'm trying out an idea I had which requires me to capture the contents of a java window/Frame, much like a screenshot but without the window and menubar, just the contents rendered in java, i.e. an exact image of what is visible in the java application at the moment. … Software Development java | |
How to change the entry point of gcc compiler ? I mean the code will look like the bellow one. [CODE] #include<stdio.h> int entry() //this is the new entry point instead of main. { return 0; }[/CODE] thank you very much.. Software Development c | |
Hi all, I've been working on a piece of software for a few weeks now and I've got to the point where I'm publishing it and testing it on other computers, namely my colleague's. We're both working on the same network and have similar permissions for our accounts, but for … Software Development publishing vb.net | |
I like to be able to modify the content of "pBuf" without modifying the content of the file. what would be the options, if that would be possible at all?. pBuf = (LPTSTR) MapViewOfFile(hMapFile, // handle to map object FILE_MAP_ALL_ACCESS, // read/write permission highDWordVal, lowDWordVal, BUF_SIZE1); //BUF_SIZE); Software Development c++ file-system | |
I've been working on this code for the past couple of days, and probably just need a fresh pair of eyes to look at my code. I almost have the triangle with spaces solved, but it looks like this: -----* -----** -----*** -----**** -----***** instead of what i want it … Software Development c++ | |
friends i am learning visual c++ 6.0.i need to know how to connect the database(oracle).can you tell me how to do??.give me some example.... mfc application connect to oracle database,any example ??? thanking you | |
How to get video frame width and frame height? I need it for .avi, .mov, .mp4, .wmv. I've tried some links using JockerSoft.Media.dll, and Shell32.dll, but the first one isn't good for .mov and .mp4, and the second one is only for Windows, and I need it for Windows and … Software Development video | |
Greetings, I'm a python newbie struggling with the obvious. I have a txt file with fixed width whitespace between the elements. Excel can't import directly because the size of the whitespace varies between columns. I have stripped the header out leaving only data. This is the code I've tried to … Software Development python | |
[code] try { OleDbCommand cmd = new OleDbCommand(String.Concat("UPDATE EMPLOYEE SET", " Emp_Name='", rec.txtEmpName, "',E_Position='", rec.txtPosition, "', Department='", rec.txtDepartment, "',Date_Hired='", rec.txtHired, "', Address_City='",rec.txtAdC, "',Address_Province='", rec.txtAdP, "', Civil_Status='", rec.txtCivil, "',Maiden_Name='", rec.txtMaiden, "', Spouse_Name='", rec.txtSpouse, "',Citizenship='",rec.txtCitizen, "', Telephone='", rec.txtPhone, "',Mobile_Phone='", rec.txtMobile, "', Emergency='", rec.txtEmergency, "',Birthdate='", rec.txtDOB, "', Birth_Place='",rec.txtBirthPlace, "',Height='", rec.txtHeight, "', Weight='", rec.txtWeight, … Software Development | |
Hi there, I'm making a simple C++ calculator. I want it to work something like this sample run: Begin Calculations 10 S // Set Accumulator to 10 = 10.000000 // Contents of Accumulator 2 / // Divide by 2 = 5.000000 // Contents of Accumulator 55 - // Subtract 55 … Software Development c++ | |
So i'm creating a form, on the form is a panel (panel1) which holds all data, pictures etc... This is then to be made into a bmp for professional printing (ie 300dpi). A4 @ 300dpi = 2480 x 3508; i am able to create the image at the panel's height … Software Development | |
Hello, I am beginner Java programmer and I would greatly appreciate help. The sections with which I need help are pointed out by comment lines. I am having a lot of difficulty with methods and I do get the basic function of them but I don't know how to implement … Software Development java | |
I am new to programming, so please accept my apologies if this question is simple. I have a class (say called Student). I want to store the name of the student (name) and the course (course) I have declared some variables in my Student class: [code] private String name = … Software Development java | |
I'm having some trouble with this section of code: [CODE] for(int i = 0; i < MAX_NUM ;i++) { subList[i].readIn(); System.out.println("\nDo you want to enter another subscriber? " + "(Y/N): "); anyMoreSub = keyboard.nextLine().toUpperCase(); if (anyMoreSub.equals("N")) { break; } } while(!isDone) { menuChoice = JOptionPane.showInputDialog("Please enter the letter for " … Software Development java | |
Here's the problem: Write a program that produces a bar chart show the population growth of Prairieville, a small town in the Midwest, at 20-year intervals during the past 100 years. the program should read in the population figures (rounded to the nearest 1000 people) for 1900, 1920, 1940, 1960, … Software Development c++ |
The End.