199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Elmo_loves_you

Heya I have to write a script within MS Access 2003 using Visual Basic for Applications to read in data from a textfile and insert it into the table. I began my programming path using dot.Net C# and started database manipulation using Sql Server. So this is kind of like …

0
164
Member Avatar for rathinam86

Hi Cud anybody help me in sorting out this issue???...i have written a java code which fetches a text fils as an input & displays the output. Now i want to display the output in an existing Excel file in a desired format. import java.io.*; class hi { public static …

Member Avatar for javaAddict
0
324
Member Avatar for adityasaten

hi friends, First I want to introduce myselt, I am Aditya and have little knowledge of programming because I have enter in this field just os i face problem with c and need your kind solution, your reply would much valueabel for my bright future... I have a problem in …

Member Avatar for abhijeetcn
0
119
Member Avatar for stefen04

I am a student who is taking a computer science course in college and have been assigned to write an algorithm for a java program. I have no previous programming experience and I am really behind in this class. It seems fairly simple and anyone on here could probably do …

Member Avatar for javaAddict
0
123
Member Avatar for efus

Hi, I need to make a big-theta notation on an algoritm I made. The algoritm is soposed to find factors of a number. This is the algoritm implemented in java: [code=java] public class factor { public static void main (String argv[]) { int number =(Integer.parseInt(argv[0])); int counter = 0; for(counter …

Member Avatar for efus
0
163
Member Avatar for J-son

Hi there ... I need help with the following program.It is giving me error. Thanks very much. [CODE=c] /*Write a structure function to enter Roll number, Name, Department, Course, Year of joining and print them out */ #include <stdio.h> struct student { char name; char dep; char course; int roll; …

Member Avatar for abhijeetcn
0
148
Member Avatar for nomarhere

i need help with a homework problem, it's writing a program that approximates the sum of 1 + x/1! + (x^2)/2! + (x^3)/3! + ... + (x^n)/n! we're supposed to write a program that takes a value x as input and outputs this sum for n taken to be each …

Member Avatar for grumpier
0
86
Member Avatar for Dell XPS

I need to check if any "File Download" dialogs are open, which means I am downloading something so that my program will not attempt to download 2 files at the same time. I have no clue on how to do this and need help. Thank you.

Member Avatar for Teme64
0
296
Member Avatar for Sheryl99

In my VB 6 code, I had many classes and depended on the ability to loop through the objects to get at the data. How is this done in VB.NET? Here's a very simple example of what I'd like to be able to do in VB.NET. In my Accounts class …

Member Avatar for Teme64
0
4K
Member Avatar for satmad123

umd = New OleDbCommand() umd.CommandText = "UPDATE STUDENT SET roll = ' " + TextBox1.Text + " ' , name = ' " + TextBox2.Text + " ', marks = ' " + TextBox3.Text + " ' " & " WHERE roll = ' " + TextBox1.Text + " ' …

Member Avatar for Teme64
0
94
Member Avatar for sbhavan

I want to understand the JDBC thoroughly (i.e. all 4 types of drivers). Any body can help me in the following. I have searched for the resources to clear this for the past 6 months. But I can't able to clear these. 1. Difference between the 4 types of drivers. …

Member Avatar for masijade
0
88
Member Avatar for Bunhok

Dear All, I am a new web, I would like all of you kindly help me with code of sorting column heading. Thanks in advance! Kindly regards, Bunhok

Member Avatar for Bunhok
0
290
Member Avatar for raul15791

Hi, I'm new to C#. Can any one help with extracting info from a few .csv files and insert them into DIFFERENT sheet in excel(not necessary .xls format. .csv is fine). I'm not asking for the whole piece of coding. Just need some idea on where to start. :-/ Thanks!

Member Avatar for raul15791
0
244
Member Avatar for eddyhutchins

Hi there, I just saw the thread about helping with assignments but I'm hoping you will be able to share your knowledge with me on this. We have had one week to complete this assignment and I'm beginning to worry I won't be able to finish it, I've tried to …

Member Avatar for LizR
0
161
Member Avatar for Neitz

Im New to the community, im having difficulty in trying to attach code to a password program that will open folders once the correct password is entered. Any ideas on how to do this???

Member Avatar for Neitz
0
96
Member Avatar for dinilkarun

hi Friends, I have used sizers for one of my frame which has Checklist box. THe checklist box is not displayed at first but on slight resizing the Checklist box is displayed. Please assist in this regard. Regards Dinil

Member Avatar for dinilkarun
0
163
Member Avatar for cproud21

I need to print the following array and am not sure how to do so. It uses an object which is already created named TimeAT.... i mport java.util.Scanner; import java.util.Random; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** …

Member Avatar for darkagn
0
87
Member Avatar for potatskie

hi. i'm new to this site. so i somehow not that familiar with the rules in posting so please consider if made some flaws here. i'm currently developing a software that involves reading the the file system. i'm using C# which i'm still new to it. the software involves reading …

Member Avatar for potatskie
0
174
Member Avatar for unk45

im supposed to create an address book and so far have gone as far as getting the input..my problem now is the highlighted section..i have to return bak the info put in initially by the user (first, last name and address), based upon a question to the user to input …

Member Avatar for stilllearning
0
232
Member Avatar for Shanti C

Im developing a web page, where i can drag one image upon another background image and merge them... my problem is , i want to know the position of dragged image by the user.. im using php and javascript functions to develop this... please anybody know about this ..please get …

Member Avatar for Shanti C
0
112
Member Avatar for CPPRULZ

I tried to make a simple function that takes an array parameter and outputs it and it keeps giving me th error: \function test.cpp(12) : error C2664: 'func' : cannot convert parameter 1 from 'int' to 'int []' 1> Conversion from integral type to pointer type requires reinterpret_cast, C-style cast …

Member Avatar for vidit_X
0
350
Member Avatar for Geard2

I am new to link list and I have this problem where you have two lists. One list pointed by HEAD has a list of numbers in it, and the second list pointed by LARGE that contains the highest element(s) in the list pointed by HEAD. Each element has three …

Member Avatar for stilllearning
0
114
Member Avatar for Will Gresham

Hi all Just a quick question, I have avoided the ternary operator type If statement a lot in my code, because personally I find it easier to read a statement like this: [code=php] if (empty($_POST['action'])) { $action = 'default'; } else { $action = $_POST['action']; } [/code] Rather than: [code=php] …

Member Avatar for R0bb0b
0
271
Member Avatar for nano99r

I need to create a er diagram which is a entity relationship diagram about a hospital. My professor gave us a case study and the data requirements are wards, staff, patients, patient's next-of-kin, local doctors, patient appointment, out-patients, in-patients, patient medication, surgical and non surgical supplies, pharmaceutical supplies, ward requisitions, …

Member Avatar for haycalmom
0
123
Member Avatar for milonsito

I hope you guys can help me Im having troubles with this. I need to create this using Vb or vs2008 visual studio or visual basic 2008 can you guys help me? INTERNET SERVICE PROVIDER An internet service provicer offers 3 subscriptions packages to its customers, plus a discount for …

Member Avatar for milonsito
0
333
Member Avatar for Sergei82

The problem: I have an executable and mylib.dll (C# class library) in the same directory. I have a subdirectory "Patch" in that directory containing another version of that mylib.dll. I need to make a sample application somehow that loads the first dll, than frees it (like LoadLibrary and FreeLibrary in …

Member Avatar for Sergei82
0
145
Member Avatar for helpless_101

i am working on a project which has user profile and need to upload an avatar. i have no idea on how to code using php the upload avatar function. any idea? any help would be appreciated! tnx

Member Avatar for helpless_101
0
105
Member Avatar for JackDurden

Im having real trouble seeing this, how do I delete something out of a linked list if it is already there? My current delete function just deletes everything out of the list. the text file contains numbers like this: 75 85 95 25 35 75 85 95 25 [CODE]#include <iostream> …

Member Avatar for JackDurden
0
86
Member Avatar for paulo_war

can i have a sample of a working lexical analyzer??plss...i need it for my project..

Member Avatar for paulo_war
0
107
Member Avatar for luisvega

I have a vector of strings "moves" [code]std::vector<string> moves;[/code] and the Chars: [code] char fromX, toX, fromY, toY; [/code] I use: [code] sscanf(moves[0], "%c%c %c%c", &fromX, &fromY, &toX, &toY); [/code] and Compiler says: [code] error: no matching function for call to 'sscanf(std::string&, const char[10], char*, char*, char*, char*)' [/code] What …

Member Avatar for Ancient Dragon
0
129
Member Avatar for shiniboy

[code=cplusplus] if(minrange<maxrange) { cout <<"The numbers that are divisible by " <<increment<<" are "; cout <<endl; for(count=minrange; count<=maxrange; count++) { if(count%increment==0) { cout <<count <<" , "; sum1 = sum1+count; } } [/code] this is the code that i wrote. The code is working fine. However, my problem is that …

Member Avatar for Ancient Dragon
0
115
Member Avatar for jammy's

#include<iostream.h> #include<conio.h> #include<process.h> const int max=5; class stack { int s[max]; int top; int temp; public: stack (int j,int p){top=j;temp=p;} void push(int item); void pop(); void display(); }; void stack::push(int item) { if(top<4) { top++; s[top]=item; } else { cout<<"\nStack is full!"; } } void stack::pop() { if(top>-1) { cout<<"\nThe …

Member Avatar for ArkM
0
126
Member Avatar for jammy's

[code=cplusplus] #include<iostream.h> #include<conio.h> #include<process.h> const int max=5; class queue { int r; int f; int q[max]; int temp; public: queue(int l,int m,int p){r=l;f=m;temp=p;} void insertrear(int item); void deletefront(); void display(); }; void queue::insertrear(int item) { if(r<(max-1)) { r++; q[r]=item; } else { cout<<"\nQ is full"<<endl; } } void queue::deletefront() { …

Member Avatar for Ancient Dragon
0
87
Member Avatar for cali_dotcom

can anyone tell me why this does not work: [code=text] <div> <table> <FORM name="search_form" method='POST' onSubmit="return validate_form();" ACTION='jobsearch.php'> <tr><td>keyword:</td><td > <INPUT TYPE='TEXT' NAME='keyword'></td> <td>Industry:</td><td > <select name="cat_id"> <option value="">---select one---</option> <option value="1">Accounting</option> <option value="2">Administration</option> <option value="3">Automation</option> <option value="4">Banking</option> <option value="5">Biotech</option> <option value="6">Bussiness</option> <option value="7">Construction</option> <option value="8">Construction</option> <option value="9">Consulting</option> </select></td></tr> <tr><td>city …

Member Avatar for scru
0
79
Member Avatar for ihatehippies

So I made this script call auto ascii encrypter and it basically goes character by character through a script and converts it to ascii numbers. It makes a new a script using the ascii numbers. But I get an error no matter how simple the script is. 'invalid syntax.' Heres …

Member Avatar for Gribouillis
0
132
Member Avatar for Talli

can someone make a simple program that prints numbers in series depending on the persons input .. for eg :- if input is 5 then output should be : 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 ....please help asap .. thank you …

Member Avatar for Talli
0
133
Member Avatar for freelancelote

Hi, during an assignment I needed to write a function that, among other things, had to print some of an array values. The simplified version that I show below creates an array of 50 pointers, populates it, and prints the values from main and from a function. I'm really struggling …

Member Avatar for freelancelote
0
122
Member Avatar for Se7Olutionyg

[QUOTE] * Calculates and displays: o The number of square centimeters of material that are needed to manufacture a specified quantity of flat washers o The weight of the left-over material, after the washers are stamped. In order to calculate the leftover weight - you will need to determine the …

Member Avatar for Lerner
0
254
Member Avatar for legend_018

Hi. I'm trying to learn c# using some online tutorials. At one point, it was teaching me that objects are defined by attributes (data) and behaviors. Example of an Object could be a person with eye, color, and height as attributes. Than later on, I'm learning about properties. The examples …

Member Avatar for legend_018
0
383
Member Avatar for peter_budo

:o Hi there!!!!!! May I ask for help? After holidays all my C++ knowledge gone. What I need is to create string from integer number and another string as STRING = INTEGER + SUFFIX where INTEGER is 5 SUFFIX is than 'th' so STRING is 5th

Member Avatar for Talli
0
289
Member Avatar for codeforfun

Ok, this Program was supposed to make the [U]asterisk go down a line every 1 second[/U] and to be able to move right and left, It moves right and left but [U]it doesn't go down.[/U] For Those wondering, yeah im trying to make an arkanoid or something like that... this …

Member Avatar for LizR
0
103
Member Avatar for Lone | Wolf

hello, I'm new to the language and so far as I can tell this should work but it isnt. Sorry its probably just a newb mistake but i've spent hours on this silly error (and used search). [code]var call_start, call_length : integer; discount, cost: real; answer: char; const normal_price = …

Member Avatar for LizR
0
126
Member Avatar for laghaterohan

hello, I get my values displayed in the datagrid on the click of search button. In that datagrid there are several fields....among them one is the ID field.... When i click on the ID field that id should get displayed in the ID TEXT FIELD... Well, below is the code …

Member Avatar for manal
0
127
Member Avatar for threebluIdboys

Hi, I am very new the whole php and mysql scene. I am trying to teach myself and so far everything has gone smooth, that is until today. I am trying to modify an existing php form that of course adds to a database and then displays the results for …

Member Avatar for threebluIdboys
0
88
Member Avatar for Daiosmith

Hi all, I have been having a problem for a little while with regards to strings. The problem is that i want to find two different words in a string then return the words between those 2 words. ie: If i had the string "The quick brown fox jumps over …

Member Avatar for shadwickman
0
110
Member Avatar for mhangman

hi, im trying to write a macro script but i need help about to using buttons.(on keybord not another device) i can define a button(with "input" for numbers if am i not wrong?) but how can use that? i want to push that button not print it or add it …

Member Avatar for Stefano Mtangoo
0
87
Member Avatar for Stefano Mtangoo

Hello guys, I'm trying to make a program that will : at startup it will give you login Dialog which will connect to database. Then it will bring Main window displaying tables. Then I have Another dialog to do some editing of Tables. Here are my two Questions: Is it …

Member Avatar for Stefano Mtangoo
0
182
Member Avatar for cwarn23

I have made a PHP script which takes days to execute (Web Article Generator) and is there any way that I can make the while loops do more Instructions Per Second using php. Because when executing the script, the servers resources are very low (15% memory & about 9% of …

Member Avatar for R0bb0b
0
123
Member Avatar for core2d

I have an assignment to write a pseudo-code to have a list pointed by H (list of numbers) that have to be copied to a list pointed by H1 (only the odd numbers need to be copied). Can anyone tell me if I am wrong on this (not a working …

Member Avatar for bhoot_jb
0
191
Member Avatar for tatainti55

Why do i get this error every time i try to compile an SDL source code? D:\gcc installation problem, cannot exec `cc1': No such file or directory. That's the ONLY error i get.

Member Avatar for tatainti55
0
117

The End.