199,114 Archived Topics
Remove Filter ![]() | |
I am trying to edit the following script to generate a unique time between 00:00:01 and 01:30:00 Using the following script. $start = new Datetime('00:00:01'); $end = new Datetime('01:30:00'); $randomTime = function (DateTime $start, DateTime $end, $resolution = 1) { if ($resolution instanceof DateInterval) { $interval = $resolution; $resolution = … | |
I have a listbox which contains items in it. After you click on the selected item, the listbox will be populated with different items relevant to the item which you clicked on. What I want to make, is instead of having to click on the selected item, I want to … | |
Hey guys, Having some difficulties understanding why my OR || operator is not working... First part is BOOLEAN and it is working Second part is STRING and it is working, it returns the desired value What could it be ? <?php if(($oferte->isOrdered($oferte->CleanSapStyleNumbers($oferta->VBELN)) == false) || ($oferte->OfertaValida($oferte->CleanSapStyleNumbers($oferta->VBELN))->valabilitate == "VALABILA")): ?> some … | |
i have created this smarty plugin but i'm getting an error message whenever i try to use it. <?php function smarty_modifier_prepare_link( $string, $link_type = 'http' ) { // use SSL if ( $link_type == 'http' && USE_SSL = 'no' ) $link_type = 'http'; switch( $link_type ) { case 'http' : … | |
Hi I am trying to send mail using php mail() function. All servers are receiving mails except hotmail. I dont know why hotmail not receiving mails. Pls help me ...its very urgent.. | |
In VB 2005, I'm using a RichTextBox control. I have a button for making all selected text upper-case. The only way I can seem to do this is by setting the RichTextBox's .SelectedText property = .SelectedText.ToUpper. While this accomplishes the goal of capitalizing the text, it defaults the formatting and … | |
Please help me to connect my forms I created in Visual Studio 2010 to Sql server 2012. | |
can anyone help me regarding this??..i have here the code to get the new last record after deleting the last record...but i encountered an error saying... "An unhandled exception of type 'System.IndexOutOfRangeException' occurred in System.Data.dll Additional information: locid, make sure data column names are correct, ,make sure the index is … | |
I m trying insert multiple rows in same database (each row had many fields) on submit but unable to do so. I m successfully able to insert single row but when it comes for multiple rows I got stuck. This is the jsp page where you take an input to … | |
Hi Friends! I have tried to find all possible paths between two nodes; #include <iostream> #include <vector> #include <queue> #include <map> #include "fstream" #define max_edges 16 #define MAX_NODES 5 using namespace std; bool isadjacency_node_not_present_in_current_path(int node,vector<int>pathway); int findpaths(int source ,int target ); void display_all_paths_map(); vector<vector<int> >GRAPH(100); vector<int>pathway; map<int,vector<int>> allpathsmap; map<int,vector<int>>:: iterator … | |
i have here separated code for inserting new data, and updating changes in existing data in access using vb.net....when i run the program, both run sucessfully...now, i want to use if statement to combine the code for inserting new and updating changes in the data in one command button 'save'..but … | |
i just learn about single linkedlist and i am trying to create a program. public class linklis { public static void main(String[] args) { LinkedList ab= new LinkedList(); ab.add("1"); ab.add("2"); ab.add("4"); ab.add("7"); System.out.println("the list" + ab); System.out.println("remove 2nd element: " + ab.Delete(2)); System.out.println(" - print linkedlist size: " + ab.size()); … | |
hello world, myself kishan kumar, iam new to web developing...my task is interrelated to edit,save & cancel....which is similar to edit button in shine.com...Iam doing in php language.the work is when user clicks on edit button he must be able to edit and after on editing he can save it … | |
Dear friends, I'm having a strange issue with a simple python code involving wx and HTML2. It is a code to run a local html page (on windows) but when I close the browser, the process stays in memory and I have to manually kill it. Here is the code, … | |
I've created a Mortgage Calculator via WPF on visual studio 2012. The design looks like this: Enter Loan amount: TextBox here Enter Loan Duration: 15 years(Radio Button) 30 years(Radio Button) Other(Radio Button) with TextBox Select Interest Rate: ComboBox here Button here to calculate The issue i'm having trouble with coding … | |
Hi, Im making a simple program which converts a encrypted text file the upload it to sql CE. This is time in and out logs of every employee. The date is extracted from a machine and downloaded as encrypted file. We managed to decrypt it by getting the equivalent value … | |
Hi. I'm getting the following message when I try to overload operator= here in line 830-833. I have also included the error messages. Thanks #include <iostream> #include <string> #include <limits> #include <vector> #include <iomanip> #include <cstdlib> using namespace std; /** * Global Variables */ string k; int pmem, plen; int … | |
Hello, im making a bookmark script to save on a web page as links. I have the following code but i want to have links movable. That is i want to able to change position on the links. Demo: [Click Here](http://test3.fcab.se/links/temp/index.php) The code i use: <?php require("../config.php"); if ($enablegzip == … | |
My code is like this below HTML Code : <select multiple="multiple" size="5" name="religion[]" id="religion" class="txtareamultifield" ondblclick="moveOptions(document.MatriForm.religion,document.MatriForm.RIGHTRELIGION,1);fnAnyChk(document.MatriForm.religion,document.MatriForm.RIGHTRELIGION);fnGothraChk();fnModifySubCasteChk(this.value);otherreligion();" style="width:355px; height:90px; font-size:13px;"> <option value="" selected>Any</option> <option value="Hindu">Hindu</option> <option value="Muslim-Shia">Muslim - Shia</option> <option value="Muslim-Sunni">Muslim - Sunni</option> <option value="Muslim-Others">Muslim - Others</option> <option value="Christian-Catholic">Christian - Catholic</option> <option value="Christian-Orthodox">Christian - Orthodox</option> <option value="Christian-Protestant">Christian - Protestant</option> <option value="Christian-Others … ![]() | |
Months are currently displayed as numbers (01/01/2014). I want to display as full month name (01 Janvier 2014). Here is the code that seems to control date format display for US or else International (French and Spanish) date format and month names: // format date for display only if(AC_DATE_DISPLAY_FORMAT=="us") $date_format … ![]() | |
I get this error poping up here and there but I still don't know what it means and how to fix it. "Windows has triggered a breakpoint in program_name.exe. This may be due to a corruption of the heap, which indicates a bug in program_name.exe or any of the DLLs … | |
Anyone will help me to solve this? this is about ER diagram and some other stuff about database. This is the exercise: ----------------- "Project a DataBase to support a architectural studio which offers its customers proposals refurbishment. Each component of furniture ( table , chairs , ... ) is characterized … | |
Good day guys! Right now I am creating an Simple/Basic Inventory System that just needs to record the Computer in an office and its peripherals. I just started studying C# here in my work and also I have a basic/entry level knowledge in VB6. I just wanna know if you … | |
Hello, im making a bookmark script to save on a web page as links. I have the following code but i want to have links movable. That is i want to able to change position on the links. Demo: [Click Here](http://test3.fcab.se/links/temp/index.php) i have tested several Jquery/Java dragg/dropp/sort scripts but i … | |
<?php header("Content-type: application/vnd.ms-word"); header("Content-Disposition: attachment;Filename=document_name.doc"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <!--<img src="D:/wamp/www/docx/tenh.jpg" style="" width="200px"/>--> <div id="demo"></div> <script src="jquery-latest.min.js"></script> <script src="jquery-barcode.js"></script> <script> $("#demo").barcode( "1234567890128", // Value barcode (dependent on the type of barcode) "ean13" // … ![]() | |
I have a python script that reads a csv file and converts it to two new files so that my database can add new emails or update existing ones. What im trying to do now is after it has converted them for it to send me a email with how … | |
When clicking on listing links from an email sent via Constant Contact, which masks the links with a tracking code that redirects to the given link, the accessed pages produce a server error 500. Most of the page loads, except for the dynamic listing content which the page is meant … | |
Hello, fellows. I have a simple question to you, maybe you can help me. I try to save data in C#. For exemple, i make an application and the user select his options. **What type of file should I use to save his options?** The next time the application opens, … | |
Good morning, so I'm hoping anyone can help me, I'm planning this app, but I'm still searching if it's possible to be done or not. My question is the following: Imagine I'm in Spain, and I would like to get all the Network Operators in Spain. Is it possible to … | |
I've recently received some ASP.NET application to test. I must run it on local server. I installed IIS with all components. I copied whole project to c:\inetpub\wwwroot. Catalog structure:  I suppose main file to run is Global.asax, but when i try to run localhost/.../global.asax I get error: > … | |
Hi Friends, I have a graph in text file (origin, destin, link_id) such as 1 2 1 1 3 2 1 5 3 2 1 4 2 3 5 2 4 6 2 5 7 3 1 8 3 2 9 3 4 10 4 2 11 4 3 12 … | |
Hello everyone, I got a small question on encryption, actually I am trying to learn the various techniques to encrypt a message. Now I am trying AES, using the built in security package in Java. The problem is that I am having a problem with this encryption algorithm. Actually I've … | |
hello guys am working on a window application in vb.net Am trying to code an array that can add only 8 best subjects grades from the 10 subjects done by a student. the ten subject grades are dispayed as labels and also the TOTAL of best eight subject grades is … | |
what i need is a single set of output for each procedures, but my this query is giving me 2-3 sets of answers, between this time period.. i need distinct set of answers.. if(isset($_POST['submit'])) { $to= $_POST['to']; $too = date("d/m/y",strtotime($_POST['to'])); $from= date('Y-m-d');; echo " <br><h2> PROCEDURE REPORTS UPTO <b>'$too' </b> … ![]() | |
I have the following Flash code running the photo stack at top right in this page: [URL="http://www.adventurecamper.com/#&slider1=4"]http://www.adventurecamper.com/#&slider1=4[/URL] [CODE]<script type="text/javascript"> var flashvars = {}; var params = {}; params.wmode = "transparent"; var attributes = {}; swfobject.embedSWF("http://www.adventurecamper.com/wp-content/themes/adventurecamper/flash/stack.swf", "slider", "650", "260", "9.0.0", "http://www.adventurecamper.com/wp-content/themes/adventurecamper/flash/expressInstall.swf", false, flashvars, params, attributes); </script>[/CODE] I'm not that familiar with … | |
i have 2 tables one holds and id number for a transaction and the other tables holds the data for that transaction i can populate the first datagridview with the "id" data. I want to be able to select the row on the datagridview (id) and show the details for … | |
I need a connector to connect from a application running on Windows CE machine to a MySQL Server. Is there anything like this for both ARM and x86? Thank you | |
package controller; import dao.CheckDAO; import entity.Users; import java.io.IOException; import java.sql.Date; import java.text.SimpleDateFormat; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.annotation.Resource; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; import javax.naming.NamingException; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import model.CipherText; import model.UserService; public class … | |
I have the following code in application.ini resources.db.adapter=PDO_MYSQL resources.db.params.host=localhost resources.db.params.username=myusername resources.db.params.password=mypassword resources.db.params.dbname=mydb resources.db.params.charset = "utf8" resources.db.params.driver_options.1002 = "SET NAMES utf8" I cheked on the internet and could not find out an answer, may you could help. Why the last row resources.db.params.driver_options.1002 = "SET NAMES utf8" is used, if the charset … | |
As the title says. I have tried FreeBSD's stack structure but it looks as though Mac does not use that structure. Also, how could I get their value into a particular register (ecx)? Thanks in advance! | |
How to create infinite loop of Shuffle Text Effect using following code. It stops after animation is finished. How to start again when first loop of animation is completed? <script src="http://code.jquery.com/jquery-1.6.3.min.js"></script> <div id="container">text</div> **main script** /** * @name Shuffle Letters * @author Martin Angelov * @version 1.0 * @url http://tutorialzine.com/2011/09/shuffle-letters-effect-jquery/ … | |
Hi guys, I need your help as I got stuck. I'm trying to fetch the data from my own xml which it looks like this: <?xml version="1.0" encoding="UTF-8" ?> <tv generator-info-name="www.mysite.com/xmltv"> <channel id='101 ABC FAMILY'> <display-name>101 ABC FAMILY </display-name> <programme channel="101 ABC FAMILY" start="20140520110000" stop="20140520120000"> <title lang="en">Gilmore Girls - Let … | |
hello every body . specially scott snake i am an entry level developer in c# and i want to develop a barcode reader application in c# i dont know how to do that. plz help me in this project .. thx. every body | |
I'm trying to make a quick filter like this site with PHP and MySQL, but do not know how start? http://www.mysmartprice.com/mobile/pricelist/mobile-price-list-in-india.html#subcategory=mobile&property=|200088-200485&startinr=799&endinr=1999 Who can teach me how to do this are not? | |
hi, i have index.php and home.php. in order to go to home.php users have to login in index.php. but how do i not allow users to be directed to home.php when they type home.php address in the address bar? *am i making sense?* | |
I have this line of code which gets the activation date of an agent and computes the difference between date.now to get the date difference: Dim dt As New DataTable dt = ExecQuery("select agtid,Activation from tblagentinfo") If dt.Rows.Count > 0 Then Dim activation As String For i As Integer = … | |
What I have is a listbox with items imported from the database. From the Data Sources (Shift+Alt+D) I've dragged a table in the form of Details, instead of DataGridView. What I'm trying to figure out, is how to make the information to be displayed in the Details when an item … | |
So I have created a PHP validation script. On test I filled and submitted the forms but so far $error returns undefined index and no data is set into the database. Can anyone take a look and give a second opinion on why its not functioning as intended? To my … ![]() | |
**Hi, i have two tables PTDatas and ClinicCodes and the are joind in (Clinic_Code_ID) now i try to view Table PTDatas in my jtable but i got err > An error occured while communicating to the server. if i delete the join between tables i can view it ??!!, so … | |
can someone help me am trying to create a game that scrambles words then you have guess the corect words for it this what i have doen so far but it dint seem to work can sometell me what the problem. import tinker import random words_list = [] f = … |
The End.