6,049 Topics
![]() | |
Hey professionals, I use DataGridView that allows me to add new rows in table. But when I want to delete it by clicking on my deleting button with following code: DataGridView.Rows.RemoveAt(DataGridView.CurrentCell.RowIndex); ...it makes problems, others rows aren't problematic to delete but this is. But not on purpose I want to … | |
hi guys, I want to call win32 dll in C#. It has parameters encode(char *argv[]). what i have to write in in C# in the placa of char *argv[]. I have make my efforts see my code below but vain. [code] // in C++ int ConvertBinToAmt(char JFIF_NTSC_XML_File1[],char JFIF_NTSC_XML_File2[], char DestinationFolderName[],char … | |
Hi, With the same GetOpenFileName(...) I have one problem. when this displays the dialog with files, the time displayed in the date field will not be local time. Instead GMT time. How I can Change this. i.e in the mobile, time is set as GMT + 5.30 New Delhi. At … | |
First I want to apologize if this has been asked before. I have spent hours trying to figure this out and can never find a straightforward answer. It has turned out to be a FAR more difficult problem then I originally thought. Basically, I need to write a client side … | |
hi everyone... i'm a newbie to xpath and i don't know how to extract all the ToolAlarm nodes from my xml file... here's the xml file and code snippet: <?xml version="1.0" encoding="utf-8" ?> <ToolConfigurations> <ToolType name ="EQP1"> <ToolAlarms> <ToolAlarm name = "AIR PRESSURE LOW"/> <ToolAlarm name = "FALSE ALARM"/> <ToolAlarm … | |
Hi every body I am new in AJAX. My server side language is ASP and I created the XML. At getting response i get this error "Only one top level element is allowed in an XML document." Here is my created XML " <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <GoodForSell> <Good> <GoodCode>1</GoodCode> … | |
I'm having a problem with an XSL script, using perl's XML::XSLT library. The code I'm dealing with is below: The XML: [code=xml]<eprint><eprint_status>archive</eprint_status><eprintid>3</eprintid><userid>5</userid><datestamp>2004-06-04</datestamp><type>journalp</type><abstract>Issues about young people’s use of public and community spaces are now commonly raised in many countries. As urban space becomes more intensely used and the patterns of use … | |
Hi! I've been coding in VB for a year or so, and I would like to learn how to create XML documents. I know what XML is and how it looks, but I don't know how to create XML. I code in VB Express 2008. Please help me. | |
I hate to bother you guys but I have a problem that has me stumped. When I test it on my local server it works fine, but then I uploaded the files to the web server and it doesn't work and I get the following errors: Warning: fwrite(): supplied argument … | |
I have a client with a shopping cart in an older version of Marketlive. It does not have any shopping feed functionality built into it. My goal is to create a feed to crawl the site and submit the store's products to Froogle, Yahoo Shopping, and the comparison engines. This … | |
I have code that successfully displays results, but throws an error in Fx 3 and IE 6. A sample of the XML file: [code] <?xml version="1.0" encoding="ISO-8859-1"?> <mycds> <cd> <title>Wolf City</title> <artist>Amon Duul II</artist> <artist_id>1</artist_id> <track_id>1</track_id> <sequence>1</sequence> <track_name> Surrounded By The Stars</track_name> <track_id>2</track_id> <sequence>2</sequence> <track_name> Green Bubble Raincoated Man</track_name> <track_id>3</track_id> … | |
Hi everyone, Simple query. I have a RSS.php file in my includes folder and in this I write out an XML file to a feeds folder. It has been working fine except when I changed the relative link used in the file_put_contents function to a root relative one. I want … | |
Hello, this is my XML: [CODE] <OPTIONS> <ROW NUM="1"> <ROW_NUM>1</ROW_NUM> <INVOICE_NUMBER>000001</INVOICE_NUMBER> <ID>144795</ID> <CUS_UK>20544</CUS_UK> <DESC_LONG>KELEME</DESC_LONG> </ROW> <ROW NUM="2"> <ROW_NUM>1</ROW_NUM> <INVOICE_NUMBER>000001</INVOICE_NUMBER> <ID>69449</ID> <CUS_UK>15249</CUS_UK> <DESC_LONG>PETRIMEX</DESC_LONG> </ROW> <ROW NUM="3"> <ROW_NUM>1</ROW_NUM> <INVOICE_NUMBER>000001</INVOICE_NUMBER> <ID>4125</ID> <CUS_UK>15249</CUS_UK> <DESC_LONG>PETRIMEX</DESC_LONG> </ROW> <ROW NUM="4"> <ROW_NUM>3</ROW_NUM> <INVOICE_NUMBER>000002</INVOICE_NUMBER> <ID>4152</ID> <CUS_UK>15249</CUS_UK> <DESC_LONG>PETRIMEX</DESC_LONG> </ROW> <ROW NUM="5"> <ROW_NUM>3</ROW_NUM> <INVOICE_NUMBER>000002</INVOICE_NUMBER> <ID>69486</ID> <CUS_UK>15249</CUS_UK> <DESC_LONG>PETRIMEX</DESC_LONG> </ROW> </OPTIONS> [/CODE] What … ![]() | |
Hello, I am quite new with XSLT and I need to convert this xml: <?xml version="1.0" standalone="yes"?> <assesmentItem> <choiceInteraction responseIdentifier="correctresponse" title="title" discipline="discipline1" dificulty="dificulty1" timexpected="20" basetype="choice" cardinality="single"> <prompt>answer1</prompt> <simplechoice0 >response0</simplechoice0> <simplechoice1 >response1</simplechoice1> <simplechoice2>response2</simplechoice2> </choiceInteraction> </assesmentItem> into this one: <?xml version="1.0" standalone="yes"?> <assesmentItem> <choiceInteraction responseIdentifier="correctresponse" title="title" discipline="discipline1" dificulty="dificulty1" timexpected="20" basetype="choice" cardinality="single"> <prompt>answer1</prompt> … ![]() | |
Hello all, im new to this community and i would use some help. I have learned VB.Net and i write programms for almost a year and a half. Currently im learning C, C++, and C#, but i dont have any expirience with these languages. So i would like you to … | |
Hey people, I want to ask. I have following xml file: <Materials> <Material hrubka="5" popis="dobry popis" /> <Material hrubka="0,2" popis="bla bla" /> <Material hrubka="0,1" popis="bla bla" /> </Materials> I fill datagridview with this xml file. This file is automatically saved when the application is closed. I have a problem, when … | |
Hello masters, I need your help. I've been struggling for longer time with deleting nodes with the same attributes. How can I do that? e.g. <material width = "1.2" description = "paper"> <material width = "1.2" description = "paper"> My xml file is shown on DataGridView. I want to prevent … | |
Hello I've got a problem. How can I remove [B]particular[/B] xml node from xmldocument? Pls, help. | |
For some reason Safari and Bloglines strips out part of the HREF address in my RSS links. The feed address is: [url]http://popsicklestrip.com/pss-rss.xml[/url] The proper address format is: [domain]s/[comic-name] For example: [url]http://popsicklestrip.com/s/to-the-death/[/url] This is how it appears in the actual XML file and it works fine in Firefox and Opera. However, … | |
Well I wanted to get some other professional input on a very small, but useful script I'm writing. It began as a script for a friend of mine that is a teacher that wanted something similar to the W3C [URL="http://www.w3schools.com/HTML/tryit.asp?filename=tryhtml_basic"]TryIt Editor[/URL] for her classes. I've done all that I can … | |
Using a windows forms application, most appropriate thing to use seems a listbox. Been searching around a bit, but I never found anything which seemed to explain it thoroughly. The idea is to load data from an XML file, and then display it in a list, presumably a listbox. Basically … | |
Hello masters, I'd like to ask, if somebody can help me with populating following xml file: <Materials> <Material width="0,1" description="matné papiere" /> <Material width="0,4" description="matné papiere" /> <Material width="0,5" description="papieriky" /> </Materials> to [B]combobox[/B] how can I do that? i do not want to insert nodes but values of attributes. … | |
Hello, I have to base64 encode a large quantity of data and include it in the XML response of the webservice.The WSDL define the XML element in the following way: [CODE]<xs:complexType name="MessagePart"> <xs:simpleContent> <xs:extension base="xs:base64Binary"> <xs:attribute name="contentType" type="xs:string" default="text/plain" use="optional"/> <xs:attribute name="length" type="xs:int" default="0" use="optional"/> <xs:attribute name="offset" type="xs:int" default="0" use="optional"/> … | |
this is not my code >.< I found an online rpg engine thing online and d/l'd it when I try to start it I get this error, another problem is the writer is french so I found no english readme or anything usefull as to if I need more then … | |
Im trying to build a site that gets info, lets say product prices, from different xml sources that have a different structure. Then it displays all the prices sorted.. My first guess is to import all the data from the different XMLs to a mysql db after the sorting of … | |
Under Apache 2 on my PC's WAMP development environment I've managed to turn off directory indexing so that a Forbidden message is displayed whenever I access a URL such as http://127.0.0.1/ If someone can point out what needs to be changed in my httpd.conf file, or what typo's I might … | |
Hi, I'm an input XML which I try to parse using C++. The problem is ^M characters get inserted at the end of each line and the parser errors out when it encounters ^M character. Can any one tell me how to replace ^M characters in c++ code? Thanks. | |
Hi, I was wondering if anyoune could give me some code example for this situation: I have XML parser, which accepts java.io.file data structure. I need to upload XML file and made it into file structure so i can parse it by written method or upload file into MySQL database. … | |
Hello frenz..can any one help me out by telling how can we compare two XML documents and point out the missing tags and mismatch data between them..and how to proceed with this issue in JAVA.. I had read 2 XML files from user and can display them in Files..But how … | |
hello frds, I m very new about xml. I just write table in xml files and now want to execute sql statement on that files. provide help. Thanks in advance. | |
Hi, I wanna know my site traffic ranking for last 3 month, (Apr-Jun'08), yet i didn't install any tracking code...............plz suggest me any site or tools... | |
I created a program that uses an XML file to store information. Everything works fine on the computer I created it on. When I transferred it to another computer it gave a windows error reporting box and did nothing else. I modified the program so it showed message boxes while … | |
SELECT b.book_num,b.book_start_date,b.book_start_time,book_end_time,b.stu_num,i.instr_lname FROM instructor AS i,booking AS b WHERE i.instr_num=i.instr_num AND i.instr_num=b.instr_num; Can someone help me get these xmls to produce this SQL(HQL)? This is how I represented the Instructor.class Instructor.hbm.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class dynamic-insert="false" dynamic-update="false" mutable="true" name="lesson.Instructor" optimistic-lock="version" polymorphism="implicit" … | |
I am trying to import data using xml file into Tally. For that i am using below code in vb.net. Here i am sending error file, for your ready reference. Dim strXml As XmlTextReader myLink = New RTSlink() strXml = New XmlTextReader("Test.xml") strXml.MoveToContent() Dim n As Long = myLink.Send(strXml.ReadOuterXml(), TallyServer) … | |
I am working on a maintenance issue with some classic ASP code, and have run into a problem. When running the page, I get the error: "A name was started with an invalid character" as well as "Cannot view XML input using XSL style sheet. Please correct the error and … | |
I was wondering how Python would work with this program I wanted to make. I have very little experience with Python, so bare with me. What I wanted was to make a program that brought up quotes randomly from a .txt file and put them in a XP/Vista message bubble … | |
Hello people, I've got a problem. Can anybody tell me how can I save data from DataGridView through Dataset to XML? I've found many useful codes that could solve problem like this: Dataset ds = new Dataset(); ds = (Dataset) (DataGridViewXY.Datasource); ds.WriteXml("XML_name.xml"); !but actually! it doesn't work because when I … | |
how to generate xml document from data in database..please explain with an example? | |
Hi, So I would like to create a flash banner, that has multiple text links which are called dynamically from an XML document. Something like this: [URL="http://flashden.net/item/dynamic-scrolling-link-list-xml-driven-no-wrap/10023?ref=Circlecube&redirect_back=true"]Check it out[/URL] But with out the scrolling or effects. Just simple text and links that can be changed by editing the XML. Any … | |
If anybody could let me know how to create a bullet in an xml file using php. This piece of knowledge will be highly appreciated. Thanks | |
[CODE] CREATE TABLE `categ` ( `id` int(10) unsigned NOT NULL auto_increment, `categ` varchar(32) NOT NULL default '', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ; INSERT INTO `categ` (`id`, `categ`) VALUES (1, 'General'), (2, 'Politica'), (3, 'Sport'), (4, 'International'), (5, 'Cultura'), (6, 'Hitech'), (7, 'Showbizz');[/CODE] [CODE] CREATE TABLE `ziare` … | |
hi, everytime i log in to my computer explorer keeps restarting...big loop. plz help. here is my log, Logfile of HijackThis v1.99.1 Scan saved at 1:07:30 PM, on 7/5/2007 Platform: Unknown Windows (WinNT 6.00.1904) MSIE: Internet Explorer v7.00 (7.00.6000.16473) Running processes: C:\Windows\helppane.exe C:\Program Files\HijackThis\HijackThis.exe R1 - HKCU\Software\Microsoft\Internet Explorer\Main,Search Page = … | |
is this true? hql use xml to create results that hibernate can use. Simialar to the SQL? here is what I need in a table [code] SELECT i.instr_lname,b.book_num,s.stu_lname,b.book_start_date,b.book_start_time,b.book_end_time FROM instructor AS i,booking AS b,student AS s where i.instr_num=b.instr_num AND b.stu_num=s.stu_num; [/code] here is the mapping classes to the (obj)entity classes. … | |
Ok... I'm working on a program that takes ISBN numbers, grabs data on them from ISBNdb.com and sticks said data into a database. At this point, I've successfully managed to get the ISBN XML file from isbndb.com, but whenever I try to feed it into SAX, it seems to try … | |
Hi, I have a C++ program which creates a xml file from a given data. Now I have to upload that file to a web server. I need to make a socket connection to the server and upload the file to a http server. The server where the file needs … | |
Hi, trying to understand this exception.. Happened after i removed and the jar files [code] 2008/09/10 02:08:41 org.slf4j.impl.JCLLoggerAdapter info INFO: Hibernate 3.3.0.SP1 2008/09/10 02:08:41 org.slf4j.impl.JCLLoggerAdapter info INFO: hibernate.properties not found 2008/09/10 02:08:41 org.slf4j.impl.JCLLoggerAdapter info INFO: Bytecode provider name : javassist 2008/09/10 02:08:41 org.slf4j.impl.JCLLoggerAdapter info INFO: using JDK 1.4 java.sql.Timestamp handling … | |
Hi, learning hibernate but still experiencing some errors and exceptions ... [B]My User.hbm.xml[/B] [code] <?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class name="com.genuitec.hibernate.User" table="SNX_USERS" > <id name="userId" type="java.lang.Long" column="user_id" > <generator class="increment" /> </id> <property name="firstName" type="java.lang.String" column="first_name" length="20" /> <property name="lastName" type="java.lang.String" column="last_name" length="20" /> … | |
Hello. I have built a hibernate project and the dropdown list and the table load data to the web page but the drop down list is not poulated with the names (derived from the xml id) There is a lot of code to paste. Is there someone that could help … | |
Hi, I'm new to xpath. I have some question I dont know how to do it.. I've googled about it and i dont see any solution. Question: I wanted to do a math calculation.(this i know how to do) but then i wanted it to display it out using my … ![]() | |
When ever I search for something or Im on a site, pp ups of related material appear. Nothing will get rid of them. please help, thank you. Logfile of HijackThis v1.99.1 Scan saved at 7:10:04 PM, on 9/6/2008 Platform: Windows XP SP3 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP3 (6.00.2900.5512) … |
The End.