Member Avatar

Hi, I am completing the checkout process on my shopping cart and am sending the payment details to my bank. I have sorted out all of the Cross Origin stuff and I'm receiving the expected resonse to my Payment form POST and puuting it into an iFrame (via forms target=responseiframe). My documentation says I will receive will receive an XML response: <?xml version="1.0"?> <response CUSTOMERID="999" AMOUNT="999" STATUS="999" ERROR="999" ></response> I can see via the browser inspector the document exists. <iframe src="" name="responseiframe" id="responseiframe"> #document <response CUSTOMERID="999" AMOUNT="999" STATUS="999" ERROR="999"> </response> </iframe> My question is, how do I access the document …

+0 forum 0
Member Avatar

[Click Here](https://vimeo.com/user108943040/review/393412654/65b9768044) I have attached a vimeo to the issue, the main issue is that google maps seems to be sluggish and not well tracking and slow. Has anyone got any sugestions? Thanks

Member Avatar
+0 forum 2
Member Avatar

I have written a code to generate bar codes and saved them to a pdf file . The code executes successfylly but the PDF file does not open saying giving an error whome picture I am uploading. Please see my code and Picture with the error. ![barcodeError.PNG](/attachments/large/4/466b7c7d36a50fd6f88d0a7f157907c8.PNG) public void createPDF(String pdfFileName,String myString) throws FileNotFoundException{ Document doc = new Document() ; PdfWriter docwriter = null; try{ docwriter = PdfWriter.getInstance(doc, new FileOutputStream("C:\\Users\\hp430\\Desktop\\barcodes\\"+pdfFileName)); doc.addAuthor("Saboor Siddique"); doc.addCreationDate(); doc.addProducer(); doc.addCreator("SunSoftTechnologies"); doc.addTitle("Barcode Test"); doc.setPageSize(PageSize.LETTER); doc.open(); PdfContentByte cb= docwriter.getDirectContent(); Barcode128 code128 = new Barcode128(); code128.setCode(myString.trim()); code128.setCodeType(Barcode128.CODE128); code128.setBarHeight(5f); code128.setX(0.1f); Image code128Image = code128.createImageWithBarcode(cb, null, null); code128Image.setAbsolutePosition(10, 700); code128Image.scalePercent(125); …

Member Avatar
+1 forum 2
Member Avatar

Hi! It's been a while since I last posted here. I've just gotten started with Windows Service, and have created a sort of 24/7 service to update a database. But because it's my very first project (besides the tutorial one) I feel that I could use some assistance in checking it over. The intent is to have it run a method from a class at about once every 24 hours. If anyone of you clever people could spare a moment to see if I've made mistakes. (Ignore the database connections. Those work) Imports System Imports System.Timers Imports System.Runtime.InteropServices Public Class …

Member Avatar
+0 forum 3
Member Avatar

Hello everyone, I want to put my *string[]* (array uni dimensional) of values in to excel row and every time the first number of this array was different of "500", the program will add another row with the values on the excel sheet. I only have on the program to system reads a file and next save it to an array, show to user the values, create a workbook and sheet without anything and just this. Workbook machine = new Workbook(); machine.LoadFromFile(@"..excel.xls"); Worksheet sheet = machine.Worksheets[0]; string[] numbers = System.IO.File.ReadAllLines(@"..txt.txt"); for (int i = 0; i < numbers.Length; i++) { …

Member Avatar
+0 forum 1
Member Avatar

Hello i want to upload an audio file(.mp3). The file is uploaded on the folder, the value is inserted on the db (MySql) so far so good. But when i try to play the file on the uploads folder is says its corrupted or extension is wrong.the value is not base64 is the original name of the file html <form [formGroup]="form" (ngSubmit)="onSubmit()"> <input type="file" name="avatar" (change)="onFileSelect($event)" /> <button type="submit">Upload</button> </form> ts onSubmit() { const formData = new FormData(); formData.append('avatar', this.form.get('avatar').value); this.group_id = 0; this.media.tags = this.hashes; this.media.audio = formData; this.media.browser = true; this.userData.uploadAudio(this.media, this.group_id ).subscribe( (res) => { this.uploadResponse = …

+0 forum 0
Member Avatar

How should i give space between my output numbers while i am storing them in an array ?Like if i ask user to enter numbers and one entered 12345 ,i want to display them as 1 2 3 4 5

+0 forum 0
Member Avatar

hai, my project title is student's feedback generation vb.net is front end and excel as back end. i have one text box and combobox. to get row value from excel sheet and display into combobox when the text box value matches the cell value

Member Avatar
+0 forum 1
Member Avatar

Hi everybody, What tools should I consider for a new call centre? Suggest the essentials that are necessarily required for a Call Center to have.

Member Avatar
+0 forum 8
Member Avatar

hi good day guys, i'm having a trouble with fetching the data i have a list of folder outside like in the picture below ![p1.png](/attachments/large/4/c49da0c2676b0f2d0f5d9acb7afc68bd.png) when i click the first folder the picture below shows the output it has duplicates ![p2.png](/attachments/large/4/9e1c201e5a2edfed6e83663b41116db6.png) i want to know what's the problem with my code why it duplicates the folders. can someone help me out. please... thank you in advance here's my code ![c2.png](/attachments/large/4/5bdfa3d4496764c67c4a61192d59de0d.png) ![c1.png](/attachments/large/4/6d5667c4f98cdcdd9487afb945c6278d.png)

+1 forum 0
Member Avatar

in javascript I got two dates. How to find the difference between two dates. var first = document.getElemetById("first_date").value; var last = document.getElemetById("last_date").value; the date format is mm/dd/yyyy(07/19/2015); how to find?

Member Avatar
+0 forum 4
Member Avatar

I've been working on a project using Morris JS and since there was no solution out there for the Y axis scaling that I could find I wanted to posted where I got. Note you will need [morris JS](https://morrisjs.github.io/morris.js/) & [Moment JS](https://momentjs.com/) to run it. You just need a div with the id "home_chart_0" and it should run. It rounds the max value up, compares it to the min value rounded down and divides it by 10 and spreads over 10 lines. The properties "yLabelFormat" & "numLines" in Morris JS are not documented but exist. Let me know if you …

+0 forum 0
Member Avatar

Hi everyone, I am working on a project (just started) in PYTHON and I want to create a keylogger for 2 languages english and greek. For this I have created the below (it is under "construction") code. from pynput.keyboard import Key, Listener from langdetect import detect from pynput import keyboard def on_press(key): global string if key == keyboard.Key.esc: #if button escape is pressed close the program listener.stop() elif key == keyboard.Key.space: print(string) string="" else: string = ''.join([string,str(key).replace("'","")]) string="" controller = keyboard.Controller() # Collect events until released listener = keyboard.Listener(on_press=on_press) listener.start() I run it and all good until I change the …

Member Avatar
+0 forum 3
Member Avatar

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in F:\xampp\htdocs\ajax\server.php on line 55 // Retrieve comments from database $sql = "SELECT * FROM comments"; $result = mysqli_query($conn, $sql); $comments = '<div id="display_area">'; while ($row = mysqli_fetch_array($result)) { $comments .= '<div class="comment_box"> <span class="delete" data-id="' . $row['id'] . '" >delete</span> <span class="edit" data-id="' . $row['id'] . '">edit</span> <div class="display_name">'. $row['name'] .'</div> <div class="comment_text">'. $row['comment'] .'</div> </div>'; } $comments .= '</div>'; ?>

+0 forum 0
Member Avatar

<?php class Post { private $user_obj; private $con; public function __construct($con, $user){ $this->con = $con; $this->user_obj = new User($con, $user); } public function submitPost($body, $user_to) { $body = strip_tags($body); $body = mysqli_real_escape_string($this->con, $body); $check_empty = preg_replace('/\s+/', '', $body); if($check_empty != "") { $date_added = date("Y-m-d H:i:s"); $added_by = $this->user_obj->getUsername(); if($user_to == $added_by) { $user_to = "none"; } $query = mysqli_query($this->con, "INSERT INTO posts VALUES('', '$body', '$added_by', '$user_to', '$date_added', 'no', 'no', '0')"); $returned_id = mysqli_insert_id($this->con); $num_posts = $this->user_obj->getNumPosts(); $num_posts++; $update_query = mysqli_query($this->con, "UPDATE users SET num_posts='$num_posts' WHERE username='$added_by'"); } } public function loadPostsFriends() { $str = ""; //String to return $data …

Member Avatar
+0 forum 1
Member Avatar

p=int(input("Enter money: ฿ ")) n=int(input("Enter price: -฿ ")) x=p-n print("Change is ฿",(x)) print("Bank 1000 =",(x//1000),('bill/bills')) print("Bank 500 =",(x%1000//500),('bill/bills')) print("Bank 100 =",(x%1000%500//100),('bill/bills')) print("Bank 50 =",(x%1000%500%100//50),('bill/bills')) print("Bank 20 =",(x%1000%500%100%50//20),('bill/bills')) print("Coin 10 =",(x%1000%500%100%50%20//10),('coin/coins')) print("Coin 5 =",(x%1000%500%100%50%20%10//5),('coin/coins')) print("Coin 2 =",(x%1000%500%100%50%20%10%5//2),('coin/coins')) print("Coin 1 =",(x%1000%500%100%50%20%10%5%2//1),('coin/coins')) q=x//1000 w=x%1000//500 e=x%1000%500//100 r=x%1000%500%100//50 t=x%1000%500%100%50//20 y=x%1000%500%100%50%20//10 u=x%1000%500%100%50%20%10//5 i=x%1000%500%100%50%20%10%5//2 o=x%1000%500%100%50%20%10%5%2//1 l=q+w+e+r+t+y+u+i+o print("all banks and coins =",(l))

Member Avatar
+0 forum 2
Member Avatar

If you made a list of "If I knew then (when I got started) what I knew now," what would you include?

Member Avatar
+0 forum 3
Member Avatar

As I'm getting to know about inheritance in C++, one thing that has stuck in my mind is using **public** keyword before **class_name** as in- class Derived: public Base {} What I wonder is that why do we need to make a class **public** that's already outside the *main* function? Isn't something **global**?I understand making class members public, but why to make the whole class public? What's there behind the scene that I need to know?

Member Avatar
+0 forum 1
Member Avatar

Does anybody know how i can connect a PHP web site to an OpenEdge Progress Database. I have the following as a connection file that when I run it does not error but there is also nothing to say it has connected either. I have System DSN 32bit ODBC connection call Live_Vision that I am calling. <? if ($conn_id=odbc_connect("Live_Vision","vision","vision", SQL_CUR_USE_ODBC)){ echo "connected to DSN"; if($result=odbc_do($conn_id, $sql)) { } else { echo "can not execute '$sql' "; } echo "closing connection $conn_id"; odbc_close($conn_id); } else { echo " can not connect to DSN"; } ?>

Member Avatar
+0 forum 1
Member Avatar

how to play multiple video in hero image without any delay ?

Member Avatar
+0 forum 1
Member Avatar

I have 2 textboxes on a form that accept dates. I dont have a drop down box, I just let the user enter the date themselves. I then want to take the dates entered from those two boxes and figure out how many days apart they are. I'm not sure what I can use for this. Do anyone know what I should read about to figure this out? Thanks.

Member Avatar
+0 forum 6
Member Avatar

hi there i have some python coding which i need to convert to java can ne1 help me please email me back if you can help then i will show you the coding much appriciated

Member Avatar
+0 forum 10
Member Avatar

Hi, Good Evening to everyone! I am preparing one application facing some challenges, the scenrio is to send email when a user enter a complaint in the system to the assigned user the assigned user have email address already in the system the email notification should go to assigned user alongwith Complaint ID and complaint detail. then if after 30 minutes no one updates the status the system should send another notification to next level after 1 hour if still status not updated the system should send email notification to final level. could you please help me with code sample …

Member Avatar
+0 forum 3
Member Avatar

I have a fully functional code that uses the random number generator to generate a set of random numbers. I'm trying to display "e" next to all the even numbers in the set, and then have a cout statement that tells the user how many even numbers there are in the set. Here's my code: #include <iostream> #include <iomanip> #include <cstdlib> using namespace std; int main() { //I'm declaring my variables int numValues1, cnt = 0; //I'm declaring my symbolic constants. #define MAX1 500 #define MAX_VAL1 5 //I'm getting the random number generator ready and using 30 as my seed …

Member Avatar
+0 forum 1
Member Avatar

SELECT MAX(Salary) FROM Employee WHERE Salary NOT IN (SELECT MAX(Salary) FROM Employee )

Member Avatar
+0 forum 1
Member Avatar

Hello everyone, Hope you are doing , I am too much confuse to buy a gaming laptop for my younger brother, Someone suggest a website like https://pcmag.com, https://cartvela.com, and Techradar but there are too much content, I can't make a decision.

Member Avatar
+1 forum 10
Member Avatar

Here's a c++ library snippet that could be useful for string formatting (sorry, can't find how to add code tags): #ifndef STRINGFORMAT_H #define STRINGFORMAT_H const char newln { '\n' }; const char tab { '\t' }; const char bs { '\b' }; const char apo { ''' }; const char quote { '\"' }; const char questn { '\?' }; const char bslash { '\' }; #endif

Member Avatar
+0 forum 2
Member Avatar

I need to make a custom adapter extending the baseadapter class. Does the code for extending the Baseadapter go inside of the oncreate method? Because no matter where I put it I'm getting errors and don't have any other code in my MainActivity yet.

+0 forum 0
Member Avatar

I want to build a client applications for desktop with NET Framework and MySQL database. i can create new project with windows form control library or windows forms app. What is the difference between this to options? Which of the two do you recommend using and why? thank you in advance, André

Member Avatar
+0 forum 2
Member Avatar

I am crafting a code generator for something, and I have encountered some things that I do not know yet. Excuse the scambled eggs in this code, but could you please tell me what a job is, and how to get it to run a stored procedure for me? I am trying to run a cron job which will run a loader application every n days. <#@ parameter type="System.String" name="LoadName" #> <#@ parameter type="System.String" name="LoadTime" #> <#@ parameter type="System.String" name="SchemaName" #> <# //generate header information String description = "Schedule a cron job for the Loader to run periodically. "; PLSQLHeader …

+0 forum 0

The End.