199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rolsen

Dear all, Another beginner seeks assistance with XSLT and XPATH ;-) This is my XML source: [CODE] <?xml version="1.0" encoding="UTF-8" ?> <report xsi:schemaLocation="http://www.callassoftware.com/namespace/pi4 pi4_results_schema.xsd" xmlns="http://www.callassoftware.com/namespace/pi4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <profile_info > </profile_info> <results> <hits rule_id="RUL1" severity="Error"> <hit type="Image" page="PAG1"> </hit> <hit type="Image" page="PAG2"> <imagestate image_id="IMG30" v_ppi="127.0" h_ppi="127.0"></imagestate> </hit> </hits> </results> </report> [/CODE] I …

Member Avatar for rolsen
0
144
Member Avatar for Squit

hello i have this function to check all the checkboxes in the form. function msgSCheck(){ chk = document.msgFList.msgCList; if(document.msgFList.msgCheckCtrl.checked==true){ for (i = 0; i < chk.length; i++) chk[i].checked = true ; }else{ for (i = 0; i < chk.length; i++) chk[i].checked = false ; } } and input checkboxes like …

Member Avatar for rajarajan2017
0
98
Member Avatar for donnyv

Hello, I am trying to insert an html document into a modal window based on the results of a database query using plone/tal and jquery. What I need is for the "href records/rpc*_url" to be a link to the html document of the same name as the query result. i.e. …

Member Avatar for rajarajan2017
0
210
Member Avatar for manak chand

Hi everyone, can anyone tell me how to store record from datagrid to oracle database at run time. user have to enter one record in datagrid at run time and the record should be saved at button click in the oracle. manak chand :)

Member Avatar for kvprajapati
0
75
Member Avatar for esmail_merchant

I have this code to enter data of checked boxes to be entered in other table of access database. I have taken template field and added a text box in Item Template but how to enter the text box data in a database on a button click. protected void Page_Load(object …

Member Avatar for esmail_merchant
0
100
Member Avatar for trashed

Hi all. I am working on a small credit/debt management tool. I have a table that contains the main record for the debt: id, amount, client info, interest, paid back, etc Then I also have a "history" table where all operations on a debt are stored: when it was first …

Member Avatar for Jayavardhan
0
461
Member Avatar for Sharvesh

I have a speradsheet which should be converted into HTML page using perl script. It should be generic so that if I change anything in the excel sheet this should reflect in the HTML page. Please can anyone help me? Eagerly waiting for some one's reply

Member Avatar for syedmahtab
0
126
Member Avatar for P00dle

Would Java be able to .rename() a file while it is still being written, or will it detect that the file is in use? Also, is it possible to open a file for exclusive access in Java, and will this fail if the file is still being written? Thanks.

Member Avatar for P00dle
0
112
Member Avatar for muralibobby2015

some times i am getting this appache error. i dont know why it is comming? [CODE]Apache HTTP Server has encountered a problem and needs to close. We are sorry for the inconvenience.[/CODE]tell me what to do?

Member Avatar for rajarajan2017
0
65
Member Avatar for guptas

hi, i am new to OpenGL. Soon i have to do a college project on this platform so i decided to learn open GL. while working with glui i am facing some problems. i downloaded glui-2.36. I thought of starting with the example1 (code added at bottom of the post) …

Member Avatar for Oxiegen
0
496
Member Avatar for arsenal_fan

Hi, this is not a homework or assignment. I am preparing for interviews. I just wanted to know how do I find out say the next 6 byte aligned address given any random address? Hope I am clear. Any code or explanation will be appreciated. Thanks.

Member Avatar for arsenal_fan
0
251
Member Avatar for ashwiniku

I have two ArrayLists that each contain a list of unique String objects.I am trying to count the number of words that are common between both lists, [B]E.G [/B] have one list that contains the words,("house", "cat", "broom", "car", "chair"), and 2nd list have ,("house", "cat") i want the output …

Member Avatar for jon.kiparsky
0
604
Member Avatar for EvolutionFallen

I have a rather embarrassing problem. While debugging a web app, I suddenly found I was not retrieving items from the database. I went to the command line to log into MySQL and got back "Error 1040: Too many connections." This was when I realized I'd forgotten to include a …

Member Avatar for EvolutionFallen
0
161
Member Avatar for ayeshakhan

i am using visual studio for making website using c# an error is occuring "There is already an open DataReader associated with this Command which must be closed" the code is public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { Getregioncategory(); } public void Getregioncategory() …

Member Avatar for ayeshakhan
0
144
Member Avatar for bob47910

If I created Tkinter window with some text that filled the whole window and now wanted to replace the window with a new text, is there a way to refresh the window? For Example: a= 100 win= Tk() win.geometry("500x300") while a > 0: if a%2 == 0: lbl = Label …

Member Avatar for TrustyTony
0
11K
Member Avatar for askreiyna

i want to know the advantages and disadvantages of single and multiple line comment in programming language in term of reliability, readability and writability. please help

Member Avatar for askreiyna
0
79
Member Avatar for Stefano Mtangoo

Just a curious Question, Is there a way of putting Vpython in wxpython as we do in case of wx.MediaCtrl and other stuffs?

Member Avatar for isabel puchoc
0
433
Member Avatar for wish02

i need to print this as a report, how do i export it to word or pdf with seeing exactly what is seen on the browser? because sometimes the format is disorganized. please help! thanks! [code=php] <?php session_start(); if(!session_is_registered(myusername)){ header("Location:main_login.php"); } $userId = $_SESSION['userId']; include "../../../_functions.php"; ?> <html> <meta http-equiv=\"Content-Type\" …

Member Avatar for chrishea
0
143
Member Avatar for eftela

i want to use a scroll bar in my VB.net form but with the AUTOSCROLL = false... please provide me with a simple code... tnx in advance... eftela

Member Avatar for eftela
0
1K
Member Avatar for pawan_sharma777

5. Write a program to automatically generate the telephone numbers. The requirements are as follows: Declare a character array to hold a 7-digit telephone number •Accept the telephone number as a string. The first four digits is the department code and the last three digits is the telephone number. (Example: …

Member Avatar for Ancient Dragon
0
213
Member Avatar for SHENGTON

Hello, good day. :) I got a problem here in displaying the items of array. In "Display Items", it should display the numbers that I inputted in the "Input Items". Is there lacking in my code? [b]Menu:[/b] [IMG]http://i168.photobucket.com/albums/u162/SHENGTON/menu.png[/IMG] [b]Input Items:[/b] [IMG]http://i168.photobucket.com/albums/u162/SHENGTON/input.png[/IMG] [b]Display Items:[/b] [IMG]http://i168.photobucket.com/albums/u162/SHENGTON/result.png[/IMG] Here's the code: [CODE=C]#include<stdio.h> #include<conio.h> int …

Member Avatar for Ancient Dragon
0
328
Member Avatar for creative9k

I'm having a little trouble getting started on this HW assignment and would appreciate if anyone could clue me in where to begin logically. The program takes names from the user as input up to 200 names or they stop and stores them in an array then uses two arrays …

Member Avatar for Andreas5
0
188
Member Avatar for poornimashobana

hi This is Poornima.L any one can u help me how to convert double to int ???? int int_var=(int)double_var; wen i give the above stmt i get floating point error:abnormal termination in my console screen help me out

Member Avatar for poornimashobana
0
72
Member Avatar for jemz

hello can you help me how i can catch the exception... I want to input integer for my array and i want to catch the exception if i will input a string this will display Invalid input how can i use this in try catch because i am confuse please …

Member Avatar for jemz
0
444
Member Avatar for alicem

I just want to scan through a directory containing several subdirectories, each containing several text files, and display the name/word count/character count of each text file in each subdirectory. All I'm looking for is a quick and simple way to do the scanning through all subdirectories finding each file. thanks …

Member Avatar for HavocAngel
0
7K
Member Avatar for joewinsock

Tool.h file [CODE] #ifndef TOOL_H #define TOOL_H #include <string> using std::string; const int LENGTH = 30; class Tool { Tool ( int = -1; string = " "; int = 0; double = 0.0 ); public: int getPartNumber(); int setPartNumber( void ); char getToolName(); int setToolName( void ); int getInStock(); …

Member Avatar for Andreas5
0
278
Member Avatar for pawan_sharma777

How to declare an array to store the different five(5) name and initialize the following char array with {"Lara","Lin","Nitin","Krishna","Sophia"}

Member Avatar for pawan_sharma777
0
99
Member Avatar for wolfeater017

Can someone tell me how to display an image with pygame. By the way I am using python 3.x.

Member Avatar for vegaseat
0
2K
Member Avatar for Anyzen

Hello i have a code here that partially works...the point in the program is to store 10 array integers then outputs how many times that integer is entered ex. input: 1 1 1 1 1 2 3 3 2 99 output : 1 = 5 2 = 2 3 = …

Member Avatar for Anyzen
0
164
Member Avatar for kayfar

i'm using C# and MS Access database..i want to search name or serial no using LIKE statement..but i don't know how to do it..and then after i search it will view the match that i search for..let's say i want to search a letter start with 'C', an then it …

Member Avatar for kayfar
0
164
Member Avatar for dupowdis

So basically, I have this GUI program. I can run it, and it displays a graph of some data. The thing is, I want to put this program inside of JFramebuilder, and make changes to it. I dont know if it is even possible, but I figured if I opened …

Member Avatar for pi_lord12
0
140
Member Avatar for Patplays852

Below is a Base Conversion Class that will take in any number (up to around 2.4 billion digits (limited by string.substring's integer property)), It will convert from any base to any base (from 2-36 inclusive) It does have some simple error handling such as if you enter a number that …

0
217
Member Avatar for starlight849

Hello all I am new to the community and have been stumbing across a problem with my code. I have a program that is connecting to an oracle database. I am using the table adapter to fill a combobox to select a model. Then I am connecting to the database …

Member Avatar for starlight849
0
6K
Member Avatar for ZlapX

Basically everyone should laugh at how stupid this may sound but this code is somehow wrong... which is funny because it is as simple as hello world.... [CODE]#include "stdafx.h" #include <iostream> using namespace std; int main(void) { cout << "Wake up, Neo.\n"; Sleep(6000); cout << "The Matrix has you.\n"; Sleep(6000); …

Member Avatar for ZlapX
0
242
Member Avatar for Acidburn

Hey guys, I've got this code implemented below in my UI form... and calling it from another thread. On debugging the 'else' part throws an TargetParameterCountException... I'm clueless has to why... [code] public delegate void SolveDrawMaze(Cell aCell); public void SolveDraw(Cell aCell) { if (InvokeRequired) { this.BeginInvoke(new SolveDrawMaze(DoMe)); } else { …

Member Avatar for nick.crane
0
214
Member Avatar for Nfurman

Hello again, How can I count the message size from: [CODE] msg.Body = tbText.Text; [/CODE] ? I need to get KBs.

Member Avatar for Lusiphur
0
95
Member Avatar for Chokladkakan

I am new to Daniweb, but I have browsed the forum here for a while and it has often solved problems of mine, so now that I encountered a pickle which I cannot seem to solve in a satisfactory way using only googling, I'm asking for some hands on help: …

Member Avatar for Chokladkakan
0
136
Member Avatar for btbam006

Hey everyone, still pretty new to this site although I have used it many times to help me through problems i have had in the past. I am currently going to school for game programming and have been learning C++ the past few quarters. So far we have only worked …

Member Avatar for light766
0
115
Member Avatar for DarthMambo

I have the the following entry in my web.config in the root of my Asp.net project: [code] <urlMappings enabled="true"> <add url="~/Views/VoiceClip.wav" mappedUrl="~/Views/VoiceClipHandler.ashx"/> </urlMappings> [/code] This works fine when running the site in Visual Studio - I go to VoiceClip.wav and it redirects me to VoiceClipHandler.ashx. However, when I deploy to …

Member Avatar for DarthMambo
0
112
Member Avatar for iqra123

hiiii, can anyone tell me about computational complexity of AES, DES and BLOWFISH techniques. i am using these techniques for a string. and calculating execution time of these thre techniques. and now want to know their complexity on the basis of execution time... plzzz Help me out! Regards!

Member Avatar for Adak
0
95
Member Avatar for adi.shoukat

I want to write a Code in C which can create copy any given file (txt, bmp, jpg, pdf etc) what i've written so far is: int main(){ FILE *fp; char ch; FILE *fpW; if((fpW = fopen("file2.gif","wb"))==NULL) { printf("Cannot open Destination file.\n"); exit(1); } if((fp = fopen("file.gif","rb"))==NULL) { printf("Cannot open …

Member Avatar for Adak
0
2K
Member Avatar for katokato

Hey, im new to the forum and im trying to learn c++, so i bought a book. On a programming exercise i was asked to create a program that would take a persons full name, letter grade, then subtract the letter grade (ie: A to B), and age and display …

Member Avatar for katokato
0
107
Member Avatar for VBNick

hi, I put together a small app to try using SEE in assembly, but I am getting the wrong output. these are the .cpp file and the .asm file [code=cpp] #define WIN32_LEAN_AND_MEAN #include <iostream> using namespace std; extern "C" int *myFunc(float *a, float *b, float *result); int main(int argc, char …

Member Avatar for VBNick
0
142
Member Avatar for ChaseRLewis

Going through a text to help cement my knowledge of C++ but found code that wasn't explained and looks kinda odd to me. [CODE] #include <iostream> #include <string> int main() { using namespace std; char ch; int count = 0; cin.get(ch); while(ch != '\n') { cout << ch; ++count; cin.get(ch); …

Member Avatar for mike_2000_17
0
88
Member Avatar for reza.adinata

Hi, I have a snippet code below [CODE] <?php //get value of $new from other codes //$new will provide outputs of a new number every time it is executed echo "$new<br/>"; $strFile = "1.txt"; file_put_contents($strFile, $new); [/CODE] The idea is that I want to put a new line of number …

Member Avatar for reza.adinata
0
149
Member Avatar for fumnimda

hi all, i am searching about a secure captcha for my search form and find: - 'Ajax Fancy Captcha' - reCaptcha and also a paper from google research center which talk about rotating picture as captcha. which one is better and more secure?

Member Avatar for ahmadjhoney
0
145
Member Avatar for adams161

Hi, I had to wipe a computer and reinstall the operating system and eclipse. i had backed up two of my projects in my working folder for eclipse. i copied those project folder into my new working eclipse folder, but i can't seem to open them. Open project is grayed …

Member Avatar for adams161
0
131
Member Avatar for clausont

Hi, I have a web form in vb that I am writing and I am stuck on getting th evalue of one cell in a row when the checkbox is checked so that I can insert that value into a table in an access database. Can anybody help on this? …

Member Avatar for clausont
0
119
Member Avatar for lotrsimp12345

[CODE] //copy database files to target directory string fileName = "test.txt"; string targetPath = StaticFormInstances.choose.txtbxTargetDir.Text; string sourcePath = @"\\il93fil48\3GSM\release\testapplication_REL_01_00_09\database"; //Use Path Class to manipulate file and directory paths string sourceFile = System.IO.Path.Combine(sourcePath, fileName); string destFile = System.IO.Path.Combine(targetPath, fileName); //Create a new target folder if it doesn't exist if (!System.IO.Directory.Exists(targetPath)) { …

Member Avatar for lotrsimp12345
0
240
Member Avatar for srdva59

h, i have this for call the hs.expand using a link: [code=html]<a onclick="return hs.htmlExpand(this, { contentId: 'highslide-html2', objectType: 'iframe', objectWidth: 400, objectHeight: 400} )" class="highslide"href="link"><call </a>[/code] that work fine, but now i want call the same function using a function like this: [code=JavaScript]hs.htmlExpand(null, { contentId: 'highslide-html2', objectType: 'iframe', objectWidth: 400, …

Member Avatar for Pedro José
0
773

The End.