199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for everton.retweets

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 = …

Member Avatar for pritaeas
0
213
Member Avatar for Start4me

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 …

Member Avatar for Mr.M
0
2K
Member Avatar for Szabi Zsoldos

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 …

Member Avatar for minitauros
0
207
Member Avatar for dinhunzvi

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' : …

Member Avatar for pritaeas
0
374
Member Avatar for ditty

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..

Member Avatar for ditty
0
400
Member Avatar for aatc85

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 …

Member Avatar for aatc85
0
317
Member Avatar for lincoln0988
Member Avatar for vbshad

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 …

Member Avatar for samir_ibrahim
0
138
Member Avatar for Shaikh_1

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 …

Member Avatar for Shaikh_1
0
6K
Member Avatar for shelton22

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 …

0
216
Member Avatar for vbshad

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 …

Member Avatar for Mr.M
0
2K
Member Avatar for ali11

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()); …

Member Avatar for stultuske
0
279
Member Avatar for kishan699

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 …

Member Avatar for kishan699
0
152
Member Avatar for giancan

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, …

Member Avatar for giancan
0
245
Member Avatar for Ahmed_51

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 …

Member Avatar for tinstaafl
0
550
Member Avatar for Lethugs

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 …

Member Avatar for Lethugs
0
342
Member Avatar for smitsky

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 …

Member Avatar for uonsin
0
348
Member Avatar for PatrikIden

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 == …

Member Avatar for PatrikIden
0
618
Member Avatar for rajesh31

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 …

Member Avatar for diafol
0
4K
Member Avatar for asimegusta

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 …

Member Avatar for diafol
0
458
Member Avatar for Stefan_2

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 …

Member Avatar for Ancient Dragon
0
224
Member Avatar for Elvi

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 …

Member Avatar for Elvi
0
255
Member Avatar for NewbInProg

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 …

Member Avatar for ShadyG
0
264
Member Avatar for PatrikIden

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 …

0
158
Member Avatar for kinjal-adesara

<?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" // …

Member Avatar for diafol
0
705
Member Avatar for abaddon2031

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 …

Member Avatar for abaddon2031
0
391
Member Avatar for cilla

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 …

Member Avatar for cilla
0
346
Member Avatar for BogdanCov

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, …

Member Avatar for deceptikon
0
132
Member Avatar for Cronicle8

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 …

Member Avatar for Cronicle8
0
217
Member Avatar for bejfake

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: ![4eeea10396f106716ea9eee3fcc78a78](/attachments/large/3/4eeea10396f106716ea9eee3fcc78a78.JPG "4eeea10396f106716ea9eee3fcc78a78") I suppose main file to run is Global.asax, but when i try to run localhost/.../global.asax I get error: > …

Member Avatar for JorgeM
0
307
Member Avatar for shelton22

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 …

Member Avatar for Slavi
0
247
Member Avatar for neutralfox

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 …

Member Avatar for JamesCherrill
0
1K
Member Avatar for FRANK WAGON

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 …

Member Avatar for Benard joseph
0
217
Member Avatar for Raadha

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> …

Member Avatar for diafol
0
121
Member Avatar for kanjigirl

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 …

Member Avatar for Airshow
0
292
Member Avatar for riayas

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 …

Member Avatar for PerplexedB
0
262
Member Avatar for riahc3

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

Member Avatar for riahc3
0
1K
Member Avatar for vinnitro

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 …

Member Avatar for stultuske
0
319
Member Avatar for eburlea

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 …

Member Avatar for eburlea
0
738
Member Avatar for lim.charmender

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!

Member Avatar for lim.charmender
0
262
Member Avatar for vizz

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/ …

Member Avatar for ryantroop
0
956
Member Avatar for mark103

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 …

Member Avatar for Gribouillis
0
252
Member Avatar for mansoorhacker

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

Member Avatar for brent-me
0
339
Member Avatar for daocntt

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?

Member Avatar for daocntt
0
414
Member Avatar for nadiam

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?*

Member Avatar for nadiam
0
502
Member Avatar for airhalynn101

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 = …

Member Avatar for airhalynn101
0
6K
Member Avatar for Start4me

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 …

Member Avatar for Start4me
0
289
Member Avatar for shapeape

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 …

Member Avatar for diafol
0
395
Member Avatar for Ahmed_39

**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 …

0
101
Member Avatar for joseph_7

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 = …

Member Avatar for TrustyTony
0
162

The End.