199,114 Archived Topics
Remove Filter ![]() | |
I'm using Salesforce Ampscript code with jQuery to access a table in a DB to populate. which wasn't working. I've stripped out the Ampscript code to just have a simple jQuery function and funtion call with a static table and I can see that my problem is that my jQuery … | |
All, I'm trying to validate using JavaScript some form fields - so that if the Visa or Mastercard radio buttons are clicked - then the card number or expire date must also be filled in - what would be the recommended approach for this: JavaScript code: <script type="text/javascript"> function paymentCheck(){ … | |
i need code (c++) +explanation of lexical analysis javacc | |
Hi all, I’ve been told to convert a procedural [C++ program](http://pasted.co/cb410afe) into an object-oriented one, using the principals of polymorphism, encapsulation and inheritance. The standard C++ program accepts data values and filter values from the user. It then multiplies these values together using a simple algorithm and prints the output … | |
controllers/home.php $this->page_model->counter($this->data['post_detail']->post_ID); $this->data['post_list'] = $this->post_model->post($this->data['post_detail']->post_ID); $this->data['gallery_list'] = $this->post_model->post($this->data['post_detail']->post_ID, true); $isAjax = array('news-post'); if (in_array($this->data['post_detail']->template_name, $isAjax)) { if ( ! $this->input->is_ajax_request()) redirect($this->data['page_detail']->post_alias); return $this->load->view($this->data['post_detail']->template_name, $this->data); } $this->load->view($this->data['post_detail']->template_name, $this->data); views/news.php <?php $this->load->library('pagination'); $config['base_url'] = 'http://gsa-constructionspecialist.com/articles/article'; $config['total_rows'] = 14; $config['per_page'] = 5; $this->pagination->initialize($config); ?> <div class="w626 content right"> <?php if ($post_list){ foreach ($post_list … | |
So I just started coding and this is probably a stupid mistake but i wrote this code: print("would you like to roll the dice?") input('enter answer') yes="yes" no="no" if "yes": from random import randint print(randint(0,6)) elif "no": print("error") so my problem is that when i type no i want the … | |
The other day I tweeted that MySQL unions are my new best friend. I just want to take that back. I just spent the past six hours (it's now 5 am) overhauling a MySQL query and removing one of the unions actually sped up performance. Dazah is really my first … | |
Hi hope someone can help me Read sqlite datatable is verry slow I have a listview in detail mode with 45 columns. and a datatable to add, read, delete and update datarows with 45 colums. Only i have a problem to read the datatable and show it all in the … | |
Hi All, We are using zetta cube with asp.net and vb.net (coding) in 3.5 framework / VS 2008 from 2010. Its working fine. Just 3 months back we are upgraded to IE11 (Edge mode) at the time of upgrading we faced some of UI issues and resolved the same. The … | |
Hi I am unable to call a function in one class from another class:In this line of the code it is showing error std::nth_element(edge_points.begin(), edge_points.end() - edge_points.size() * c.edge_points_percent, edge_points.end(),Camera::compare_edge_points); Camera:: compare_edge_points - showing error. Can anyone help me here please? Header file: #ifndef main_h #define main_h #include <iostream> #include … | |
Hello im really curius about this, i want to know is it possible to intercept the code of execution in PHP but not on the server side. So if i have a script like this for example uploaded to mine server <?php $i=0; while($i<100) { mail("xxxxxx@gmail.com", "SPAM", "It´s ME"); $i++; … | |
Hallo to all, can anyone help me how to display data from the database based on the date from the [COLOR="red"]dtpicker[/COLOR]? In my database I have a column [COLOR="Green"]date [/COLOR]and a column [COLOR="Green"]event[/COLOR], if I click a particular date in the [COLOR="Red"]dtpicker[/COLOR] it should display in the MSFlexGrid the [COLOR="Green"]date … | |
If I have the following code, let's say the Parent class has the complexity of O(n^2) according to methods included in the Parent. So if I want to calculate the complexity of inherited class (Child class), does it take the Parent class complexity and its own complexity? something like that … Programming | |
I've been using file_get_contents on the same URL for years and now suddenly it fails. After reading of similar issues I've tried using various context flags with no luck. The really odd thing is that I can load the URL from any browser with no issues but file_get_contents fails. Does … | |
I need to convert image to binary and get result in text box . Image found in path D:/person.jpg i using the following function : public bool[] imageToBinaryArray(System.Drawing.Image imageIn) { MemoryStream ms = new MemoryStream(); bool[] arr = new bool[50000000]; int i =0; imageIn.Save(ms, System.Drawing.Imaging.ImageFormat.Bmp); BitArray bitarray = new BitArray(ms.ToArray()); … | |
I export datagrid to excel file using this below code. But it doesn't export datagrid header. I'm just change values at for loop. But it doesn't help me. Please help me. Dim xlApp As Excel.Application Dim xlWorkBook As Excel.Workbook Dim xlWorkSheet As Excel.Worksheet Dim misValue As Object = System.Reflection.Missing.Value Dim … | |
I am writing a java program. One of the functions of my program is to count all the uppercase letters in a paragraph of text I import. I am not sure how to set this up. Is it something like, isUpperCase.(char) Any help would be great Thanks | |
Hey guys,I have a problem solving the 7.2 exercise in the book Think Java v6.1.0. Any help please? | |
What is FIND_IN_SET() performance like? It it something that should be avoided at all costs? I want to search a column that consists of comma-delimited numbers for rows that contain a specific number. | |
**Basically, the following code doesn't work: ** <link rel="stylesheet" href="https://fiftyallstars.com/Code/font-awesome-4.6.3/css/font-awesome.css"> <i class="fa fa-500px fa-pull-left" title="500px"></i> <i class="fa fa-adjust fa-pull-left" title="adjust"></i> <i class="fa fa-adn fa-pull-left" title="adn"></i> **And my old code on Dropbox does work:** <link rel="stylesheet" href="https://dl.dropboxusercontent.com/u/5739741/OMAR/code/font-awesome-4.6.3/css/font-awesome.css"> <i class="fa fa-500px fa-pull-left" title="500px"></i> <i class="fa fa-adjust fa-pull-left" title="adjust"></i> <i class="fa fa-adn fa-pull-left" … | |
hi everyone can anyone help me this project ? ******************************************** The existing system, normally in a company, employees enter the office at different times. To administer the timings of the employees, we write the entry time and exit time of the employees in a register, which had some problems such … | |
Validate student id,username if already exist in database table . Using VB.Net 2012 and SQL database on windows10 system. Thanks for your help.this is my first post so thank you for your help guys. Private Sub InsertSutdent() SQL.AddParam("@stud_name", txtFirstname.Text) SQL.AddParam("@stud_lastname", txtlastname.Text) SQL.AddParam("@stud_id", txtStudentId.Text) SQL.AddParam("@stud_username", txtUsername.Text) SQL.AddParam("@stud_course", cbxCourse.Text) SQL.AddParam("@stud_password", txtpassword.Text) SQL.AddParam("@active", … | |
Hi All, i am curious to know how to set the value (value=10) through B's constructor in below programme. below is example of multiple inheritance. As construction always happens from right to left so it always call the 'C' class's constructor and set the value 20 but as per my … | |
I would like to know any advice for creating a program that will read in a *.csv file and load the data into a 24 x 24 array for further processing. I am including a total of 48 records, so that you can see how the data looks and what … | |
[U][B]Whenever i run session in server than it show this problem[/B][/U] [B][U]Warning: session_start(): Cannot send session cache limiter - headers already sent [/U][/B] so pls help me this is simple login prog when user enter into nxt page it name will show i want to store its name in session … | |
Hello :) This is my first post. I haven't done a Java type program in a while (2-3 years). I am trying to write a simple program which displays a window with 5 buttons. When you click either the first or second button it should open another window within which … | |
hi, so i am currenty working on a program that needs to ask the user for student name, and test score. it must use parallel arrays and must sort the scores ascending order from lowest to highest, with corresponding student name entered. and it must average the amount of scores … Programming c++ | |
hello guys, i'm facing a difficulty in creating a matrix in pascal, the compiler keeps posting the messeges illegal qualifier at the line 28,7 where i wrote read(M[i,j]), and telling types mismatch coz i declared M is from type Matrice that i defined and then in the procedure Lect2d i … | |
i want source code for uploading ,displaying and downloading image in jsp | |
Sir I have these codes <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> <style type="text/css"> * { margin: 0; padding: 0; } .box { margin:auto; top:0; left:0; bottom:0; right:0; width:20%; height:200px; border:1px solid silver; padding:30px; position:absolute; box-shadow: 0px 0px 10px 10px #72B3D3; } .fit { background-size:contain; background-repeat:no-repeat; background-position:center center; opacity:0.5; … | |
I create DTS Package and assign variables on it in VB6.0...I need to check if my connection to my database is successful using DTS package that I created..I got an error message "Argument not optional"...Please help me Module 1 Option Explicit Public goPackageOld As New DTS.Package Public goPackage As DTS.Package2 … Programming vbscript visual-basic | |
How to encoded personal image and generate qr code for personal image ? I work in visual studio 2015 using c# windows form application . I need to encode personal image to qr code . Meaning when i select personal image then click to generate it will generate qr code … | |
Okay, so after the whole incident two years ago with a really terrible computer science GTA teaching C++ in the summer I have decided to give programming another chance. But this time I am teaching myself Python at my own pace and I am currently using an intro book. And … | |
Does anyone have any experience with Google's PageSpeed Module? https://developers.google.com/speed/pagespeed/module/ How often does it break things? | |
Hello guys I have project in office like this I have system has data and not connected to internet , I can get data from it by using excel installed in pc1 , and pc1 is connected through hub with PC2 and have shared folder between them and both have … | |
Hello everyone, I'm stuck with coloring the value in a row. For now I am testing with one number to see if I can give the row with the value a color, but for now it keeps creating a new row wich will have the background-color I want. The code … | |
Hello, I download free filemanager to integrate with TinyMCE. I am trying to customize another extension to upload to Roxyfilemanager. Can anyone help me with the customization? Please read this quickly: http://www.roxyfileman.com/custom-integration and Here is my custom.js: function FileSelected(file){ /** * file is an object containing following properties: * * … | |
Hello there ! I wrote a dll( using MINGW and Codeblocks ) that should do the "background work" of my app. I have an interface build in Microsoft Visual C++ 2015. Is posible to control some TextBoxes, or Buttons( enable/disable ) or ProgressBars, or opening a new Form from the … | |
Hello, I am trying to add a feature to a lab I am working on where I have to have a way to show images of the 20 pen widths the Easy Paint Lab can do. I am trying to use a ComboBox from Qt in order to do that. … | |
Hi all, I am developing a Qt Gui application. Here I have a Qtreeewidget that has a list of Qtreeewidgetitems. I also have a qtablewidget beside it which displays some information when any item present in the list is clicked/selected.When the content of any of the cell in the tablewidget … | |
I am trying to find an efficient way to build a cross reference in C# and I am at a loss so I thought I would ask for ideas. I have tried using a list view, concatenating the source and associated values into a single dimension array, and several other … Programming | |
How do i return an array with the file names from folder? I have this till now but doesn't work. function showFiles($path) { $folder = "gallery/$path"; $i = 0; if (is_dir($folder)) { if ($handle = opendir($folder)) { while (($file = readdir($handle)) != FALSE) { if ($file === "." || $file … | |
Please see here https://processwire.com/talk/topic/15108-pw-in-subdirectory/ where I've been updating on this. | |
I am hoping the second text editor is without tiny mce but the tinymce is still appearing how to delete it? <!DOCTYPE html> <html> <head> <script src="<?php echo site_url('assets/tinymce/js/tinymce/tinymce.min.js'); ?>"></script> <!-- <script>tinymce.init({ selector:'textarea' });</script> --> <script> tinymce.init({ selector: 'textarea', height: 200, width: 600, menubar: false, plugins: [ 'advlist autolink lists … | |
hello guys, super noob here! id want to build a function which is adding number in array, and if number is out of expect, its return to main, else, it go to info_add function. its work fine if i type less than 3. ...but seems like adding number isnt work … | |
[Linux Mint] Linux Mint I'm following a book on Django and it has this -> https://hellowebapp.com/setup/ accompanying website. Take a look below at what I'm getting when I get to the "Start your Django project" section of the link. Here's a peak at my terminal input and feedback. (venv) user@mothership … | |
Dazah API uses Redis to handle rate limiting. The goal is to limit every each client_id/user_id pair from making over 5,000 requests every 5 minutes. We use Codeigniter 3.x and it looks something like this: $flood_control = $CI->cache->get("user_limit:{$token_obj->client_id}:{$token_obj->user_id}"); if ($flood_control === false) { $CI->cache->save("user_limit:{$token_obj->client_id}:{$token_obj->user_id}", 0, 300); } else if ($flood_control … | |
Does anyone have any idea what language is this launcher application made in ? I have to decompile it to launch a game in english (since the launcher is broken and can not be launched on Windows 7) and I don´t know what language is this made in. Originaly I … | |
I am using VB **Problem: **when i click on sort col and click on refresh button, than i get popup browers message "To display the webpage again, the web brower need to resend the infomation you've previously submitted." **Recreate this problem**: click on sorting col of gridview -> refresh page … | |
Sir I have following codes for Bootstrap header <!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> <title>Bootstrap Page Header</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="-1" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="css/bootstrap.min.css"> <script src="js/jquery.min.js"></script> <script src="js/bootstrap.min.js"></script> <style type="text/css"> html { … |
The End.