199,114 Archived Topics
Remove Filter ![]() | |
* MediaWiki version: 1.16.0 beta3 * PHP version: 5.3.3 * MySQL version: 5.1.41 Hello. I've been trying to develop a loader project in C#, but in order to upload a file, the user is supposed to be authenticated in the Wiki website. For now, all what I've got is to use "[[api.php?action=query&meta=userinfo]]", but … | |
When reading out of a textbook, is it good practice to write your code while looking at examples in the book? Is there any tips or advice someone can give when it comes to learning C++ from a book? | |
Hi all, I've been struggling with a Swing issue for days now, maybe someone can help me :) I would like to see several icons at the left hand side of a JTree element. Is that possible? I mean i know that I have to create some tricky cell renderer … | |
Hi. I am trying to create a look up table in C. I have attempted it, but there are compilation errors occurring. Can anyone tell me what i'm doing wrong/offer any advice? I have in my header file the following: [code] struct { (void)(*function)(); const char* functionName; } lookUpTable[] = … | |
Hi everyone. I want to add a advanced search function to a demo site I'm doing but have no idea where to begin on this. I'm using a MySQL Db for all the site and PHP to pull data from DB. Any suggestions are welcome. Regards | |
Hi guys, I've to develop a software to compress and extract files using the RLE algorithm. And I've decided to implement it so that if I've a set of chars like "ABRTTTTOPSSSSSNU" it will be converted as "ABR4*TP5*SNU". Now, the problem is that for example the char '*' could be … | |
I recently completed making a page in HTML & JavaScript. It is basically a template including various textfields, radio buttons, and dropboxes. There is also a submit button at the bottom. My goal is to have a user enter all the input information and then click "Submit." After hitting submit, … | |
suppose we know the name of textfields on a html page and we wish to write a java prog. to automatically login on website with our given predefined details. i mean sending an http request with values for login fields through a prog. and then handle the response. | |
Hi, I would like to learn about joomla ! Does anyone have a tutorial or know a site about this ? I have found tutorial in youtube but it does not help me. I am trying to make a site like that [URL="http://www.fe-odeiopatron.gr/"]http://www.fe-odeiopatron.gr/[/URL] but I don't know how can I … | |
Hi all, I'm using ASP.NET programming with SQL Express 2008: Basically to simplify and summarise, I have Users who can message to each other: Users table: UserID (PK); UserName Messages table: MessageID (PK); UserIDSender; UserIDRecipient I want to Select * from Messages table and also the UserName for the UserIDSender … | |
I posted a while back about how to overload << It seems all the examples online have the second argument as const, ie [code] ostream & operator << (ostream &output, const Point &p); [/code] but if I have a member function that simply returns a double [code] double Point::getX() { … | |
Hi all. Before I say any more, I am a compete noob at JavaScript. I have been attempting to learn some though. I want to make some Windows 7/Vista sidebar gadgets, so, as a practise, I am making a very simple calender. It uses a CSS to draw up a … | |
[code=java]*/ import java.io.*; public class DriverBuggy { public static void main(String args[]) throws IOException { Buggy app; app = new Buggy(); app.appMain(); } // end of main() } // end of class Driver class Buggy { /* Instance Data Declarations */ BufferedReader stdin; // define stdin int firstVar, secondVar, thirdVar; … | |
hellow; im working on visual studio c++ express ediion 2010 when i chose a win32 project i can include any dll as wont and it's work without a problem but when i chose clr application windows form and i include for exempl sql.h i had this error pleas help me … | |
Hi Guys, can anyone tell me how can i convert plain text to XMl.thanks | |
i need help in 2 things: first i have several imagebutton so dynamically i change their ID but when i click in a button the ID reset to default = the ID before run time,so because the page reset because the page returned to the server ,but is their any … | |
Hi, I'm fairly new to PHP coding and currently have a project i want to realize with PHP. The idea is that i have a text file with ISBNs (The numbers used to identify book titles) which is read and each line of text (i.e. each ISBN) is stored in … | |
Hi With every piece of code i download to check out, i often find with python 3.1/Windows Vista that the code will start with from Tkinter import * but i need to change it to from tkinter import * as it seems to be case sensative, i tried renameing the … | |
Hi all, In my website i need a facebook link so that i can login in facebook also.After loging in i need to get all the images present in my facebook. so how can i embed mysite with facebook. Thank u. | |
im using dev c++ my problem is how to create a notepad when i run the program.. ex. i input a name.. and then it will create a notepad in my document and the name of the .txt file is the name what i input. thx in advance. | |
hi guys, i need your help..any help would be appreciated... im currently exploding a $url and i need to explode the every 3 array from my first explode.. $content = explode ($url) result array[1] array[2] array[3]// need to explode array[4] array[5] array[6]//need to explode array[7] array[8] array[9]//need to explode array[n] … | |
Hi all, I developed a GUI application using PyQt which comport a QGraphicsView. In this QGraphicsView I have a QGraphicsScene with a lot of items (more than 10'000): polygons, rectangles, texts, etc. How can I save it as an image like it appears on the screen (.png for example)? I … | |
Hello everyone. I currently have a while loop that pulls all members to a page if the username begins with the selected letter. We have a lot of members now and the "usernames beginning with "a" are quite alot. So i need to be able to have a way to … ![]() | |
HI all, apologies for the strange username! I have a string as follows: 13866,Stephen Moran,Stephen Moran,Killaroo,Streamstown,Westmeath,Ireland,,Moran ,2010-08-05 00:00:00,0,0,,,0,O4,Moran_013866 There are 17 place holders in the string, sometimes they will be empty,sometimes not. When I tokenise it , the blanks are being ignored and its doesn't return 17 tokens. Is there … | |
I have a program which processes thousands of chemical structures. To keep track of how many are being processed, and to avoid staring at a blinking cursor for minutes not knowing if anything is happening, I included a simple bit of code: [code=c] if((MOLNUMBER%10000)==0) { fprintf(stderr,"."); } [/code] What could … | |
On average, I Have been doing quite well on my "TAXA" Wood Wood Knowledge Base website in getting many of the features coded and working --- more than this slow and amateur PHP coder that he could. I even got a search engine working yesterday, something I was not sure … | |
How can using this code[CODE] string sorece = folderBrowserDialog1.SelectedPath; string target = folderBrowserDialog2.SelectedPath; string sourceFile = System.IO.Path.GetFullPath(sorece); string targetPath = System.IO.Path.GetFullPath(target); System.IO.Directory.Move(sourceFile, targetPath);[/CODE] i can move Folders ? please help | |
hi guys i need youre help i have a problem. im retrieving a records (20000+)from my database, $result = mysql_query("SELECT * FROM banco order by counterindex asc"); but it only display 200+ how can i display all my record by page? any help and suggestion is greatly appreciated. | |
I think that I misunderstood something about class definitions in c++... Why it is legal to define class in multiple files, like this: file Test.cpp: [CODE]#include <iostream> using namespace std; void testFunc(); class A { public: void printText(); } clA; void A::printText() { cout << "file: Test.cpp, class: A, method: … | |
Hi, I need an answer to a problem with iframe below. I have an iframe jsp page which is a popup window from an other jsp page. The iframe jsp popup window has few buttons. I need the return reponse of button clicked from iframe in parent window. BTW the … | |
[I]Hi, i'm new to vb but acquainted with programming in java, C, and other languages. I´m developing an application and i'm having difficulties at commanding controls from different forms. It's like this: Form1 has some buttons and charts, and in Form2 it's a "Settings" form to select the category and … | |
List<InputStream> pdfs = streamOfPDFFiles; List<PdfReader> readers = new ArrayList<PdfReader>(); I saw many programmers using this syntax . I didnt get it? Can anyone help me to expalin this in detail ie. <InputStream> what does this mean? and can i implement this same idea with any other code which is simpler? | |
I am trying to make a dll but I am coming up with the following error: \Debug\VideoCapture2.dll.intermediate.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified. I set up my project according to [URL="http://msdn.microsoft.com/en-us/library/ms235636(VS.80).aspx"]msdn[/URL] using visual studio 2008. I looked for … | |
Hi guys, I'm implementing a feature on my site were you can search a database and it will bring back results on a page. I'm not too good with programming as I'm just a casual webmaster so I'm using this tutorial: [url]http://www.designplace.org/scripts.php?page=1&c_id=25[/url] The problem is everytime I click submit it … ![]() | |
Hi All, Can anybody see my error with this following class? im expecting it to show a blank page, but with a title, and when i view source to show the page structure. [code] <?php class webpage { private $doctype = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">"; private $head … | |
Hi, I'm looking for some help. I need to add the letter "a" to the id of an option. The content is dynamic but you will get the idea from below. Any help would really be great. Thanks e.g. [CODE] <script type="text/javascript"> function Toggle(id) { document.getElementById("a18").style.display = "none"; document.getElementById("a19").style.display = … | |
Hi - I've got two (2) Tables: Old and New There are two Fields: ID and Status What I want to do is compare the ID fields between New and Old; if a specific ID is in the New table BUT NOT in the Old table, the I want to … | |
Hi there... I have some questions on how to optimize copying data.. here is may code... Dim aUnicode() As Byte Dim g1 As Integer Dim g2 As Integer Dim fname As String Function Binary_copy(sourcef As String, destf As String) As Long Dim totalS, chunksize As Long Dim wrtn As Long, … | |
Hi, what should i use to make the data inserted is in all capital letter? here is insert statement: [CODE] string query = "INSERT into Categories values (' " + textbox5_value + " ', ' " + textbox6_value + " ', ' " + textbox7_value + " ' )";[/CODE] strToUpper() … | |
help guys. im having this error.. i don't know hat to do.. please help..thankss #Region "FillListView" Sub FillListview() lvList.Items.Clear() sqlQry = "SELECT * from book ORDER BY book_id ASC" Dim mycmd As New MySqlCommand(sqlQry, myConn) Dim dReader As MySqlDataReader = mycmd.ExecuteReader() <---- this is the error im getting it says … | |
please help with my connection i'm getting error("exception: org.postgresql.util.PSQLException: The connection attempt failed.The connection attempt failed.") this is my code.. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ page language="java" import="java.sql.*"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML … | |
I'm trying to trap a user entry that cannot be found in the database. When a code is entered, the page should give a "Code Not Found" message if it is an undefined value. However, it didn't; and it always shows the "undefined" value to the page instead. I'm really … | |
My form1 has a checkedlistbox that is being populated by datatable, then there's a button to open form2 that will add records in checkboxlist. Now when the form2 closes, checkedlistbox from form1 will refresh. How to do this? | |
Hi i have data in a mysql table which is about 70000 rows. In one column there is information that I would like to split into 2 rows. The information I want to send over to the other named row is nicely sat in brackets eg (18) . It is … | |
how i can retrive the username from database based on the username and password only to make a welcome at the first page? | |
Hello all, I want to ask for you, how to i create function with optional parameter in webservice and how i call this function in my application. Thanks this is my code... Webservice: [code] [WebMethod(Description = "Input data ke Database")] public bool inputAllData(string myTable, [Optional, DefaultParameterValue("")] string field1, [Optional, DefaultParameterValue("")] … | |
![]() | I've been using a php script to send simple emails (no attachment). Suddenly I discovered that when making the body of the letter longer than 5323 bytes, it appeared to be sent but was not. I'm using direct SMTP, and no "PHPmailer" because it's just too complicated -- and I'm … ![]() |
Hi, I came across this code snippet: [CODE]new { genre = genreName }[/CODE] I am not sure what is the name of this thing and how this thing works? Thanks | |
Hi I'm new to Perl language and I have this assignment which is killing me, CAN SOMEONE HELP ME PLEASE. Below is the question: You are to write a Perl program that analyses text files to obtain statistics on their content. The program should operate as follows: 1) When run, … | |
Hey i have upload an image on my database (mysql) and i want to retrieve the blob image on a specific size. until now with this code i can fully retrieve the image on the same dimensions that i have uploaded. The uploaded image has the dimensions 1024X728. I want … |
The End.