132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
# 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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
> 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 | |
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 | |
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 … Software Development microsoft-access open-source vb.net visual-basic | |
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 | |
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 | |
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++ | |
i need help with the punctuation check box. there's no supposed to be punctuation when it's not check. Im using netbeans.  here's my code  Software Development java java-netbeans | |
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++ | |
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 | |
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 … | |
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++ | |
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 | |
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 | |
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 ![]() | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 … | |
**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 | |
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 | |
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++ | |
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 | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
![]() | |
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 ![]() |
The End.