132,726 Archived Topics
Remove Filter ![]() | |
I am currently trying to code an Operating System using the Cosmos user kit (Milestone 4). It's currently a console interface, and I am trying to allow parameters to the commands. The one I seem to be having trouble with is "Help". It's supposed to spit out available commands of … Software Development open-source operating-system user-interface | |
Hi, Can any one say what is the difference between the implicit and explicit? Thank you, With Regards, Prem Software Development java | |
I'm creating a Content Management System. Users must be able to delete content from a database. This does not delete or give an error message, it just does nothing. [code] protected void deleteBut_Click(object sender, EventArgs e) { string A_ID = Request.QueryString["A_ID"]; string sel = "DELETE FROM acomodation WHERE A_ID=" + … Software Development open-source | |
[CODE]BACKUP DATABASE [DATABASE NAME] TO DISK=’\\SERVERNAME\PATH.BAK’ RESTORE DATABASE database_name FROM backup_device WITH RECOVERY[/CODE] i dont know wheather i should create a query file for the code Software Development visual-basic | |
Would like to be able to replace every [I]nth[/I] word in a text file with a blank space. I'm sure python is so capable. Software Development python | |
How can i copy file with 60GB of size with much faster than usual copy (OS-Windows XP) using VB6.. any help plz.. thanks... xirosen Software Development visual-basic | |
hello....sir i have to access image from mysql database using java program and display it on the window please any one can tell me solution for this problem thanks in advance | |
Okay so my problem is that the server (accessed through filezilla) wont allow .exe extensions to be uploaded as a result i have added a .new to the end and that allows it to be uploaded. Thus when i download it i simply remove the .file from the end. That's … Software Development vb.net windows-vista | |
Before I ask the question I realize that selection of a programming language depends on the context of a problem at hand. Related to this I would like to know (if anyone) how many of you use which language for programming microcontrollers, embedded systems and even generally on PC. Here … Software Development c c++ java python virtual-reality | |
Hi, I've got some trouble opening files saved by The Gimp in BMP 16bits 565. I've test some various bmp they all work except those saved from The Gimp and I really don't know why the format might be different from the one found there:[URL="http://wvnvaxa.wvnet.edu/vmswww/bmp.html"]http://wvnvaxa.wvnet.edu/vmswww/bmp.html[/URL] Bleu.bmp and Mire.bmp are some … | |
first off my knowledge in C # is at a begginer's level.. and im done at loops and some basic more in my course..i was learning well due to a great proffesor.But he was replaced and i'm not learning any. -.- but my problem is about classes... i can't seem … Software Development | |
this code is to find the factorial of a number by the recursion principle. trace the control flow in this program very carefully. Software Development c | |
Anyone played with the jxl API before? It's a tool for read/write access to Excel spreadsheets - a little bit dodgy, but it works. I wrote a piece of code for my brother using this a few months ago, and now he's starting to see a warning message, which is … Software Development api java microsoft-office | |
I'm working on an Image editor for a class project. I am stuck trying to display the image onto the panel with a button. My action listener is working fine. I don't know if the paint component is working right. help please. Here is my code for an Image Viewer … Software Development image java java-swing | |
I'm currently working on a program with linked lists. The program asks you to enter five integers, and every time you enter one that integer is added to the front of the list. My issue is that for each input, i need to insert the node at the beginning of … Software Development c++ linked-list | |
Write a C++ program that takes 2 characters (c and d), and a positive integer (n) and outputs the following drawing of size n n made of the characters c and d, as shown below: Enter two characters and an integer: # _ 6 #_#_#_ _#_#_# #_#_#_ _#_#_# #_#_#_ … Software Development c++ | |
[CODE][/CODE]hello can you help me please my program will generate error it says can't find symbol Class Node please help me hoping for your positive responds... here's the error... D:\SinglyLinkedList.java:16: cannot find symbol symbol : class Node location: class SinglyLinkedList private Node head; ^ D:\SinglyLinkedList.java:17: cannot find symbol symbol : … Software Development java | |
Hi all, What is the differnce between the xmpp server Vs jms.? Using jms we can perform the message transfer. Using xmpp server also we can transfer the message. Thank you, With Regards, Prem Software Development java | |
![]() | Hello all - I've been coding in Python for a couple of months now, and I recently ran across the following piece of code (where x is a set or list): [CODE]f = lambda x: [[y for j, y in enumerate(x) if (i >> j) & 1] for i in … Software Development python |
This is my EmployeeList.jsp <%@ 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" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html:html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>List of Employee</title> </head> <body> <table border="1" cellpadding="1" cellspacing="1" align="center"> <tr> … | |
Hi, In this "tree" code, what I am having trouble with is for example i inputted 2 numbers ( 7 and 5 ) an 7 is the root. if i wanted to delete 7 which is the root, it should be deleted and replaced by 5 making 5 the new … Software Development c | |
Hi guys, For multi dimentional arrays, i know the amount of columns- 3. But I do not know the amount of rows because each input file has a diff. no. of rows(which can go up to a few thousands). So how do I make an array out of it? Thank … Software Development java | |
I have a program with arrays declared in the main function. However, when I want to use that array in my init() function, it doesn't work. May I know what must be done so that I can use my arrays in the init() function? Software Development java | |
import java.util.*; class Data { int num; String name; Data(String na) { name=na; } public int hashCode() { return 5; } public boolean equals(Object o) { if(o instanceof Data && ((Data)o).name==this.name) return true; else return false; } } public class Sandeep { public static void main(String[] args) { HashMap map=new … Software Development java | |
HII ... i was doing this program where i can enter student grades and the program will tell me like the over-roll grade .. and stuff .. i am almost done i think but i am stuck now soo plz if u can make this work plz help .. THANK … Software Development c++ | |
hi, i want to be able to intercept IE connections and get the URL before the contents are downloaded, either when clicking on a link or entering the address directly in the Addressbar, i found some examples on the web and made some changes but still some things are not … Software Development python | |
I am trying to edit this program to pass two variables to the function call using a passing-by-reference. I need help as to how to modify what I have. Any help would be appreciated. #include "stdafx.h" #include <iostream> using std::cout; using std::endl; int incr10(int& num); // Declare function int main(void) … Software Development c++ | |
Hello everybody, I am trying to communicate with a Vitamin Scanner from a computer, which connects via Comm port. It should do the equivalent thing of opening up 'Hyper Terminal', typing in 'a', hitting enter, then typing in '?I', enter, 'S', enter, and a long list of integers shows up … | |
Hey everyone, i am new to the Pic 16f877 microcontroller and am having trouble doing analogue to digital conversion. can any one help me or even give me the codes. i would be very grateful. Software Development assembly | |
Hi all, I am trying to work out how to use the try and catch methods in Java. I am new if you havent guessed and I am wondering how I can change my code which searches for a particular user id which is inputted and when found it opens … Software Development file-system java | |
hello frd i m a final year student and want to make a major project in java.please give some ideas and topics Software Development java | |
I created an array and tried to get the length of this array, but This is my code: [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { int[] arr = {1,2,3,4,5,6,7,8,9,10}; Console.WriteLine("first dimension length", arr.Length); } } } [/CODE] … Software Development | |
hi, i'm writing a poker game project and encountered some problem while i try to sort the cards in hand. so far, i have a deck of 52 cards, each of the player is assigned for 3 cards. the questions, I don't know how to sort the cards in the … Software Development python | |
Very new to this. Trying to create a console application with code::blocks. I'm told when I Ctrl+F9(Build->Build) I should see 0Errors, 0Warnings at the end of the process. I', also told when I Ctrl+F10 (Build->Run) an output window should open and I should see my first program execute. "SayHello1 - … Software Development c++ | |
Hello everyone. I have already read the "MySQL C API Programming" tutorial found at: zetcode.com/tutorials/mysqlcapitutorial. The problem is, the tutorial does not show how a person would display the results obtained from the [u]SELECT FROM[/u] statement in a char * format. Does anyone know if it is possible to convert … | |
I have a comboBox that I need to fill using data from Access database. For this, I get a DataTable with resultset from database, transform this resultset in a List<T> to sort by number and fill the Rows with this List. The problem is, after selected some value, I can't … Software Development microsoft | |
This question is more from curiosity than necessity. I've been playing with the Java2D API, and I noticed a weird quirk with using Active Rendering. The Graphics 2D object doesn't appear to do anything the first time I use it. My code basically looks like this (I know it isn't … | |
Hello, I have started to create an app that through some other things needs to take the text from two text boxes on a form and then post the text on list box that's located on another form. Following is the code with which I've tried doing this... and of … Software Development | |
Hi All, I have a question that I cannot figure out. I have DLL that will export class and some C functions. Should I enclose both definition (.cpp) and Implementation(.h) with extern C? something like below? myfunc.h [CODE=C++] class TestClass{ //some stuffs here }; extern "C" { void myFunc(int x, … Software Development c++ | |
Hi, I've been stuck on trying to sort a hand and while I've tried to do a bubble sort, it doesn't seem to work. Here's my code: [code]def rankValue(card): #Converts card value to integer (rank) if card.value == "Ten": return 10 elif card.value == "Jack": return 11 elif card.value == … Software Development python | |
* I meant pointer parameters This function that has two parameters, both of type reference and return reference to pointer. Do I need to fix anything? I have been stumped for days and dunno what I should fix here is my code: [CODE]#include <iostream> using namespace std; double *ComputeMaximum( const … Software Development c++ | |
I have written a code to validate a string.but i am getting an error in the 3rd sentence as "the name "NullToString"does not exist in the current context"...can anyone help me out... Software Development email | |
How do i set the size of my listbox to be the same as my split window? I tried to use sizer but because this is my first time using it and it did not work.please help. THANKS [CODE] class bucky(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,id,'Frame aka window') #panel=wx.Panel(self) self.sp = wx.SplitterWindow(self) … Software Development python | |
I am having a problem firing off a DOS app. To run a SQL 'SSIS' package, you use the following syntax: C:>dtexec /f "PACKAGENAME.dtsx", the quotes are required. I have tried os.system, os.execlp, os.execl and none of them seem to work. os.system causes an error with 'dtexec' saying the package … Software Development python | |
I am running SQL 2005 Standard Server. I am using Visual Studio 2010 for development. Let me just say that what I have below works, I would just like to have some constructive critisism. Is this the best way? Is there a better way? Are there any things I need … Software Development sql vb.net visual-studio | |
How do you nudge a message box like the one in msn? Is there a easy method to do it? Software Development c# | |
hello friends , I want to learn perl or python. which one is powerfull and where to start Software Development perl | |
I have been Out of real pythoning for a while. My favorite Toolkit is wxpython but It have a huge size due to monolithic nature. So even with simple app, it swells! I was looking if I can have any size difference with Other GUI toolkit, PyGTK! Hope someone will … | |
Hi there, I have a question regarding file open in C# , I have the path of the file saved in the database, what I want is when I open the open dialog button it will show the files in the path that I have saved and when the use … Software Development c# file-system |
The End.