199,114 Archived Topics
Remove Filter ![]() | |
Hello Firends, I am developing a fashion website where visitors can come and select branded T-Shirts. Visitors will have to choose Man, Woman or Kid Avatar in order to check out the display of the Clothes. What I need is that, on the COLOUR CATEGORY, if the visitor click on … | |
I have a method in foo class that needs to be initialized in my main.cpp and inside another method of foo.cpp. basically my example has a mainPage then will allow to user to do addition or subtraction depends on their choice. after the addtional/subtraction method is done, it will go … | |
Converts Xml document to string | |
can some one give me a codes?im creating a time reservation system and every time a user input a data on the combo box and click the button SUBMIT, all the data will be recorded in the list view.and now?im having a problem with the codes for a conflict schedule.i … | |
hi, i want ajax to be called only once, but insted it calls everytime when i click on the button. my script: $(document).ready(function(){ $("#modal-launcher-user").click(function(){ $('#preloader_image_edit').show(); $.ajax({ url: "image_edit.php", cache: false, }) .done(function( html ) { $("#preloader_image_edit").hide(); $( "#results_image_edit" ).append( html ); }); }); }); | |
Hi, I am currently writing a library for dynamic use, and in it I have some string functions. This particular one returns a substring of a given string from the rightmost, determined by a given count. I just get the feeling that I'm missing some error checking and would like … | |
Hi. I have a mysql field with a record like: [2,5,11]. I have a query like: $query = $this->select() ->from($this->_name) ->where('id = ?', $id); This query work if record is of integer type: 5. Is it possible to create a query to find 5 in the array? Please advise. Thanks. | |
This my site..http://www.vibrationlive.net. I just uploaded the progran to my Godaddy server. And im getting a lot of warnings and notices, how do i turn them off. And here is my php5.ini file (code) allow_url_fopen = off apc.enabled=0 expose_php = Off max_input_time = 60 variables_order = "EGPCS" extension_dir = ./ … | |
I have a list say word = ["engine","ant","aeiou"] I need to sort the list according to the number of vowels in the list elements. And this sort must change the input as well. I tried writing the code, by using zip() and a few ops i'm getting the required answer … | |
Most important things in C # Sharp, as a Student Leaning the programming.. 1. CONSOLE 2. Web Forms and other Things , Suggesstion me | |
could anyone tell me what are the max values that can be entered in turbo c++ gotoxy function..... the help says that (35,25) is the bottom right position in the window but i can enter text even upto x-coordinate 50.. what i want to do is enter text at y- … | |
Is there a way to read a file character by character for chars and the number set for numbers? bob 4567 joe 39083 sara 4239824 That is my file while ((c = fgetc(pFile)) != EOF) { //my work } I know this works on my chars. This won't read numbers … | |
Can anyone help us with an algorithm to randomly display elements which has different height and width units in a asp.net page | |
I ask myself this often - I've been using it for well over a decade, and still use ASP to build most of my sites - why? I consider it rock solid, mature, and something I'm very confortable with. And although I don't see support for it going away, I'm … | |
Hello, I have csv filename with date. Everyday i have same csv file with respective date. I need to read filename (*everyday date changes in filename*) and do operation. For example, I have file "**cells_20140106_165532.csv**". I did like this to read it in general: $filename = "cells_".date('Ymd_hmi').".csv"; $file_contents = file_get_contents($filename); … ![]() | |
I need a simple c++ code that prints the semantic errors of the compiler. Can anyone help me please? | |
Could i please have an example of using the equivalent of the obselete Scale method for picture box controls in vb.net? | |
I am trying to create a matrix table. The values to be plugged into the matrix will be user input from an html table (basically a unique pairing table which pairs two elements at a time and for each pair a user can select which he prefers and by how … | |
i'm working on the final project in my university. But i don't know how to connecting fingerprint tool with my application.. i have a SDK from my fingerprint tool, but it use a VB code not a C# code. | |
lol Hi people its been 2 years im back :D I finshed high school but had too stop programming so im back to noob The problem is i cant seem to find SelectedIndex while using listview -__- I really dont want to use text to find a item :/ | |
Hello, I was trying to view all the data from a single from a database after the button "search" is clicked and the output will be inserted into corresponding textboxes for future editing. After I entered the ID(1) I get an "OleDbException was unhandled" " Data type mismatch in criteria … | |
I am new to vb and for an assignment i have to make a application that adds, deletes database records. I used an ms access database. If i run the file in another pc, it doesnt't work as the datbase file is not in that pc,i need it to work … | |
do u have any code to find a system of two linear equations with two variables?? | |
How can i get an users input in the format of `/home/filedirectory` and then list all the files in the path /home/filedirectory?? | |
anyone have a php code for arranging the inputed value of A B C D, from highest to lowest using if,elseif statement, ty :D | |
We're in the process of upgrading/improving our application framework, and we're currently looking into (application) user groups and roles. We want to implement CRUD rights to our screens. What's in place is a kind of ORM, so there's a class for each table already. Am just looking for ideas on … | |
Hi Guys, I want to be generating random quote of the day. I want it to be so random and not repeating itself the same quote What is the trick (If code exclude simple db stuffs like mysql_connect et al) Thanks | |
I am new to NBC programming and am trying to program my Lego NXT Brick to search for and follow a line of black electrical tape that I have on the floor (I have the light sensor in the front and pointing straight down at the ground). As of right … | |
Hello I have a Java Agent which I need to maintain (dev was done by someone else), with the following code samples extracted: String type = (String) types.nextElement(); DemByDate dd = (DemByDate) client.typeDemande.get(type); Vector v = (Vector) dd.demandes; Calendar calendar = Calendar.getInstance(); calendar.set(dd.d2.getYear(), dd.d2.getMonth(), dd.d2.getDate()); int maxDay = calendar.getActualMaximum(Calendar.DAY_OF_MONTH); dd.d2 … | |
Hi, I want to know how can I find the frequency of applications executed on desktop? My main motive here is to find least used application on desktop! I know there is a way of doing it through windows OS tools. But, I want to know how the same can … | |
Hi All, I am creating a Windows Application. I am maintaining LibraryBooks details. When I click on the Details all the books available(as stored in SQL SERVER Database) is been displayed in the DataGridView. But the datagridview also contains a empty row at the end which it generates automatically. But … | |
Hi, I can't get my carrentalprogram to work. When I try add vehicle/customer, I get this: "Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException" I think it means that what i type in my textLines = Null. I guess the methods from the class "Controller" can't be used. Here are the classes "Controller" … | |
Is it possible to implement theme of Microsoft Office in my windows application. I mean when anyone changes theme of Microsoft Office it should also make change the theme of my windows application. If its possible, let me know how to do that? | |
Hi everyone, I am new to PHP. I have a problem. I have a simple HTML form where when I select the country from select / option list provided, i want PHP to echo message on country I selected. Also I want PHP include function to list the form specific … | |
How do I pass a single row of a 2 dimensionsl aarray to a function? #include <iostream> #include <iomanip> #include <fstream> #include <cstdlib> using namespace std; // ------ Prototypes ------------------------------------------------------ double calcNums(double[]); // ****** MAIN ************************************************************ int main() { double nums[2][5] = {1,2,3,4,5,6,7,8,9,10}; calcNums(nums[1][5]); return 0; } double calcNums(double nums[1][5]) … | |
hi..please help.. i have 2 tables tblStudents and tblGrades. in tblStudents, all details of students and in tblGrades, grades of the students. column "StudId" is their only common column.. in tblStudents: StudId LastName FirstName in tblGrades: columns are: StudId SubjectCode Grade what i want to achieve is to query on … | |
How to create a class in visual studio 2012? | |
Hi guys, I am currently learning this language and have 2 simple questions. 1: What is the equivalent of "break" and "continue" statement in Racket?? I can't find it anywhere on the site's documentation nor online on other sites. 2: Is there a way to create new variable using a … | |
please help me in this,how would i do some recursive statement in my stored procedure. here is what i want -- @requestcode will genereate some random string set @requestcode = (SELECT substring(@username,0,3)+'-'+SUBSTRING(CONVERT(varchar(255), NEWID()), 0, 9)) -- then i want to check if the string generated is existing to 'sampletable' select … | |
I am converting a PHP application from MySQL to PostgresSQL. The MySQL works flawlessly. The database for this application is a one to many relationship. I have a while loop nested inside another while loop <?php while ($movie_row = pg_fetch_array($movie, PGSQL_ASSOC)) { ?> [html code to echo various elements of … | |
Hi, In coldfusion we print as <cfoutput>#variable#</cfoutput> but if I want to print # sign that is output will be #. how to do that ? | |
hi there, i have a site which has a jquery datepicker in it. i went onto jquerys site and downloaded the timepicker code and tried to add this in but it is not working. currently my code is: $('.datepicker').datepick({ dateFormat: "dd/mm/yyyy", alignment: 'bottom', showOtherMonths: true, selectOtherMonths: true, renderer: { picker: … ![]() | |
Good afternoon! I seem to disappear from this forum for a while then re-appear...I've been so busy with my first born baby girl that I haven't had time to check my email much less work on any of my projects, but something has come up and I need some input. … | |
HI I'm trying to learn how I need to upload a file and I am wondering if I have to use <form method=post> </form> or can I use <form method=get> </form> and why. Thanks in advance ![]() | |
So, I wrote some code for appending to an array, and I thought to myself, would be cool to make the method more generic using an interface. I keep getting this error though that basically says that the compiler's best overloaded method that can match this is _____, and it … | |
So im making an RPG. For collision detection, I thought I would do it like this: 1. Read text file containing collision data. 2. Iterate through the list using nested for loops. 3. When a value of 1 occurs (denoting an inpassable tile) add a rectangle to list 'badTiles', where … | |
Hey All, I am tryiung to create a function that lets me filter products on the page, by using html5 data-attributtes. Each prodct can have multiple values, as in: data-brand="acer", data-screen="17" data-processor="blah" etc etc. I am trying to make it work with two filter options at the moment, and then … | |
from random import randint from tkinter import * import time screen = Tk() widthOfScreen = screen.winfo_screenwidth() #Get the width of the screen heightOfScreen = screen.winfo_screenheight() #Get the height of the screen screen.geometry("%dx%d+0+0" % (widthOfScreen, heightOfScreen)) def spammer(): count = 0 for count in range(0,1000): Button(screen, text = count, font = … | |
Module throtemp Public Class TempIsZeroException : Inherits ApplicationException Public Sub New(ByVal msg As String) MyBase.New(msg) End Sub End Class Public Class temp Dim tmp As Integer = 1 Sub showtmp() If (tmp = 0) Then Throw (New TempIsZeroException("zero temp found")) Else Console.WriteLine("temp:{0}", tmp) End If End Sub End Class Sub … | |
Hi Can I use the ajax to update a form feild by get a value of another feild on the same page(without submiting the page). This process involves the mysql as well. |
The End.