199,114 Archived Topics
Remove Filter ![]() | |
Hello all, I am having a problem performing a calculation while in formview. I am using visual studio 2005, sql and C#. I have many textbox's that a user inputs, some of these require the calculation of subtotal and total. Here is a small example of what I have tried; … | |
char *p=" My [COLOR="#ff0000"]name[/COLOR] is xyz "; char *q; q=strstr(p,"[COLOR="#ff0000"]name[/COLOR]");//it will return ptr at [COLOR="#ff0000"]n[/COLOR] of [COLOR="#ff0000"]name[/COLOR] now if i want to extract "[COLOR="#ff0000"]name[/COLOR]" from p i will increment the ptr q and put it in a char array say str[] but how will i check for space after [COLOR="#ff0000"]name[/COLOR] … | |
What does the identifier [COLOR=navy]"[B]break[/B]"[/COLOR] mean and how would it be used? Thanks. | |
Develop a[COLOR=red] C program[/COLOR] that has a structure for a list of students that has the array of students and the number of students. The structure for each[COLOR=red] student[/COLOR] consists of [COLOR=blue]ID number, name, GPA, number of courses, and a list of courses[/COLOR]. The structure for each [COLOR=red]course[/COLOR] consists of … | |
Q.Write a function to accept 20 characters and display whether each character input is a digit, lower case letter or upper case letter. Solution I tried [code=c] #include<stdio.h> #include<conio.h> int main() { char inp; int i; clrscr(); for(i=0;i<20;i++) { printf("Enter a character\n"); scanf("%c",&inp); if(inp>='0'&& inp<='9') { printf("It is a digit\n"); … | |
Hi I'm coding a game of towers in java. I'm having trouble moving a stack from one button to another. I have eventlisteners for buttons A and B. If Button A is clicked and then button B is clicked, the value at button A must be added to the value … | |
Hi folks i've been working hard with an assignment for college but have become stuck. Hoping u kind guys could give me some pointers. The assignment section reads: [COLOR=black] [I]MP3 Player [/I][/COLOR][I] [COLOR=black]As stated above, this section of the player will not be loading and actually playing a [/COLOR] [COLOR=black]genuine … | |
Hello. I'm using a JOptionPane to display some application information when the user selects the Help-About menu option. If the about option has been selected and you click on an alternative application (e.g. a browser) when you return to the application the JOptionPane is lost and the application can't continue. … | |
Greetings, I am working with ASP.NET 2.0 GridView. I have a GridView nested in a View control. When I select a record from the GridView I want to populate the records values by Key into a collection of TextBoxes in a second View control within my MultiView. From a scope … | |
Forgive my ignorance, I am new to RDMS and SQL both. My question is this: I have 2 tables, one a primary table and 1 a relational table table 1 has ten rows valued 1,2,3,4,5,6,7,8,9,10 table 2 has 4 rows keying from table 1 row1 = 1 2 row2 = … | |
is there a way to convert everything i input to my program into its ascii binary equivalent? if so please show me; thanks. | |
I am learning JSP can anyone tell me how shall i proceed with JSP I mean what should be sequence of things that will make learning convinent for me Please do suggest me which kinda aaplication i should make in JSP........some ideas I have done core java and servlets | |
I'm trying to retrieve the name of the computer that my programm is running on. This is the code: [code] TCHAR compName[MAX_COMPUTERNAME_LENGTH + 1]; DWORD cnt = MAX_COMPUTERNAME_LENGTH + 1; std::string name = [COLOR=#800000]""[/COLOR]; [COLOR=#0000ff] if[/COLOR]( GetComputerName( compName, &cnt) ) { name = compName; } [COLOR=#0000ff] return[/COLOR] name; [/code] The … | |
Hi, While compiling error found. Please give a solution as soon as posible. CODING: ---------- [code=c] #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <stdio.h> #include "delayImp.h" // // Local copies of strlen, memcmp, and memcpy to make sure we do not need the CRT // extern "C" static inline size_t __strlen(const char … | |
hi every1 i m using jbuilder9 to develop my website and mysql as its back end when i use mysql with simple java program it runs as i store the jconnector in jdk1.3/lib/ext. but when i stor the jconnector in jbuilder/jdk1.3/lib/ext it does not work. can any 1 plz tell … | |
hi every1 i hv created my database in mysql now i have to run the s/w on my clients system. can any 1 plz tell me the steps to export the mysql database and then to import it on my clients computer. thanks in adv | |
Hi, I've problem here. I create 3 check boxlist using vb.net 2.0. One of my check boxlist is uncheck when i try to save in database. when i want to save this using Microsoft access database the error come System.NullReferenceException – “Object reference not set to an instance of an … | |
pls i will like you to help me with something i was practising with c++ classes and i created a class interface called GradeBook, you know that i will need a source file to write the details of the implementation of the public functions? so in the source file i … | |
Hi i need help in c++ vectors ... if you have a vector lets say 1,4,5,6,4,6,7 and you have to remove the duplicate vectors i.e to bring it in the form 1,4,5,6,7 .... i tried the double nested loop and trying to get the first vector and comparing with the … | |
Hi everybody, I have this procedure for launching an application and wait for it to finish, but I get an error: [code] [Error] Main.pas(57): Types of actual and formal var parameters must be identical [/code] What do I do wrong? Who can help me? [code] function WinExecAndWait32(FileName: string; Visibility: integer): … ![]() | |
[code=cplusplus] #include <iostream> #include <fstream> #include <string> using namespace std; const double PRICEA = 9.95; const double PRICEB = 14.95; const double PRICEC = 19.95; const int ONE = 10; const int TWO = 20; const double EXTRA1 = 2.00; const double EXTRA2 = 1.00; int main() { int hours; … | |
Hi....i am now doing the e-book authoring tools...but i have face the problem...i wan to do a "save function" that can save as any type of file. But in my coding only can save as html and text file.. Beside that, i also wan do "open file function". I wan … | |
I'm having a problem with my search function for my linked list. It has to do with my foodItem object. I'm not sure what to replace it with since it's part of the function protocol. The previous version of this [URL="http://www.daniweb.com/techtalkforums/thread72745.html#"]code[/URL] used an array and part of my problem is … | |
Can any one please help me i have been working on this program since morning but couldnot figure it out.....pls... the program reads an input file and counts the frequency of characters in it i.e. how many times each character occuring. i know how to read from an input file … | |
My aim is to write code to cycle through all the documents in a particular directory. Each document requires text and bitmaps inserting and then moving to a new post-processing folder. Can anyone provide me with a solution using VB6 code. I do not know how to access a list … | |
[quote=WolfPack;194658]Feared as much. :sad: Guess the only option is to copy it to notepad and view it there. :cheesy: Thanks Dani. :thumbs up:[/quote] Hey, anybody know any javascript for scrolling a page up to the top?, I know I could use <a href=#> links - but I guess theres a … | |
I have 2 issues:rolleyes: : 1. I'm creating a combobox from inside code (sort of dynamic, when the user finishes a row, another row appears) and I would like to know how to set the list of items the user chooses from. 2. How can I block the user from … | |
hi i have this assignment in which i am lost ... if someone could help me it would be great .... i dun need someone to write the program ... just some hints ... i will try to compile it myself ... just let me know how would u do … ![]() | |
hi, is there a way to delete data in mysql using the 'date' column, i have a table with name message and date. if the date is say yesterday then delete the row.... it is for the shoutbox i am implementing, so i need to delete one messages from yesterday. … | |
I have a question. Eventually, I mean when I can code. I want to write tools for a 3d program called Maya. I dont know if you guys are familiar with it or heard of it. I was wondering if Dev is going to cut it, cause I also need … | |
Is there a free Host in the Net ... which host ASP and MySQL do anyone of u know..please post if u know..... | |
anyone can help me.. i have a task to coplete below is the question : create class called Arithmetic for performing arithmetic process. use two integer variables to represent the private data of the class. provide a constructor function that enables an object of this class to be initialized when … | |
Hey, There are somethings i dont understand in classes, for example let us examine this : we created a class Employee , with private data members firstName, lastName and monthlySalary; we have some functions that performs operations like a constructor, set and get functions on this data members. Now! we … | |
I am taking a Java Beginner class, which I have explained in an earlier thread. I read the chapters and do understand them to an extent, but when it comes to doing the homework, I am at total loss. I have put in for a tutor, and hopefully one comes … | |
How can I let the Tkinter Button command do more than one function? | |
Hi to everyone... I am told to code a Schelling's Segregation Model simulation in C++ . This is about agent simulation and let me explain shortly what it is wanted: * There is a place like the chessboard (8*8) * there are 2 kind of people , the X and … | |
hi , i just start to learn python. i am doing window browser using python for that i am using tkFileDialog module. But when i select any folder, at the same time i want to display the files and folders which contain in that folder. Exactly like window browser. So … | |
hi to all! I'm just new here, I'm a sophomore student using asp.net (c#) & asking for some help.. :?: **I'm having a hard time inserting date in my database.. I used separate dropdownlist for the month, day and year and I want to bind it & insert it to … | |
Hello.. Im in urgent net to compile some Libary Management System written in .NET. The code seems very good, but I'm facing some problems I cannot solve/figure out myself, because I dont have any experience with .NET. It seems like DataSets (classes) wont be included in FORMViewer.cs - I tried … | |
[COLOR=#000000]help me please?[/COLOR] [COLOR=#000000]Write a program that uses a for statement to calculate and print the average of several integers. Assume the last value read is the sentinel 9999. A typical input sequence might be[/COLOR] [COLOR=#666666] 10 8 11 7 9 9999[/COLOR][COLOR=#000000]indicating that the program should calculate the average of … | |
Hey everybody, Could somebody please provide an example for using the STL find_if for the following task. I am trying to search a vector of structs, using the following criteria: compare whether the key of the struct in the vector matches the key of another struct (instace of the same … | |
Good Evening, I am looking for some help with code that I found on Dynamic Drive here: [URL]http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm[/URL] I am trying to use it on this page: [URL]http://www.amandapopephotography.com/gallery2.php[/URL] here is the code I am using: [code=html]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <head> <title>Amanda Pope Photography</title> <meta name="keywords" content=""> <meta … | |
Hi All I m a C++ programmer and now I want to study Java... Can somebody tell me from where I can get a free download for the book Java Complete Reference Or Some other beginner level book... Thanks... | |
Hey guys, Is there a was to show every process running using C++? Or to see if "X" process is running? Thanks | |
Folks, Most of you can see what the below segment of code is doing, the problem I have is that the program is skipping the next line in the source file (airportsMaster) after it has processed a successful match. Is the problem because I am using getline twice or that … | |
Hi, I have a excel sheet "Biodata.xls" (already containing data). I need to load this data to a table "Details " in sql server. I have done it using the DTS wizard. Is it possible to do this through some code in c#? Can somebody help me out....... Thanks, Aswathy | |
Hello, I am creating a simple windows applications using Visual C#. Everything looks good excep the Buttons. Eventhough the buttons looks to have rounded corners and look like Windows XP in the Visual C# developing enviroment, once I build the application the buttons looks old fashion square shape like the … | |
Hi buddies I want to implement VSS(Visual Source Safe) and am having XAMP. I have searched for the info and it says JRE is a must for VSS to work and it come by default if we work on IIS server. But mine is XAMP:sad: What should i do? :?:Please … | |
Hi, well i'm a program that has to show 3 rectangles and a menu (which will add data and then show in the rectangles) to simulate a processor but i´m getting a problem when the program runs, it shows the rectangles and a the menu right, but when i use … | |
i am a newbie in C++ file processing... Any1 can guide me to search for an item(lastname) in the example below? what is [B]seekg[/B] or [B]seekp... [/B]how to use it? [code=cplusplus] #include<iostream> #include<fstream> using namespace std; void main(){ char firstname[10], lastname[10]; int age; ofstream write("text.txt", ios::app);/*actually i am not sure … |
The End.