199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for webmania_bt

Dear all, I am about to implement a user feedback page, by using the smtp server of my university. When I try to send a form, an error message is received as below: [COLOR="Red"]Could not connect to SMTP host: smtp-auth.bris.ac.uk, port: 587[/COLOR] I tested with telnet this smtp address, along …

Member Avatar for kinthada
0
880
Member Avatar for Denden17

Hi guyz, anyone here who know how to set your form in a full screen in any type of screen resolution. Like for example im working here in my pc with a resolution of 1366x768 now if i want my application to run in another pc with another screen resolution …

Member Avatar for Denden17
0
242
Member Avatar for naru vaishnaw

this mail system is working in my local domain(S.K@ r.j.com).i want to send mail to S.K@ j.com. please help me to how to configure mail system . <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("users", $con); $sql="INSERT INTO entryform (Name,Department, Problem, Ext_no, Ip_Add, …

Member Avatar for pritaeas
0
157
Member Avatar for tigersaver

I would like to have a cron job for my web host to take all files in a given directory and create a sub directory with the folder name as the date of the files in the directory and move all files for that date to this sub folder. Sounds …

Member Avatar for pritaeas
0
299
Member Avatar for weeraa

I wanna just a beginning for my coding. (The application running with VB.NET and SQL server) I did this code and it not shown any error. After this process it is displayed the message "Successfully updated". But data is not update on the table. Please tell me, how to update …

Member Avatar for hericles
0
157
Member Avatar for guilherme.carvalho.9250

Hello everyone, Im a beginner in vb.net and currently Im developing a program where i save date to a txt file like this Reminder#dinner#26-07-2012 19:52:00 and show it in a listbox(all the lines in the txt file). What i want to do is to select a line(item) in the listbox …

Member Avatar for guilherme.carvalho.9250
0
2K
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> void main() { int i,j,n,c[10]; char *str,ch; str=(char*)malloc(20); printf("enter the string: "); fgets(str,sizeof(str),stdin); n=strlen(str); printf("%d",n); j=1; c[1]=0; for(i=0;i<n;i++) { ch=tolower(str[i]); if(ch== '') { j++; c[j]=0; } if(ch=='a'||ch='e'||ch='i'||ch=='o'||ch=='u') c[j]++; } printf("no of vowels in each word in given line is \n"); for(i=1;i<=j;i++) { printf("word is %d-->%d\n",i,c[i]); } …

Member Avatar for deceptikon
0
151
Member Avatar for GlenRogers

Ok, I have a website built for a friend(simple/static). I want to add an amdin panel for him, so he can log in, put pictures into the gallery, change or update his stocklist and change or update his news section with special offer etc (he owns a reptile shop). I …

Member Avatar for stultuske
0
125
Member Avatar for weirdCreature7

Please help im a super beginner in php and I am doing this for my homework :) I just want to add a code that will Deny Access if password is wrong 3 times and the code for my alert box which is the Incorrect username and password is not …

Member Avatar for devianleong
0
300
Member Avatar for owaithaka

hi am getting the following error when I try open my application. everything was ok and nothing has been installed. it just stopped working one day. Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /ssi/login/profile.asp, line …

Member Avatar for PrakashIdnani
0
2K
Member Avatar for Sendy Hipo

hi guys, im curious about c++ gui qt , the i searched for it and download QT opensource 4.8.2 (300mb+) for windows i run the installer, then it asked me for MinGw's directory in my pc, then i use the MinGw inside my codeblock, after that it said "Found version …

Member Avatar for Sendy Hipo
0
358
Member Avatar for rob.peters.1257

I just installed on my development box the WAMP EasyPHP 12.0 which includesPHP 5.4.4 VC9 | PHP 5.3.14 VC9 | PHP 5.2.17 Apache 2.4.2 VC9 + MySQL 5.5.25a + PhpMyAdmin 3.5.1 + Xdebug 2.2.0. The problem: Old PHP pages are parsed by Apache and load correctly. However, any new pages …

Member Avatar for blocblue
0
193
Member Avatar for weajane01

<?php //Database Connection $connection = mysql_connect("localhost", "root","mysql"); if(!$connection){ die("Database connection failed: ". mysql_error()); } //Select a database to use $db_select = mysql_select_db("school",$connection); if(!$db_select){ die("Database connection failed: ". mysql_error()); } //Database query $result = mysql_query("DELETE FROM tblstudent WHERE id=$id AND course='$course'", $connection); if(!$result){ die("Database connection failed: ". mysql_error()); } // Use …

Member Avatar for devianleong
0
128
Member Avatar for kobi

Hello there, How can i add a node in a certian place in a treeView control? Thanks ahead

Member Avatar for JirkaJirka
0
213
Member Avatar for vincezed

Hi all, I'm struggling to create a treeview. I want the nodes to be added dynamically. For example consider there are two froms Form1 and Form2. Form1 is the main , on clicking on a New node button Form2 open. In Form2 i will give the new node name and …

Member Avatar for JirkaJirka
0
440
Member Avatar for shankarz

Look into this code: #include <stdio.h> main() { int p,n,r; float si; scanf("%d %d %d", &p, &n, &r); si=p*n*r/100; printf("SI = %f", si); } Output of this program is 100 100 100 SI = 169.00000 **and also this:** #include <stdio.h> main( ) { int p, n ; float r, si …

Member Avatar for I_m_rude
0
153
Member Avatar for techy23

well, i want to learn some very basic game programming starting from C ,then C++.. How to include that header file <graphics.h> in my IDE like Turbo C or andy other IDE. please help! regards, Techy23.

Member Avatar for I_m_rude
0
1K
Member Avatar for vizz

I want to add clip animation on mouse over to list using jquery my menu structure is, <ul id="menu"> <li><a class="" href="about.php">About Us</a></li> <li><a class="" href="services.php">Services</a></li> <li><a class="" href="works.php">Works</a></li> <li><a class="" href="clients.php">Clients</a></li> <li><a class="" href="contact.php">Contact Us</a></li> </ul> I want to create like [this](http://jsfiddle.net/bazmegakapa/Hftpc/15/)

0
259
Member Avatar for HibaPro

i get this msg from sql server when i restore the back up file TITLE: Microsoft SQL Server Management Studio ------------------------------ An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ ADDITIONAL INFORMATION: The media family on device 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\TenderingSys' is incorrectly formed. SQL Server cannot …

Member Avatar for HibaPro
0
300
Member Avatar for sciwizeh

Hello all, I'm having trouble getting google to give me anything useful because I don't know the name of the algorithm I'm looking for. ![line_types](/attachments/large/1/line_types.png "line_types") This image shows different ways of connecting two points together, A is just plain lines, C is bezier curves but what is the algorithm …

Member Avatar for firdousahmad
0
579
Member Avatar for np complete

Can some one list all the functions in windows.h and there uses? Can't find it in Msdn.

Member Avatar for np complete
0
267
Member Avatar for kalinga

I am having a difficulty when understanding and writing c++ programs .can anyone give me a solution, thanks :cry:

Member Avatar for firdousahmad
0
238
Member Avatar for CasperG

Help!!! I cannot get my combo box to populate using a select statement from mysql database. Please see below for coding [code] CN = New ADODB.Connection 'Connecion to database CN.Open("driver={mysql odbc 5.1 driver};server=localhost;database=v_control;user=root;password=;option=3") RS = New ADODB.Recordset RS.Open(SQLdata, CN, ADODB.CursorTypeEnum.adOpenUnspecified, ADODB.LockTypeEnum.adLockPessimistic) If DBconnect() = True Then SQLSearch("select * from engineer …

Member Avatar for andhie.dhie.1
0
543
Member Avatar for newbie14

Dear All, We are capturing each network packet which is in this format. The problem is that we would like to get the url if it exist in the packet in the form of http://...... ? What is the best whaay to interpret it to capture the url? 000000 cf …

Member Avatar for newbie14
0
180
Member Avatar for Nikhar

I am writing a c++ code (or any sort of code for that matter) after one complete year. And yet I don't think I could have become so bad that I can't make a Hello World program. Still, here I am with so many errors. Here's the code:- [CODE]#include <iostream> …

Member Avatar for pc75
0
3K
Member Avatar for triumphost

I'm trying to generate Unique ID's for a buffer unless they contain the same content. Inother words if the buffer has the same content as another, the ID should be the same; otherwise different. I've found someone using this algorithm for the same kind of buffer: DWORD CalcChecksum(DWORD *pData, int …

Member Avatar for triumphost
0
137
Member Avatar for ska_defender

The following code generates a new php file playlist.php which contains the code as in $start $result variable $path = "./files/"; $path2="http://".$_SERVER['SERVER_NAME'].dirname($_SERVER["PHP_SELF"])."/files/"; //echo $path2; $folder = opendir($path); $start="<asx version='3.0'>\n<title>Example ASX playlist</title>"; $Fnm = "./playlist.php"; $inF = fopen($Fnm,"w"); fwrite($inF,$start."\n"); while( $file = readdir($folder) ) { if (($file != '.')&&($file != '..')&&($file …

Member Avatar for ska_defender
0
244
Member Avatar for VernonDozier

I'm trying to createa function that takes command line arguments, parses them, and returns a stream to be used for output. If a filename is specified, the program will write to that file. If no filename is specified, the default output will be to cout. I haven't gotten to the …

Member Avatar for VernonDozier
0
8K
Member Avatar for Mitja Bonca

I have a small problem with printing reports (made by crystal reports). In Form1 I have a list of customers in a ListView (with checkboxes). If the users selects one customer (checkes ONE checkBox) the report is shown - and the report it self has on option to print. If …

Member Avatar for waqassilat
0
855
Member Avatar for learner_new

> this is my udp server code #include<iostream> #include<arpa/inet.h> #include<unistd.h> #include<sys/socket.h> #include<sys/types.h> #include<stdio.h> #include<string.h> #include<stdlib.h> using namespace std; void error( char *msg) { perror(msg); exit(EXIT_FAILURE); } int main() { int sockfd; sockfd = socket(AF_INET,SOCK_DGRAM,0); struct sockaddr_in serv,client; serv.sin_family = AF_INET; serv.sin_port = htons(53000); serv.sin_addr.s_addr = INADDR_ANY; char buffer[256]; socklen_t l …

Member Avatar for BobS0327
0
3K
Member Avatar for LuckyBec

Hey guys, First post here but i've been a lurker for the past few days. I'm just fiddling with some C# exercises since I decided to try my hand at programming the other day. Please excuse me for being a complete rookie! So...Pseudocode. As far as I understand its a …

Member Avatar for mvxg
0
218
Member Avatar for peterbob

Hey guys, I am new to assembly and I am having a problem compling the code. section .text global _start _start: xor eax,eax push eax push dword 0x71242776 push dword 0x76747977 push esp pop esi mov edi,esi mov edx,edi cld mov ecx,0x80 mov ebx,0x41 xor eax,eax push eax lodsb xor …

Member Avatar for peterbob
0
296
Member Avatar for Labdabeta

Whenever I tell anybody under the age of 20 that I am a programmer, they always ask the same question sooner or later: "Can you hack my computer." I tell them that even if I could I wouldn't. They follow up by telling me to just make a pop-up or …

Member Avatar for VernonDozier
0
253
Member Avatar for zxc123

I have a form with a textbox and I want that textbox to read from text file ,manipulate information in text file and write it to another text file. read each line and when see -- into line break and continue next line until to file end.this code have problem …

Member Avatar for k1robert
0
439
Member Avatar for M.Waqas Aslam

hello ! i am working on a simple application that can block the sites ,after searching i found that if i add name of the site in c:\windows\system32\drivers\etc\hosts then i can block those sites , for this i want to open this hosts file in my textbox with administrator rights …

Member Avatar for M.Waqas Aslam
0
190
Member Avatar for trishtren

hey, Iv been looking around for an easy way to check if a string matches exactly and not just in a few characters I.E B != "ABC" B == B Frederick != F So only if the entire string matches will my condition be met. currently im using : String[] …

Member Avatar for stultuske
0
232
Member Avatar for k1robert

Hi all please help as I am so stuck. My aim in to retrieve the information out of the xml soap file and store it in a database. However I havent got the slightes idea what i'm doing wrong. Please help I just want to write the values out in …

0
121
Member Avatar for rithish

we are using printf and scanf from #include<stdio.h> libraray functions.is it possible to write our own display statement and input statement

Member Avatar for rithish
0
380
Member Avatar for rayidi

Dear All, I'm developing a Bulk SMS application. I want to send Shedule sms using php. I'm not aware of sheduled Or timing interval things in php. Please help me.

Member Avatar for blocblue
0
115
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> #include<ctype.h> void main() { char str[50]; int i=0; printf("enter the string: "); fgets(str,sizeof(str),stdin); printf("the abbrevation of string is"); printf("%c",toupper(str[i])); for(i=0;str[i]!='\0';i++) { if(str[i]== '') { i++; printf("%c",toupper(str[i])); } } } error at line 14

Member Avatar for rithish
0
134
Member Avatar for rkumaram

I want to create quick view for a shopping cart, Problem 1: When I Place my mouse over any of the boxes, quickview appears on all the box, how can I display it only in parent node. Problem 2: When I place my mouse on quickview link, it keeps on …

Member Avatar for rkumaram
0
396
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> void main() { char str[30],str1[30],str2[50]; int i,n,j,k; printf("enter the string: "); fgets(str,sizeof(str),stdin); printf("enter the inserting string: "); fgets(str1,sizeof(str1),stdin); printf("enter the position: "); scanf("%d",n); for(i=0,k=0;i<n;i++,k++) str2[k]=str[i]; for(j=0;str1[j]!='\0';j++,k++) str2[k]=str[j]; for(i=n;str[i]!='\0';i++,k++) str[k]=str[i]; printf("%s",str); } no errors for example output will be like this enter the string:rohinnj enter the inserting …

Member Avatar for deceptikon
0
231
Member Avatar for Leslie Joy

well hello guys want to ask for your help in improving this code. Please help me. First things first I have a database name called quotation and it has 4 fields namely Id, Date, Product and Price. Well I want to get the name of the product in the drop …

Member Avatar for Leslie Joy
0
120
Member Avatar for amelia.rox

I am writing a program where you type in the highs and lows for the week and it averages them and tells you the highest and lowest temperature. I would like it to ask the high for Sunday then the low for Sunday, then the high for Monday and so …

Member Avatar for zeroliken
0
101
Member Avatar for MasterHacker110

I have setup my own server(just a windows XP service pack 2 installed) now i want my friend to connect to it. I understand that there are 2 ways to do this. You can type in your CMD: telnet [IP Address] [PORT] Or you could type: telnet and then the …

Member Avatar for rch1231
0
238
Member Avatar for anallan

my professor gave this machine problem as a part of our finals.can you help me out/ here are the instructions: 2 player tictactoe -program a 2player tictactoe game wherein two players alternately key-in the coordinates to which they want to place a 'o' or an 'x' -the game board is …

Member Avatar for saurai3h
0
1K
Member Avatar for marky101

dim x as integer = 0 str = "SELECT uname, full_name FROM EMPLOYEE" cmd = New MySqlCommand(str, cn) ds = New DataSet da = New MySqlDataAdapter(str, cn) da.Fill(ds, "employee") Dim uname As String = ds.Tables(0).Rows(0)("uname").ToString Dim emp_name As String = ds.Tables(0).Rows(0)("full_name").ToString While x <= ds.Tables(0).Rows.Count If ds.Tables(0).Rows.Count <> 0 Then …

Member Avatar for marky101
0
169
Member Avatar for vishalonne

Hi All I found many article and discussions on storing values of multiple check box here I found one thread [Click Here](http://www.daniweb.com/web-development/php/threads/165648/how-do-i-insert-multiple-checkbox-data-into-mysql) from which I tried to solve my problem but after doing every thing mentioned in that post finally I reached with an errorError: Column count doesn't match value …

Member Avatar for vishalonne
0
2K
Member Avatar for tux4life

This is how mine [B]strcmp[/B] function would look like if I'd to implement it from scratch :)

Member Avatar for ibykow
0
699
Member Avatar for userIT

I have this code that supposed to display the values from an array to a text file #include <iostream> #include <cstdlib> #include <fstream> #include <vector> using namespace std; int array[7][4]; fstream file2; template< typename T > void display( const vector< vector<T> >& matrix ) { for(int i = 0; i …

Member Avatar for userIT
0
239

The End.