199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ranjinibiliya

Let me explain the u in detail. First , In sql server i created a New database and then i created a new table. as UserId, User Name, and Passward. Secondly, i created a new Text document with .udl extension , and Got even the message Test Connection Succeeded. Created …

Member Avatar for jaiswarvipin
0
93
Member Avatar for edek

Hi, Is it somehow possible to determine the TableAdapter related to the given table?? I have DataSet with one strong-typed DataTable and related TableAdapter. Please, don't ask why :) but I need to determine related TableAdapter of given DataTable or DataTable of given TableAdapter having only one of them. Possible?? …

Member Avatar for edek
0
99
Member Avatar for ahmksssv

Hi frnds.... I have a page with different topics and explanations.... the total description in a single page..and all headlines at one place... now iam clicking on nth headline, than the page shows that nth topic description location... plz tell me how can i do that?

Member Avatar for nav33n
0
84
Member Avatar for theighost

hi, I am trying to complete a script that sends an email along with html, the html changes the colors and the font, positions ...etc. I am in need of help. thnx in advance

Member Avatar for theighost
0
108
Member Avatar for Dendei

hi i got an problem about reading my files i want to decide which file to open in the program not before anyone now a solution? :) [CODE] string fil; cout<<"which file? : "; cin>>fil; ifstream myfile(fil); [/CODE] cant see why this dont work...

Member Avatar for Dendei
0
100
Member Avatar for shers
Member Avatar for Bandar.M.A
0
56
Member Avatar for meistrizy

Thanks in advance for your help. I am supposed to create a program that allows user input for a code. The program will then read the array and output the letter on the keyboard one character to the left of the inputted strings. I am first trying to get the …

Member Avatar for meistrizy
0
166
Member Avatar for AnGuRuSO

This is pretty damn embarassing, I've been programming for a really long time and have been defeated by a trivial problem. [code] #include "stdafx.h" #include <string> #include <iostream> #include <stdio.h> using namespace std; int main() { int choice = 0; string itemDesc; double itemPrice; cout << "1. Process a sale" …

Member Avatar for AnGuRuSO
0
125
Member Avatar for nirav bhatt

[CODE] #include <cstdlib> #include <iostream> #include <string> #include <math.h> #include "utils.h" #include <float.h> #include "onboostnn.h" //using namespace std; /* Constructor function. This sets the training example file and number of base models. It also sets to NULL other variables to be used later. */ onboostnn::onboostnn(datafile* examples_to_train, long new_num_base_models, int new_num_epochs, …

Member Avatar for ArkM
0
121
Member Avatar for sonia sardana

[code] private void Form1_Load(object sender, EventArgs e) { string file = Application.ExecutablePath; file=file.Replace('\',''); string test = "\\"; int start; start = file.Length; int lPos; lPos = file.IndexOf(test, start); } [/code] First Question I want to ask dat y in variable file \\ are coming.how can I replace \\ by \ …

Member Avatar for ddanbe
0
168
Member Avatar for nzaman
Member Avatar for cascade001

Hello , thank you all for reading my post i really appreciate your DaniWeb it helped me alot before and hope you guys and girls can help me again : i have a program that genrates a powerpoint slide file -it is name is "presentaion1"- now instead of go to …

Member Avatar for cascade001
0
139
Member Avatar for millsy007

Hi I have a form on which I run some validation, if any of the conditions fail I show an alert. For example for the name field [CODE]<input type="text" name="name" id="name">[/CODE] [CODE] if(trim(cname.value) == '') { alert('Enter a Name'); cname.focus(); return false; }[/CODE] This is called when a user clicks …

Member Avatar for millsy007
0
89
Member Avatar for TriceD

Greetings all, I have some difficulties concerning threading and hope you guys could be of help. Let's say I have the following class: [CODE]Public Class myClass Public Sub closeSomething() End Sub Public Sub doSomethingElse() End Sub Public Function doSomething() As String Dim ret As String = "Blablabla" Dim ThreadX As …

Member Avatar for Ramy Mahrous
0
143
Member Avatar for OzY360

hi, i was wondering if there are any free programs available that will allow me to edit source code, assemble & link it, debug and run it. The source code written in assembly is specific to the 68000 family of motorolla chipsets. i just think it would be useful for …

Member Avatar for OzY360
0
160
Member Avatar for queenc

hi If the user changes his photo i want the [B]else[/B] to work.if u the does not change his old photo i want the [B]if[/B] to work.but my below code is not working like that....only the if part is working[CODE] if(isset($_REQUEST["update"])) { $uploadedfile=$_REQUEST['uploadingfile']; $upload="comphoto"."/". $_FILES['uploadingfile']['name']; $filename=$_FILES['uploadingfile']['name']; echo $filename; move_uploaded_file($_FILES['uploadingfile']['tmp_name'],$upload); if($filename!="NULL" …

Member Avatar for nav33n
0
127
Member Avatar for vtelebyteM

access events of form in UserControl i have 1)User control with one MSFlexGrid on it 2)Form to place user control 3)Some form's own control i dont know how many controls are there under form i have to place them in grid columns (eg. combobox in grid to provide its service) …

Member Avatar for vtelebyteM
0
150
Member Avatar for jdm

I'm working on a password program for fun. If the password is correct launch something. If password is wrong prompt again. After 5 wrong guess don't allow the user to try and guess again, but allow them to get to the regular parts of the code. For example. If they …

Member Avatar for jdm
0
97
Member Avatar for ntredame

I am supposed to write a program that converts kilometers to miles and vice versa. We are only supposed to use JOptionPane for this assignment. I am wondering if it is possible to customize the buttons in JOptionPane and associate a formula to those buttons. For instance, I want to …

Member Avatar for stephen84s
0
135
Member Avatar for Trogan

I will be needing to use PHP and MySQL to create a small application. But I need some help setting this up. I need to create a database for my application. I went to mysql.com, but couldn't determine what application I needed for creating my database. What do I need …

Member Avatar for FlashCreations
0
225
Member Avatar for thingstealer

hi everyone, i'm having trouble initializing a private int in a class and can't figure out what's wrong. it's especially confusing me because i do nothing different with my int called size from with my int called HeapSize, but size won't compile. the error i get is: "error: invalid use …

Member Avatar for thingstealer
0
148
Member Avatar for shaieen

[B]i research a code, and it goes like this:[/B] [code=c]include<stdio.h> #include<conio.h> void main() { int a[12],b[12],c[12],i,j=0,k=0; clrscr(); printf("Enter 12 numbers\n"); for(i=0;i<12;i++) { scanf("%d",&a[i]); } for(i=0;i<12;i++) { if((a[i]%2)==0) { b[j]=a[i]; j++; } else { c[k]=a[i]; k++; } } printf("The even numbers are\n"); for(i=0;i<j;i++) { printf("%d\n",b[i]); } printf("The odd numbers are\n"); for(i=0;i<k;i++) …

Member Avatar for shaieen
0
151
Member Avatar for mahela007

I am programming a folder synchronizer for my first python project. (I want to get it finished before school starts in about 2 months. heh heh) Anyway, up till now my synchronizer will only copy file from one folder to another. I want it to be able to copy entire …

Member Avatar for mahela007
0
109
Member Avatar for MarMcD

Hello, Can anybody please help me figure out what I am missing here? I need to to create an inventory program that holds multiple items. In addition, I also have to add the manufacturer and a 5% restock fee. The inventory also calculates the total value of the entire inventory. …

Member Avatar for sillyboy
0
124
Member Avatar for yang120

HI, im trying to write a quiz program, i don't understand why is my first part is not right...help plz!! # include <iostream> # include <cmath> using namespace std; int main() { char answer[8] = {'A', 'C', 'D', 'B', 'A', 'B', 'A', 'B'}; char input[8]; int correct=0, incorrect=0, position=0; for …

Member Avatar for yang120
0
155
Member Avatar for FTProtocol

Just wondering if theres a function to get the window title of your browser. Like if you were to visit [url]www.myspace.com[/url] your window title would be: [url]www.myspace.com[/url] - Mozilla Firefox or w/e browser you happen to use. Is there a way to get the title of a window?

Member Avatar for fskreuz
0
1K
Member Avatar for qajaq49

I'm writing a C++ program to use a MySQL database (which means I'm limited to the <string.h> include file because of usages in the <mysql.h> include file). In one function, the user will enter a 9-character string that will be stored in an array (AcctNum[10], to allow for the terminating …

Member Avatar for qajaq49
0
12K
Member Avatar for Ineedhelpplz

Now i'm not asking for a complete easy answer or source, so please take the time to help me. I would like a very detailed explanation telling what to do, I have no idea. I am very confused by stacks, functions, pushing, popping, and all that. I am very new …

Member Avatar for Ineedhelpplz
0
572
Member Avatar for Naik Dhiren

hi, i am using datagridview on a form [binding with datasource] when i Add/Modify data in grid and if i don't move to next row in the grid then Add/Modify is not possible Why this happens ? pls guide me. Thanks in advance.

0
68
Member Avatar for jeevsmyd

Hello friends.. I am an amateur programmer in TURBO C++ .. It is a very old version v3.0 ... I am beginner.. I wrote a very simple programme to find the largest ans smallest element in an array . . The largest element finding process is working finely .. I …

Member Avatar for seanhunt
0
402
Member Avatar for chicago1985

I have a PHP (version 5) site on a Windows server that allows uploading of files into our Windows server. I currently allow the user to upload up to 10 files at once. If users upload files as big as 20 mb or more slows the upload process down. Should …

Member Avatar for shadiadiph
0
116
Member Avatar for Avaviel

I'm having trouble with a school project. This project runs on commands inputted though the terminal. The problem I'm having is that when I type in the commands: "+a +b +c +d" (insert a, b, c, d) the program breaks at inserting b... so somewhere in the insert command it …

Member Avatar for StuXYZ
0
84
Member Avatar for eenceo

I've been having some trouble using OpenGl in Delphi. Can anyone tell me what I might have done wrong. [URL="http://farm4.static.flickr.com/3133/3305023396_a976b4499b.jpg"] Click here for a screen shot.[/URL]

Member Avatar for eenceo
0
133
Member Avatar for XWDxel

Hello guys, I'm new to this forum so let me know if there's something wrong with my message. I've recently bought a new computer: [Windows XP SP3 x32, Intel(R) Core(TM)2 Duo CPU, E7400 @ 2.80GHz, 1.60GHz, 2.50GB of RAM, Physical Address Extension]. After installing Turbo C 3.0, I tried to …

Member Avatar for Salem
0
170
Member Avatar for comanighttrain

Problem: I have an enumerated type which has description tags in the following style: [URL="http://xml.indelv.com/data-binding-enum.html"]description tag tutorial[/URL] . I have a Windows SQL Server Database from which I am pulling the data (as integers then castine to Enums) which is then being bound to a datagrid. Instead of pulling and …

Member Avatar for sknake
0
596
Member Avatar for danovics

Hi, i'm totally newby here and with php/mysql too. I have a form with some textboxes and checkboxes. The form action is: $_SERVER['PHP_SELF'] . '?changes=1' I want to give a possibility for the user, to change the values in them. So submit button when the submit button is clicked the …

Member Avatar for danovics
0
72
Member Avatar for theimben

Im using vBulletin and Im making a little script which needs to integrate with it. But due to vBulletins lack of PHP plugin support I have to use a client side language to make it work. So I have this script, its queries a database and has pagination. I want …

Member Avatar for theimben
0
66
Member Avatar for jdbarry

n this program, I am calculating the value of pi by simulating throwing darts at a dartboard. I have correctly coded the formula that calculates the values of pi, however, as seen in the code, I can't figure out how to calculate the average of the pi values that I …

Member Avatar for VernonDozier
0
277
Member Avatar for Dewey1040

I'm studying sequential set representation, and one of the only lines in the code that i cant figure out is this [code=C] #define MAX(a,b) (((a) > (b)) ? (a) : (b)) [/code] i get that MAX if a function with two operators, a and b but i dont really understand …

Member Avatar for Dewey1040
0
73
Member Avatar for lili.zdh

hi. i wanted to know whether is there any way to use vb and c# in one project simoltaneously or not? for example i write one form's code in vb and the other one's in c#. if there is a way then what is it ? thank u all:)

Member Avatar for lili.zdh
0
177
Member Avatar for VinceAshbySmith

Hey all wonder if you can spot my mistake or point me in the correct direction. I'm new to Java applets after spending quite some time learning/using standard applications. This simple program is basically converting a standard application into an applet, but for the life of me i can't see …

Member Avatar for VinceAshbySmith
0
141
Member Avatar for RahulV

hi, i've created a Form1 which contains a long running process. But i want an feature that will help the user to stop the running process in between, when i click a Button or some other control. How is it possible?

Member Avatar for RahulV
0
159
Member Avatar for sid.coco

I am working on a project which collects the details of students, and stores it in the database, the data is in the form of excel sheets. Now I am unable to understand that how do I print only the information present in a cell for e.g. if I want …

Member Avatar for ddanbe
0
110
Member Avatar for logarcia

Hi everyone, im new to this site and also abit new to programming with asp. I have this form which is working fine, except for this little thing that I want and is not doing it. I want that when the user hit the Enviar btn (Submit) the info gets …

Member Avatar for Baradaran
0
125
Member Avatar for lesodk

Hi, i want to read some lines to an output text file in a loop. My problem is, that i want to start clearing the text file and then append to it in a loop. At the moment i use: ofstream file; file.clear(); file.open("book.txt", ios::app); for (map<string,Person>::const_iterator it = adrbook.begin(); …

Member Avatar for MosaicFuneral
0
244
Member Avatar for jonathanasdf

Yeah. This was what I was wondering. Because I am initializing arrays using the new function, I was wondering if there was any way that I could catch a force close (clicking the X or using end task) so I could delete [] the array. Or maybe the array is …

Member Avatar for fskreuz
0
133
Member Avatar for southernd0529

[code=cplusplus] #include <iostream> using namespace std; int main() { const double WEEKS=5; const double TAXES=.14; const double CLOTHINGEXPENSES=.10; const double SUPPLIESEXPENSES=.01; const double SAVINGSBONDS=.25; const double PSAVINGSBONDS=.50; //Declaration Section double hours, rate, taxes, grosspay, netincome, clothingexpenses; double remainingbalance, savingsbonds, psavingsbonds, suppliesexpenses; double finaltotal; //Input Section cout<<fixed<<showpoint; cout.precision(2); //sets the 'double' …

Member Avatar for southernd0529
0
132
Member Avatar for arvindikchari

Hello, I have a script which uses a colorpicker in which the user can select a color, and in the preview section the color of one div is changed to this color value. This is done by a javascript function of the color picker. called setcolor. The code for this …

Member Avatar for essential
0
248
Member Avatar for steve345

hello! i recently downloaded [U]dirLIST[/U] php script and uploaded it to my webserver.. script works well, but there is one problem - script doesn't count the folder size.. Please help me to solve this problem script is located here: [URL="http://dir-list.sourceforge.net/"]http://dir-list.sourceforge.net/[/URL]

Member Avatar for steve345
0
91
Member Avatar for musicman45241

OK I'm an older guy that is a fluent Fortran programmer, so don't hold that against me :o), I'm really fluent in VB, C, Java but am new to C#, I'm finding that I'm actually picking it up very quickly...ok, shutup and cut to the chase....I'm working with a windows …

Member Avatar for musicman45241
0
150

The End.