132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for biblemdkeid

I've just made a xml with xsd and it returns errors (after doing xmllint) but I don't know what I've done wrong please help <?xml version="1.0"?> <theatre xmlns="file:///students/u4722839/2012_Sem_2/comp3410/practice/theatre" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="file:///students/u4722839/2012_Sem_2/comp3410/practice/theatre/theatre.xsd"> <movie> <title> Dark Knight </title> <genre> Thriller </genre> <director> Christopher Nolan </director> <rating> PG </rating> <time> 2 hours </time> </movie> …

Software Development xml
Member Avatar for Mike Askew
0
2K
Member Avatar for angelineang

I doesn't know why my program after enter main menu and want to call any other function will stoppped working,this is the question Write a program that is able to help a school teacher to input, manipulate and record marks of students for 8 subjects. These subjects are English, Physics, …

Software Development c++ ios mathematics
Member Avatar for Lucaci Andrew
0
206
Member Avatar for mangal123

hi all .... I have a problem in window application ..... the problem is that i have completed my project on lab management system(LMS) and now i want to create set up of LMS simply i created the set up but its not working for sql server ......So please if …

Software Development sql
Member Avatar for manojada
0
183
Member Avatar for jayram.chandan

# Help me in solving this puzzle people # Interviewstreet Challenge • Challenges /Manipulative Numbers • Rank: 103 Score: 717.63 Suppose that A is a list of n numbers ( A1, A2, A3, ... , An) and B ( B1, B2, B3, .. ,Bn ) is a permutation of these …

Software Development c puzzle
Member Avatar for WaltP
0
141
Member Avatar for simps0n

Hello, guys! I have the following code:[CODE]#include<stdio.h> #include<string.h> #include<stdlib.h> struct list_word { char word[64]; struct list_word * next; }; typedef struct list_word itemWord; int main() { itemWord * curr, * head; fill list with words [B]remove duplicates[/B] show final list of words return(0); }[/CODE]So I experience difficulties when implementing the …

Software Development c linked-list
Member Avatar for rubberman
0
344
Member Avatar for Despairy

Hey I just tried using the OpenCV for the past few hours but I keep on failing. I am a Windows 7 user with Visual Studio 2008. I followed the instructions for OpenCV2.2 (whilst downloading the newest stable version 2.4) did the CMAKE phase exactly the way it says . …

Software Development c++ gui visual-studio
Member Avatar for DJSAN10
0
262
Member Avatar for khair.ullah

Dear All ! I have a table titled Customer_DETAIL I want to check and make sure That there are no other records in the table that have The same CustomerID . The CustomerID are FK's From customer table. How can I check for duplicates so they do not create duplicate …

Software Development sql vb.net visual-basic
Member Avatar for daniel955
0
522
Member Avatar for lebo.bytes

Hi, I would like to be helped with automating my application. I work in an environment where we receive a high number of files daily. I am given a task to read a file extract strings and compare them with data in mysql database. I use visual studio 2010. Here's …

Software Development vb.net visual-studio
Member Avatar for Reverend Jim
0
214
Member Avatar for student_2012

De Morgan’s Laws. We have discussed the logical operators &&, ||, ^ and !. De Morgan’s Laws can sometimes make it more convenient for us to express a logical expression. These laws state that the expression !(condition1 && condition2) is logically equivalent to the expression (!condition1 || !condition2). Also, the …

Software Development java
Member Avatar for NormR1
0
429
Member Avatar for pocix

i need help with building the controller by using MVC pattern view 1 import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; public class BankView { JFrame frame; JPanel one, two; BankSaving saving = new BankSaving(); BankCurrent current = new BankCurrent(); BankView(){ frame = new JFrame(); one = new JPanel(); JButton b1 = …

Software Development java java-swing
Member Avatar for pocix
0
457
Member Avatar for ryantroop

I have taken up the Python Challenge and I am stuck on challenge 6, which requires PIL - and sadly I am using 3.2 and there is no PIL support. Yes, alternatively I could simply download 2.7. However, I know there are some differences between 2.x and 3.x and I …

Software Development python
Member Avatar for ryantroop
0
162
Member Avatar for hcbckwidpeace93

String Name; While(Name== "Himanshu" || "HIMANSHU" ) { //Both the names above are same but have Different because Capital and Small letters. } what to do in this ??

Software Development
Member Avatar for andur92
0
115
Member Avatar for PM312

I have combobox on child form. combobox get populated when form is loaded. Now the problem is when child form is closed and reloaded combobox get populed twice with same items. it appears that combobox dosen get cleared when for is closed. Below code dosen work CboScrip.Items.Clear() Below code is …

Software Development vb.net
Member Avatar for PM312
0
114
Member Avatar for jalpesh_007

i have write a code for making a string that is being read from CSV file. i want to make a string from particular location of each and every line. i have attached a code what i have done.but i want it as it for any number of location. In …

Software Development dataset java
Member Avatar for jalpesh_007
0
297
Member Avatar for Sobakaa

Hello, I have 3 tables, user, role and userrole. Userrole stores user_id and role_id, so every user is associated with some role(s). So, when i use this query to view all users, and if user has several roles, i can see several rows with identical info and just role column …

Software Development shell-scripting sql
Member Avatar for WayneZ
0
161
Member Avatar for calomari

> Hello, I am hoping to get some advice on what I might be doing wrong. This is the second program I wrote but I am still very new at writing any JAVA code so please bear with me. Instructions are - Create a Mortgage Calculator to display the original …

Software Development java
Member Avatar for Taywin
0
127
Member Avatar for markfw

Hi I'm trying to use PySerial and I'm getting "Access Denied". I don't know if this is a bug from PySerial library or I'm doing something totally stupid :-) Specification: Windows XP pro SP3 PySerial-2.5.win32 (Installed from binary) Python 2.7.1 (I know it's a bit old :-)) [CODE] from serial …

Software Development python
Member Avatar for meistervision
0
3K
Member Avatar for mahinder.yadav

hi friends i am new in vb coding. i have two tables in ms access table 1 containing location column and id and table 2 containing id, name and date1, date 2...date 30 i have made form design in visual basic with "name" label with combo1 that selecting data from …

0
140
Member Avatar for Shefali

hello i need to read and store data from a device through serial port. i have searched the forum but havent found something which is really helping me. can anyone give me some resources or sample codes where i can figure out how to do it? thanks in advance. regards …

Software Development visual-basic
Member Avatar for mariospelekis
0
7K
Member Avatar for Kunal Lakhani

I have created an application with report features. report features is created via iReport My application also contains a reports folder containing all .japser files Here is the code public MyiReportViewer(InputStream stream,HashMap parameter) { this(); try { /* load the required JDBC driver and create the connection here JDBC Type …

Software Development file-stream java oracle
Member Avatar for Kunal Lakhani
0
2K
Member Avatar for theju112

please visit the following link: http://www.techgig.com/codecontest/problem/Rolling-Dices-36 click on participate and please see the code editor on the right side. In the code skeleton there, you can see a function with taking two arguments,both character arrays. I know a method to solve this problem if both the arrays were integer arrays. …

Software Development c++
Member Avatar for Lucaci Andrew
0
153
Member Avatar for ITshard

i need help with the punctuation check box. there's no supposed to be punctuation when it's not check. Im using netbeans. ![new](/attachments/large/3/new.jpg "new") here's my code ![neww](/attachments/large/3/neww.png "neww")

Software Development java java-netbeans
Member Avatar for JamesCherrill
0
199
Member Avatar for Vish0203

Hey! i've been trying to create a header file using dev C++ but i'm stuck with sum errors. Can anyone help me out in this? #ifndef SUM_H #define SUM_H template <class T> class add { private: const T a,b; public: T sum(T,T); void displaysum(); }; template <class T> T add::sum(T …

Software Development c++
Member Avatar for deceptikon
0
163
Member Avatar for Dzulham

I'm new in Vb.net and try to make a simple program. I need one variable to be used in all subs. How can i do that with this: RTB As Richtextbox = CType(TabControl1.SelectedTab.Controls.Item(0), Richtextbox)

Software Development vb.net
Member Avatar for Dzulham
0
97
Member Avatar for modesto916

Hi, I have a homework to do for college, which asks me to write a pascal lexical analizer in C. I'm trying to figure out the best way to ignore the comments, so far I've written this code, which works, but I would like to know if there is an …

Software Development c c# c++ pascal
Member Avatar for modesto916
0
264
Member Avatar for every1play

Recently i saw this code on the net and i have some questions taht i dun understand. Hope some1 can help to ans. #include <iostream> #include <stdlib.h> #include <time.h> #include <string.h> using namespace std; struct combos { char key[3]; char holder[3]; }; void displayBoard(); //display board void computerMove(); //AI;s Move …

Software Development c++
Member Avatar for nishavas01
0
212
Member Avatar for HibaPro

i have a datagridview , i need to change the col(6) to combobox and filling it with data , how i can do this ?? my DGV not bounded with data , its read from sqltable

Software Development vb.net
Member Avatar for HibaPro
0
160
Member Avatar for angel06

I'm currently creating a program where a user should enter the correct color shown in it. This should be entered in text box. What code should I use to make the program accept both upper case and lower case text inputs? For example "red" should be equivalent to "Red" something …

Software Development visual-basic
Member Avatar for debasisdas
0
558
Member Avatar for New Abhi

Hi all, How to remove duplicates in Unix. Suppose i have file like bellow 1,primary,a 1,secondary,b 2,secondary,c 2,secondary,d i want the output as 1,primary,a 2,secondary,c Please give me the solution for this command.. Thanks in Advance..

Software Development shell-scripting unix
Member Avatar for Kwetal
0
123
Member Avatar for klin1344

Hi. I am a very beginner at Java. I am taking an online course on Java and I'm stuck on an assignment. Anyone who is good with Java, can you please take a look at my code? This assignment was due yesterday but I couldn't finish it. It is very …

Software Development java oop
Member Avatar for JamesCherrill
0
715
Member Avatar for jakubee

Given an Arrayl.ist that contains a list of Employee object references, describe two ways in which you could write code to make a copy of that ArrayL ist. (Hint: one way would be a shallow copy). Use code examples to illustrate your answer. Discuss the implications of each way you …

Software Development java
Member Avatar for JamesCherrill
0
1K
Member Avatar for borchu

Hello guys, I start to learn&code some basic small client/server console applications in java -especially in android- and also I try to learn Threads, in fact, I managed to connect 2 different machine by uploading different projects to these machines, for example one project only consists of client and the …

Software Development android client-server java
Member Avatar for borchu
0
3K
Member Avatar for kwolfe

Hi, I'm trying to read IP and login info from a text file params.txt. The contents of the text file are: IP = '1.2.3.4' UID = 'anonymous' PWD = 'my@my.com' Upload Directory = '/' Home Directory = 'C:/Users/MyDocuments/Python/FilesUpload/' Can someone help me please? import ftplib import re import os import …

Software Development python
Member Avatar for snippsat
0
2K
Member Avatar for semicolon

I have a Thread running sql query how can do i force stop the thread when i dont want to use it anymore. I have a form that loads 100k from sql server i retrieve first the 2k then the thread runs to retrieve the other data i want to …

Software Development
Member Avatar for nmaillet
0
116
Member Avatar for bmfinn

I want to allow other to use a vb.net application I created, I shared the executable file with them and they have Microsoft .NET Framework 4 installed (from the VB 2008 express install) but the executable will not run. I get a "File has stopped working" pop-up and that's all. …

Software Development vb.net
Member Avatar for bmfinn
0
165
Member Avatar for daino

A really rooky question here but I'm still trying to understand something. If I'm using WXWidgets I assume the purpose of the GUI is to provide a trigger point from where I can process event s via the event loop. I basically create the gui as I want it and …

Software Development c++ gui
Member Avatar for daino
0
261
Member Avatar for eirene08

**this is the code!** import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.RenderingHints; import java.awt.Shape; import java.awt.font.FontRenderContext; import java.awt.font.GlyphVector; import java.awt.geom.AffineTransform; import java.awt.geom.Point2D; import javax.swing.JFrame; import javax.swing.JPanel; public class Clock extends JPanel{ public void paint (Graphics g) { Graphics2D g2d = (Graphics2D) g; g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); String s = "12 1 2 …

Software Development java java-swing
Member Avatar for Taywin
0
579
Member Avatar for jerviejeb

Hey guys, I need help. See, im trying to compare dates. if say, deadline is set and if the user is over the set deadline, it should display a message box saying that he passed his deadline. what i have so far is: If Date.Today > txtDeadline.Text Then Msgbox.Show("You've passed …

Software Development vb.net
Member Avatar for jerviejeb
0
331
Member Avatar for Venaplex

Hello I am an beginner programmer in: Java,C++,C i was wondering if anyone could help me make a online language conversion tool that can convert from java into C++ Any help will be appreciated

Software Development c++
Member Avatar for nmaillet
0
114
Member Avatar for ripplex

int a; scanf("%c",&a); printf("%d",a); i/p:12,13,14,15,16 o/p:1963761201 i/p:65 o/p:1963761206 Please explain to the reason for this output?

Software Development c
Member Avatar for ripplex
0
95
Member Avatar for manishanibhwani

in the following code how does the compiler comes to know that it has to call the postfix function class Digit { private: int m_nDigit; public: Digit(int nDigit=0) { m_nDigit = nDigit; } Digit& operator++(); // prefix Digit& operator--(); // prefix Digit operator++(int); // postfix Digit operator--(int); // postfix int …

Software Development c++
Member Avatar for admin1982
0
164
Member Avatar for neithan

Hi! I understand almost all basic theory in C++ (including templates, inheritance, STL etc.) and I'd like to start understanding C++ in Windows, specifically stuff related to memory, calls, hooks, stuff like that. I don't visualize what do I want to do exactly (probably that's why I'm asking here) but …

Software Development c++
Member Avatar for np complete
0
264
Member Avatar for skillzbabs

Please folks I nid ur help, I av a data mismatch error in criteria expression. I av a variable of data type string which I added to my OleDbcommand object the code is below: I used 2 textbox for surname and fname I av a textbox I used for calculation …

Software Development vb.net
Member Avatar for Reverend Jim
0
264
Member Avatar for kraykezia

hey everyone, i am trying to write a code that will calculate the sum of all values in a column of Jtable. the total sum will change when a row is removed or added. i tried many ways. i need help urjently. :)thanks

Software Development java
Member Avatar for NormR1
0
262
Member Avatar for Vish0203

while((c=getch())!=13) { pass[z++]=c; printf("%c",'*'); } I used this while loop to take the input of the password. Everything works fine until no "wrong" key is pressed. the problem is, suppose, if i press a wrong key n i want to delete it (backspace) then even backspace is taken as a …

Software Development c
Member Avatar for Vish0203
0
125
Member Avatar for king03

hi guys just wanted to ask for help about creating a for loop that will cover all the textboxes inside a form. There are no panels in my form by the way, all textboxes are in a single form. Now what I want to do is like create a for …

Software Development
Member Avatar for ckchaudhary
0
203
Member Avatar for andrewisthebomb

Hey guys! Ok, so my problem is that I'm trying to add something that says "num1 does not equal 'a number'" I want it to read any number I put it, but not anything that isn't a number. If I can figure this part out, it should loop where I …

Software Development java
Member Avatar for NormR1
0
1K
Member Avatar for infrapt

I have a a few callback functions. i need to register them as a list. And callback all the registered functions in a main after a certain task is done. I am new to callback functions. Please shed some insight on this xcallback(register_callbackfunctions); ycallback(register_callbackfunctions); register_callbackfunctions()//not too sure what goes in …

Software Development c
Member Avatar for infrapt
0
3K
Member Avatar for I_m_rude

we are getting i/p of 5,00,000 numbers ranging from 0 to 10^9 one by one. all numbers appears twice except one. We have to tell that number in the most efficient way. Any idea or just a hint to get this ? no code, no algo nothing i want. i …

Software Development c
Member Avatar for Ancient Dragon
0
103
Member Avatar for mynamekbk

Hello All, I have shell script which runs on unix box but recently we moved to windows box. I am completely zero in VB script I need you guys help to convert the below script to VB Thanks in advance for the help. CheckQDepth() { arch_log_file=`ls $arch_dir |grep $FNPARAM | …

Software Development queue shell-scripting unix
Member Avatar for Kwetal
0
260

The End.