199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Zadj

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. …

Member Avatar for Zadj
0
114
Member Avatar for static

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() { …

Member Avatar for isitintheback
0
80
Member Avatar for somita1

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?

Member Avatar for ithelp
0
75
Member Avatar for amitmistry_petl

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 …

Member Avatar for Ancient Dragon
0
319
Member Avatar for mstester

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? …

Member Avatar for SkinHead
0
175
Member Avatar for thirunavukaras

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...

Member Avatar for sibotho
0
149
Member Avatar for rinkuchoudhury

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

0
253
Member Avatar for MarzenaM

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 …

Member Avatar for MarzenaM
0
141
Member Avatar for Lapinbriac

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 …

Member Avatar for aot
0
189
Member Avatar for aerian

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 …

Member Avatar for peter_budo
0
75
Member Avatar for jaepi

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

Member Avatar for WaltP
0
163
Member Avatar for MarzenaM

[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 > …

Member Avatar for WaltP
0
255
Member Avatar for minigweek

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 ] …

Member Avatar for minigweek
0
194
Member Avatar for npkinh

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

Member Avatar for npkinh
0
85
Member Avatar for ReeciePoo

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 …

Member Avatar for ReeciePoo
0
111
Member Avatar for Phreak

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 …

Member Avatar for mcgyver201c
0
101
Member Avatar for laconstantine

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?

Member Avatar for newprog
0
237
Member Avatar for ivy
Member Avatar for lukis

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 …

Member Avatar for manal
0
102
Member Avatar for parthiban

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 …

Member Avatar for parthiban
0
119
Member Avatar for nemo240588

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 …

Member Avatar for GoldenEye4ever
0
113
Member Avatar for Lapinbriac

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!

Member Avatar for vegaseat
0
164
Member Avatar for m3an

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 …

Member Avatar for m3an
0
149
Member Avatar for lukis

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

Member Avatar for waynespangler
0
108
Member Avatar for bm90

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 …

Member Avatar for bm90
0
1K
Member Avatar for 2thestart

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.

Member Avatar for 2thestart
0
74
Member Avatar for louis7370

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()) { …

Member Avatar for Salem
0
138
Member Avatar for xaphan

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"; …

Member Avatar for Lerner
0
83
Member Avatar for paradox814

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 …

Member Avatar for jwenting
0
120
Member Avatar for edouard89

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 …

Member Avatar for edouard89
0
184
Member Avatar for christianthag

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 …

Member Avatar for christianthag
0
89
Member Avatar for fredzik

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 …

Member Avatar for fredzik
0
2K
Member Avatar for plakelly

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 …

Member Avatar for cutepinkbunnies
0
87
Member Avatar for 7arouf

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 …

Member Avatar for w_3rabi
0
123
Member Avatar for shuchimuley

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 …

Member Avatar for shuchimuley
0
1K
Member Avatar for ReeciePoo

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?

Member Avatar for ReeciePoo
0
135
Member Avatar for joe33

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 …

Member Avatar for MattEvans
0
86
Member Avatar for rahulgupta1979

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 …

Member Avatar for rahulgupta1979
0
258
Member Avatar for wesley123456789

Hello new to this site - looking for help counting specific characters from a single word input by a text box, Thanks Wes

Member Avatar for radu84
0
295
Member Avatar for cancer10

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 …

Member Avatar for cancer10
0
147
Member Avatar for parthiban

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 …

Member Avatar for parthiban
0
684
Member Avatar for Slavrix

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 …

Member Avatar for Slavrix
0
135
Member Avatar for Stoney

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(); // …

Member Avatar for deng_cen
0
212
Member Avatar for yenyen

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.

Member Avatar for yenyen
0
77
Member Avatar for kylcrow

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 …

Member Avatar for kylcrow
0
95
Member Avatar for Ospreyluvr

I have heard a lot about OpenGL. I was just wondering if anybody could tell me what the pros and cons of it were.

Member Avatar for Grigor
0
103
Member Avatar for jaepi

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"; …

Member Avatar for thekashyap
0
119
Member Avatar for MarcosEdu

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 …

Member Avatar for MarcosEdu
0
317
Member Avatar for migg_21

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

Member Avatar for ghostdog74
0
178
Member Avatar for brightmohan

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. …

Member Avatar for Salem
0
101

The End.