132,726 Archived Topics
Remove Filter ![]() | |
<!-- IMPORTANT: Fill out the "Subject/headline" box above. Then go to your wiki's [[Special:Version]] page and note your software version info below. --> * MediaWiki version: 1.16.0 beta3 * PHP version: 5.3.3 * MySQL version: 5.1.41 * URL: localhost <!-- Now, please report your error, or ask your support question below. (You can … Software Development c# php web-browser | |
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? Software Development c++ | |
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 … Software Development gui java java-swing | |
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[] = … Software Development c | |
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 … | |
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. Software Development java | |
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() { … Software Development c++ | |
[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; … Software Development java | |
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 … Software Development c c# c++ visual-studio | |
Hi Guys, can anyone tell me how can i convert plain text to XMl.thanks Software Development xml | |
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 … Software Development python tkinter windows-vista | |
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. Software Development c++ | |
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 … | |
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 … Software Development java | |
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 … Software Development c | |
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 Software Development | |
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: … Software Development c++ file-system legal | |
[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 … Software Development vb.net | |
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? Software Development java | |
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 … Software Development c++ visual-studio | |
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, … Software Development visual-basic | |
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 … Software Development asp.net visual-basic | |
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? Software Development | |
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("")] … Software Development visual-studio | |
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 Software Development | |
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, … Software Development perl | |
My hobby is embedded programming therefore I’m learning C , I was just wondering if C has library functions like windows forms,buttons etc(like in C#)? Software Development c | |
hi there ... i need some help .. i m doing a windows service ... it involve capturing pic for the user using the computer every 60 sec interval... i have create a timer and allow it to take every 60 sec and save into the folder... beside tt .. … Software Development open-source visual-studio | |
Hello every one I have referred DLL in my project. I have to handle the event from DLL in VB.net code. Can any one help me out in this regard? I guess we can do using WithEvents. Can you give me complete picture? Thanks a lot. Software Development vb.net | |
I have a solution with many projects (assembled sepparetely), all works fine, but I want merge all because i want make only one project (I want it more secure without reflection to make obfuscation process). In process of integration anything appear not be assigned correctly. - I want run unified … | |
Dear all, I have something very weird, never experienced it before with c# express edition - i have a piece of selection query that selects all the records within a specific month. - this query works very fine in msaccess, but doesnt work in the run time in c#. so … Software Development c# dataset open-source sql | |
I'm trying to write a blackjack game, but I ran into a problem with random integers. I'm to the point where the player has there original number, and they've chosen to hit. I need help figuring out how to make random_integer keep it's value, but then add another random integer … Software Development c++ | |
hello! i've been trying to create an automated task which it should: 1. open Print 2. choose Printer 3. change Paper Size ( i want to print my doc in all paper size) but i find my code too long and oh i dont know, and i want to simplify … | |
Hi all How can I create a csv file with header. I have a text file with several number of blocks staring from "//" and ending a block with "//". I have attached a sample file. I want to use first column of this text as a header of csv … Software Development python | |
I'm fetching a list with all files/folders on a ftp-server, I want to put a [F] before a folder, and leave files like they are, but I can't find a way to check if it's a file or a dir... I already tried: [code=python]from ftplib import FTP import os ftp … Software Development python | |
m a newbie to aspx vb.net and need some help...i've got a login form with staff id adn date of birth loging in credentials. m using 3 drop down lists to capture day,month and year(m populating the day month and year in the page load event). below is my login … Software Development open-source session vb.net | |
Hi all I'm having a bit of trouble wrapping my head around exactly what hiding a class method does, can somebody try giving it to me in plain English? I'm going by the [URL="http://download.oracle.com/javase/tutorial/java/IandI/override.html"]Sun Java Tutorial[/URL] but I find the example a bit vague when it comes to the hiding. … | |
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 … Software Development java java-jsp postgresql | |
Hello friends,I need help to create a program which converts a given dfa to minimised dfa.Not many articles or help is available on the internet and so i request your help.The program can be in any language and any input may be assumed..say for the input,a dfa is given through … Software Development c | |
i have 2 form and 1 dialog... the problem is when i select form2 as startup form i'm not able to copy text from combobox1 on dialog1 to textbox1 which is on form1 ... if i select form1 as startup form its working fine... i 'm not getting whats the … Software Development vb.net | |
[QUOTE]Actually i would like to do steaming,stopword removal,word count and punctuation marks removal from my text data i found code for this in DaniWeb[/QUOTE] [CODE]import string def RemovePunc(): line = [] i = 0 text_input = "" total_text_input = "" #This part removes the punctuation and converts input text to … Software Development python | |
I am using Excel interop in my VB.NET program. My problem is that I can't seem to figure out how to write to Excel *and* define the Range using numbers. Alright, so I have objects being created depending on the file that the user opens. So there could be 100 … Software Development microsoft-office vb.net | |
how does one call a windows (dos-like) command from within java? such as net stop spooler can one capture the resulting text (such as, spooler stopping, or error such and such) Software Development java | |
I am fairly new to c++ and have been working on this problem and asked the professor for help, but he has really been non-compliant. I am lost on this and keep gettin error messages that I do not understand how to fix. Any help that could be given would … | |
Hi I am having trouble with this program, because if the user inputs a multiple word answer for the second question, it will only display the first word of the given answer. And I tried using getline(cin, answer) instead, but that just did not even ask me for an answer … Software Development c++ | |
I'm working with a java application and trying to modify this code so that it no longer prompts the user with the Dialog box to save a txt file. The user already uses the Dialog box to choose a directory in which to save the file at an early point … Software Development file-system java xml | |
Hello, I have been having a heck of a time using a Listbox with a BindingList object as the datasource. I have finally managed to get the ListBox to update when changes are made to existing items in the BindingList object. When removing items from the list I had to … Software Development vb.net | |
Let's say I have my own installer for a product that uses a lot of other components. One piece of my product is a python script. However, most of my end-users don't have python installed already. Is there any way I can include the python installer as part of my … Software Development python | |
Hello everyone. I have seen in quite a few programs, a menu that is actually scrollable. Not a scroll-bar (that can be implemented on a window via the WS_HSCROLL|ES_AUTOHSCROLL flags) but a scroller menu. The menu I am reffering to is often seen inside of windows folders, where the menu … Software Development c++ peer-to-peer | |
hi i have a 6 radio buttons in an interface. each two radio buttons are separated in a panel. when i load the form one radio button in the interface is selected. how can i make it so that all the radio buttons are deselected when they are loaded. how … Software Development c# |
The End.