199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sarathcd

Hi Guys, I am new to XSLT, looking to solve a problem I am facing in filtering XML records. I need to get both the Input XML record position and limit the output XML to a particular number (based on input provided to xsl:param from .net 1.1) Input XML <Parent> …

Member Avatar for Maruli
0
835
Member Avatar for prabs20

I want to convert an existing web page content to MS Word format on a button click event using c#. I have done conversion of web page to pdf format using itextsharp library. I am looking for similar tool which does the conversion to word. Alternatively is it possiblet to …

Member Avatar for 良红
0
958
Member Avatar for mee123

import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import javax.swing.ImageIcon; import javax.swing.JOptionPane; public class Main { public static void main (String[] args) throws Exception { Class.forName("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/convocation","root",""); //ImageIcon icon = new ImageIcon("C:\\Users\\a\\workspace\\MysqlName\\img\\U.png"); //JOptionPane.showMessageDialog(null, "Custom", "Custom Image", JOptionPane.INFORMATION_MESSAGE, icon ); int id_convo= Integer.parseInt(JOptionPane.showInputDialog(null,"Please Insert Student Convo ID\n(eg:01,02,03)", "U …

Member Avatar for stultuske
0
147
Member Avatar for Xiao_1

when Register in this also will record the time in to access also is this code corrct this my code Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick lbltime.Text = "Time:" + TimeString If String.IsNullOrWhiteSpace(txtadmno.Text) Or String.IsNullOrWhiteSpace(txtcard.Text) Then 'MessageBox.Show("Please complete the on the box.", "Authentication Error", …

Member Avatar for SteveDotNet
0
341
Member Avatar for mark103

Hi guys, I'm creating the width size for the buttons when I'm getting a list of arrays so I can store the buttons size in a database. The types of arrays that I stored for the buttons and the buttons width size is a list. I have stored a list …

Member Avatar for TrustyTony
0
248
Member Avatar for akam aziz

1. N-queen problem The n queens puzzle is the problem of placing n chess queens on an n×n chessboard so that no two queens threaten each other. Thus, a solution requires that no two queens share the same row, column, or diagonal. Solutions exist for all natural numbers n with …

Member Avatar for JamesCherrill
0
328
Member Avatar for bc230201818

PLease write a better code which is rather advance form using #include<queue> && #include<list> #include<iostream> #include<conio.h> #include <iomanip.h> using namespace std; const int size=20; // Patient Class class Patient { int age; char name[30],phy; public: Patient() { age=0; strcpy(name,""); phy=NULL; } void SetName(char* P_name) { strcpy(name,P_name); } void SetAge(int P_age) …

Member Avatar for bc230201818
0
183
Member Avatar for ASHKAN_2

Hi i have this program that is about library management system in C++ language and i want to convert it to C but i dont know what to do. if someone could help me i would be thankful. #include<stdio.h> #include<conio.h> #include<iostream.h> #include<stdlib.h> #include<string.h> #define MAX 100 struct book{ char bookname[80]; …

Member Avatar for Frederick2
0
344
Member Avatar for nuller

i need to make a c++ console based program for a banking system using files. i implemented some code but having difficulty with withdrawing money from the account, checking balance, transferring funds and viewing transaction. For withdrawing funds i implemented the following code but it doesn't seem to work properly. …

Member Avatar for tinstaafl
0
278
Member Avatar for Donal99

Dim Names As String = txtfrom.Text Dim Email As String = "E@mail.com" Dim Phone As String = "8979876785" Dim Address As String = "Location" Dim postData = "&Names=" & Names & "&Email=" & Email & "&Phone=" & Phone & "&Address=" & Address Dim request As WebRequest = WebRequest.Create("http://localhost/testserver/sendmail.php") request.Method = …

Member Avatar for Donal99
0
444
Member Avatar for maria.gretta

create a c++ program that has 3 functions with return type void first function is called Sum the second function is called Information and the third is called Calculation. a) in the definition of Sum function, you should creat 5 random numbers and print their sum value. b) in the …

Member Avatar for bc230201818
0
211
Member Avatar for vizz

How to write .htaccess for following links? Something like home.php/page/about home.php?page=about home.php?page=services home.php?page=events home.php?page=gallery&id=1 **//redirected from home.php?page=events//** home.php?page=contact **home.php** $default = 'default'; $page = isset($_GET['page']) ? $_GET['page'] : $default; if (!file_exists(''.$page.'.php')) { $page = $default; } include(''.$page.'.php'); **e.g** page=about is used to get about.php **include(''.$page.'.php');** this includes **about.php ** for …

Member Avatar for imti321
0
169
Member Avatar for Jeon_1

i want to restrict daily usage of my program. for example, i want to restrict usage to 100 count daily. and also want to check whether windows clocks roll back. so code will be such like. for i=0 to 100 if i > 100 then msgbox('daily usage exceed') else end …

Member Avatar for Santanu.Das
0
191
Member Avatar for OMER AHMED

hi all again i want to save my 3 columns of listview with data in vb.net built in settings saver how i can do that and how i can load it back when form load. i write something like this My.Settings.advance_settings.Add(TextBox2.Text) My.Settings.advance_settings1.Add(TextBox1.Text) My.Settings.advance_settings2.Add(Date.Today) my.settings.save() it will save the data but …

Member Avatar for Santanu.Das
0
1K
Member Avatar for kkk122

Hello, I am trying to pass file path as command line argument. If the path without spaces it works fine. with spaces it is not. Please find my code below. string scriptFilePath = "@" + Directory.GetCurrentDirectory() + "\\" + scriptFile; // exact path string scriptPath= " \"" + scriptFilePath + …

Member Avatar for tinstaafl
0
7K
Member Avatar for Osagie_1

Can anyone help me clear this issue ? I have a JsonMaker class as: class JsonMaker { protected $jsonObj; protected $path; function __construct($filepath) { $this->path = $filepath; $str = file_get_contents($this->path, true); $this->jsonObj = json_decode($str, false); } public function Test_1($rootName){ $file = file_get_contents($filepath, true); $data = json_decode($file, false); foreach ($data->{$rootName} as …

Member Avatar for broj1
0
129
Member Avatar for coolsasuke

Hey Pals, I was trying very hard to compare 2 numbers when one is not in any sequence. EG: First number: 1233 Second Number: 3321 In this case above, i want it to match because they both contains same numbers, just that it is not in sequence. I have tried …

Member Avatar for Santanu.Das
0
239
Member Avatar for Shikha_1

how msg is send to mobile from localhost . i need php code settings in nowsmsgateway settings in php.ini setting in httpd.conf file

Member Avatar for Sangeeta_2
0
220
Member Avatar for rohoni

Hi i am developing a new website for mobile shop in php, I need to implement to send sms for the login users, please help me with code in php

Member Avatar for Semy
0
356
Member Avatar for Benny_1

Hi guys. I'm working on a christmas present for my dad, it's a program that installs 8 Black Keys songs on his computer. I'm having some trouble with it though. I can't figure out how to get the files out of the jar file. I used to access them with …

Member Avatar for Benny_1
0
449
Member Avatar for 111100/11000

//compiled with cmd command:gcc main.c -std=c11 -o main.exe //this is only file #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <string.h> //user changeable variables int boardSize = 9;//board hight and width are of equal size #define NUMBER_OF_GRID_CHOICES 7//this has to be an odd number(increase it by two if you add another …

0
209
Member Avatar for Chem_1
Member Avatar for sneekula
0
679
Member Avatar for pritaeas

For a report I had to show a list of items (ID's). Instead of showing them all, they wanted to show consecutive items separated by a dash. Just like the way you would use print pages in Word for example. In the print dialog you can say 1-5, 8 to …

Member Avatar for pritaeas
0
1K
Member Avatar for younes.keraressi

hey, im working on a site on drupal with a theme, i have the main page with slider, i created a new page and i want to use some jquery there, but i search on internet they said that add scripts[] = jquery.js into you them file, the problem when …

Member Avatar for younes.keraressi
0
286
Member Avatar for RobertDecousta

Hi, I really like to know much more about PHP? what is it? Please explain me clearly.

Member Avatar for diafol
0
311
Member Avatar for kau14

I have filled the datagridview on the buttonclick Now, The reuirement is, If the excel having null, or 0 or stringvalue datagridview should eleminate that row. Please suggest. Thanks & Regards Kaustubh

Member Avatar for SteveDotNet
0
225
Member Avatar for PCSAWICK829

I was working on my raspberry pi creating a game called raspberrysnake from code out of a book. I entered the code exactly as shown... I had a few errors which turned out to be missing characters or mistyped characters. Finally, after catching these, I ran it through the command …

Member Avatar for sneekula
0
2K
Member Avatar for hirenpatel53

Hi All I am developing win app so for that i am looking for database of indian State and Its Cities, tryed on google but failed Please help me if have any idea Thanks In Advance

Member Avatar for Ganesh_8
0
10K
Member Avatar for SimonIoa

I want to make my website a mobile application. I write in php and after a little research it seems that Zend is the best way to create mobile apps in PHP. Any ideas?

Member Avatar for SimonIoa
0
283
Member Avatar for nitin1

I am using namespaces from a long time now. But, I don't know why we need them at the end? Why do I need to write using namespace std; OR std::string Why do we have to do this? Why have they made it this way? Can you elabroate this thing? …

Member Avatar for Itecg
0
275
Member Avatar for Suzie999

I am just wondering if I target the lowest .net framework, does it follow that all subsequent/later versions are able to run it?

Member Avatar for Bhuvan_1
0
119
Member Avatar for kks21199

Hello, I am using turbo c++ 4.0. I know its outdated but i have to use turbo c++ for this project. Here is my current code, #include<iostream.h> #include <stdlib.h> #include <fstream.h> class item { private: char name[]; int code[]; float price[]; int z; fstream datfile; public: void add(void); void delete_(void); …

Member Avatar for kks21199
0
2K
Member Avatar for sydoggs

Hi, I am trying to create a sort of day planner with task a start_time and an end_time both entered as string using concatination of comboboxes(hour:minute:second AM/PM) and saved in a database as Datetime I try diferent conversion i found online but it doesn't work. Does anybody have an idea …

Member Avatar for kvprajapati
0
326
Member Avatar for Amr_Mohammad_R

Greetings, I'm looking for an SDK for an fingerprint device called HST-PRO its a Korean made. If any one worked with this device and could help [Click Here](http://www.gobizkorea.com/catalog/product_view.jsp?blogId=biokey&objId=954822)

Member Avatar for Bhuvan_1
0
127
Member Avatar for Maideen

Hi My scenario is I have on text box with date (dd-MM-yyyy). I am using ajax in this text box. I need this date display into another text box with format yyyyMMdd on click the button Because the invoice no Need the yyyyMMdd-00001 when the user select the date. How …

Member Avatar for kvprajapati
0
1K
Member Avatar for Search_not

I am making my own component similar to the JOptionPane, but with some added GUI components specialised for my current project. I have finished with the GUI of the component, but I do not know how to make wait for the user to enter input before continuing, as the JOptionPane …

Member Avatar for Search_not
0
420
Member Avatar for col-lino

Good day all, I am a newbiew in C# application. I am designing a Laundry application, and I want to insert data from textbox, datetime picker and the gridview control into a database table.. I am using SQL Server 2008. This is the window form and controls on it:Form with …

Member Avatar for SteveDotNet
0
733
Member Avatar for Stacy_1

I have a move function which moves the files from one folder to another folder.. I am wondering how can i show the total numbers of files moved and moved filenames in a dialog box. or any idea..!!!! Here the problem is Once i press Move all the files moving, …

Member Avatar for SteveDotNet
0
233
Member Avatar for mark103

Hi guys, I'm trying to write the code to allowed me to store each data in a database from the arrays, but it give me the error. [b]Error: InterfaceError: Error binding parameter 0 - probably unsupported type.[/b] Code: #generating the program button ids for generate_ids in range(3002, 3485): program_id.append(generate_ids) #create …

Member Avatar for Gribouillis
0
427
Member Avatar for Erma_2

How to solve this problem? I'm getting tired thinking abou this. Help me. Write a C++ program to help the master reporter of a traffic centre to analyse the amount of traffic coming from all the different entry points to a city. The amount of traffic for each entry point …

Member Avatar for gusano79
0
190
Member Avatar for Krefie

Hi boys and Girls, Quick question I cannot seem to find the answer to: Why use CodeDOM to generate a class over say saving the structure of your code as text to a notepad and renaiming it to .cs? or just save it as a .cs file outright? Why go …

Member Avatar for gusano79
0
227
Member Avatar for MARKAND911

I have created an MS Access Query named **GetContactCategory** select GetCategoryNames(contactId) as CategoryNames from Contacts The Function **GetCategoryNames** is the function written in a module of same database. Now when i call this query in my c# application using ADO.net it throws error. Following is my c# code ` using …

Member Avatar for lithium112
0
388
Member Avatar for AntonyRayan

<? include('connect.php'); ?> <!DOCTYPE html> <html> <head> <script> function showCustomer(str) {alert("dfertvgrevbtr"); var xmlhttp; if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("txtHint").innerHTML=xmlhttp.responseText; } …

Member Avatar for Taywin
0
107
Member Avatar for AntonyRayan

Hi, I dont know how to check password availabilty from mysql database, Can anyone tell me about with simple and brief explanation in php. if the password is already in db, it should show password is match otherwise password do not match . This should show in the field itself.... …

Member Avatar for Taywin
0
102
Member Avatar for kungle

If I (have to) use C/C++, I'm mostly working on time-critical or real-time applications. Examples are OpenGL texture Streaming (Example: Streaming Satalite Data on planet surface in realtime: https://www.youtube.com/watch?v=ws2ra5MvDi4) or real-time PSM audio maonpulation (Example: Automatic tuning a guitar to a C64= SID tremolo: http://www.yousry.de/audio-example-real-time-tune-detection-tuning-auto-tuning/). During development I'm using "**-O0 …

Member Avatar for Maritimo
0
605
Member Avatar for reynaud0000

Hi Guys i am having a very peculiar problem i have written a small code so that it is possible to sign up to the website i am creating with a few restrictions to each field however from what i see the code seems ok but each time i try …

Member Avatar for matrixdevuk
0
242
Member Avatar for hwoarang69

I have created a height score class by keep track of time. In this class top 5 score are saved in file using Preferences and than they are display on screen. First I am setting up top5Time array by filling in all zero's. Than I am getting top 5 time …

Member Avatar for Traevel
0
251
Member Avatar for tony75

Hi How to merge two binary files into one in python and make them both execute. For example 1.exe+2.exe = OutPut3.exe when you run 3.exe both 1 and 2 execute def Main(): File_1 = raw_input("Location path of 1.exe:") File_2 = raw_input(" Location path of 2.exe:")

Member Avatar for tony75
0
2K
Member Avatar for SimonIoa

Hello i have a problem with my website. It is running slow. I asked the my server provider why is that, and they replied its because the webiste uses many embedded urls like youtube, vimeo, dailymotion and so on. And so i have to cache these embedded urls. Anyone knows …

Member Avatar for SimonIoa
0
638
Member Avatar for sergio_pb

I creating an application in visual studio where I have a client to request specific information to multiple servers. Someone Knows i can make this communication? For one server i know to create that, for many servers i dont have idea. Code example!!! One client for many servers! For one …

Member Avatar for Minimalist
0
351

The End.