199,114 Archived Topics
Remove Filter ![]() | |
Hi, Everyone... I have a php script that writes text to an existing .png file. image 1 - I would like to write / add image 2 too image 1 I have the following script working for the correct score. // add correct score $x = 257; $y = 205; … ![]() | |
Hi Everyone, I am playing around with some Java following some tutorial online and ran into a problem that I cant seem to figure out. In the code below, inside of the groupButton method I get the error 'JRadioButton1,JRadioButton2 and JRadioButton3 cannot be resolved to a variable'. Can you please … | |
I have a table whose view is something like this ID NAME LOCATION DELETE 1 sam US delete I have a statement from the table that deletes the given row echo "<td><a href=\"delete_members.php?id=".$row['id']."\">Delete</a></td>"; It redirects to delete_members.php page and the row gets deleted, however i wish to display an alert … | |
//Hi all ,can you explain why does this functon has two returns? //How to read them? Is it like if/else? int _tmain(int argc, _TCHAR* argv[]) { int x, n; int res; int power(int, int); cout << "Enter a number:"; cin >> x; cout << "Enter a power:"; cin >> n; … | |
Hello all, I need help as the support team at rockettheme told me that this is out of their support area and its belong to joomla, but they were kind enough to tell me which file need to be adjusted All I need is to make the image linkable to … | |
array (size=10) 'item-_token' => string 'k4i2tQbZNuKnhV0vqbdBJ0XlwKzGLm09KA0pWa5n' (length=40) 'item-link' => array (size=3) 0 => string 'link 1' (length=6) 1 => string 'link 2' (length=6) 2 => string 'link 3' (length=6) 'item-shop_name' => array (size=3) 0 => string 'a' (length=1) 1 => string 'b' (length=1) 2 => string 'c' (length=1) 'item-color' => … | |
Can you tell me what's wrong with it because it's not running on visual studio and I need it right now??? #include <iostream> #include<vector> #include<algorithm> #include<limits> #include<fstream> #include<string> using namespace std; class PayRoll { private: vector<int> salaries; public: PayRoll(); bool searchSalary(int salary); void generateStats(); void printSalaries(); }; PayRoll::PayRoll() { ifstream … | |
Hi All, Over the years I have smashed through God knows how many brick walls with `.htaccess`, and all I've learnt is don't even try to make it complicated as nothing is ever simple. I have therefore resorted in recent applications to using `mysite.com/index.php/category/sub-category/create/` etc. and PHP to get hold … | |
i write a code that coun t the number of upper case letter in a string there is a problem my code count space as capital letter code is below #include<iostream> #include<conio.h> #include<cstring> #include<string.h> using namespace std; class Letters{ private: char str[20]; int num; public: Letters(){ str[0]='\0'; num=0; } void … | |
Just a quick question...S_SESSION['variablename'] only works on php files within the same folder? | |
I want to make a program that can display the name and marks that user put and then the name will be sorted alphabetically. According to these two example i still cant get it. I have go through many examples on the internet but i still dont know how. Someone … | |
Newbie programmer here. I want to really learn C#. Other than VS what other IDE's are there? | |
hi guys can you help my project my system is Poit of sale and inventory i want to subtruct my itemsstock to quanty that i buy for every items cen u help me guys? thank!!! | |
This is my second attempt and for some reason won't Calculate. I get $0.00 as my result. VB tells me something is wrong wth CalcMiscCharge missing a return statement, but don't see where. Any Ideas? Public Class Form1 Private decLabFee As Decimal ' To hold Lab fee. Private decMeds As … | |
Errors: 1. Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens' in C:\wamp\www\SICS\includes\submitcategory.php on line 75 2. PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in C:\wamp\www\SICS\includes\submitcategory.php on line 75 <?php … | |
Hi all, I was wondering if you can help me out with this. I have a dataGridView with a couple of books saved on it. When I click on a book, the book's story loads in a richTextBox. When I change that text and want to save it I want … | |
hi guys.. i have a problem.. what i want is..i have a form with 2 textfield. i want the value after we insert data into it..the data will insert into database in one column..but how to do it?sory for my bad english..:'( my code: <td bgcolor="#A4DDED"> <strong>DL</strong> <input name="NF1" type="text" … | |
Hey guys, Was wondering if someone could assist me in elaborating the c_str() function... I understand that it returns a pointer to an array that contains a null-terminated sequence of character but could someone further elaborate upon this, perhaps with a simple example. Cheers, | |
HI Please help. how to solve this I am using the below code. insert is working fine. but i am having problem in edit session i edit page i can able to display both values from Database. If i am changing the textbox1 value i am not able to get … | |
Hi, I'm creating a game where users play daily & earn points. I wanted to record the scores of each user each day for a month. At first, I thought to create 31 columns within the table & store the score in the appropriate date field. But, I think it … | |
Hi, I'm trying to remove a script added by setTimeout(). I tried to use clearTimeout() but seems like it's not working. This is what should happen: Click Btn1 to include the function for btn2. After btn1 is clicked, click Btn2. An alert will be displayed. When btn1 is clicked again, … | |
Hello, I need help!!! I have a program that uses an array for the user to enter in 5 integers. After those integers are added I want to sort them using a bubble sort. My problem is I'm really confused on where I place my bubble sort? Any help would … | |
Hi I need you recommendation to know about which crypto algorithm is good for protecting files which is stored in the DropBox? | |
I need to create a program like Hangman... I did successfully the following: Bring a file into VB which has a list of 100 words --> ok Then, user enters a number --> ok VB identifies the number to a word--> ok Convert word into *****--> ok appear input box--> … | |
Hello, I am trying to input pictures in student profile yet it doesn't work yet. I wonder why? studentinfo.php <?php include('includes/koneksi.php'); $student_id = isset($_GET['student_id']) ? $_GET['student_id'] : ''; $group_id = isset($_POST['group_id']) ? $_POST['group_id'] : ''; $access_level_id = isset($_POST['access_level_id']) ? $_POST['access_level_id'] : ''; $stu_fname = isset($_POST['stu_fname']) ? $_POST['stu_fname'] : ''; $stu_lname … | |
Having trouble when executed. Can someone point me the right direction? Public Class Form1 Private Sub btnEnterNumber_Click(sender As Object, e As EventArgs) Handles btnUserInput.Click 'This will sum of the numbers Dim strUserInput As Integer Dim intUserInput As Integer 'Number entered by user Dim intSum As Integer = 0 strUserInput = … | |
I would like to capture the modification date from a log file on the client machine in order to warn users (technical on an internal website) that they have not run updates for a given subsystem. Is there a way to do this? I've done this sort of thing before, … | |
Hey guys, I would like to know how much would it normally charge to create a zomato.com clone. Its a restaurant reviewing site where foodies can review the restaurants, bars and cafes. Thanks in advance! :) Peace! | |
All, I have an external JavaScript code - which basicially has functionality so that different images are shown when a next or previous button is selected. What I need to do and know is how to pass the value of the image to the querystring as I need to use … | |
Morning all, I have some code which says if a text box is empty show a msgbox asking user to input data into this textfield. i then want only an O.K button to show on the msgbox but then no to continue with the sub. [CODE] If Me.txtLine2Rcon.Text = "" … | |
Good morning, I'm curious on how one would go about encoding the data for a UPS Maxicode barcode on a ZPL label. Currently we generate our own ZPL file using a template which we fill our data in with through a VB.NET program. The Maxicode barcode command is using all … | |
Hi Everyone, Fairly new C# coder here. I'm currently writing a small application that will be deployed on several computers, each of which will need to connect to a remote SQL server. I'm wondering what the best way to store a username and password for this would be? Each deployment … | |
I'm trying to output binary file information something like this: File size : 5 KB Start : 0x00 End: 0x 20 But I don't really know how to output the end of file. Hope somebody can help me. Thanks. public static void binaryread(string file) { FileStream fs; BinaryReader br; FileInfo … | |
hi! i have written a code of linked list using character array to add and display data, it can add data but not display. can anyone help?? thanks. #include<iostream> using namespace std; class node private: char data[30]; node* next; public: char showdata() { return data[30]; } void setdata(char c[40]) { … | |
How to save informations in one dat. I think that is datebase or something. Please help me!!! | |
Greetings, I need help with basic cloak, which counts how many times will small and big pointer on the cloak cover each other, with first one starting at 12 cloak. I have idea of how to do it, but I can not realize it, so if you guys have some … | |
Hi how do you hide a jquery multiselect based on a option in the 1st dropdownlist. For example, when I clicked the 1st item in my dropdownlist it will appear the 2nd dropdown else the 2nd dropdown will not appear http://wenzhixin.net.cn/p/multiple-select/docs/ // multi-select pluginj | |
Hi Guys, I have a big problem. I want to merge two oft/msg outlook templates. when I try to open my oft/msg outlook template with: Outlook.Application oApp = new Outlook.Application(); Outlook.MailItem newMail = (Outlook.MailItem)oApp.CreateItemFromTemplate(path); newMail.Display(); It works - pictures are visible.. The problem is that I need to merge two … | |
Hi I have two edittexts and I have to generate random no and randomly show in one of two edittexts. generating random no is ok,but randomly showing in one of the edittext, I donot have any idea. if any one have any hint or any arrticle.,Please help | |
I have a webview on my android application and I loaded a URL on it. In the URL, javascript code should reload the page periodically. But when "window.location.reload();" is called, a browser app comes front and reload the url int he browser. I know how to reload the page using … | |
Hi I dont want the extra bracket inside the list thats been outputted so how would I fix that? This is the code: def my_code(list1, list2, index): index = ['a','b','c'] list2 = [2] list1 = [1,2,3] list1.insert(2,index) return list1 and it returns: [1, 2, ['a', 'b', 'c'], 3] I dont … | |
Hello. I work for a company that does alot of stuff with python and I was wondering what methods are better then the one I use for finding a bug in millions of lines of code. What I like to do is find out what the bug does. Let's just … | |
i write a program its output is below G:\Java\Multithreading>java NewThread Child Thread Thread[main,5,main] Main Thread 1 Child Thread 1 Main Thread 2 Main Thread 3 Main Thread 4 Main Thread 5 Main Thread Complete Child Thread 2 Child Thread 3 Child Thread 4 Child Thread 5 Child Thread Complete in … | |
error: no suitable method found for toArray(int[]) return intList.toArray(new int[intList.size()]); ^ method Collection.<T#1>toArray(T#1[]) is not applicable (inference variable T#1 has incompatible bounds equality constraints: int upper bounds: Object) method List.<T#2>toArray(T#2[]) is not applicable (inference variable T#2 has incompatible bounds equality constraints: int upper bounds: Object) method AbstractCollection.<T#3>toArray(T#3[]) is not applicable … | |
Hello Everyone i am new in java language. and iwant to hide any <div> tag on my site site example: 'www.mysite.com' and i have a div in my website. like <div id='header'> when we load my site the java script run and check my site url. 'www.mysite.com' if the url … | |
Hi everyone I have a script which contains contains mostly JavaScript. After various bits of user input, it ends up with an array which contains 6 times (hh:mm) and these can be access by times[0] thru times[5]. Obviously these variables would be available on a clients PC. Another PHP programmer … | |
Ok so I was asked to add user logs on the website....problem is, I dont know what that is...what it does, what should be considered...why is it important...i tried google but I failed to understand why i have to do user logs....Can anyone give me some tips/ insights..etc...thanks in advance!.. | |
![]() | Please I need some ideas for a HCI paper I am currently working on, I am not asking for the answer but just general ideas that I can work on and further improve on my own. The topic is: Crossing: Appropriating Technologies for New Cultures • enabling people from different … |
Hi Everyone, Thank you for viewing. I would like to check how to disbale HTML button in c#? Can anyone advise on this? | |
hello, after accessing users country name,,can i have a php snippet which will convert 20usd automatically to visitor currency ??? |
The End.