64,152 Solved Topics
Remove Filter ![]() | |
Hi, it's a very simple question, but I cant see how to solve it! I'm doing a web form, I have a button inside a table, the thing is, I can't access to the code of this button, Usually you just double click on the design view over a button, … | |
Hi All, I am using pritaeas found here: http://www.daniweb.com/web-development/php/code/430455/configurable-table-class I am pulling in the data and my brain has taken a vacation. I am using $arr = $dsn->getRecord('memeber', array('user_id' => 2)); But cannot for the life of me pull the data out. I get duplication as well from the data: … | |
Here is the code: var Circle = function( radius ) { var _radius = radius, _area = function() { return Math.PI * _radius * _radius; }, _perimeter = function() { return 2 * Math.PI * _radius; }; this.radius = _radius; this.area = "Area" + _area(); this.perimeter = "Perimeter" + _perimeter(); … | |
Hello group! I've seen one short discussion of ensuring that the controls within a form will shrink, grown and stay in their proportional position as the user changes the form size. Unfortunately it covered parent/child forms, etc. It didn't make a lot of sense to me. Ultimately I do want … | |
Hi folks, I am aware this is a problem that many people have, but I am yet to find an answer... I have a 10x10 grid generated using a html `<table>`, each cell has an id reffering to its location (ie. #15 - row 1, colmn 5). All I need … ![]() | |
Hello, I am making a program that deals with bitmap files and I want to try to load bitmap data manually. The issue is that I cannot find a good resource for exactly what bitmap files can contain. [Wikipedia](http://en.wikipedia.org/wiki/BMP_file_format) has a decent article, but it is missing some important information. … | |
Hello guys today when i checked my script I noticed my sessions are not protected, when user log in his **username** stored in session variable lets call it $_SESSION['user'], and I use this session variable in many function ex. when uploading a file the name of user taken from session … ![]() | |
I have this chunk of jQuery that is doing strange behavior. When I load the page, my list is slided Up (completely folded) wich make sense. But I have to double click each parent to slide them down, which is not the normal behavior. I think this line is the … | |
I was doing my assignment till I reached this point. Add a static Date toDate(String str) method to the DateTest class. If the method is called with a string like “23/5/2013”, it will create and return the corresponding date object. If the input string is not valid date, the method … | |
Hello One more question. Can't seem to find any info wether it's possible to disable Alt+F4 while MessageDlg pops-up or not. The thing is, that the OnKeyDown event in main form works ok, while set with begin if ((ssAlt in Shift) and (Key = VK_F4)) then Key:=0; end; But that … | |
Hey there, I need help with writing a query so I figured I'd ask here. Let me thank you in advance for your answer. I need to see how often a value inside a certain column appears in a table. Say for example I have a table Person, that has … | |
Hello, I was hoping someone can help me, im looking for a way to extend a basic shape class in particular the roundedrectangle2d class and be able to draw it in the same way we could handle an object with a simple call to g.draw(object instance); However im having problems … | |
I have this code. pdfCreator.ActiveSheet.PrintOut copies:=1, ActivePrinter:= _ "PDF Complete on PDFC", collate:=True How can i add a save location to this code . My default is the desktop when i save all the the file to be converted my desktop becomes a mess . can anyone help me how … | |
![]() | Hi I'm not sure what to used to split numbers and letter from words. So far I try **preg_split()** function and also **mb_split()** function both gave me **No ending delimiter ^** There is **^** (**caret**). For example my data is from my database and it's not an array and it … ![]() |
Hi, I need help here. I have a for with multiple text inputs. input1 is link, input2 is description. This is repeated a number of time. Each link and description is one record, but I cant igure out how to add them to mysql as such. If I fill in … | |
Hi I just started playing around with Visual Basics today and thought it would be cool if I could make a program to work out the weight and the price of a square peice of steel. I have tried to solve the problem and fixed many errors but now I'm … | |
Hi all - use the curdate() or current date to look at newly added awards in the last 3 months The SQL table used to store the created date when an award was added is **tbl_net_centre.reg_date** and keeps throwing up an error on the <= If anyone can advise the … | |
Hi all! I'm trying to create a program that produces a memory leak. I have a program that looks like it works, but I was wanting to verify whether it actually is causing a memory leak, and that it's not just some other type of issue. It's in C++, which … | |
making a scrolling background. There is one problems with this code below. I am drawing a image and it stay there on left of screen. i want to del it and create new one so there aren't 100's of background images on left. i just want to keep 2 background … | |
Hello Community, I was wondering if there is a way for a string ($string) to be remembered on a form submission? Example: <?php $f = ""; $tS = ""; if (isset($_POST['tSubmit1'])) { if (!empty($_POST['tString1'])) { $tS = $_POST['tString1']; $f = "f2"; } } if (isset($_POST['tSubmit2'])) { if (!empty($_POST['tString2'])) { if … | |
A client of mine wants to implement SSL on their site. They have a number of forms which communicate sensitive/personal information, and want to send the data over a secure channel. I've worked with sites that have SSL certificates already, but never actually implemented one myself. The site runs on … | |
Hi I try to convert ppt to video:; i know that CreateVideo is part of presentation. but, when i try this i have this error: Inline Code Example Here Looks like createvideo is not part of presentation. Microsoft.Office.Interop.PowerPoint.Application pptApplication = new Microsoft.Office.Interop.PowerPoint.Application(); Microsoft.Office.Interop.PowerPoint.Slides slides; Microsoft.Office.Interop.PowerPoint._Slide slide; Microsoft.Office.Interop.PowerPoint.TextRange objText; // Create … | |
code part1: name1="rahul" name2="rahul" code part2: name1=[1,2,3] name2=[1,2,3] If I run the following code: print name1 is name2 I get "True" for code part1 and I get "False" for code part2 why? why the "reference" is same for name1 and name2 in "code part1" and different for name1 and name2 … | |
Hi I need to Write a function which takes as input two strings and count how many words are both in the two strings. Display the results sorted according the length of the word (longer first) and in case of equality by the alphabetical order? | |
Javascript string search string in array not working here is my code Mycode var array = ["foo","fool","cool","god",'searchstring']; var src_keyword=""; $("#search_str").click(function(){ src_keyword=$("#str_search").val(); find(array,src_keyword) }); function find(arr,src_keyword1) { var result = []; alert(src_keyword1); //src_keyword1="oo"; for (var i in arr) { var search = new RegExp(src_keyword1, "gi"); if (arr[i].match(search)) { alert(arr[i]) result.push(arr[i]); } … | |
I'm not really sure how to accomplish this task and would like some help with ideas or, if someone knows how to do this, some advice would be greatly appreciated! I am working on a custom usercontrol. The usercontrol has a listbox (or rather it IS a listbox, just docked … | |
hi all I have a problem with the error message "System Error & H80004005 (-2147467259)", this happens or appears when I make a program with VB6 and now I have created a program that will save me. Please enlightenment, thanks for the help | |
What are some common uses of HTML forms that contain just one text input and a submit button? The only one use I find is to submit search queries. Is there some other reason why this is commonly used? | |
![]() | i want to know that how can we keep an eye on one process that its alive or terminated , actually i have service which will always check my process if my process terminated then service will start it again so i want to know how to check process status … ![]() |
Hi friends! I have some trouble restoring a mysql database that I backed up with mysqldump. I have been trying to do this from a command prompt (Windows) This is my code: mysql -u root -pPassword databasename < C:\Backup\databaseNameToBeRestored.sql With this, I get the message that "mysql" is not recognized … | |
I'm going through an exercise in a mac programming in cocoa book, where there is a GUI and from a textfield I enter and to a list of strings displayed on a table. There are plenty of things that aren't working, the most confusing of which is I keep leaking … | |
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "queue.h" #include "stack.h" #define NAME_SIZE 20 #define RECORDS_SIZE 100 typedef struct { char studName[20]; int timeEnter; int timeUpdate; }STUDENT; typedef struct { char tutorName[NAME_SIZE]; int tutorTime; STUDENT *ptr; }TUTOR; QUEUE *queue1; STACK *stack1; void getData(STUDENT *studArr[], TUTOR tutorArr[1]); int main(void) { STUDENT *studArr[RECORDS_SIZE]; … | |
Hi All, Im working on a program for school which combines 3 programs together(one transposes a 2d array, one adds up the diagonals and tells them, and one adds the rows). The problem Im having, is with importing all the data into the 2 Dimensional array "input" so it can … | |
![]() | I have trouble accesing images that are located IN the application (in solution explorer) What I want to do is theme options in one of my programs If TreeView1.SelectedNode.Name = "wood" Then main.background*.BackgroundImage= End If *PictureBox |
Hi How can I parse html files for example daniweb.com 1.Extract all the links pointed (the content of the href tag) 2. how can I List all of them after having removed the duplicates (means that there is two links pointed the same page, only one should be displayed) I … | |
Hi...! I'm Working on mind challenge game i nearly cmepleted it but i've got a problem... when a player choose a button it shows it's number but when it choose the second button it won't show the second button number because of this lines: foreach (var ctrl in this.Controls) { … | |
I have an html form that has 10 text field for trhe user too enter dates into. When the user clicks the submit button each text field should be added as a new record to a mysql table. The way I have it now if only 2 are filled in, … | |
(edit) this is solved, was a unicode issue. Hi I'm hoping someone has used the library [pugixml](http://pugixml.org/) I'm just trying to use a simple example provided but I'm not getting the result I expect. int _tmain(int argc, _TCHAR* argv[]) { pugi::xml_document doc; pugi::xml_parse_result result = doc.load_file("tree.xml"); //pugi::char_t * c = … | |
i just finished one game in java using JApplet. is there a way for me to use a database so i can keep track of scores? I am using xampp control apache for my website database to keep track of username etc.... in php. Can i connect to it using … | |
I need to output in four columns. 1) The first will contain n. 2) The second will contain pi(n) 3) The third will contain n/ln(n) 4) The fourth will contain the ration of pi(n) to n/ln(n). #include <stdio.h> #include <string.h> #include <stdint.h> #define MAXN 100000000 /* maximum value of N … | |
Hi, so far i have created a program that has a checkbox option 'dont show this again'. When i check the option, the window not displayed again all goes well here. But the problem is when i have uninstalled the application and reinstall it again, the checkbox option window is … | |
According to MSDN: Control.Disposing Property Gets a value indicating whether the base Control class is in the process of disposing. But when I checked, Disposing property of the control is always false (inside the Dispose() method itself). When will this Disposing property become true? | |
I am running analyses on a quiz and am trying to manipulate querys in order to produce bar charts. I am trying to display a graph which shows the percentages of candidates passing a particular quiz. The query I am trying to run is as follows: SELECT QuizName, (100*(COUNT(PassFail))/(COUNT(XXXXXX))) AS … | |
DOes anybody here know how to use send key for alt+s . can you please tell me how to do it. thank you!! | |
Dear all, I can use this code to write a value in parent window control. [CODE]StrJScript = "<SCRIPT>parent.document.forms[0].TxtCustomerId.value = '" & ClearSpace(Row.Cells(1).Text.Trim) & "';</SCRIPT>" If Not ClientScript.IsClientScriptBlockRegistered("S1") Then ClientScript.RegisterClientScriptBlock(Me.GetType(), "S1", StrJScript) End If[/CODE] but, I cannot set iFrame visible to false. I use this code : [CODE]StrJScript = "<SCRIPT>parent.document.form1.iFrmCustomer.visible = … | |
i want change one word from some of the same words with respect to the position of (the first second or third) example : $string = "He had had to have had it."; echo preg_replace('/had/', 'SSS', $string, 1); output : He SSS had to have had it. i want -->: … | |
I always getting this error in my dropdownlistfor: Value cannot be null. Parameter name: items View code: @Html.DropDownListFor(model => model.SiteId, new SelectList(ViewBag.ListSiteClass, "SiteId", "SiteName"), "", new { @onchange = "GetSiteid(this.value);" }) Controller Code: [HttpPost] public ActionResult Create(ServiceDTO ms, FormCollection form) { if (ModelState.IsValid) { int sid = ms.SiteId; ServiceDAO.Insert(sid); } … | |
Hi All, How can we set a value to iframe textbox element either in JS/Jquery <head> <script type="text/javascript"> function load() { alert("Frame is loaded"); myframe.document.getElementById("user_email").value = "<?php echo $var ?>"; } </script> </head> <body> <iframe onload="load()" id="myframe" name="myframe" src="http://www.gigpayrr.com/signup" width="700px" height="600px"> <p>Your browser does not support iframes.</p> </iframe> </body> | |
Please tell me if Amazon Payment Gateway Module code for Magento is available or not.Like Paypal Module code is available. i want to check its observer and model file etc. ![]() |
The End.