199,114 Archived Topics
Remove Filter ![]() | |
hey all, i have a project that is like a server and a terminal interface. the server is the one that can only make changes in the database and the terminal is more of storing what is in the database. here is the problem, i have stored a PDF file … | |
hi experts i m using fallowing code for update, delete and save data it's working very well when i save new recored but when i update and delete recored it's showing error message [B] "Dynamic SQL generation for the DeleteCommand is not supported against a SelectCommand that does not return … | |
Hey all, this may seem abit silly but im having real trouble working out how to make a php form that subtracts and adds numbers from 3 different box's into a new box.. abit like this... box 1: 10 box 2 adds: 1 box 3 minus: 5 Result: 6 im … | |
I'm using xampp on XP. I can't get PHP to read my var from the URL. example, when I hit [url]www.foobar.com/whatever.php?azz=wala[/url] then I should get wala to print to the browser with the following code. Any ideas?? [code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled</title> </head> <body> before … | |
I have a RSS reader on a web-page and the RSS it receives have links that contain "&" sign in them. For the page to be valid it needs to be changed to "&". I know this sounds stupid and unnecessary but I want to fix them. Attached to this … | |
Hello, I have 3 text boxes that users can enter there AIM, YIM nickname and MSN email. Once submittd it sends and stores in MySQL db. I will use mysql_real_escape_string() of course but am not sure what is the best way to ensure no other mailicious code has been entered. … | |
Hi, I'm trying to parse an apache log file and match the IP addresses in it. This is my code so far: [CODE] import re ippattern = re.compile(r"\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b") def matchmyip(): if ippattern.search(line): matchedip = ippattern.search(line) print matchedip.group() [/CODE] Now given a line like this from a log file: [CODE]1999-08-01 00:00:00 … | |
i want to do a search in a listbox This is the code I've written but not working properly formats you some idea [CODE] If TextBox1.Text = ListBox1.Name Then MsgBox("true name") Else MsgBox("false name") End If[/CODE] thanks for help | |
sample of my xml [CODE]<?xml version = "1.0" encoding="UTF-8"?> <?xml-stylesheet type = "text/xsl" href = "input.xsl"?> <products> <laptop> <name>hp </name> <details> 15.6-Inch Espresso Laptop - Up to 4 Hours of Battery Life (Windows 7 Home Premium) </details> <price>600$</price> </laptop> <laptop> <name>dell vostro</name> <details> 17-Inch </details> <price>600$</price> </laptop> <laptop> <name>acer aspire … | |
Hey. i was wondering howto delete a single line from a FFD on the server that i currently have, it is not possible to use a mySQL database and I'd rather keep it a FDD I have tried too no avail. Here is my current code [code] <?php $file = … | |
If you drop a picturebox control onto a form and set its SizeMode to zoom you will notice that no matter what you change the padding property to, it won't change the output. The code for drawing the image in zoomed mode doesn't take in account the deflated rectangle it … | |
Hi Can anyone tell me please What is the best game Developer software. Thanks. | |
Is there a way to use PHP include in URLs? e.g. http://www.domain.co.uk/path/<?php include 'file.php'; ?>/path/page.php This would help me so so so much! Thanks in advance! BJC | |
Hello, I have a tiny problem with my c# application, the short version : not all windows users can see it. Long version: 1. I created my c# application, and it works, no problem there. 2. I published my application and I obtained my setup files. 3. I started the … | |
hello, I am using a bitset constructor to pass an unsigned long and create a bitset object. [code] bitset<32> bvec(012); string mystring=bvec.to_string<char,char_traits<char>,allocator<char> >(); cout << "mystring: " << mystring << endl; [/code] here the least significant 4 bits are- 1010 when i write [code] bitset<32> bvec(12); [/code] the least significant … | |
im new to assembly and have an assembly project to convert arabic numbers(1,2,3,,,,) to roman(V,x,m,IV,,, etc )or ( roman to arabic) i dont know how to start this ,knowing some ideas to do but!!still need heeeeeeeelp | |
Dear All I am writing one small web application in PHP. I am trying to save some data which is entered in PLLWINDOW.PHP and when I click on Button Data should be saved in database, my insert into statement is written in SAVE.PHP. After saving the data in database my … ![]() | |
I have created a program that generates an application which I have saved in a certain location, lets use C:\Documents and Settings\UserName\Desktop\Folder\ as an example. The program uses this base location, then searches through some subfolders, alters a file, and saves the altered file in the base location that the … | |
Hey I have been having this problem, that my little program here, won't delete the file that i am asking it to. Can anyone help me? I am using Live Messenger as an example ;) [CODE] #include <iostream.h> #include <windows.h> int start = 1; int main() { while(start == 1) … | |
My problem is getting snum in the main class to transfer over to the sub class, so that the snum in that class = snum from the main class The code is; [code] package workstation; import java.util.Random; import javax.swing.*; public class Main { public static void main(String[] args) { int … | |
(A quine is a program that produces its own source as its output, typically to a file.) [CODE=Python]import sys ifile = sys.argv[0] counter = 0 istream = open(ifile) source = istream.readlines() source[2] = 'counter = ' + str(counter + 1) + '\n' if counter == 0: original = str(ifile) source.insert(5, … | |
Hi! I have recently started to study C++ and I have already faced many problems. This is something I can't get solved on my own. 1st the program asks the user to type in his/her ID (string). Then it will be splitted in 3 parts: day, month and year. The … | |
Hey! I've been looking into game development recently and decided to start learning, I have good base on C++ so language isn't problem. I came across these 2 libraries, SFML and SDL, they break opinions so I would like to hear which you guys suggest! Thanks | |
:@ Hi every body, i tried recently to compile some old C++ codes but regardless of the compiler i use i get the same error message when i want to link the *.obj file. i even tried it with Tlinker and macrolinker but with no success, if any one could … | |
hey ! i have a homework, actually is a work for note, and i cant resolve it :S:S its my first year in c++ | |
Hi there, I am trying to read values from a .txt file using stringstreams and plan to enter the values into a map, I am reading into a buffer, but it contains spaces and I believe a character which represent the end of line. Here is my program so far: … | |
Hello, Everyone. I have receive the above mention error. I don't why this error is occurring. [CODE]using System; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; namespace TurnkeySolutions.App_Code.DAL { [Serializable] public class DBBridge { public DBBridge() { // … | |
is there any way to catch a C++ DLL exception in C#? | |
Hi, I used SCons to create a shared library (dll) from a c++ file (hello.cpp) below. Then I used Python and it ctypes library to load in the dll and call its functions. I can load the dll and call the main function, but nothing else. I cannot call the … | |
please help me ,check the program . if input the text like this "nice to meet you",the output right,no problem,but if input "nice to meet you too",the result is "nice meet you to",how should i do? [CODE]#include"stdio.h" #define n 100 void del_char(char str1[n],char str2[]) { char str[n],*p1,*q,i,j; p1=str1; q=str; *q=*p1; … | |
I am looking for a sane and sensible PHP framework. Every framework I've run into so far offers "an extensible architecture for developing, maintaining, and deploying applications" which is basically code for "a whole bunch of needlessly complicated BS I don't need". Ultimately, I am looking for something that is … | |
i am using APACHE 2.0.55 web server i have configured apache and php ( i get the phpinfo() page correct) altough after installing apache i do not get the 'http:\\localhost' page i have installed mysql_administrator1.1.9 and mysql-essential-4.1.12 on my PC. i have uncommented 'php_mysql.dll' in php.ini after restarting apache server … | |
i need some help with this script. its working fine but what do i do if i want to insert it within a html script. I have tried to but it between the <head> tags but dont get the result i want, pls help. [CODE] <?php include ('connect.php'); error_reporting(E_ALL); ini_set('display_errors', … | |
I have to develop a C++ DLL using Visual Studio 6 (don't ask why!) I am supposed to start from a template DLL project and then add functionality. Documentation states that I need to copy certain files from the template project into my project. However, when I open the template … | |
Dear everybody I have a question! I have a database with a invoice table for storing invoice data. In this table i use the InvoiceID as my invoice number. My problem is that if a user makes a mistake and the invoice is deleted in order to create a new … | |
There's something wrong with my push function, or how I'm initializing the linked list. Can anyone tell why? The pointer 'operands' wont point to the new head, and always points to the first node created. Adding a second node appears to partially work, (second node->next points to the first node, … | |
Can somebody help me with this? I'm not sure if this is the right forum section, so if it's not, please let me know. The problem goes like this: I need to create a program that has a recursive function which checks whether or not the given string is a … | |
Hi I have a problem with my mdi Child Form, when i close it with Form1Child.Close() then it close with any problem but when y i want to open again with Form1Child.Show(); i got a message that said "Cannot access a disposed object." what can i do??? thanks | |
hi every body I have small system for emails which I must save all user in one file and all message in one file :( . the problem is : i want the user to write a message and when he end it click Ctrl+d then write Ctrl+d in end … | |
[CODE]/*manimbo_mp4.java*/ import java.io.*; public class manimbo_mp4{ public static void main (String[]args) throws IOException{ BufferedReader br=new BufferedReader (new InputStreamReader (System.in)); /*initializing STRING FORMAT variables *smmort holds monthly mortgage amount *spaym holds mortgage payment amount *sremb holds principal amount*/ String smmort,spaym,sremb; /*initializing LONG FORMAT variables *lmmort holds monthly mortgage amount *lpaym holds … | |
can any1 tell me how to display a array of pixels into a gray image using c | |
I wrote a custom web service to submit a form from sharepoint to sql. The form works properly and says the form submitted sucessfully but no data is stored in sql. I am pulling my hair out. Any help would be appreciated. Code is below. [CODE]<%@ WebService language="VB" class="Submit" %> … | |
I have a very complex multi-page form I am developing in the Crystal Reports which is included in VS2008. There is always 1 Page A. There may be 1 or more page B. There may be 1 or more Page C. Page A has 7 subreports and a header from … | |
Good day.! What a frustration drives me just this day.! Last night we got power lost. Just this day when i open my vb project, ive got an error message says that project1 cannot be loaded. When i try to open one form on that project it also returned, form1 … | |
Hi guys, I found this thread ([url]http://www.daniweb.com/forums/thread19814.html[/url]) that gave me guidance on this topic but I wanted to further develop my understanding. I understand that in Java, everything 'passes by value', even references. That is, a copy of the value is passed to the parameter so the original value is … | |
Hi, I've been working on a program that lets you make cartoons. You have to draw one frame at a time. This works fine. The problem is, all you can do is playback the cartoons, you can't save them. I need to find out how to save multiple picture files … | |
Hi, Could you please show me where my error is? I have created one "DLL" file by myself. Then, I want to reuse it in another project, but the system prompt error message whenever I call that "DLL" function. I created "DLL" with "ActiveXDll". The following is my dll code. … | |
HEY...I need some help......i need a c++ code that segments a image.....i need it for my projet...i tried so hard but didnot find it yet....Help Plzzzzzzz | |
I have a post a comment code that validates input but submits on page refresh. so i added session unique id to the form validation. but it won't let me post on any of the detail.php pages after i have posted on one(detail.php is a dynamic page that gets the … | |
Hello, I need some help with python GUI. There are one image(image1), two plots(plot1, plot2) in the GUI. I want they share the same axes. I tried with many methods but only found that just one axis is shared. Another problem is the image and plot redraw flicker. How to … |
The End.