199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for fladei

* 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 …

Member Avatar for fladei
0
162
Member Avatar for Rez11

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?

Member Avatar for denguru4
0
117
Member Avatar for Chaster

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 …

Member Avatar for Ezzaral
0
90
Member Avatar for ftl25

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[] = …

Member Avatar for gerard4143
0
2K
Member Avatar for LRNPHP

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

Member Avatar for billmudry
0
205
Member Avatar for cesvokamra

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 …

Member Avatar for cesvokamra
0
119
Member Avatar for Bordeaux0113

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, …

Member Avatar for Bordeaux0113
0
123
Member Avatar for agen8k

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.

Member Avatar for agen8k
0
175
Member Avatar for bufospro

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 …

Member Avatar for svilla
0
168
Member Avatar for wayneww

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 …

Member Avatar for Ezzaral
0
182
Member Avatar for daviddoria

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() { …

Member Avatar for daviddoria
0
196
Member Avatar for SgtMe

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 …

Member Avatar for hielo
0
4K
Member Avatar for Sugarskull

[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; …

Member Avatar for Ezzaral
0
276
Member Avatar for sana_moi

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 …

Member Avatar for safe2010
0
245
Member Avatar for sadhawan
Member Avatar for nick.crane
0
125
Member Avatar for cocoll

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 …

Member Avatar for cocoll
0
88
Member Avatar for fnjschmidt

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 …

Member Avatar for pritaeas
0
94
Member Avatar for Aiban

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 …

Member Avatar for jgomo3
0
12K
Member Avatar for niths

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.

Member Avatar for niths
0
47
Member Avatar for camcam08

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.

Member Avatar for helpme87
0
202
Member Avatar for kasakit

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] …

Member Avatar for Mongooseman
0
295
Member Avatar for pdini

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 …

Member Avatar for pdini
0
2K
Member Avatar for BlueCharge

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 …

Member Avatar for rajarajan2017
0
191
Member Avatar for Member 784374

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 …

Member Avatar for Member 784374
0
69
Member Avatar for edbarker

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 …

Member Avatar for edbarker
0
201
Member Avatar for billmudry

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 …

Member Avatar for mschroeder
0
277
Member Avatar for dan1992

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

Member Avatar for Geekitygeek
0
110
Member Avatar for kasakit

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.

Member Avatar for kasakit
0
155
Member Avatar for plizz

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: …

Member Avatar for mike_2000_17
0
277
Member Avatar for Amar11

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 …

Member Avatar for gumape
0
236
Member Avatar for WareveR

[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 …

Member Avatar for WareveR
0
141
Member Avatar for new_programmer

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?

Member Avatar for vhoramoin
0
137
Member Avatar for hanvyj

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 …

Member Avatar for hanvyj
0
604
Member Avatar for Kamboodle

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 …

Member Avatar for rajarajan2017
0
397
Member Avatar for whiteyoh

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 …

Member Avatar for whiteyoh
0
96
Member Avatar for technopup

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 = …

Member Avatar for technopup
0
95
Member Avatar for pgtjhu

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 …

Member Avatar for kasakit
0
94
Member Avatar for xirosen

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, …

Member Avatar for AndreRet
0
147
Member Avatar for new SE

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() …

Member Avatar for new SE
0
101
Member Avatar for lanitooot

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 …

Member Avatar for AndreRet
0
256
Member Avatar for agent7

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 …

Member Avatar for parry_kulk
0
560
Member Avatar for applemist

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 …

Member Avatar for Chokladkakan
0
118
Member Avatar for AngelicOne

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?

Member Avatar for AngelicOne
0
10K
Member Avatar for mpc123

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 …

Member Avatar for rch1231
0
173
Member Avatar for new SE

how i can retrive the username from database based on the username and password only to make a welcome at the first page?

Member Avatar for new SE
0
128
Member Avatar for hery

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("")] …

Member Avatar for hery
0
199
Member Avatar for ingeva

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 …

Member Avatar for ingeva
0
111
Member Avatar for johndoe444

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

Member Avatar for kvprajapati
0
101
Member Avatar for Akase

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, …

Member Avatar for penfold58
0
486
Member Avatar for braveheart_sb

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 …

Member Avatar for muralibobby2015
0
201

The End.