132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for yeturbumi

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 …

Member Avatar for Geekitygeek
0
210
Member Avatar for prem2

Hi, Can any one say what is the difference between the implicit and explicit? Thank you, With Regards, Prem

Software Development java
Member Avatar for tong1
0
10K
Member Avatar for jellybeannn

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
Member Avatar for Lusiphur
0
177
Member Avatar for krab-man

[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
Member Avatar for AndreRet
0
83
Member Avatar for eldeingles

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
Member Avatar for TrustyTony
0
323
Member Avatar for xirosen

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
Member Avatar for AndreRet
0
246
Member Avatar for mani_1991

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

Software Development image java mysql
Member Avatar for javaAddict
0
265
Member Avatar for TwijoO

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
Member Avatar for GeekByChoiCe
0
687
Member Avatar for xheavenlyx

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
Member Avatar for stevephillips
0
218
Member Avatar for sebcbien

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 …

Software Development os-x python
Member Avatar for sebcbien
0
408
Member Avatar for hellkosmos

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
Member Avatar for hellkosmos
0
129
Member Avatar for indianscorpion2

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
Member Avatar for Adak
0
176
Member Avatar for jon.kiparsky

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
0
161
Member Avatar for benjaminTribe7

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
Member Avatar for peter_budo
0
2K
Member Avatar for AdventGamer

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
Member Avatar for AdventGamer
0
119
Member Avatar for rcplguy15

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++
Member Avatar for sfuo
0
135
Member Avatar for jemz

[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
Member Avatar for jemz
0
6K
Member Avatar for prem2

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
Member Avatar for prem2
0
103
Member Avatar for err1100

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
Member Avatar for jcao219
0
133
Member Avatar for agent7

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

Software Development java java-jsp
Member Avatar for agent7
0
223
Member Avatar for ellenski

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
Member Avatar for abhimanipal
0
165
Member Avatar for hazeeel

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
Member Avatar for hazeeel
0
110
Member Avatar for Sunshineserene

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
Member Avatar for NormR1
0
242
Member Avatar for aditya027

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
Member Avatar for java_programmer
0
95
Member Avatar for frances07
Member Avatar for new_programmer
0
90
Member Avatar for glamourhits

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++
Member Avatar for Anyzen
0
181
Member Avatar for personx1212

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
0
63
Member Avatar for furtaker

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++
Member Avatar for furtaker
0
458
Member Avatar for bobbuilder67

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 …

Software Development c++ gui
Member Avatar for sarah_10
0
2K
Member Avatar for jwebbo

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
Member Avatar for jwebbo
0
102
Member Avatar for browgreg

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
Member Avatar for NormR1
0
137
Member Avatar for piyushgt

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
Member Avatar for scrappedcola
0
72
Member Avatar for calnastic

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
Member Avatar for calnastic
0
101
Member Avatar for ke24126

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
Member Avatar for bpatt22
0
4K
Member Avatar for nsd11

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++
Member Avatar for nsd11
0
491
Member Avatar for PixelExchange

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 …

Software Development api c++ mysql
Member Avatar for PixelExchange
0
201
Member Avatar for muriloazevedo

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
Member Avatar for muriloazevedo
0
175
Member Avatar for Mongooseman

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 …

Software Development api image java
0
109
Member Avatar for drake10k

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
Member Avatar for drake10k
0
787
Member Avatar for Stefano Mtangoo

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++
Member Avatar for Stefano Mtangoo
0
223
Member Avatar for akls578

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
Member Avatar for TrustyTony
0
409
Member Avatar for potato4610

* 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++
Member Avatar for dusktreader
0
310
Member Avatar for swetz

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
Member Avatar for nick.crane
0
179
Member Avatar for cleve23

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
Member Avatar for vegaseat
0
151
Member Avatar for Tommymac501

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
Member Avatar for Beat_Slayer
0
573
Member Avatar for jtok

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
Member Avatar for jtok
0
149
Member Avatar for imso

How do you nudge a message box like the one in msn? Is there a easy method to do it?

Software Development c#
Member Avatar for nick.crane
0
223
Member Avatar for backendcode

hello friends , I want to learn perl or python. which one is powerfull and where to start

Software Development perl
Member Avatar for jon.kiparsky
0
88
Member Avatar for Stefano Mtangoo

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 …

Software Development gui python
Member Avatar for Stefano Mtangoo
0
293
Member Avatar for judithSampathwa

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
Member Avatar for judithSampathwa
0
151

The End.