199,114 Archived Topics
Remove Filter ![]() | |
Hi I need advice on whats wrong with the following code statement? $purl = ($resultat->product_thumb_image); echo "<img src='test/image/products/".$purl.".jpg'/>"; $purl is a dynamic variable that should return the ID of the image. i.e. 12DE somehow the echo fails and it does not display the image. Any advice? Tks | |
can u jst create an intermediate code generating machine | |
Hello, I am new to coding in VB. I need to write a program which inputs several files. Since, I have more than 200 files - I would like the program to automatically open, process the file (I have this part written) and close each file and then complete the … | |
Hi, I am using MIcrosoft access 2000, and before 6-7 months I created database "Invoices". To be sure that no one can see code I used in my database, I have set password in Microsoft Visual Basic (under menu Tools>Invoices Properties>Protection). Since I nedded to make some changes in code, … | |
hi i implementing an algorithm where i broadcast packets in a network and i m doin it only c++. could any one help me in giving the code...... | |
Hi.....need hel from u guys...would like to ask on the error with the coding below...the total dura_hour did not shown in the textbox...can anyone point out the mistake or the missing coding? Me.OracleSelectCommand2.CommandText = "SELECT sum(DURA_HOUR) FROM DOWNTIME" Me.OracleSelectCommand2.Connection = Me.OracleConnection2 OracleConnection2.Open() OracleSelectCommand2.ExecuteNonQuery() OracleDataAdapter2.Fill(DataSet141) txtRelia.DataBind() OracleConnection2.Close() thx in advance | |
Hi, I never enter a PHP or html or any other language for web design . I want to use C/C++ with web designs or what ever,so what i need to download for making a webs.? I want that software be free if it possible. | |
Hey there, I have been working with some functions from windows API and now I need to find similar set of functions for Linux. Actually I need functions for Linux that will pretty much do the same or similar thing. I have been searching on google trying "Linux API" , … | |
hi all, I have to maintain a Session variable in the Login page, which is used to keep login information for user. It is not required for user to go for login and access all pages. I mean that if user has an account then he/she can get login otherwise … | |
hi all...... Can you explain me how to get local timestamp in C++. regards wijitha. | |
Hi All I'm a C++ noob so please don't be too harsh. I have written a tiny server using sockets. It forks children off for each connection. Trouble is I need have each child report back to the parent. I have been trying to set up a shared file using … | |
below is the source code that i type, but it can't play the wav sound [PHP]#include <windows.h> #include <mmsystem.h> int main() { PlaySound("chimes.wav",NULL,SND_FILENAME|SND_LOOP|SND_ASYNC); return o; }[/PHP] when i compile this source code the compiler prompt link error can anyone help to show the problem i using windows xp and dec … | |
Hi i m a new usr just loggd in..can anyone help in developing a code 4 msking a telephone directory using class? | |
For this question I would like to reffer to my previous thread: about my game project for school: [URL="http://www.daniweb.com/forums/thread102003.html"]http://www.daniweb.com/forums/thread102003.html[/URL]. I would like to execute a function every few miliseconds. Say every 5 miliseconds. [QUOTE=invisal;495957] This part should call every 5 miliseconds. [code=cplusplus] bool Render() { // Render all the 20 … | |
OK - I'm new to all of this. I need to create multiple files from a list. For example Myfile1.php becomes myfile2.php, myfile3.php, myfile4.php When my list is 2 3 4 I also need to do a global find replace. I have found enough examples of doing that online I … | |
Hi This question gives me a weird feeling, actually I'm not really sure if this is relevant. Anyway, here we go: I'm (still) busy coding my first game in C. The goal is simple: the player is a fisherman and needs to catch all the fish in the water. If … | |
I have a desktop aplication with internalframes (inner classes) in a class KeyBrowser.java(the desktopPane). I built a form FourComponentJPanel.form(java)?? the keyBrowser.java allows me to click a JMenuItem to create createDataBaseWindow(). I wanted to have the liberty to have another class that hold the JPanel FourComponentJPanel.java(templet if you will) In the … | |
this code consider 0,1 as prime numbers and when i remove "!" sign from 0 and 1 it says an error [code]#include <iostream> #include <conio.h> using namespace std; int main(){ int x, y; while (true) { cout << "Please Enter a positive number\n"; cin >> x; if(0 != x || … | |
Hi Everyone, I just want to know that can I implement a Facebook api on my server? It means all the facebook feature should be display in my server. Please anyone have any knowledge about this featured had provided by facebook then please guide me. Thanks Dheeraj | |
well i have 2 weeks reading and testing some C++ but unfortunately i fell into a wall. I succeed making an array with random length and random elements (yeah i did it)and i want to help me making those elements sorted. eg quicksort I read "algorithms in C++ " written … | |
I have created a small program in Python that asks you if you have done something, and then logs the date, question(s) and answer(s) to a file. I thought of writing a program like this while walking to the toilet and twenty minutes later I had finished the program. I … | |
OK, one last thing. Now I have 3 textboxes and here's what I wrote: [CODE] SqlConnection conn = new SqlConnection(); conn.ConnectionString = "data source=.;initial catalog=ForumDataBase;integrated security=true;"; SqlCommand cmd = new SqlCommand(); cmd.CommandText = "INSERT INTO PostTable(ThreadTitle,PostMessage,UserName) values('"+ThreadTextBox.Value+"','"+PostTextBox.Value+"','"+NameTextBox.Value+"')"; cmd.Connection = conn; conn.Open(); cmd.ExecuteNonQuery(); conn.Close(); [/CODE] Can you please tell me what's … | |
Hi. I'm starting to use clientdatasets after years with Zeos DBO and I'm facing some difficulties. I created a TSQLConnection, a TSqlDataset as a ctTable, a TDatasetProvider and a TClientdataset. I populated the clientdataset and tried an ApplyUpdates(0) to insert the records. But I'm getting a "cannot modify a read-only … | |
Take a look at my work - [url]http://crimeagame.com[/url] demo is available also. It is Fallout-like game. The client is coded in AS2.0, bitmaps made from 3D renders. Anyone interested in co-operation please email me - [email]rost@navy.dp.ua[/email] I'm professional artist (3D, 2D, web) and now need the help of talented programmers … | |
i want someone to describe this code to me...what " #include<iomanip.h>" and "#include<stdlib.h>" do ? and how to change the color of the background ? thanks :) [code]#include<iostream.h> #include<conio.h> #include<iomanip.h> #include<stdlib.h> int main() { int number; int response=1; do { system("color a5"); cout<<"Please enter any integer and I will tell … | |
hi, i wanted some help in File handling in C. consider i have one File like a.txt a.txt [Marks] Physics = 60 Chemistry = 80 ;Prac(25) Maths = 98 [Grade] Neatness = B Attention = A ;A+(9.5) Now suppose i have to insert new values in this file for the … | |
javax.servlet.ServletException: Servlet execution threw an exception i am getting this error root cause [ java.lang.NoSuchMethodError: javax.servlet.http.HttpSessionBindingEvent.<init>(Ljavax/servlet/http/HttpSession;Ljava/lang/String;Ljava/lang/Object;)V org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1306) org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:176) masterservlet.CheckLogin.doPost(CheckLogin.java:87) javax.servlet.http.HttpServlet.service(HttpServlet.java:760) javax.servlet.http.HttpServlet.service(HttpServlet.java:853) note The full stack trace of the root cause is available in the Tomcat logs. =================== my CheckLogin code is: ================ [code=java] package masterservlet; import java.io.IOException; import java.io.PrintWriter; import … | |
I have been making a prime number generator. It works, but it's considerably slow if a user enters a high number. If anyone has any suggestions on how to make it faster, please post it. Here's the genrator code: [code] unsigned long int theNumber; unsigned long int Factor1 = 1, … | |
i would like to know how can i access MS Word file in my visual basic application form. Iam describing my logic below, An VB application form with a command button; when i click on the command button, i need to open the already saved MS Word Document. Would you … | |
Hi Guys, In my recent thread on a [URL="http://www.daniweb.com/forums/thread102215.html"]polymorphism problem[/URL] I thought I had it all figured out but now I have I new problem. Now I want to pass in 2 objects of either type bird or pigeon [code=cpp] int main() { Bird B1; Pigeon P1; DoSomething ( &B1, … | |
Hi, I can't seem to find any information at all...about how I can assign an Array into TStringList. I'd like to do something like that : for i:=0 to 10 do begin vArr[0] := intToStr(i); vArr[1] := intToStr(i + 1); vAStringList.addObject(inttostr(i), vArr); end; I'm trying to build a data structure … | |
OK, I am very new in programming, and I installed python2.5.1 and pygame, and I wrote the hello world programme etc. and I ran it in the python shell. But the problem is, I can't run any python document outside the shell. I tried an example in pygame, and the … | |
Hello there, How can i load an xml file,to treeview control and show it in my html page? Thanks | |
Below if part of my login script. I am trying to get it to redirect if the users account status is 'not verified' or 'suspended' (not verified is the field 'verified' = 0 and suspended is 'verified' = 2) I'm sure it could be coded a little more eloquently, but … | |
Hi, everybody i need help so fast ....... i work in project that translate from english to arabic & from arabic to english and i have database that containing english words and there opposite & i made interface that is textbox1 & textbox2 and one button when i enter a … | |
I am unclear how to write a query where I want all the entries in a specific month and date format from a MySQL table. I am not using DATE_FORMAT() with a NOW() correctly. I need to write a query that has a time field in the yyyy-mm-dd format to … | |
Hello, I am very new to Python and have, what I think, is a rather simple question. First, I am running Python 2.1 on Win XP. What I want to do is open a CF page after my process has run and pass the processID, that I will set, and … | |
hi to all I am trying to make a simple java servlet(like jsp) program which allow user to update his profile but I have a problem when user click on update's button [CODE]String un = req.getParameter("username"); String Fn = req.getParameter("Fname"); String Ln = req.getParameter("Lname"); String pw = req.getParameter("passwors"); String updateString … | |
Please help me " System.Data.SqlClient.SqlException: Prepared statement '(@Name varchar(100),@Describes varchar(100),@Money char(10))Upda' expects parameter @Describes, which was not supplied. at System.Data.SqlClient.SqlCommand.ExecuteReader(Com mandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at Assignment.rose.dtgFlower_UpdateCommand(Object source, DataGridCommandEventArgs e) in c:\inetpub\wwwroot\assignment1\rose.ascx.cs:line 111Error:Cannot update " This is the code "namespace Assignment { using System; using System.Data; using … | |
hi there I have two web pages designed with ASP.net on VB I want to send parameter from the first to the second when I open it and I have this code in the first page : [I]Response.Redirect("second.aspx? name=" & usernametxt.Text())[/I] and then in the second page_load [I]stdnamelbl.Text = Request.QueryString("name")[/I] … | |
How a doc file can be open inside browser without prompting the download dialog box? when i have to open a pdf file its dirctly open in browser,how i can achieve same functionality for doc files? | |
Dear Colleagues: I want to separate interface design from its code (in my asp.net school project). So that , I'm trying to use a code-behind using vb.net. For example in my login page I provide the user with username and password input, then handle the user input from lgoin.vb file. … | |
hello i have a question .how can i write a program that gets a statement from user & prints the result sth like below: 2*3+sin(1-cos(0)) please help me | |
hi guys, i have the following code: main.c [CODE=c] #include <unistd.h> #include <stdio.h> #include <errno.h> #include <limits.h> //defines PATH_MAX #define _GNU_SOURCE #ifndef PATH_MAX #define PATH_MAX 255 #endif int main(void) { char mycwd[PATH_MAX]; fprintf(stderr, "\nThe PATH_MAX is %d\n", PATH_MAX); if (getcwd(mycwd, PATH_MAX) == NULL) { perror("Failed to get current working directory"); … | |
Hi , Could you please give me some suggestions? I would like to create a small buffer in my code because the memory of the hardware is quite small. If so, it can't receive all of the data that I send. Sometimes, the data are over write. How should I … | |
strcpy(buf, "my_id_%d_",i) strcpy(buf1, "my_com_id_%d", j) First I want to place value of i into "my_id_1" like so and copy to buf. And do the same thing in second line the code. Now I want to join both buf and buf1 so it will give me a new string "my_id_1_my_com_id_2". How … | |
Hi Im new to this so bear with me... If I have a backend, that allows people to add content to their site, is there a way to allow them to 'paragraph' their text, put in line breaks etc without knowing HTML code? They would be using a form which … | |
I've installed VS2005 in WinXp SP2. When i'm trying to run asp.net web application in my local machine i'm getting the following error:- [B][COLOR="Red"]"Unable to connect to visual studio's localhost web server."[/COLOR][/B] same type of thing is happening when i'm trying to open a windows form application. this time the … | |
hi, i am reading the book "Operating Systems Design and Implementation 3rd edition" which analyzes the minix source code... in the part of filesystems we see this code [CODE=c]PUBLIC _PROTOTYPE (int (*call_vec[]), (void) ) = { no_sys, /* 0 = unused */ do_exit, /* 1 = exit */ do_fork, /* … |
The End.