132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for 4ukh

dear experts, I just want to wave the last digit of each cell's value like 20001 should like 2000 using ms excel 2007. please consider this table: 20001 2000 20011 2001 20021 2002 20041 2004 20042 ???? 20043 20044 20045 20046 20051 20052 20053 20061 20062 20063 20071 any help …

Software Development visual-basic
Member Avatar for 4ukh
0
98
Member Avatar for sony1988.sc

i want to remove 0 from an integer array.like if i have an array having element 2 2 1 1 1 0 1 1 2 1 0 1 ,i want this as 2 2 1 1 1 1 1 2 1 1,plz help me

Software Development java
Member Avatar for Jocamps
0
123
Member Avatar for Jimmalmquist

i need help with a maskedtextbox in a C# applikation. I want want it to display the date in the following format "00.00.0000" but it refuses to show the "." instead it shows "00,00,0000". I have tried several different solution but none of them works. The mask is correct but …

Software Development c#
Member Avatar for ddanbe
0
181
Member Avatar for etypaldo

I am trying to make a program that reads from a "integers.txt" file which contains: 1 2 3 4 11 13 15 16 18 20 33 39 42 48 50 51 and finds all the even numbers in "integers.txt" and writes them to a new file "evens.txt" then finds all …

Software Development python
Member Avatar for woooee
0
107
Member Avatar for qadsia

Hi, I have a problem. I basically have this python code, that generates a file. I'm trying to get it to output a html file with a chosen name (chosencategory) but the problem is the chosencategory variables are already defined so it attempts to name the html file the contents …

Software Development python
Member Avatar for qadsia
0
266
Member Avatar for Clawsy

Hello, I would like to be able to add 'n' columns programmatically and SET THEIR TITLE as I add them. I have 2 questions: 1. How can I change the title? (not by seting a model to my table but just 'changing a property' - if possible)? 2. Is there …

Software Development java listview
Member Avatar for Clawsy
0
254
Member Avatar for NervousWreck

I am writing a fake banking program. In the function below I declare a dynamic array. [CODE]void trArr(int transactions) { int n; string* accUse = new string[transactions]; return; }[/CODE] I try to access the array in a later function but I get the error "not declared at this scope. I …

Software Development c++
Member Avatar for Nick Evan
0
94
Member Avatar for comSysStudent

Hi all, I'm just starting java and had to create a method to return the amount of text messages needed for a message x characters long. I'm having trouble compiling and not sure exactly why [CODE] public void msgsReqd(int msgLength) { int numMsgs, smsLength = 160; msgLength / smsLength = …

Software Development java
Member Avatar for ejosiah
0
147
Member Avatar for atch

Hi everyone, I'm trying to compare list iterators: [code=c++] list<int> l; list<int>::iterator lb = l.begin(); list<int>::iterator le = l.end(); if (lb < le) //here I'm getting error - no operator match these operands: { //do something } [/code] And when I change this that instead of list I have vector …

Software Development c++
Member Avatar for atch
0
114
Member Avatar for theo19

[CODE] import java.awt.*; import java.applet.*; import java.util.*; public class Tower extends Applet { TowerPanel panel; TowerControl control; public void init() { resize(500,450); setLayout(new BorderLayout()); panel = new TowerPanel(); add("Center", panel); add("South", control = new TowerControl(panel)); } public void start() { panel.start(); } public void stop() { panel.stop(); } public boolean …

Software Development java
Member Avatar for ejosiah
0
134
Member Avatar for andy999

hello all, I hope someone is there to help me out this. I am spliting a text file. and after splitting I want to concate the string 1 and string2 and string three and thereafter the normal string 4 ,5,6,7,8,9,10 etc. But when I debug the total string I got …

Software Development visual-basic
Member Avatar for andy999
0
157
Member Avatar for macdonald12

Hello all, I'm trying to make a program in C, but it's actually the algorithm that's giving me hell. The goal is to create a program that calculates and displays the [I]total number of end-locations[/I] (all locations, including similar ones) an object can reach in a 2d board (grid), using …

Software Development algorithm c
Member Avatar for SVR
0
188
Member Avatar for salamjamal10

import java.util.Scanner; public class CalculatingSales { private static boolean Double; public static void main(String[] args) { Scanner input = new Scanner ( System.in ); int ProductNumber; double RetailPrice; double total = 0; int Product1Count = 0; int Product2Count = 0; int Product3Count = 0; int Product4Count = 0; int Product5Count …

Software Development java
Member Avatar for Qzmo
0
229
Member Avatar for Triztian

Hi I think this is my first post, so here it goes: [B]Overview:[/B] [INDENT] This program declares global bidimensional array of 30 rows and 5 columns (not counting 0 in the rows) of floating type to save information of students, table is as follows: ID Partial1 Partial2 Partial3 Partial4 Average …

Software Development c++
Member Avatar for vmanes
0
115
Member Avatar for siggivara

I've made this rather messy method that is supposed to split the message parameter (max 160 byte) into 60-byte strings if it is larger than 60 bytes. The message is always between quotes so I also want to ignore them and just get whats between the quotes. Example: "Hi there …

Software Development c
Member Avatar for siggivara
0
196
Member Avatar for jt241

Well I'm relatively new to the forums and to C++. I'd like to overload + and = to add two matrices by being able to use Z=X+Y format. Header file: [CODE] #ifndef HOMEWORK1_H #define HOMEWORK1_H class Matrix{ public: double **element; Matrix(int=3,int=3); ~Matrix(); double getelement(int,int); void setelement(int, int,double); Matrix & operator+(const …

Software Development c++
Member Avatar for dkalita
0
192
Member Avatar for shahab.burki

Hi, I am doing network programming in C. I want to send Hexadecimal data between client and server. But stuck how C handles Hexadecimal values? I would like to put and example. I am having a variable ACK_CODE 0*81. Now want to send it. Since the send call can only …

Software Development c client-server
Member Avatar for gerard4143
0
140
Member Avatar for Gaiety

Hi, i am presently working on C but there are some situations i need to know the assembly code of corresponding C program. if any can provide some general info of c - assembly it would be appreciated. i have a program called [CODE=C]int main() { printf("Hello,Plz Help\n"); return 0; …

Software Development assembly c c# c++
Member Avatar for gerard4143
0
209
Member Avatar for JRabbit2307

just trying to create a person(or two) using name, age and nationality but its giving me illegal start of expression error // **************************************************************** // Person.java // // Person class with two constructors // *************************************************************** public class Person { private String name; private int age; private String nationality; // ------------------------------------------------------------ // …

Software Development java
Member Avatar for Grn Xtrm
0
627
Member Avatar for unsure

I am taking an intro to cs class. I have written a simple program but dont know if it is correct. please help me. thank you!

Software Development c++
Member Avatar for pspwxp fan
0
125
Member Avatar for merse

Hi! We can declare not just variables but functions or pointer to functions also in the main function like this: double my_f(double); double (*my_fp)(double); But what can we do with this? For example how can we give a value for my_f or my_fp? I try lots of variants with * …

Software Development c++
Member Avatar for Grn Xtrm
0
172
Member Avatar for r0n

hello everyone how can i mask a date using [mm/dd/yyyy] and [mm/dd/yy] format in textbox in java?.. and how can i also mask the amount of money using[###,###,###.##] this format?.. thanks!

Software Development java
Member Avatar for javaAddict
0
131
Member Avatar for drjay1627

can someone please explain to me how read write work in sock programming. my assignment is to run a server and client. the client ask the server "who are you?" and the server replies with the servers name and date and time. i cannot post my whole code here as …

Software Development c++ client-server socket-programming
Member Avatar for dkalita
0
242
Member Avatar for babbu

hie, m using visual studio 2005 and access 07. this is my code. ive also attached an access 07 file and this is the exact data tht my actual database has..plz help [CODE] Dim DataAdapter As New OleDb.OleDbDataAdapter("Select ID from Customer", oledbcon) Dim datatable As New DataTable DataAdapter.Fill(datatable) Dim CommandBuilder …

Software Development vb.net visual-studio
Member Avatar for TomW
0
104
Member Avatar for Web_Sailor

Hi I have written a program in c++ and I feel that it is a bit slow for very large datasets like > 1GB. Well I am not that confident in char* since I have just started coding in c++. So can anybody help me to make it more efficient …

Software Development c++
Member Avatar for dkalita
0
146
Member Avatar for mahela007

Why does this raise an error? I'm trying to add a value to the [0] index for the list [CODE]mylist=[] mylist[0]='hello'[/CODE]

Software Development python
Member Avatar for mahela007
0
78
Member Avatar for nymph

i want to program the parallel port pins to control the electronic / electrical devices. the pins 2-9 i know can be programmed.

Software Development java
Member Avatar for dhani017
0
112
Member Avatar for Maulth

Hey, thanks for taking a gander at this. I'm new to VB and VB.NET, and I'm not entirely sure what the difference between the two is, nor what I'm using. I feel like a complete squib, but that's basically it. I'm using MSVB 2008 Express edition, unto which I assumed …

Software Development gaming vb.net
Member Avatar for samir_ibrahim
0
233
Member Avatar for tryongliph

hello everyone, i'm wroking with a List<string> and i want to copy it's values into a variable string each but i keep getting an index error. i declared a class library which looks like this: [CODE] public class SalesData { public List<string> GetSales( string Clientname, string Empname, string Breadtype) { …

Software Development
Member Avatar for Geekitygeek
0
195
Member Avatar for HappyGoTyping

[CODE]import javax.swing.JOptionPane; public class PossitiveNegative{ public static void main(String[]args){ int N1, N2, product, PoNoN1, PoNoN2; String N1Str, N2Str, productStr, OutputPoNoN; N1Str=JOptionPane.showInputDialog("Enter a number :"); N1=Integer.parseInt(N1Str); N2Str=JOptionPane.showInputDialog("Enter another number :"); N2=Integer.parseInt(N2Str); product=N1*N2; if (N1>0) PoNoN1=N1+"(POSITIVE)"; else if (N1<0) PoNoN1=N1+"(NEGATIVE)"; else PoNoN1="(NEUTRAL)"; if (N2>0) PoNoN2=N2+"(POSITIVE)"; else if (N2<0) PoNoN2=N2+"(NEGATIVE)"; else PoNoN2="(NEUTRAL)"; if …

Software Development ide java java-swing
Member Avatar for BestJewSinceJC
0
108
Member Avatar for zyrus001

Hi! I have a list of class objects, each object contrains a dictionary. Is it possible to sort my list based on a value within each object's dictionary? Can I use the list.sort() method to do this? Thx!

Software Development python
Member Avatar for jice
0
244
Member Avatar for freddyfly

Hello all, I'm writing a program to keep track of my swim team's test set times. I would like to display the information in a table like form to edit all of the swimmers and times at once. I'm using this object: [code=c#] public class TestSetDisplay : INotifyPropertyChanged { string …

Software Development display vb.net
Member Avatar for sknake
0
1K
Member Avatar for Lukezzz

I have a project that consist of 10 forms. When I compile this project I get this compile error. [I]1>Form6.obj : error LNK2011: precompiled object not linked in; image may not run 1>LINK : fatal error LNK1104: cannot open file '.\Debug\Form6.obj'[/I] In the debugfolder I can find these anyway but …

Software Development c++
Member Avatar for Lukezzz
0
294
Member Avatar for EntangledDesi

When running this code --> [CODE]Private Sub cmdSquare_Click() Dim i i = InputBox("Please enter a number.", "Input Box") MsgBox "The square of " & i & " is " & (i ^ 2), vbOKOnly, "Result" MsgBox "The square root of " & i & " is " & Sqr(i), vbOKOnly, …

Software Development visual-basic
Member Avatar for makybe
0
297
Member Avatar for Krstevski

Hey guys, I have one stupid problem with the return value of one function... this is my code: [CODE=Java] private boolean check(String mail, int N){ // mail = The mail // N = The sum of the characters before the @ and including it him if(mail.substring(N) == "hotmail.com" || mail.substring(N) …

Software Development java
Member Avatar for JamesCherrill
0
117
Member Avatar for noble3ad

Hello all, I have written a program that stores randomly generated numbers between 0 and 19 into an array of 100 elements. I create a frequency array of 20 elements that shows the frequency of each number and print it's histogram. Now, I'm suppose to increase the frequency array by …

Software Development c
Member Avatar for mevanga
0
2K
Member Avatar for rdevi

Hi all ! Can anybody tell me why the following code is not copying the file from source to destination? Thakns in advance........ use File::Copy; my $source="C:\\shared\\8.4.1\\DXSI"; my $dest="C:\\r45"; my @files; my $file; opendir(DIR, $source) or die "can't opendir $source: $! \n"; @files=readdir(DIR); close DIR; foreach $file(@files) { print "\n …

Software Development file-system perl
Member Avatar for rdevi
0
163
Member Avatar for kyllle

Hi all, Going to begin learning C# and then ASP.NET and was wondering if anyone knew of any good websites teaching beginner level C# or if anyone has any advice for me before I begin my mission! Thanks in advance! Kyle

Software Development asp.net c c# c++
Member Avatar for avirag
0
126
Member Avatar for ritesh chandora

actually I am new comer in C programming environment. The general C language has been completed by me. I want to learn visual or hardware level programming but I have no reference for that. anyone who knows good book, link, or any material related to visual or hardware programming. than …

Software Development c
Member Avatar for ritesh chandora
0
129
Member Avatar for stan yost

I have an input box in my program and I want to be able to control the flow when the 'cancel' button is pushed. Any help would be appreciated.

Software Development visual-basic
Member Avatar for lanze12
0
107
Member Avatar for hket89

Could Someone tell me whats the diffrence between call-by-value with call-by-refference?

Software Development c
Member Avatar for BestJewSinceJC
0
177
Member Avatar for dabeechman

I am new to programming, but I am trying to create two arrays, arrX and arrY. Then use scanf to insert intialnum amount of elements into each array. That is the easy part. Where I am having trouble is when I try to pull the first element in each array …

Software Development c++
Member Avatar for dabeechman
0
88
Member Avatar for jqorso

Hi, I have some experience with C++ and FORTRAN. I would like to write software to help me visualize shapes in a GUI-based program. Where is a good place to start? Books, websites, etc that would help me get an idea of what is needed would be good. Thanks!

Software Development c++ gui
Member Avatar for K0ns3rv
0
108
Member Avatar for KillerOfDN

Hey Firstly, I have a WPF solution with [I]n[/I] amount of classes. I have instantiated the classes and assigned them to an array of type Object. So far I have 2 elements to my array (Class A and Class B) I am simply trying to add this array to the …

Software Development
Member Avatar for Blorgle
0
342
Member Avatar for coollife

I got an excellent code for putting registry entry of my visual basic project in windows start up . Now my project runs automatically when windows starts, but the problem is i am unable to delete the registry entry fully at all. I mean to say in my vb project …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
89
Member Avatar for abinmd

hi every one , i developed a software in VB but i cant access the bar code reader in the s/w .so pls help me .... by Abin

Software Development visual-basic
Member Avatar for vb5prgrmr
0
121
Member Avatar for coollife

if an mp3 file is added to usb drive , it should be playable and it should not be copy able to the disk .

Software Development visual-basic
Member Avatar for vb5prgrmr
0
75
Member Avatar for jonathannavarro

how to connect uru fingerprint reader to VB6?

Software Development visual-basic
Member Avatar for vb5prgrmr
0
40
Member Avatar for PennKen2009

I'm new at C++ and I'm trying to right a program that will generate random numbers from a range of 1-19. Here's how it should work, the program will generate 5 random numbers all ranged 1-19 and in random order. Once it chooses the first number, that number used for …

Software Development c c# c++
Member Avatar for zati
0
760
Member Avatar for jcoder

Hello all, I'm going for my masters and for the first time ever I am having a hard time with a programming language. This scheme is incredibly hard for me for some reason. The assignment is as follows: I have a list, make a function that returns false only if …

Software Development
Member Avatar for GDICommander
0
122

The End.