199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mesamb1

I am brand new to the world of java and was working on a tutorial from the java website. I was feeling all cool writing my code and getting it and then when i tried to compile a bycycle program i got a error message reading: [/Users/Sam/Bicycle/build.xml:29: Compile failed; see …

Member Avatar for mesamb1
0
156
Member Avatar for Fabii23

#include <stdio.h> #include <string.h> char* string(char *str); int main() { printf("%s\n ",string(" in this method ")); getchar(); return 0; } char *string(char *str4) { char str[25] = "How"; char str2[25] = " do I "; char str3[25] = " return a string"; strcat(str,str2); //append str2 to str and return str …

Member Avatar for WaltP
0
7K
Member Avatar for reRanger

Hello: I have been reading today about creating and using Sets. I have tried some sample code to see the results and I think it might be useful for me. I am in search of a data type that will be able to store strings and\ or values culled from …

Member Avatar for vegaseat
0
123
Member Avatar for akadri

Hi, I want to know how to convert a decimal integer into its binary form?? I came across a code which used BIT OPERATORS; I could not understand it. pLEASE HELP ME WITH THIS. Note: This is not my ASSIGNMENT PROBLEM. I know one way of converting decimal into binary …

Member Avatar for Ene Uran
0
179
Member Avatar for reRanger

Hello: I was wondering if anyone in this forum could point me in a direction (a link) where I could find practice projects (similar to Python [URL="http://www.daniweb.com/techtalkforums/thread32007.html"]Projects for the Beginner[/URL]) dealing specifically with C++ classes and their related functions? Thank-you in advance, reRanger

Member Avatar for Ene Uran
0
108
Member Avatar for royaloba

hello everyone can somebody help with prolem. i already successfully istalled php and apache2 and already test it. but my problem is the connection for the mysql, which i use the include script.. i check the include file but there is nothing wrong with it..here's the sample error i encouter …

Member Avatar for rinoa04
0
75
Member Avatar for msaenz

:mrgreen: hi im am tryingto create a dimensional analysis thing going on and so far i have this [code] def mult(self,other): tempTuple1=list() tempTuple2=list() i=0 for unit,value in other.expr: for unit2,value2 in self.expr: if unit2 == unit: tempTuple1.append((unit, value+value2)) #self.expr[i]=tempTuple1 ## for unit2,value2 in self.expr: ## for unit,value in other.expr: ## …

Member Avatar for msaenz
0
151
Member Avatar for dss

Hi, I am having 100 records in my database and i fetch them from database. Now i am displaying it in table i want to display it like 1 2 3 4 in different td. But when i give query it echo in stringht line 1 2 3 4 . …

Member Avatar for mahe4us
0
86
Member Avatar for cath120

I put together a few pages of a fledgling site in Dreamweaver MX, so have set out the overall design including the menu bar. But I would like to make the menu bar into a drop down menu. I thought this would be easy but after searching for hours on …

Member Avatar for tgreer
0
221
Member Avatar for reRanger

Hello again: I seek assistance on what I believed would be an easy problem to solve, but, after much searching, I have not yet discovered a valid answer: I have a canvas which consists of a background GIF upon which (when triggered) at least one new (smaller) GIF will appear, …

Member Avatar for reRanger
0
116
Member Avatar for Slade

Which is your favourite? I need help because I wanna know what I should be making my site in.:cheesy: Thanks guys, Slade

Member Avatar for M_K_Higa
0
343
Member Avatar for Killer_Typo

I recently read a post by someone stating that you could not encrypt POST or GET sessions while sending data between pages. I wanted to know if there was a way. could one not simply write a script that would encrypt the message before sending along with a key that …

Member Avatar for tgreer
0
98
Member Avatar for nathanpacker

I won't beat around the bush. A simple form is posting the field "notes" and "request_id" to this script. "billingrequest" is my tablename, "notes" is the field on the table I wish to update with the field "notes", and requestid is the field on the table that identifies which row …

Member Avatar for Puckdropper
0
130
Member Avatar for donkey

I have written a program in php that writes a .doc file. the file is being written correctly, but i'm getting constant errors in the log. even when i'm not refreshing the page. I have no clue what could be causing errors when my page isn't even running. Please help …

Member Avatar for digital-ether
0
87
Member Avatar for SethR

Why can't I get the changes in my grid to update the data base? Here's the code.............. Public Class frmAddChangeDelete Inherits System.Windows.Forms.Form Dim currpath As String = System.Environment.CurrentDirectory Dim connService As New System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source= " & currpath & "\ServiceCalls.mdb") Private daCustomers Private daCalls Private daStatus Private serviceDS As New …

Member Avatar for SethR
0
168
Member Avatar for hike34

I am programing in MFC .NET, and I am encountering a problum in adding the symbol '' to a CString object. This is naturaly due to the fact that the symbol is used for such things as \n \t ect. How do I go about it? say I have the …

Member Avatar for clemente
0
153
Member Avatar for nathanpacker

I've written a php script that displays a summary table with certain select information from a database table. It has a "view" button next to each row, which takes the user to a printable form with the complete information from the table on it. There is a portion on this …

Member Avatar for nathanpacker
0
211
Member Avatar for sudhakarsrl

hi respected friends, i have strucked with out this feature in my project. Please help me,and me sample code if u can . i have a JSP page which is having two combo boxes,in this page my main aim is: in my first combo box if i select one courseID …

Member Avatar for masijade
0
169
Member Avatar for elcarajo

Hi, I'm trying to connect to the active directory using asp. I'm having problems with logging in, what happens is the username accepted is not the user logon name but the displayname is accpeted heres the code: [code] Dim oRootDSE, oCon, oCmd, oRecordSet,oRecordset1 Dim sDomainADsPath, sUser, sPassword, sGroup, sProperties Dim …

Member Avatar for shoobala
0
200
Member Avatar for Taps

Hello all.. I need some innovative idea's for this.. Q For a given version/patch How can one check that what is recived is what we have delivered? How to check that what we delieverd is wht they install?We use to send packaging to our authorities in different countries and this …

Member Avatar for Taps
0
75
Member Avatar for whisper

Hello there, I am trying to write a script for an old 133mhz laptop I have, that will bind every key to different functions, and on a key press a different image, or video will be displayed, and/or a sound file. I have figured out how to bind keys with …

Member Avatar for whisper
0
82
Member Avatar for alashtur

hi every body.. i need to write a vb programm which i can take the user input and calculate the summution of it .. the input must be charachters .. i'll give every one a value .. i know how to do this part .. i have a problem just …

Member Avatar for alashtur
0
71
Member Avatar for eihd

I need a Javascript drop down menu maker to work as the add-on of DW. Any advice? Thanks in advance.

Member Avatar for eihd
0
103
Member Avatar for waldis

Hi, I'm trying to get the threads synchronized, but the output I get is still wrong: Expected sum: 20000000 Actual sum: 10000000 Do I use synchronized wrong, or do I put it in a wrong place? [code] class TestThread extends Thread { public void run() { for (int i = …

Member Avatar for waldis
0
124
Member Avatar for Killer_Typo

Hi all i will try to be as clear as possible! I am currently working on a site for a customer at [URL="http://www.privacymaker.com/gcs/dev/"]www.privacymaker.com/gcs/dev/[/URL] (where im developing it, the main site location is [URL="http://www.gerbercentral.com"]www.gerbercentral.com[/URL]) well here is the issue i am running into. I have decided to go with mouseovers that …

Member Avatar for Killer_Typo
0
145
Member Avatar for nathanpacker

Hey, I finally got my php code to accept an array into my database without it just putting "Array" in the database field, by using "serialize" like so: [PHP]$services=serialize($_POST['services']);[/PHP] So now it's putting jibberish in the database field like it's supposed to, but I'm unable to use "unserialize" to get …

Member Avatar for medora
0
275
Member Avatar for saravana_ssk

Hi, I have a basic doubt about C compiler option. I have 10 functions in my environment and I want a particular function to go into a new section which will be defined in a file where the function is defined. My question is: Can we define a seperate section …

Member Avatar for Salem
0
102
Member Avatar for Kelba

Alright I've written a password manager before in Java, but it sucked pretty bad. I've decided to make another one in C#. My problem is I don't knwo what file format to use. I could use a text file and use des encryption, but I wanted to know if its …

Member Avatar for leonpwhirl
0
93
Member Avatar for tke999

I developed a web service in VS2003. The prototype ran great. I fully developed the functionality and in the meantime upgraded to VS2005. Now I can't get my web service to run. I referred to [U][URL]http://msdn2.microsoft.com/en-us/library/ms228268.aspx[/URL][/U] At the MSDN site I am told that the compilation tags for VS2005 now …

Member Avatar for leonpwhirl
0
159
Member Avatar for pentasoft4u

Hi, Can u guid me , how to connect the java with xml and I need to get the Data's from any database. Through a common xml file i need to fetch the data and an view through xml.. Can u help me how to do it using java. Regards, …

Member Avatar for jwenting
0
129
Member Avatar for badmoons

Greetings, I am trying to create a script that does 2 things. I imagine this can be done in 2 or 3 lines. 1. ssh to a server 2. execute the passwd command here is what I am trying - ssh -l username server passwd Once the script ssh's to …

Member Avatar for badmoons
0
90
Member Avatar for chip1123

Hey guys, I need help with this client server program I am working on. Description: The server program takes port # as a command-line argument and performs the following operations: 1. Opens a socket connection on the specified port 2. Listen for request from clients 3. When a client program …

Member Avatar for chip1123
0
128
Member Avatar for jto

i have a vb program , i want to run this program on my local intranet , is it possible that my program remains on a single pc and all other pc will access the same from that single location , i have used crystal report tool also , is …

Member Avatar for mrmike
0
203
Member Avatar for EnderX

I've been requested to update a segment of a database, and given that it's kind of longish, I was looking for some way to directly write the data I've got from a file into the DB. I know it can be done via a third party; I have used Delphi …

Member Avatar for pritaeas
0
126
Member Avatar for bikram sahoo

hi, i am bikram give me coding on 1.1 version of signout i am using session.abandon so, session is abandoned but the user is doing work by clicking on back button of browser . i think i am not writing proper security.

Member Avatar for bikram sahoo
0
58
Member Avatar for rinoa04

I always have a doubt that I couldn't solve that is the problem of previewing an upload image properly. I have wrote a php coding to upload and delete an image. In the page, user is able to view the image they have uploaded once they click the upload button. …

Member Avatar for rinoa04
0
146
Member Avatar for nathanpacker

Hey, I've got a form that passes the date onto a php script, which posts all the form entries into a database. One of those fields happens to be a date field. I have it going into a column in a mysql database that has the DATETIME datatype, but no …

Member Avatar for nathanpacker
0
199
Member Avatar for reRanger

Hi: I am beginning to develop a project (game) that will be using graphics: I am trying to implement a view that is an image onto where other images will be added on "top"-- the other images do not have to move via user imput-- I just need to place …

Member Avatar for reRanger
0
8K
Member Avatar for injetykiranbabu

Can anybody send me some source codes regarding web pages. I have got an interview and they said they would ask me to do a web page. What could they possibly ask me to do. If any body have any ideas please do revert back to me. Thanks in advance. …

Member Avatar for Ancient Dragon
0
179
Member Avatar for bazmanblue

hello ive been trying to insert a java code to change the images of my buttons when the mouse is held over i have followed these codes [html]<head> <script type="text/javascript"> function mouseOver() { document.b1.src ="t5fshop.png" } function mouseOut() { document.b1.src ="t5fshop2.png" } </script> </head> <body> <td width="191"><a href="http://www.bob.com" onmouseover="mouseOver()" onmouseout="mouseOut()"> …

Member Avatar for FC Jamison
0
151
Member Avatar for saurabh_kanwar

[COLOR=#000000]Hi Everyone,[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]I'm stuck in a bit of a problem. I've got a table called sales with a date field in it, but the date is not in the date format, its in the number format and it's too late to change it as the table's got over …

Member Avatar for saurabh_kanwar
0
110
Member Avatar for roswell1329

I have a site that I created some time ago that has been operating just fine until today. It seems that today, variables I am passing as post (in the URI) don't seem to be acknowledged by my script. Here is a sample URL: [url]http://www.somehost.com/edit_post.php?id=14[/url] I used to be able …

Member Avatar for roswell1329
0
90
Member Avatar for Klitzy

Hi guys, back again...You guys were very helpful before and I ended up approaching it a totally different way. I used the mathematical way which is hard to explain but well...it worked so thanks. Now I am having a problem constructing a program that prompts the user for a name …

Member Avatar for tknows
0
130
Member Avatar for linux_junkie

Hello, I am a newbie to assembly. I am working with a custom Bios that does not boot the mbr of the first drive but a custom binary file on the first partition of the first drive. It is written in 32bit nasm and loads a [URL="http://www.tek-tips.com/viewthread.cfm?qid=1279995&page=1#"]linux kernel[/URL] directly. What …

Member Avatar for Ryu
0
196
Member Avatar for JumpOff_Ara

I was going to post up a job spec but I think what i'm really looking for is some suggestions to where to look or post up when looking for PHP Coders. And i dont want one-off Rentacoder.com or getafreelancer.com coders due to a couple of bad experiences and I …

Member Avatar for turnkeysetup
0
200
Member Avatar for mahe4us

Hi everyone, Iam mahendran and i working as a php programmer for the last 8months. I have a doubt to create mail ids in server dynamically using PHP. I wants to write a program for generating alias email ids in server dynamically when user register into the site by giving …

Member Avatar for mahe4us
0
202
Member Avatar for Peagles

Hi! How can i derive the used integer from variable a, when i use following code: [code] a = unichr(275).encode('utf8') [/code] When i try this: [code] print ord(a) [/code] It raises an error...

Member Avatar for Ene Uran
0
1K
Member Avatar for champos

Hi, I have a question which i have no idea how to do manage. I need to convert a string in the format like "1 234 567" so i can do some calculations on the indvidual numbers. What is the best way to do this? Thanks

Member Avatar for ~s.o.s~
0
2K
Member Avatar for Texpert

Hi, I am having problem with my Editable GridView. I am selecting columns from SQL-Server 2005 DB using a store procedure [with multiple tables in it] and then I wrote UPDATE and DELTE statements in the GridView query builder. When I run the page, Select and delete works fine but …

0
124
Member Avatar for cancer10
Member Avatar for Puckdropper
0
65

The End.