199,113 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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; … | |
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 … | |
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. | |
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 … | |
umd = New OleDbCommand() umd.CommandText = "UPDATE STUDENT SET roll = ' " + TextBox1.Text + " ' , name = ' " + TextBox2.Text + " ', marks = ' " + TextBox3.Text + " ' " & " WHERE roll = ' " + TextBox1.Text + " ' … | |
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. … | |
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 | |
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! | |
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 … | |
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??? | |
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 | |
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. */ /** … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] … | |
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, … | |
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 … | |
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 … | |
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 | |
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> … | |
can i have a sample of a working lexical analyzer??plss...i need it for my project.. | |
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 … | |
[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 … | |
#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 … | |
[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() { … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
: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 | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
The End.