199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sujinsr

int xml_validation(char *xsd_file, char *xml_file) { xmlDocPtr doc; xmlSchemaPtr schema = NULL; xmlSchemaParserCtxtPtr ctxt; char *temp_buf = malloc((strlen(xml_file)+1) * sizeof(char)); char *XMLFileName = malloc((strlen(xml_file)+1) * sizeof(char)); char *XSDFileName = malloc((strlen(xsd_file)+1) * sizeof(char)); strcpy(XMLFileName, xml_file); strcpy(XSDFileName, xsd_file); xmlLineNumbersDefault(1); ctxt = xmlSchemaNewParserCtxt(XSDFileName); xmlSchemaSetParserErrors(ctxt, (xmlSchemaValidityErrorFunc) fprintf, (xmlSchemaValidityWarningFunc) fprintf, stderr); schema = xmlSchemaParse(ctxt); xmlSchemaFreeParserCtxt(ctxt); …

Member Avatar for sujinsr
0
491
Member Avatar for @Swathi

Hi all, I am new to javascript, ajax, json and stuffs. So expectiong your most valuable help with regard to my requirement. Thanks in advance for helping me. The requirement for me is I want to get the dates loaded in a table of JSP, which is to be done …

Member Avatar for @Swathi
0
170
Member Avatar for silvercats
Member Avatar for dudegio

Hi All, I want to create a multiple pagination for my records in one page using jquery. I have developed in javascript and it works but I dont know in jquery. Any example is very much appreciated. Thanks

Member Avatar for dudegio
0
181
Member Avatar for LEAN.HEART.YOU

Sub all() connection() Dim see = "Select * from info where Last Name = '" & txtLast.Text & "' and First Name = '" & txtFirst.Text & "'" dcom = New OleDbCommand(see, dcon) dcom.ExecuteScalar() If dcom.ExecuteScalar > 0 Then Dim gather = "Select * from info where Last Name = …

Member Avatar for LEAN.HEART.YOU
0
243
Member Avatar for omarking05

Hey .. im doing a game project with sfml and i countered a small problem ,here is my code : #include <SFML/Graphics.hpp> #include <string> #include <iostream> using namespace std; using namespace sf; int main () { sf::RenderWindow Window; Window.create(sf::VideoMode(490, 485),"My First Sfml Game"); sf::Texture pTexture1; sf::Sprite playerImage; if(!pTexture1.loadFromFile("Data/dots.png")) std::cout<<"error could …

Member Avatar for Ancient Dragon
0
258
Member Avatar for mallows.yum

Hello all! i have here a code that will save the inputs in my database. but 'save' button doesnt work. please help. here is the code for the save button <?php define ('DB_NAME', 'try1'); define ('DB_USER', 'root'); define ('DB_PASSWORD', ''); define ('DB_HOST', 'localhost'); $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if (!$link) …

Member Avatar for |-|x
0
209
Member Avatar for Papa_Don

Hi group, If you've seen my posts before on SQL Server stuff you know I'm a "raw rookie" with this. Again, I need some help. I'm going to need SQL to create an order number for me. I've created a datatable with two fields: OrderNoID (key) and OrderNumber. I've already …

Member Avatar for Papa_Don
0
132
Member Avatar for riahc3

Hello Ive come up with a stupid question that just needs a why What would this do? for (int i=5; i<2;i++) { System.out.println("What?"); } System.out.println("Who?");

Member Avatar for deceptikon
0
183
Member Avatar for 404notfound

Using Access, in one table, I have Social Security numbers and earnings/tax records, and in the other table I have Social's and emp id's. I'm trying to get an output to a tablegridview, and using the following query line. SELECT AcctNum,SUI,SDI,FICA,Medicare,State,Fed,TotWages FROM tblEarnings INNER JOIN tblPersonel On tblEarnings.SS=tblPersonel.SS I've been …

Member Avatar for JorgeM
0
5K
Member Avatar for bklynman01

I have a windows form that has 4 comboboxes inside. These 4 boxes are linked, in that when the first box receives user selected data, the second box populates. When the second box receives user selected data, the third box populates. At least that is how I want this to …

Member Avatar for Reverend Jim
0
193
Member Avatar for ankitamalu

Hi friends, I have a drop down list which contains Country that i get values of country through store procedure Now i Have another combobox that have operators that also i have to get through store procedurebut one condition is that when i select country i get only operators of …

Member Avatar for diafol
0
368
Member Avatar for Unused Mass

I need some way to save and read a file using a DataGridView. Databases are out of the question, because I'm going for something template-style. And the user will probably make lots of templates. I tried saving/reading from/into XML, but I got lost. Thanks.

Member Avatar for tinstaafl
0
4K
Member Avatar for romaman

can any body provide me with a simple example of how insert and retrieve pictures along with text from mysql, kinda like when you post something in craigslist u add information about what ever you are selling and pictures, i would appreciate it, thank you in advance.

Member Avatar for diafol
0
123
Member Avatar for IT_Techno

i have a problem with uploading files to db using openFileDialog, i have to upload five files with *.TIF another with *.PDF , then i use five openFileDialog (openFileDialog1,openFileDialog2,openFileDialog3,openFileDialog4,openFileDialog5) i notice that all five fields upload the same *.TIF file what is the problem ? this is the code : …

Member Avatar for IT_Techno
0
281
Member Avatar for gbonline

Hi to all, I'm looking for a solution to create a front-end in python for an app. I've some experience with Tk (but it's not fundamental i would like to use wxpython) and standard widget, but now i'm in a project too complicated for me. The app is like a …

Member Avatar for slate
0
266
Member Avatar for aung.kyaw.1428

Hi, I'm devloping a c# application that shows all the usb storage devices' names and dates of past 30 days. I'm done searching the google and hadn't found a clue. Please help me out.

Member Avatar for deceptikon
0
590
Member Avatar for dartiss

Hi, I have a very specific issue that I'm unable to work out a solution to. It's related to WordPress, but that's for context and isn't otherwise relevant. I have a table named wp_options. It's used to store various option information using 2 fields - option_name and option_value. These are, …

Member Avatar for dartiss
0
236
Member Avatar for LegateLucius

hello im a newbie in javascript and im working oon a project can someone help me learn form validation in javascript also give me links on great tutorial sites

Member Avatar for LegateLucius
0
333
Member Avatar for ChargrO

I'm trying to add in data validation for my program so it doesnt die when a user input the wrong type of data. eg. My program collects numbers and stores them against the selected name but if i input say fish instead of 2000 in the textbox my program dies. …

Member Avatar for Rahul47
0
214
Member Avatar for game06

i have a enemy and spriteanimation classes. in Enemy class i have bufferedimage array with 4 different images. than i am creating a animation and storing in 'animationEnemyHit' variable. than i am starting and updateing the animation in method. the problem is that it keeps on loop for ever. i …

Member Avatar for gusano79
0
180
Member Avatar for Venter

hi i'm new to Code Igniter here is my controller for signup & login.i'm having a little problem while working with sessions.when i cal logout function it was redirecting the page to login page with out destructing sessions. after doing logout when i press back button it was displaying the …

Member Avatar for cereal
0
5K
Member Avatar for turpentyne

I have an error showing up in IE 10 and in Chrome: The chrome version: Uncaught TypeError: Object function ( selector, context ) { // The jQuery object is actually just the init constructor 'enhanced' return new jQuery.fn.init( selector, context, rootjQuery ); } has no method 'format' Unfortunately, I'm not …

Member Avatar for paulkd
0
229
Member Avatar for noahwilson

Hi friends, I want to make my website's product-detail pages title dynamic. so help me how can i create this in php. please share your suggestion. thanks.

Member Avatar for paulkd
0
390
Member Avatar for kliss.aemecrespin

hall guys! i have a static website that is not able to display news,music video and audio, because i want them to be displayed on page from database even allowing comments from audience. can please help me how i can do it step by step from creating a database,table retreive …

Member Avatar for paulkd
0
88
Member Avatar for kamalashraf
Member Avatar for Captain119
0
192
Member Avatar for goatroxley

Hi I'm new to Python and have the following problem. I have a excel file (csv format) that I want to open and display as a 2d list. I can read the file but can not get anyother output other than the colum headings as a single letter [h][e][a][d][i][n][g] I …

Member Avatar for rrashkin
0
362
Member Avatar for Cyairak

import java.util.Random; import java.util.Scanner; public class RandomDeck { String suit[] ={"Diamonds" , "hearts" , "spades" , "clubs"}; String face[] = {"A" , "Two" , "three" , "four" , "five" , "six" , "seven" , "eight" , "nine" , "ten" , "jack" , "queen" , "king"}; String cards[] = new String[52]; …

Member Avatar for JamesCherrill
0
142
Member Avatar for tumblinmonkeym

I recently got accepted into a research program for the Computer Science department at my university and I was assigned with the project: Augmented Reality for Small Unmanned Aerial Systems at CBRN Events This project will augment video imagery from a small UAS with labels showing responders during a CBRN …

Member Avatar for rubberman
0
366
Member Avatar for bfitzgerald

Hi Guys I'm using a form which sends data to a php file so that ti can be sent to a database. However some of the data passed are dates for the start, end of teh event and when sign ups expire. I want to stop the from data been …

Member Avatar for bfitzgerald
0
203
Member Avatar for ponnu

READ a text file line by line and store it into string if a particular pattern is found ,then output the pattern into differnt string ?

Member Avatar for ponnu
0
1K
Member Avatar for coder91

Have a database table with various tasks and each has a time against it that it should take, some tasks have the same time. I now need to display these times in a drop down list but only want to display each time once, how can I do this?

Member Avatar for rch1231
0
272
Member Avatar for shujat132

Hi I am fresh Graduate, but actually I am little bit week in databases, so I am trying to improve my skills, that is why I am reading a book of database, where a case (details of case study and tasks are attached in “case study.doc” document) is giving to …

Member Avatar for shujat132
0
6K
Member Avatar for mjbor1

hello i am working on a simple panting project that allow the user to select a shap from ComboBox then draw it on the panel but problem is when is choose any type of shapes and drawing it on panel no shape appear on the panel ?! here is my …

Member Avatar for mjbor1
0
310
Member Avatar for 68thorby68

I have a small site that is not too data intensive, but requires the user to login to access pages that handle data and pages that interact with the database. To enhance the site security I am hoping to that I do not need to use cookies, instead handle all …

Member Avatar for Webville312
0
137
Member Avatar for turpentyne

I just discovered that when I run my page in IE 7 - 10, this little function is killing the rest of my javascript file. Any thoughts?? if(window.location.hash) { $('#slidestart').stop().animate({ opacity: 0 }, 300, function() { $("#slidestart").css({display:"none"},100); setTimeout( function(){ $("#allbut").css({display:"block",opacity:0},100); $('#allbut').stop().animate({ opacity: 1 }, 400, function() { $('#slidestart').html('&nbsp;'); }); },255); …

Member Avatar for Troy III
0
1K
Member Avatar for sparkling eyes

Hi...I have to bulit code for a parser in c++ which takes a simple txt file in which there are two functions 1 is for addtion of two numbers and 2nd is for printing of result. Parser have to open the file read it line by line and then tell …

Member Avatar for ddanbe
0
153
Member Avatar for Maryooma1

1. Given a length of wire P units long, where P is an integer, it is possible in some cases to bend the wire into an isosceles triangle(with two sides equal) where the lengths of all the sides are also integers. For example a wire of length P = 3 …

Member Avatar for JamesCherrill
0
204
Member Avatar for Webville312

Hullo, I am working on sam php code that captures users' details, depending on their choice. If the user selects "No", then the products will not be delivered to him, and so; the form collecting details will not be displayed. However, if he selects "Yes" option, then the form to …

Member Avatar for Webville312
0
106
Member Avatar for imBaCodes
0
104
Member Avatar for maHvic

thanks for helping me... im using c++ language... how can you convert decimal to binary.. should i divide it? can you give me a hint for what code should i use...thanks

Member Avatar for AndrisP
0
1K
Member Avatar for Dane2259

I once did a project in a class that connected to a mySQL database, but now I'm using the jGRASP ide on a mac and the class files won't compile properly. In the project we added the files: Connection.class, ResultSet.class, Sql.class, and Statement.class to the directory (assuming it's the middleware). …

Member Avatar for jwenting
0
139
Member Avatar for vegaseat

Here is a short Python program using the module pygame that lets you play a midi music file. Midi files are instrumental music files that pack a lot of good sound into a small file. They are very popular with web page designers.

Member Avatar for diliupgabadamudalige
0
5K
Member Avatar for johans22

given struct s={int A; int B}; what is most logical and fastest way to find the B element given A in this array or vice versa?. s table1[]={{1,2},{3,4},{5,6},..};

Member Avatar for johans22
0
152
Member Avatar for bfitzgerald

Hi Guys I have been asked to make an online sign up sheet system by my boss. I have almost finished but have encountered a problem. To sign up to the created activity I have use a previous form to add a "page name" which is then used to generate …

Member Avatar for bfitzgerald
0
224
Member Avatar for aVar++

I want to print the time in one of my program's but the time is an hour wrong, this is what i'm using. from time import gmtime, strftime strftime("%Y-%m-%d %H:%M:%S", gmtime()) it gives '2013-05-06 09:06:25 ' where the current time is 10:06:25.

Member Avatar for Schol-R-LEA
0
251
Member Avatar for november_pooh

Hi group, I already build a program with vb6. The problem is when the program is running and user click the exe file again then it makes program running twice in same time. Is there a way to restrict this happened? Thank you.

Member Avatar for Jx_Man
0
409
Member Avatar for DarkLightning7

Ive been working on pathfinding algorithms for a couple weeks now and A Star has me stumped. Right now i am attempting to Pathfind over a maze in a matrix of the form boolean map[x][y][5]; where index 0-3 are the walls on the cells starting on the right with 0, …

Member Avatar for DarkLightning7
0
275
Member Avatar for GlenRogers

Hi, I have a page that has some images in groups of 1, 2 or 3. The image paths are retrievd from a mysql table. You click on one image and the whole group gets shown in another div. This works fine, I want to show the images using the …

Member Avatar for GlenRogers
0
132
Member Avatar for Jockster

I'm writing a code to build a advance calculator, I got everything BESIDES putting a message error that says: "Cannot divide by zero." in the dividebutton I just have a really hard time coding a message error... Thanks!

Member Avatar for Luc001
0
222

The End.