132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rejina

I have to develop a code with visual basic to open a file then read each line of the text file one string at a time then output these strings to individual cells in excel. Can anyone help?

Software Development visual-basic
Member Avatar for vb5prgrmr
0
525
Member Avatar for emaduddeen

Greetings Everyone, We have many forms in an Attendance application I am writing for a local school. The first form is called formBrowseAttendance and the other form is called formBrowseStudents. In formBrowseAttendance is a textbox called editBoxStudentID. Inside the double click event of a grid in the formBrowseStudents I am …

Software Development vb.net
Member Avatar for kvprajapati
0
143
Member Avatar for tanvirahmad

Hi Experts I m using vb .net & crystal report 11 , I m using 4 parameters in crystal report 1 st is "tcomp" , 2 nd is "tled_name", 3rd is "tdt_form", 4th is "tdt_to" , the problem is, when i use first 2 parameters it is working well but …

Software Development vb.net
Member Avatar for kvprajapati
0
128
Member Avatar for elvis1

Hi guys, I am a complete newbie (but learning slowly). I am trying to make a script to check for proxies that are contained in a file using a regex. Fact is that I lack of knowledge and I do not know how to make it go. This is my …

Software Development file-system python regex
Member Avatar for elvis1
0
192
Member Avatar for newbiec

Hello! I'm working on a project for class (Assembly Intel 8086) and am having trouble figuring out my problem with this program. The project is to set-up to find GCD of two numbers. However, I can't figure out why the division loop I have isn't working properly. I have the …

Software Development algorithm assembly
Member Avatar for Juniahh
0
4K
Member Avatar for ptaylor965

Hi, Could you please show me how to get 1.9 to show with two decimal places (1.90) you can use [CODE]Math.Round(1.99999999, 2)[/CODE] if you want to bring the decimal places down to two but how do you increase from zero or one decimal place up to two? Thanks Peter

Software Development vb.net
Member Avatar for kvprajapati
0
39K
Member Avatar for thuyson

i have 4 textboxes,i want to print textboxes' content at arbitrary coordinate on paper but i don't know.I use crystal report to print! Please help me! Thanks so much!

Software Development
Member Avatar for kvprajapati
0
87
Member Avatar for Learner7

Hi, Are the following references required for VS 2008 users as well? Or only required for [B]VB 2005 Express Edition users[/B]? Please do help.

Software Development vb.net
Member Avatar for kvprajapati
0
98
Member Avatar for aiosarem

Hi, I'm trying to learn the in's and out's of using the send and recv functions of a socket in C and I've hit a bit of a road block! I'm trying to send an integer from one system to another, however one system is big endian (the client) and …

Software Development c c# c++ client-server
Member Avatar for aiosarem
0
6K
Member Avatar for luttinj

I am making a basic quiz show in Java and I have successfully made the first question. Now when I went ahead and made my second question I encountered this problem. When I run the program there are no errors with it, but it will not let me input a …

Software Development java
Member Avatar for moutanna
0
186
Member Avatar for sonny tran

so i need some help. I'm trying to create a matrix that will do all these functions.. but im not so sure what im doing wrong since im an inexperienced at c++. Anyone? Gratzi! [CODE]#include <math.h> #include <iostream> #include <string> //#include <matrix.h> using namespace std; #define MAXNUM 9 class Matrix …

Software Development c++ data-structure
Member Avatar for Lerner
0
108
Member Avatar for cdominguez13

I have this code so far: //Carolina Dominguez //Assignment 7 public class Student { private String fname; private String lname; private String studentId; private double gpa; public Student(String studentFname,String studentLname,String stuId,double studentGpa) { fname = studentFname; lname = studentLname; studentId = stuId; gpa = studentGpa; } public double getGpa() { …

Software Development java
Member Avatar for moutanna
0
134
Member Avatar for eleonora

I do have a problem with my connect four code ; it doesn't check whether there is a winner even though the function its okay :-/ Can anyone help me to solve my problem ??? [CODE=python] import random board = dict() rows,columns = 4,4 def game(): choose_player() #MAKE BOARD FUNCTION …

Software Development python
Member Avatar for TrustyTony
0
3K
Member Avatar for tinanewtonart

[QUOTE]Sometimes, storing an image is easier if you store the steps taken to draw the image rather than the image itself. In such a situation, a sequence of directed lines are concatenated, or attached to one another, to form the image. For example, a simple drawing program might allow eight …

Software Development c++ image
Member Avatar for tinanewtonart
0
567
Member Avatar for Atlanticspace

hello everyone, Im a student having to write a C++ program and im running into an error that I have been unable to find the solution on my own. Im running into an error as I test run the program to make sure everything is still ok. The program isnt …

Software Development c++ visual-studio
Member Avatar for umairch
0
278
Member Avatar for aleX_X

I have to make a function under class record that returns a pointer person class data type. I am assuming that this means setting a person object to equal to the returned pointer person class type but in order to do that It looks like i need to make an …

Software Development c++
Member Avatar for umairch
0
193
Member Avatar for ahmed.sofi

excuse me, im doing atomix game and there is something that i can do as an extra thing which is while the atom moves i see it moving no just disappearing and showing in the next position? thx :)

Software Development gui java
Member Avatar for Ezzaral
0
110
Member Avatar for phummon

Hi everyone, I'm a relative beginner to writing UNIX scripts. In the past, I've been able to hack together simple scripts. Now I need a script which a little more complex than I'm used to, and I really need help. I'm up against a tight deadline and am growing desperate, …

Member Avatar for phummon
0
167
Member Avatar for appunu

hello people am new here.. and i started off coding.. i have few doubts. I want to roundoff a float value with no elements after the decimal point without using a lib function. For example 16.25 = 16.00 :) i tried printf("%.0f,16.25); and it prints 17.. If i know the …

Software Development c
Member Avatar for WaltP
0
426
Member Avatar for cdominguez13

Hi, I was asked to write a class that represents a Student The Student class has the following attributes: first name String // May be 2 words: Mary Ann last name String // May be 2 words: Smith Jones student ID number String gpa double // Range 0.0 to 4.0 …

Software Development java
Member Avatar for cdominguez13
0
137
Member Avatar for TrustyTony

This problem came up in one thread and here is my finalised version to follow changes of files in list of paths given.

Software Development file-system python
0
720
Member Avatar for ceyesuma

Hello Could someone tell me what derby requiers to make this conn? [code] public boolean createDatabase() throws FileNotFoundException, IOException { boolean createdDb = false; Connection conn = null; String dbURL = getDbURL(); String user = ModelUtils.getXMLResource("user"); String password = ModelUtils.getXMLResource("password"); System.out.println("in CreateDatabase:try:dbURL FROM XML properties: " + dbURL); System.out.println("in CreateDatabase:try:dbURL …

Software Development apache java xml
Member Avatar for ceyesuma
0
125
Member Avatar for Violet_82

Hi there, I am trying to get my head around the bubble sort but I don't seem to get it. Now I have a program written by somebody which performs a bubble sort and I am trying to understand it but no much success. Here is the code: [CODE]#include <iostream> …

Software Development c++
Member Avatar for Violet_82
0
253
Member Avatar for passionatecoder

Dear All, I am very new to programming and really appreciate if you can help. I am using XCode as editor My code is below: [CODE] int main (int argc, char * const argv[]) { char a[10][25]; char *ptr_a; ptr_a = (char *)a[10][25]; for (int index = 1; index < …

Software Development c c# c++
Member Avatar for Fbody
0
654
Member Avatar for P00dle

I've written the code already, and it compiles, but gets the following runtime exception: [COLOR="Red"]java.lang.IllegalThreadStateException at java.lang.Thread.start(Thread.java:595) at threads.ThreadStarter.run(ThreadStarter.java:52) at java.lang.Thread.run(Thread.java:619)[/COLOR] I've higlighted the line that throws the exception. I have no idea what's wrong, my knowledge in threads is sadly lacking. If anyone could help me out it would …

Software Development java multithreading
Member Avatar for moutanna
0
174
Member Avatar for luttinj

Hey, I am trying to use this program, it is supposed to ask one multiple choice question of the user and get the response. For some reason it will not work for me. I am using Ready to Program by HoltSoft. Please help me. [CODE]import java.awt.*; import java.applet.*; import java.io.*; …

Software Development java
Member Avatar for luttinj
0
120
Member Avatar for Kruptein

I'm working on an add-on system, which is till now going pretty good. no I need to assign an id to a menu item, but I don't know which are all in use (by other addons f.e.) so is there a way to either: -get a random integer that isn't …

Software Development python
Member Avatar for Kruptein
0
147
Member Avatar for zachattack05

I have been working on a form that reads records from a SQL database. I have the binding working in that it populates all of the fields with the correct data. But if I am viewing record 1 and record 2 changes while I'm looking at 1, then browse to …

Software Development dataset
Member Avatar for zachattack05
0
128
Member Avatar for kdott

ok, so i have an int[][] that i need to be printed out into a file. it needs to be printed line by line with each number seperated by a comma. how does this look? im not getting any output... [CODE]import java.io.*; import java.util.*; public class TestingII { public static …

Software Development java
Member Avatar for javaAddict
0
5K
Member Avatar for 3ak

I tried making a Java desktop application to learn Java. So far, a mouse click event draws rectangles in the document and stores the rectangle in an array in ProjectApp.java. This isn't the problem but my rectangles disappear when I minimize and maximize the window. I normally use VS C++ …

Software Development java
Member Avatar for 3ak
0
179
Member Avatar for GAME

Is there anything im doing wrong? [code] void SaveProxies() { string[] items = new string[Proxies.Items.Count]; Proxies.Items.CopyTo(items, 0); string saveValue = string.Join(",", items); Share_Cash_Downloader_v0._2._9._5.Properties.Settings.Default.Proxies = saveValue; } void LoadProxies() { string[] items = Share_Cash_Downloader_v0._2._9._5.Properties.Settings.Default.Last.Split(','); foreach (string str in items) Proxies.Items.Add(str); } [/code] I use LoadProxies to load the save, from the …

Software Development
Member Avatar for farooqaaa
0
117
Member Avatar for Perlhelp

Hi, I want to search the log file for a string and extract all data until the end of that line where the search string is found. For example: A line in the file reads like below: [28/04/2010 11:17:53 GMT]PositionPoolCalculation.java(339):getPosCalculation[INFO]BUNP: B123456:1234567:ABCD ANP: B123456:1234567:ABCD:2 post LCN: DESabcdefgh I want to search …

Software Development perl seo
Member Avatar for Perlhelp
0
137
Member Avatar for bigBob888

Hello all, I am new to java and programming. You will be able to tell that by my post. I have a program that needs to take info from my textField and store it in an 2d array. Then do calculations and output the calculated data into a textArea. So …

Software Development gui java java-netbeans java-swing
Member Avatar for Ezzaral
0
126
Member Avatar for shyami

Hello there, I am working on pylon frame work, when i am issuing return render('/test.mako'), it is displaying index out of renge error. Plz Reply to this post if u have any idea in this. Thanks ss

Software Development python
Member Avatar for TrustyTony
0
88
Member Avatar for the_preface

I'm writing a program that reads information from three seperate classes. Here is my code: [CODE] public class Animal { protected int id; protected String type; protected double mass; //------------------------------------------------------------------------ // Sets up an animal with the specified ID number, type and weight. //------------------------------------------------------------------------ public Animal (int animalID, String animalType, …

Software Development display java
Member Avatar for the_preface
0
150
Member Avatar for tquiva

when I try to compile a program, an error of the following comes up: cc -Aa -g -c -o main.o main.c <command-line>: error: missing '(' after predicate make: *** [main.o] Error 1 it indicate no line of where the error is located. has anyone ever came across this type of …

Software Development c
Member Avatar for jephthah
0
3K
Member Avatar for wackozacko

Ok, so I'm trying to write an emulator for a simple processor architecture and I've ran into a strange problem. I decided to read the input code once through to see how many lines there were, then set up an array of that length, and then go through the file …

Software Development c file-system unix
Member Avatar for Aia
0
2K
Member Avatar for gymangel812

I'm having a problem changing an abstract class to an interface. I changed the abstract class (Bounceable) to an interface but I'm not sure what I need to do with the concrete classes (Tennisball, Basketball) that implement the interface. The change to an interface is also affecting the output test …

Software Development java
Member Avatar for Ezzaral
0
185
Member Avatar for koved

i want to know what is the code written in header files.(how a functions works) is that possible for e.g. i created my own version of [U]sqrt[/U] function in .C now i want to know the difference b/w my code and sqrt function code. i want to check how efficiently …

Software Development c
Member Avatar for 0x69
0
81
Member Avatar for lorna2010

Hi i need someone to help me at least to give me an idea of how start thos assigment, is my first time taking a python class and is so advance for 1 month. I have to create a board game connect 4 with this instructions: The rules are as …

Software Development data-structure python user-interface
Member Avatar for happy123
0
147
Member Avatar for assembler

Hi, Can anyone please help me in making a program that runs like a boot loader in assembly language. Here is what I am trying to do- I have three program files 1.asm 2.asm 3.asm I want to start the bootloader program such that when it starts up,it gives me …

Software Development assembly
Member Avatar for peter_budo
0
290
Member Avatar for steveh44

Hello, I'm playing around with recursive loops in order to better understand how to iterate though directories. I've used the .Net methods 'GetDirectories("*.*", SearchOption.AllDirectories)' in 'foreach' loops to iterate through the file system but many examples i've seen use recursion techniques to do the same thing. So knowing nothing of …

Software Development
Member Avatar for Sodabread
0
578
Member Avatar for naseerhaider

Why I can't get this program complied ? I am geting " 20 expected unqualified-id before '{' token " [code] #include <iostream> using namespace std ; int answer(int num[] ,int num ); main () { int ary[10] ; cout << " Please Enter 10 integer values" << endl ; for …

Software Development c++
Member Avatar for naseerhaider
0
120
Member Avatar for ghostrida45

I created a JApplet game for a class project. My game is basically a dodge-ball game. I have 5 dodgeballs bouncing around the screen with a player starting in the middle. The object is to mouse drag the player dodging all of the balls bouncing. The problem I am having …

Software Development java
Member Avatar for ghostrida45
0
117
Member Avatar for johndoe444

I just copied and pasted all the things that has been happening from the shell here: [CODE]lin309-05:~/workspace/acm$ gdb a.out GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute …

Software Development c session ubuntu
Member Avatar for johndoe444
0
5K
Member Avatar for ohh

Hello, I am fairly new to programming, so any help would be much appreciated. Basically this program gets a file with the contents like: hello one one Tt then sorts these into a binary tree, i can do that fine, however what i am struggling with is converting this to …

Software Development c++
Member Avatar for mitrmkar
0
184
Member Avatar for justaguy101

Hi guys! I have a problem calling the numpy.random.hypergeometric function with certain values. It seems like if the values hit in some certain range the program stalls and never finishes. I get no errors or anything and also a wxpython GUI that i have calling this function crashes with no …

Software Development gui operating-system python
Member Avatar for justaguy101
0
555
Member Avatar for perlnewbe

Hi, I need to search 3 different servers and list the output of the directories to a specific file for each server. I understand how declare the constant(s) but unsure of how to iterate through all of the constants and list the file output. Any ideas would be helpful. Perlnewbe …

Software Development perl
Member Avatar for perlnewbe
0
126
Member Avatar for chubbs1900

[CODE]/* This program reads a test score, calculates the letter grade for the score, and prints the grade. */ #include <iostream> using namespace std; char studentScore (int score); int main () { cout << "Enter the test score (0-100): "; int score; cin >> score; char grade = studentScore (grade); …

Software Development c++
Member Avatar for Computer Love
0
1K
Member Avatar for krishnisilva

hey, i have a problem in adding data from MS SQL(mdf file) database to datagrid view: the code is below please can someone help me with this. C# Syntax [CODE] db.openConnection(); String query4 = @"Select TActionDes,TAssignedTo,TDueDate,TStatus,TDateComplete,TComment From TopicAction Where TopicNo = @topicNo and Phase = @phase"; SqlCommand command4 = new …

Software Development dataset sql
Member Avatar for kvprajapati
0
174

The End.