199,114 Archived Topics
Remove Filter ![]() | |
Hi, I've run into a situation where I can not see how to write efficient code to perform a check that I need to do. I am running on MSSQL 2005 The check is to compare a varchar passed in to the stored procedure against the words in a table. … | |
Hi, I got this code from the internet and i compiled it. But i dont understand the result. Could u explain the result ? I cant figure out the output that shows 'classname@somenumbers' . thz [code=language] public class Andy { public static final Andy nd= new Andy(); private Andy() { … | |
for using file i must read file but file is text i read aword from any line but with see the space i find i read a word but program not accept "" such a spce and give err and for give next line wat i do? | |
Can any body help me ???? i face a critcal problem with [B]AtlWaitWithMessageLoop(hThread);[/B] will actually I don't know much about threading. but when I put my main thread in wait at that time workerthread will not able to post the message (SendMessage() ) to the Mainthread I know That it … | |
Hi all......another question for ya all :S Does anyone know of a way to monitor a change to a database, Basically I need to write some code for my app that can detect a change i.e. table x has been modified in someway or table y has been created etc? … | |
i created one web form the form contain two label box and text box in the form one button is placed i click the button the page redirect to next page window.location.href="fdfgd.com"; but i wll send textbox value and label box value in the corresponding redirect page.. pl help me... | |
hi I am working in asp.net and vb.net I have to fill a report viewer from database without adding a .rdlc file I have to fill the report viewer from database and to show specific columns as per the requirement through coding can it be possible plz help | |
Please help me with this problem! I am new with Delphi, and arrays I just can't understand I need to write program that contain the arrays for colours My first problem is to increment the colour count Those are my declarations procedure btnSelectClick(Sender: TObject); private { Private declarations } CountSelection … | |
My problem may be very simple. I want to use a Tkinter window to show informations to the user, so that he could enter his answers to the Python Shell. The problem is that when the Tkinter Window appears, the Python Shell will no longer receive any command before I … | |
can any body helpme on this point! i have the merge module MSDE n i have to deploy website to another PC i dont want that i install mysql there i want to attach just a fileor dll of database to the project set up . so i will not … | |
hello there, in what way you can convert an integer to a char?? i'll use it to check if the user's input is a number, if it is a letter, it will allert him to try again and input a number...the integer will then be use for a 'for loop...thanks | |
[B]Hi I need to create a void function to calculate area and circumfernce of triangle.[/B] [B]So far I did this:[/B] void area(int a, int b, int c ) { using namespace std; int area; int circ; int s; s = ((a + b + c)/2); if ((a + b > … | |
I recently started dabbling with Visual C++ Express Edition 2005. Was stuck at the very onset! LOL! How to Create a console application using Visual C++ Express 2005 ?? I could create the project, included the files..did all.. build it nice and clean.. but how to run [ make ] … | |
Hi All, When I deploy an VB.NET application to manage documents formatted following Microsoft Office such as MS Word, MS Excell... But I want to store them by database as MS SQL Server or MySQL. Please help me do that. Thanks, Kinh | |
Im using the MS HTML Object Reference to do this [CODE] <a href="stockmarket.phtml?type=buy&ticker=VPTS">VPTS</a><br> <a href="stockmarket.phtml?type=profile&company_id=126"><font size=1>(profile)</font></a> </td> <td align="center"> 9 </td> <td align="center"> 9 </td> <td align="center"> <font color="black"><b>0</b></font> </td> <td align="center"> 1,000</td> <td align="center"> 15,000 </td> <td align="center"> 9,000 </td> <td align="center"> <font color="red"><b><nobr>-40.00%</nobr></b></font> </td> [/CODE] Ok i need … | |
Hi guys, Can anyone tell me if there is a variable for .vbs files that will allow the code to find the llogged on user? Ill explain a little better... I have a code that copys files and folders to a network drive, however it only works when i am … | |
I just was wondering why the array its self are a pointer to the first element? and what is the difference between an array and a pointer? | |
Hi , Pls. give me sample code for the function drag & drop in VB | |
Hi there, i'm working on a project in which i'm creating, editing and deleting customer records from a MS access db. I'm using vb.net 2003. As with creating and deleting records i dont have any probelms. the problems arise when i come to update the data base if i edit … | |
Hi all, I tried one program to understand the concept of "Default Arguments" that program works prefectly in Dev C++ but not in Turbo C++ compiler(Ver 3.0). Here's my program [code]#include <iostream.h> #include <stdio.h> using namespace std; void justcall(char *c="Parthiban"); //char a[10]; //Global declaration needs for Turbo C++ Compiler void … | |
if i have a tedit object (edit1) and a button (button1) on a form and i set the focus to the tedit object, when the application is run, how do i get it to press the button when i press enter while still in the tedit object. i know it's … | |
Hello, I would like to save the drawings I have made on a Canvas with the Tkinter Module. Is it possible to make a .jpg or .gif or .bmp from a Tkinter window ? Thank you! | |
its part of a dvd program. i want all the objects created and manipulated by the program to be stored in a dynamic array that might grow during the execution of the program. I want to program to store the info in a dynamic array that i can call anywhere … | |
Hi there, i need to create an array to save the location of labels on the form that are created at runtime. how can i do this please? thanks Luke | |
Hello, Firstly, I would like to say i'm kinda new to programming, so this maybe just a simple error. But the fact is, its been troubling me for days now, and I can't seem to find out how to fix it Anyway, I am unable to run my program, The … | |
I am using the shell command to go out and access a wav file to play on my forum. i amd usig the code id = Shell("C:\Program Files\Replay AV 8\mplayer.exe /play /close g:boxw.wav", vbHide) i cannot stop playing the file at any point. any suggestions or comments would be great. | |
why my program don't execute? [code=c] void Supplier::AddDetails() { char ch='y'; int end; fstream suppauto; suppauto.open("Supplier.txt",ios::app); suppauto.seekg(0,ios::end); while (ch=='y') { char s[12]; system("cls"); cout<< " Adding Supplier Details"<<endl; cout<<" ****************************************"<<endl<<endl; suppauto.seekg(0,ios::end); end=suppauto.tellg(); if (end==0) { suppauto.close(); strcpy(suppcode,"S0001"); } else { suppauto.close(); for(int i=0;i<6;i++) suppcode[i] = '\0'; fstream suppauto1("Supplier.txt",ios::in); while(!suppauto1.eof()) { … | |
help wid few things: -exit function -check if one wins -cannot enter in an occupied place... i would be thankful! [code=c]#include <iostream> #include <string> using namespace std; int main() { string a = "1"; string b = "2"; string c = "3"; string d = "4"; string e = "5"; … | |
I have been searching for a long time, and I cannot remember the name of this swing component that I attached in the image. It's the one that is captioned "Please input the...." I don't need help on how to implement it (beyond knowing the class name), I just forgot … | |
In one of my previous posts [URL="http://www.daniweb.com/techtalkforums/thread77253.html"]here[/URL] I got the information on what I had to do. Now I have a similar problem instead of using a button to do that I have 2 links that when clicked will take you to the same page but depending on the link … | |
Hello everybody!!! I'm desperead and i want your help!!!!! I have an excersice which say's: Built a class for dates using private data.the attributes must be controlled for validness.Implement methods for print and a method which returns the difference between 2 dates.Also make a method that calculates the day of … | |
G'day, Back again, this time with three problems. The code below contains a white entry box that I'm trying to get rid of. The main reason I'm trying to get rid of it is that the game I'm working on has a scrollable GUI, and with 50 or so frames … | |
![]() | I am creating a website for a homework assignment & I need help will the login page. I am using an access database with a users table. the username and passwords are stored there. My two text boxes are txtusername & txtpassword. And I would be putting the code into … |
hey there i have a small question if u don`t mind my background is asp.net and i will apply for a job that requires me to know php, but i have never worked before with php are there any major differences between asp.net and php? and does both have the … | |
Hi , I wanted to know how to write a c# code that reads from a file and counts the number of lines . This count should exclude the comments present eg : //this is test using System; should not count "//this is test" at all . Please can someone … | |
Ok im trying to grab the information after [code]<input type="text" name="[/code] and before [code]" value="">[/code] so that it only grabs the information name="" holds Any one offer assistance as to how i do this? | |
I have a field called [EMAIL="field@code1"]field@code1[/EMAIL] in a form in a XSL page. i want to use java script to do validation. the javascript errors if there is a @ in it. 1. is there any way of putitng an @ in javascript 2. is there any other way i … | |
Hi all, please help me. I need to know how to create barcode labels in a desktop application and then how to print them out. If anybody can provide me with java code, that will be a great help. I have tried my hand on various progs on different forums … | |
Hello new to this site - looking for help counting specific characters from a single word input by a text box, Thanks Wes | |
Question - ASP + Ajax Hey! Not sure if this is the correct section to post this. ;) Well, I have a table in my sql server 2000 database *************** tblAddress ---------------------------- City_Name (varchar) Venue_Name (varchar) ******************* The "City_Name" column contains all the name of the cities in my country … | |
Hi all, I just started to work C++ in Dev C++ compiler before that i used Turbo C++ compiler when i try to compile a simple program in Dev C++ compiler . I'm getting error . Here's the program [code]#include <iostream> #include <conio.h> int main () { cout << "Hello … | |
Hey guys, im just askign if its possible for sum help with this assignment i have, its a connect 4 game, and there are some bugs that i cant work out of it no matter what i try here is the code. problem are: 1. when choosing from the first … | |
I can't figure out a way to have this program continue to loop if you press any number other than 1 or 2. Here's the test appilcation. [CODE]public class AnalysisTest { public static void main( String args[] ) { Analysis application = new Analysis(); // create Analysis object application.processExamResults(); // … | |
hi, do anyone have any demo of leave system? i need to take it as reference.if got any example, plz inform me.. thank you. | |
I am a freshman in college, and I am a computer science major. I am looking to co-op/intern this summer and fall, and I was wondering what a good entry level job would be, like thier duties and responsibilities. I am posting here becuase I know more about c++ then … | |
I have heard a lot about OpenGL. I was just wondering if anybody could tell me what the pros and cons of it were. | |
hello there...i've been using this function to know if the input of the user is a number or a letter...but it's not working... [code] #include <iostream> #include <math.h> using namespace std; double temp2; int main(){ cout << "\n enter something"; cin >> temp2; if(isnan(temp2)){ cout << "not a number \n"; … | |
Hi guys, I startin the project of a (web) server in c++ and i want to able to manage about 1000-2000 clients. I have been reading alot about Single-thread VS Multi-thread server and i wanna know what u guys think about it. I do not plan on using one-thread-per-client because … | |
awk '{print NR SEP $0}' SEP="/ " exfile1.txt > try2.txt here is a awk scritp which copies the contents form one to anthor it works well, but how do I change it to copy the contents in to several files ? can any one help please | |
Hi, This function that I've written works well when compiled under the Turbo C compiler on windows XP but it says Segmentation Fault while it runs on linux after compiling with cc Compiler. I've been trying to think what might be wrong....I'm just wasting time....Please help me solve this bug. … |
The End.