64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for dkv

I am new to using php for querying exchange server. I downloaded the class_http.php and class_xml.php. I am trying to run the example "Grab all properties for an item " given at http://www.troywolf.com/articles/php/exchange_webdav_examples.php#allprops . I have modified the following variables in the example php script (exch3.php): $exchange_server = "http://mail.msm.edu"; $exchange_username …

Member Avatar for dkv
0
315
Member Avatar for Shanti C

I want to expire login details after some days.. Can any one help me any short code to this thread in php... I have the registered date of particular member in my database.. Thanks.

0
69
Member Avatar for dinilkarun

I would like to collapse whitespace in a string of the followinf foramat using a some pre defined functionalities. XXXXX<space>-<space>XXXX shoud be converted to XXXXX-XXXXX XXXXX<space>-XXXXX shoud be converted to XXXXX-XXXXX Please help

Member Avatar for dinilkarun
0
236
Member Avatar for kvdd

Hello, I try with the following query to calculate the working time of employees: [code=mysql] SELECT TIME_FORMAT( ADDTIME( TIMEDIFF(TIMEDIFF(hour_end, hour_begin),(hour_pause)), TIMEDIFF(TIMEDIFF(hour_end_o, hour_begin_o),(hour_pause_o)) ) ,'%H:%i' ) AS total FROM hour [/code] This works correct, if the pause is filled, if no pause is given, no total is displayed (NULL). How can …

Member Avatar for kvdd
0
102
Member Avatar for c++ prog

our group made a decision to do a dynamic website, and the best tool for this is PHP! But this is too risky...why? because none of us has any background on it!!! can anyone recommend a site that can teach me how to use PHP...any help would be appreciated..tnx

Member Avatar for ditty
0
133
Member Avatar for Shanti C

Hello all.. Plz look at my thread... I have a date field in my data base table.. And i want to increment that date coming from database table.. Can any one help me please... Thanks... Shanti.

Member Avatar for Shanti C
-1
91
Member Avatar for Pgmer

Hai all, in my appliction Im writing functionality to find keywords entered by user if keyword found i need to return the 10 words before keyword and 10 words after keywords, Im able to find the keywords using Instr method.. Im not getting how to get 10 words Before and …

Member Avatar for Pgmer
0
200
Member Avatar for Q8iEnG

Hi guys :) I'm working on a project ( a game ) this is the code [CODE]#include <iostream> #include <fstream> #include <string> using namespace std; //####### Begin Class Node ########### class Node { public: string data; Node* link; Node(string x) { data = x; link = NULL; } }; //####### …

Member Avatar for Q8iEnG
0
208
Member Avatar for HLA91

Hi Guys This has been going on for a while but now I have finally decided to do something about it. A few weeks ago I compiled a small C program from a book I was reading. It compiled fine but I wanted to make a slight change to the …

Member Avatar for HLA91
0
105
Member Avatar for Venom Rush

Hi there I'd like to know if this is at all possible...I'm sure it is but I haven't been able to find a single function that would do this in php.net's manual. The only function I've found is the copy() function but that only copies a single file or folder. …

Member Avatar for Venom Rush
0
83
Member Avatar for kvdd

Whats wrong with this query? [code=mysql] TIME_FORMAT( DATE_ADD ( TIMEDIFF(TIMEDIFF(u.hour_end, u.hour_begin),(u.hour_pauze)), TIMEDIFF(TIMEDIFF(u.hour_end_o, u.hour_begin_o),(u.hour_pauze_o)) ) ,'%H:%i') AS total, [/code] I get the error: [QUOTE]#1305 - FUNCTION system.DATE_ADD does not exist [/QUOTE] BTW: I am using version 5.0.51a.

Member Avatar for kvdd
0
3K
Member Avatar for Thirusha

Does anyone know how i can get a list of the java stored procedures that are inside the oracle database using oracle sql developer? If anyone has used Toad, i m referring to the list of java classes that comes up when u click the Java tab in Toad. Thanx.

Member Avatar for Thirusha
0
122
Member Avatar for red devils

Hi, i'm new to C programming and i could use some help with an assignment. i would like to store a word in a linked list, with each letter of the word in a separate node of the linked list. i would then like to traverse the linked list to …

Member Avatar for red devils
0
174
Member Avatar for tirso

Hi to all, I want to create an application containing a lot of fields, my problem is the client want to maintain the records of payment and the date. I have created database containing only one tables. How can I handle this kind of database management, the goal is, if …

Member Avatar for sierrainfo
0
94
Member Avatar for Vallnerik25

I have seen that I can use a variable as the specification for the dimension of a one-dimensional array to be allocated by the "new" keyword. The book I'm reading explains that this can be extended to two or more dimensions but with a restriction, only the left-most dimension can …

Member Avatar for Vallnerik25
0
108
Member Avatar for Fuse

I have a problem guys. It's due to duck typing. Now I expected to run into something like this sooner or later, but I can't help but feel there's a better solution. [code=Python]import re def patternMatching(pattern, string): matchList = re.findall(pattern, string) print '\n'.join(['%s' % v for v in matchList]) [/code] …

Member Avatar for paddy3118
0
138
Member Avatar for friedguy

Hey all, I am trying to create a site that produces a PDF or something similar based upon user input through radio buttons. For example say there are three categories A, B, and C. Each category has two options, 1 and 2. So a diagram with option A = 1, …

Member Avatar for friedguy
0
130
Member Avatar for shadwickman

Hi, I couldn't get this to work, but I was using a PHP script to go through the rows in a table in my database and if it found a specific value, to delete that row. However, it deletes ALL the rows no matter what I do and throws an …

Member Avatar for nav33n
0
718
Member Avatar for krazineurons

hi friends! i was searching for a base conversion script in python when i was stumped with the following code snippet [code language=python] >>> number = 1000 >>> hex2bin = {"0":"0000", "1":"0001", "2":"0010", "3":"0011", "4":"0100", "5":"0101", "6":"0110", "7":"0111", "8":"1000", "9":"1001", "A":"1010", "B":"1011", "C":"1100", "D":"1101", "E":"1110", "F":"1111"} >>> "".join([hex2bin[h] for h …

Member Avatar for krazineurons
0
157
Member Avatar for jmasta

Hello everyone, I've run into a brick wall with this problem. I've been given a huge webapp that was designed for IE6, and I need to make it work(and look good) in Firefox 3.0 and IE7. So far, it's just been a bunch of CSS, JSF, and HTML changes, with …

Member Avatar for jmasta
0
144
Member Avatar for Q8iEnG

Hi guys :) Thanks first for the help, yesterday.. I really did well in my exam :), thanks a lot again :) Well, I guess I need a little bit help in this I have a file, and I want the whole paragraph in the file to be inserted in …

Member Avatar for Q8iEnG
0
122
Member Avatar for mike issa

Im writing a code and included many library files (.lib) with it , when i compile all is fine 0 errors and 0 warnings , but when i built i got problems. when using VC 6.0 i got this warning [CODE]LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of …

Member Avatar for mike issa
0
337
Member Avatar for heels

Hi, How do you retain values entered in the textbox after submitting? javascripts or any other methods? Thanks alot. Regards, heels

Member Avatar for casper_wang
0
174
Member Avatar for pakoppan

Hello, I have the following script that [COLOR="red"][B]used to work [/B][/COLOR]with FF2. Now I get under FF3: [COLOR="red"] TypeError: document.getElementByID('content') is null[/COLOR] [B]SCRIPT:[/B] [code=javascript] function Sounding(){ var yr = "08"; var myArray = new Array(); myArray[0] = new Date() ; var mes = (myArray[0].getMonth() ); if (mes.length = 2) { …

Member Avatar for pakoppan
0
126
Member Avatar for Beemer

Hi all , I have a program I have written for a question , but it has one problem I dont seem to be able to solve , the last part has to calculate the average hours spent on each module , yet it keeps coming up with answers I …

Member Avatar for Beemer
0
105
Member Avatar for flash121

Greetings, I'm trying to write a function which gets two pointers as parameters. The first one "points" to the start of the first linked list, the second one is currently on null, but it will later serve as a pointer to the start of another linked list. The function is …

Member Avatar for flash121
0
100
Member Avatar for kvdd

Hello, I am trying to add a total of some items in a while. My while produces list with names and with times that that person has worked. Like this: [code] John 8:00 John 5:00 John 6:00 <<here the total of john>> Lars 9:00 Lars 4:00 <<here the total of …

Member Avatar for nav33n
0
112
Member Avatar for Venom Rush

Hi all Just curious to know if this(thread heading) is at all possible. Haven't been able to find anything on the net so far.

Member Avatar for Venom Rush
0
107
Member Avatar for Swin

Hello everybody, Please help me. very urgent. I am a Junior developer. My problem is, In my site there are number of users. There have entered for space,domain registration ,etc... what is i want is. After one year the Domain Registration was expired. Before one month of expiry date a …

Member Avatar for Swin
0
103
Member Avatar for bjaanes

Hi =) I am very new to c++ and have started messing around with some lines of code, but I am totaly stuck on this one: [CODE] #include <iostream> #include <string> #include <sstream> using namespace std; int main() { int antnames; cout << "How many names do you want to …

Member Avatar for Nick Evan
0
147
Member Avatar for all blacks

The program i am working on currently need to read a file and write into multiple files. Basically i am supposed to separate all the classes in tat file so i actually added an comment line to the file, i extract the classes according to the comments. Now i would …

Member Avatar for mitrmkar
0
148
Member Avatar for darkraider

How to i get it rite ?? i tried the code below by it fail, anyone can correct me and tell when i when wrong ?? var Fname=document.getElementById('Fname').value; if(!/^[A-z]*$/+$/.test(Fname)){ msg+='- Only Letter & Space '+email+'\n\n';}

Member Avatar for darkraider
0
67
Member Avatar for stockton

Not being a SQL programmer please forgive the following but I need to know. I have a MSSQL database with a table containing a row defined as Column Name Data Type Length Turnover decimal 5 also in Enterprise Manager I see Precision is set to 7 and Scale is set …

Member Avatar for stockton
0
291
Member Avatar for crioto

I have some number: [code] int i = 43; [/code] I need to divide this number in to two digits. For example - 43, to get a 4 and 3. Help me pls)

Member Avatar for crioto
0
89
Member Avatar for TheBeast32

Hi, is there a data type larger than unsigned long long int except double? I don't want double or float because I need to keep it as precise as possible. I also need it to be able to do modulus. How would I do this?

Member Avatar for TheBeast32
0
110
Member Avatar for TheBeast32

Hi, I am making a simple screen shot program. I need to be able to capture the entire screen, or if possible, a region of the screen (like a rectangle from point (25, 60) to (300, 456)). I also need to be able to save it to a bitmap file. …

Member Avatar for TheBeast32
0
1K
Member Avatar for SteveDB

Hi all. A while back I'd posted regarding a do-while routine, using switch. It appears that my main is working, and my switch.... it just keeps looping around my main menu. I'm not entirely clear on why either. Here is the code. (One responder to a previous post told me …

Member Avatar for SteveDB
0
85
Member Avatar for Jennifer84

I wonder if it is possible to call the function void OneFunction() inside the buttoncontrol. [code] namespace Test1 [COLOR="Green"]{[/COLOR] public ref class Form1 : public System::Windows::Forms::Form [COLOR="green"]{[/COLOR] private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { // Is it possible to Execute/Call OneFunction() here ? } [COLOR="green"] }; }[/COLOR] void OneFunction() { …

Member Avatar for Jennifer84
0
114
Member Avatar for LevelSix

The task: Write a program that asks the user for a file and counts the number of characters, words, and lines in that file. Then the program asks for the name of the next file. When the user enters a file that doesn't exists, the program prints the total count …

Member Avatar for LevelSix
0
480
Member Avatar for MDGM

Hi all =] I have a php script which gets the file name of every .jpg file in a folder and then writes the <img>, and a form. The script uses a string called "galleryarray" to store the filename, which is then called into a hidden field so when the …

Member Avatar for MDGM
0
154
Member Avatar for MDGM

Hey, Im just wondering how i can get something like this to work: [CODE] $tablename = $_POST['tablename']; mysql_query(CREATE TABLE `databasename`.`$tablename` (`name` VARCHAR( 200 ) NOT NULL)) [/CODE] At the moment its coming up with an error because I am using a variable for the table name instead of inputting it …

Member Avatar for MDGM
3
3K
Member Avatar for Baradaran

Hi, I have a form with two tabs. On each tab, I have 5 different fields. Is it possible to design the elements in a frame and assign them to a tabstrip, or do I have to load and place them in the new loaded tab? I would appreciate your …

Member Avatar for Baradaran
0
216
Member Avatar for Vallnerik25

Hi everyone this is my first post on these forums and I hope that someone can clear up a simple question for me...Right now I am reading Ivor Horton's Beginning Visual c++ 2008 and in chapter four he gives an example program for finding prime numbers using pointers and a …

Member Avatar for Vallnerik25
0
505
Member Avatar for ansari.wajid

Hi All I am working since 2 days to display images in a datalist and the code used is given below, but its not displaying the images. I am storing path of the image in database in imagepath cooumn. Kindly help me please. html code <asp:DataList ID="dlImage" runat="server" RepeatColumns="3" Width="311px" …

Member Avatar for ansari.wajid
0
107
Member Avatar for casper_wang

Hello all, my first post on these boards. I have spent the last few hours reading this section of the boards and I have noticed many new to programming people ask the same question: What language should I use, where should I start, what should I learn, etc etc. All …

Member Avatar for casper_wang
0
124
Member Avatar for sciwizeh

is there a method in the mouse listeners or any other event handlers that utilizes the tilt wheel, either tilt or scroll, i can't find anything edit: found scrolling no tilt yet

Member Avatar for sciwizeh
0
99
Member Avatar for tuse

Hi! I am trying to develop an online examination system (my first asp.net project) in which multiple choice questions need to be answered within a time frame. One question appears after another on clicking a button. How can I use a timer control for this? When the timer expires, all …

Member Avatar for tuse
0
184
Member Avatar for TofiLuk

What's wrong with my code? Can somebody help? Thanks! [CODE]import java.io.*; public class Array { public static void main (String[]args) throws IOException { BufferedReader myinput=new BufferedReader(new InputStreamReader(System.in)); int Arr1[]=new int[5]; int Arr2[]=new int[5]; int SumArr1=0; int SumArr2=0; int x=0; int y=0; for (x=0;x<Arr1.length;x++) { System.out.print("Enter Array1: "); Arr1[x]=Integer.parseInt(myinput.readLine()); SumArr1=Arr1[x]+SumArr1; } …

Member Avatar for ~s.o.s~
0
143
Member Avatar for Nemoticchigga

I am trying to open 2 forms when I start my vs2005 project. The main form, and a second form whose class is created, and then ->show. It shows both forms, but you can control either one. What I want is the main form to be "locked" until the "OK" …

Member Avatar for Nemoticchigga
0
307
Member Avatar for hughv

I'v e been using a script for pop-ups for several years, and it works fine in FF. I noticed the other day that in IE7 it's cutting off the right side of the image. I don't see anything obvious, but I don't know much about Java, so I'm hoping someone …

Member Avatar for ~s.o.s~
0
95

The End.