199,114 Archived Topics
Remove Filter ![]() | |
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> … | |
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 … | |
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 … | |
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", … | |
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 … | |
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 … | |
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) … | |
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]; … | |
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. … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 + … | |
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 … | |
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 … | |
how msg is send to mobile from localhost . i need php code settings in nowsmsgateway settings in php.ini setting in httpd.conf file | |
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 | |
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 … | |
![]() | //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 … |
| |
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 … | |
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 … | |
Hi, I really like to know much more about PHP? what is it? Please explain me clearly. ![]() | |
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 | |
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 … | |
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 | |
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? | |
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? … | |
I am just wondering if I target the lowest .net framework, does it follow that all subsequent/later versions are able to run it? | |
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); … | |
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 … | |
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) | |
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 … | |
![]() | 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 … ![]() |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
<? 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; } … | |
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.... … | |
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 … | |
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 … | |
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 … | |
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:") | |
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 … | |
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 … |
The End.