132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sireesha g

Hi ALL, As i am new to XSLT i am not able to implement the logic, Please share your views if any know's how do this. i have an xml [CODE]<?xml version="1.0" encoding="UTF-8" ?> <?xml-stylesheet type="text/xsl" href="Temp.xsl"?> <Rowsets DateCreated="2011-02-14T12:24:00" EndDate="2011-02-14T12:24:00" StartDate="2011-02-14T11:24:00" Version="12.0.2 Build(88)"> <Rowset> <Columns> <Column Description="BatchNumber" MaxRange="1" MinRange="0" Name="BatchNumber" …

Software Development apache xml
Member Avatar for xml_looser
0
159
Member Avatar for drax12

Hey i'm developing a role based user authentication in my desktop application.i need to add few roles like Admin, operator, etc... i can get users role if i have user name of the logged in user.but after logging in the username cannot be retrieved again.So it has to be saved …

Software Development c#
Member Avatar for jfarrugia
0
1K
Member Avatar for focusedmm

Trying to take the output and put it in a format that looks like a MAC address separated by colon looking for 0800 type field and 0806 then print the data in a useable mac address format. Any help would be appreciated. [CODE]#define RETSIGTYPE void #include <sys/types.h> #include <sys/time.h> #include …

Software Development c
Member Avatar for L7Sqr
0
118
Member Avatar for Victoryy

Hi All, I am using VS05 + Web application + C# + Crystalreport + SQL SERVER In my application i am using crystalreport.My report runs fine.I created almost 150 reports. Now my client wants to change the image on the report,which is a tedious job. Now I want to save …

Software Development client-server
Member Avatar for sandeepparekh9
0
579
Member Avatar for Stew007

I have the following XML... <TechnicalMeterDetails> <RemovedMeterRegisters MeterCategoryCode="RM067"> </RemovedMeterRegisters> <RemovedMeterRegisters MeterCategoryCode="RM066"> </RemovedMeterRegisters> <NewMeterRegisters MeterCategoryCode="RM068"> </NewMeterRegisters> <NewMeterRegisters MeterCategoryCode="RM067"> </NewMeterRegisters> </TechnicalMeterDetails> I want to check that the MeterCategoryCode value in the RemovedMeterRegisters segments is the same value in the NewMeterRegisters segments. In the above example the answer would be false. If RM068 …

Software Development xml
Member Avatar for xml_looser
0
122
Member Avatar for arvindikchari

Hello, Please clarify the following for me- (1) I want to use a rolling file appender with Log4j, so that the log messages are stored into a single log file....Also I want that the log file should be passed as parameter during program runtime. (2) What all classes have to …

Software Development java
Member Avatar for arvindikchari
0
196
Member Avatar for DaemonToad3

Greetings to all. I'm using visual C# express, just starting to learn C#. I want to build a reminder system for a console App, how do I go about it? I want to be able to check the DateTime and for each different date read the string attached to it.

Software Development c#
Member Avatar for DaemonToad3
0
119
Member Avatar for Stefan_Lam88

Guys, I have a problem here. [CODE] String FileName = "FileName.xlsx"; String FilePath = input.PostedFile.FileName; System.Web.HttpResponse response = System.Web.HttpContext.Current.Response; //response.ClearContent(); //response.Clear(); response.ContentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"; response.AddHeader("Content-Disposition", "attachment; filename=" + FileName ); //response.Flush(); response.End(); [/CODE] I want to download an excel file which is converted from csv plain text file. But everytime …

Software Development
Member Avatar for Stefan_Lam88
0
2K
Member Avatar for vasuv

Hi All, I want to write an automation script, which will send log files of Scheduled jobs via email for every one hour. Please help me out to write a script for this. Thanks.

Software Development shell-scripting
Member Avatar for thekashyap
0
150
Member Avatar for ayoba01

hello good afternoon i have a problem regarding the number and want the number become from this: RM 2 to be like this: RM 2.00 here is the code: [CODE] Dim pay As Double Dim bayar As Double pay = "2.00" bayar = "3.00" If Date.Now.DayOfWeek.ToString = "Monday" Then TextBox3.Text …

Software Development pay-per-click vb.net
Member Avatar for Luc001
0
97
Member Avatar for dwayned

Hi I am trying to update my database based on the selected values in two comboboxes. Combobox1 = Manufacturers Combobox2 = Orderlists In the App the user selects a manufacturer and then an orderlist and then presses Ok button which updates the default orderlist for the manufacturer. I am having …

Software Development dataset sql vb.net
Member Avatar for InsitizrT
0
2K
Member Avatar for judithSampathwa

hi i am creating a login page in C#.net windows application and i have a remember me checkbox in the login interface. can some one give me a tutorial to code the remember me check box in the C# windows application thank you

Software Development asp.net c c# c++
Member Avatar for C#Jaap
0
2K
Member Avatar for david081

Hi I was hoping someone could offer me some help please I have a form with two comboboxes ,one text box and a button .I have multiple tables in ms access database with same structure , col1 and col2 . I want to insert text box value into column1 in …

Member Avatar for david081
0
163
Member Avatar for montjoile

Hi. As far as I know, [B]typedef[/B] is used to assign an alias for a structure or type of data, am I wrong? Is there something more to know about Typedef? thanks

Software Development c++ data-structure
Member Avatar for montjoile
0
146
Member Avatar for quetzal_7

Hi, help please! I have a struct containing an array of pointers to structs containing Binary Search Trees with nodes containing structs. ... <*sigh*> I hate C soo much... put work wants it to be in C. I can set the struct of BST's just fine, and keep it around, …

Software Development c data-structure programming-construct
Member Avatar for Ancient Dragon
0
207
Member Avatar for ben1996123

Hellochina, I rarely use C++ but yesterday I came up with an idea for a program. What I want to happen is for the program to take a string, and for every letter, replace it with something else (for example, the letter after, or the number of the letter in …

Software Development c++
Member Avatar for predator78
0
263
Member Avatar for shrutinr

Hi , I m doing my project in vc++.. I need to interact my vc++ project with NI MAX software.. I m taking Frame API for ineracting to UPS . I included "nican.h" header file for that. I didnt missed any brackets... but while executing i m getting error like …

Software Development api c++ visual-studio
Member Avatar for Smalls518
0
958
Member Avatar for eng51

I use Borland C++ Builder ver 5 - and always want to make stand alone exes. I now wish to create and use my own libraries. I made a simple .cpp, ran "bcc32 -c mycode.cpp" to create mycode.obj, then ran "tlib mylib +mycode" to create mylib.lib. I created a .h …

Software Development c++
Member Avatar for eng51
0
111
Member Avatar for sirlink99

I have this code here [CODE] public void actionPerformed(ActionEvent arg0) { for (int i = 0; i <= 360; i++){ for (int z = 0; z < 9; z++){ xaxisWave1 [z][i] -= 1; if (xaxisWave1[z][360] < 0){ System.out.println("Line out"); for (int y = 0; y <= 360; y ++){ xaxisWave1[z][y] …

Software Development java
Member Avatar for sirlink99
0
160
Member Avatar for tequila1

I have a big problem and i'm not even sure if solution exists for my problem... So the problem is: I have a xsd file, and I need to create xslt which will create html table with 2 columns: the first column is <xs:documentation> for all elements names (4 example …

Software Development oracle xml
Member Avatar for xml_looser
0
1K
Member Avatar for QuesoTaco

So I am taking a class in Viruses and Defense against Viruses. As such there entails much x86 programming. I do know how to program in x86 and the calling conventions and so forth. But that is only because I learned it from my instructor. However, I am not sure …

Software Development assembly virus-malware
Member Avatar for iret
0
213
Member Avatar for smrati.katiyar

[CODE] #include <iostream> using namespace std; int main() { cout << "enter" << endl; int a,b; cin >> a >> b; cout << a << " " << b << endl; return 0; } [/CODE] in the code given above when the input is INPUT: 45 12 OUTPUT: 45 12 …

Software Development c++
Member Avatar for Ancient Dragon
0
129
Member Avatar for diafol

Hi all, am using a regex (in php), but I'm all confused. I'm trying to replace a string ('di') with 'deu'. SImple enough, but I don't want a replacement if 'di' is preceded by 'io' as in 'iodine', 'iodic', 'iodide' etc. This is what I have: [CODE]'/(?<!io)di/i'[/CODE] It works fine …

Software Development perl regex
Member Avatar for diafol
0
158
Member Avatar for petr.hribal

Hi Boys, I would like to ask you, how should I correctly implement entity life-cycle using hibernate filters. At this time I have got the following classes and DAOS, which I considered to be right - but they obviously aren't. Here are entities which are used in my system. [code] …

Software Development java session
0
134
Member Avatar for harinath_2007

Hello.. I am developing a graphics application. I am playing a video in my application and when I press any key , it should stop currently playing video and should start displaying other images.Everything went well except when I press any key the video is getting stopped but the screen …

Software Development java
Member Avatar for JamesCherrill
0
300
Member Avatar for Zeruba

Hello, I am currently trying to learn programming and am using Python to start with. I am currently practicing programming with classes and have placed the following code into a python file called complex.py: [CODE]class Complex def __init__(self, realpart, imagpart): self.r = realpart self.i = imagpart[/CODE] and placed the following …

Software Development python
Member Avatar for vegaseat
0
137
Member Avatar for Reverend Jim

Am I missing something here? I am writing a game that requires some random number generation. I decided to use the System.Random class but I was getting strange results. The documentation says that if I have an instance of the class (let's call it r), the call r.Next(1,6) returns a …

Software Development vb.net
Member Avatar for Reverend Jim
0
142
Member Avatar for I Like Pills

Hey everyone. I was just wondering if anyone who programs for a living or just as a hobby ever gets bored of it? And if not, why do you not? And if you do, what keeps you wanting to continue doing it? Thank you.

Software Development c++
Member Avatar for pseudorandom21
0
370
Member Avatar for sasidharnet
Member Avatar for masijade
0
490
Member Avatar for savard88

Hi Guys How r u all? i have a code that must start a verification form when load a finger print to recognize it but it is not working [CODE] Imports System.Data.OleDb 'Delegate Sub FunctionCall(ByVal param) Public Class IdentifyByFeatures Private Template As DPFP.Template Private Sub VerifyButton_Click(ByVal sender As System.Object, ByVal …

Software Development open-source vb.net
Member Avatar for Luc001
0
696
Member Avatar for arjen

hello guys.. Can anyone know how to make the visualization or equalizer specifically the bars visualization of window media player? I made my own but I use only the progressbar and timer which random select from the number which mean it is not accurate from the song:) please need help …

Software Development vb.net
Member Avatar for arjen
0
375
Member Avatar for samythehunk

this is my first project on .net actually i want know is there any way by which i can run my project by double clicking on an icon so that no onecan see my inside project code

Software Development asp.net vb.net
Member Avatar for Pgmer
0
122
Member Avatar for bhavna_816

When we click on the Hyperlink of subject a new HTML Page should be pop up and shows the body of the mail. I have written two perl codes first is for displaying the page with folders with subject another perl code having function to show the body.How can I …

Software Development html-css perl
Member Avatar for hsincredible
0
398
Member Avatar for Annuate

Hi everyone, I'm working on a summer coding project with few friends from school and we have a design issue that we need some input on.(The language is Java) We have for example a 2D vector class called Vector2. It has two properties float X, and float Y. When I …

Software Development java
Member Avatar for jwenting
0
236
Member Avatar for littlestone
Member Avatar for Ancient Dragon
0
257
Member Avatar for Dorar

hello every body this is part of my datastructure project//i used java lang. i have a problem in using GUI, see : [CODE]JButton button3 = new JButton("Sub Users Access: Students & Teachers"); button3.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { String Option2 = JOptionPane.showInputDialog(null, "\n1-Show list of bookes\n2-Search book\n3-Exit\n\nEnter a …

Software Development gui java
Member Avatar for NormR1
0
173
Member Avatar for Saith

I somewhat understand the concept of the parentheses overload when you need to use an object as a function. The question that I have is why does the max variable in the listed code below always input 2. [CODE] /* Purpose: This is the header file of randomInteger.h The class …

Software Development c++
Member Avatar for Saith
0
337
Member Avatar for gingernob

I have tried to google this but returned nothing useful; I have code which runs in a menu item (StartToolStripMenuItem_Click). Later in the project i want to code clicking this menu item but if i just use the StartToolStripMenuItem_Click sub it wants the 'e' argument passed to it. I simply …

Software Development vb.net visual-basic
Member Avatar for gingernob
0
179
Member Avatar for lochnessmonster

[url]http://www.ibm.com/d...rary/pa-dalign/[/url] Can anyone plz explain why , according to this article, an x86 processor can't read simply 4bytes from an odd address and has to make 2 reads then shift bytes to get aligned to the correct value? I dot see why a processor can't read from an odd address …

Software Development c++
Member Avatar for mike_2000_17
0
128
Member Avatar for AhmedGhazey

SA i ask if any one can help me in this grammar problem : Expression ::= Expression ( "&&" | "<" | "+" | "-" | "*" ) Expression | Expression "[" Expression "]" | Expression "." "length" | Expression "." Identifier "(" ( Expression ( "," Expression )* )? …

Software Development java
Member Avatar for NormR1
0
143
Member Avatar for surferxo3

[CODE] //Mohammad Sharaf Ali k092094 #include <iostream> #include <iomanip> #define INFINITY 999 //Max Length using namespace std; class Graph { private: int adjMatrix[15][15]; int predecessor[15],distance[15]; bool mark[15]; int source; int numOfVertices; public: void read(); void initialize(); int getClosestUnmarkedNode(); void dijkstra(); void output(); void printPath(int); }; void Graph::read() { cout<<"Enter the …

Software Development algorithm c++
Member Avatar for template<>
0
210
Member Avatar for milan2011

Hey everyone, I am currently working on a project to create a List ADT that has the following public interface: + size( ) : integer o Returns the number of elements currently stored in the list. o Postcondition: Returns 0 if empty otherwise returns the number of elements. + add( …

Software Development c++ data-structure
Member Avatar for mike_2000_17
0
167
Member Avatar for NordCoder

Hi Daniweb, I've been programming a base class resource manager for a game I'm working on, and so read up on boost's shared_ptr and weak_ptr. I'm done with it and it works and I would really appreciate some feedback on my choice of implementation and design. Am I using the …

Software Development c++ daniweb-feedback
0
168
Member Avatar for cppgangster

Hi I am getting an error saying that a class doesnt exist even I did foward declaration: [CODE]class CMyApp: public CWinApp { public: BOOL InitInstance(); }; class NumericOperation; //foward declaration class CMySkaiciuokle: public CDialog { public: CMySkaiciuokle(); virtual BOOL OnInitDialog(); protected: virtual void OnCancel(); virtual void PostNcDestroy(); afx_msg void OnPaint(); …

Software Development c++
Member Avatar for cppgangster
0
114
Member Avatar for enakta13

Explanation: suppose an expression -23+5-9/(5*2) is entered then i want output as Numbers: -23 +5 +9 +5 +2 Operators: + - / * () Is it possible?

Software Development c++ mathematics
Member Avatar for enakta13
0
172
Member Avatar for sirlink99

I have two JSliders that are both going to a common stateChanged Method, but I am having trouble separating them. I assumes they were somewhat like separating something in the actionPerformed method, but it doesn't seem to work. it does however go into the method, it is just the if …

Software Development java
Member Avatar for sirlink99
0
127
Member Avatar for chrisvj11

I have 2 images, one is supposed to be on top of the other. This works fine until one of the "movement" keys are hit (a,s,d,w) [CODE]import sqlite3 as sqlite import wx username=None class MainWindow(): def drawmap(self): self.map4_31="C:/python27/game/4_31.gif" self.map1=wx.Image(self.map4_31,wx.BITMAP_TYPE_GIF).ConvertToBitmap() height=self.map1.GetHeight() width=self.map1.GetWidth() self.map1.map4_31 = wx.StaticBitmap(frame, -1, self.map1, (270, 170), (width,height)) def …

Software Development image python sqlite
0
115
Member Avatar for arjen

hello guys can you help me with my problem i create a media player and of course it has a playlist which is the listbox but my problem is that when i use this [CODE]x = system.io.path.getfilename(track)[/CODE] and when i click the song in the playlist it does not play …

Software Development vb.net
Member Avatar for arjen
0
273
Member Avatar for deathmeat

hi, i need to create database in the folder which the user selects the code below creates database in folder D:\\AccessDb [CODE] cat.Create("Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=D:\\AccessDB\\shell.mdb;" + "Jet OLEDB:Engine Type=5");[/CODE] I have used the folderdialog, and store the location of which the user selects into a string and replace the …

Software Development
Member Avatar for Mitja Bonca
0
98
Member Avatar for rohit8563

please give me your solution. i have tried to find the optimized answer on google but i dint find any optimized code. Q:find sum of prime factors of given number. for example if n=18 answer would be 2+3=5 below is my code: [CODE]class Program { static void Main(string[] args) { …

Software Development asp.net
Member Avatar for ddanbe
0
404

The End.