199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jateshs1007

I need a guidance for making a website. I wanted to know how can I make a website like, from the below websites. 1. http://www.mohi.me/ 2. http://leotartari.com/ I am interested in learning the slider of each section. I know the all basics (HTML, CSS, Javascript, PHP, ...). So please just …

Member Avatar for <M/>
0
187
Member Avatar for manish.mehta

Hi, I am using Selenium Grid and running my test cases on remote machine. And i am also using Screen recorder to record video for my test. When i start Screen recorder, it only starts in the hub machine (my machine). So i thought to run the Screen recorder on …

Member Avatar for Nutster
0
761
Member Avatar for wasim kazi

Hello, I have one CMS with fixed layout. In that I have make few changes depends on my current URL. If I am on my home page so This class given below is **div.layout-column.column-main.with-column-1.with-column-2 = width:790;** And If I am of some other page so this same class look like …

Member Avatar for wasim kazi
0
289
Member Avatar for ITshard

sorry for my english but im really so desperate. This is due next week monday, and i don't know what do to or even where to start. Our professor didn't explain this homework , she just gave us a photocopy problem, we dont have any reference to look at. soo …

Member Avatar for stultuske
0
345
Member Avatar for harinath_2007

Hi , I am a beginner of android programming. I built an application which is working fine.. but when i modify the source code( i mean that activity.xml which is inside layout folder) the output is not getting effected when i run the app second time.. i mean previous output …

Member Avatar for harinath_2007
0
110
Member Avatar for ms_farenheit1

I am trying to implement a JScrollPane, containing a JTextArea, whose vertical scroll bar automatically remains as the bottom when new text is added, if it is already at the bottom, and stays in place otherwise. I have found a solution that seems to work, except when I move the …

Member Avatar for NormR1
0
667
Member Avatar for ChaseRLewis

My question is basically if I have a 4D vector like _declspec(align(16)) class Vec4 { float x; float y; float z; float w; } and I want to use operators like `Vec4 a(Vector4.One),b(Vector4.One),c(Vector4.Zero);` `c = a + b; //Creates a 4th Vector4 here that is wasted` It would seem it …

Member Avatar for mike_2000_17
0
165
Member Avatar for behemothdave

Alright so essentially I need to create a class that houses the methods and then call the methods in the form but I can't seem to find out what the right code is to call it. I think there may be an issue with the conversion from a double to …

Member Avatar for Albireo6972
0
335
Member Avatar for BradleyD

Hi all! I have a simple problem (I hope). I wanted the text fields full instead of extra text on the page, so I'm using the "onfocus" and "onblur" events in a form. ie: value='Enter Your First Name Here' onfocus="this.value=''" onblur="if(this.value=='')this.value=this.defaultValue;" The problem is, if they don't enter any information, …

Member Avatar for BradleyD
0
222
Member Avatar for HunainHafeez

how much dynamic a template could be ? dynamic , in terms of modifications !! e.g i purchase a template for my website and further i want to modify it for my own satisfaction and requirements ? that how much it could be modified ? At large extent ? or …

Member Avatar for HunainHafeez
0
153
Member Avatar for boxofsnacks

import java.awt.*; import java.text.NumberFormat; import java.util.Locale; import javax.swing.*; public class SalesFigures { public static void main (String[]args) { float prod1 = 0, prod2 = 0, prod3 = 0; float prod4 = 0, prod5 = 0; String inputString; int prodId = 1; // Need user input to determine outcome while (prodId …

Member Avatar for NormR1
0
437
Member Avatar for benk1

Hi everyone I have a simple piece of code thus: char userChoice = '\0'; validate:; printf("Please make a choice [y/n] \n"); //fflush (stdout) ; scanf("%c", &userChoice); if(userChoice != 'y' && userChoice != 'n' ) { printf("\nInvalid input; please enter y or n. \n "); userChoice = '\0'; goto validate; } …

Member Avatar for WaltP
0
150
Member Avatar for vishalonne

After lots of home work I came here for support and help. Please see the site[Click Here](http://www.cbsecsnip.in) on home page I have menu Computer Science and sub menu XI which open XICS.php on this page threr are few links. From those links few must work if user already logged in …

Member Avatar for diafol
0
531
Member Avatar for rithish

#include<stdio.h> int arr[20]; int main() { int n,i; printf("Enter the size of array\n"); scanf("%d",&n); printf("Enter the elements:"); for(i=0; i<n; i++) scanf("%d",&arr[i]); merge_sort(arr,0,n-1); printf("Sorted array:"); for(i=0; i<n; i++) printf(" \n %d",arr[i]); return 0; } int merge_sort(int arr[],int low,int high) { int mid; if(low<high) { mid=(low+high)/2; merge_sort(arr,low,mid); merge_sort(arr,mid+1,high); // Combine merge(arr,low,mid,high); } …

Member Avatar for WaltP
0
108
Member Avatar for dragonofspam

Hello, I am trying to write a program that will calculate the volume of a hole to be dug for a pool or spa. I have some radio buttons that the use can select. Once a button is chosem, the user enters information and then can hit the calculate button …

Member Avatar for dragonofspam
0
3K
Member Avatar for np complete

What is it : A simple logic (text based) game, in which you are required to identify the counterfeit coin within 3 chances. How it works : You are given 'x' coins ( best is to play it with 12 coins ). You are asked how many coins you want …

Member Avatar for WaltP
0
361
Member Avatar for Dili1234

hi i'm doing a vb application to inventory mangement system Private Sub AppendItem(ByVal Major As String) myConnection = New SqlConnection(connectionstring) myConnection.Open() Dim TempData As New DataTable myCommand1 = New SqlCommand("Select Departement,Suject_Name From Major Where MajorName='" & ComboBox1.SelectedItem & "'", myConnection) myCommand1.ExecuteNonQuery() 'sqlcmd = New SqlCommand("SELECT P_Id,P_Selling_Price FROM Product_Details WHERE P_Id='" …

0
84
Member Avatar for Cupidvogel

I am trying to send sms through Way2sms using Perl LWP. The login part is being successful, after which I save the cookies to a local file. The welcome page after being logged in shows a Send SMS link, clicking on which one is redirected to another page with two …

0
108
Member Avatar for JRCharlie

Hi I would like to learn PHP. But I can't seam to find the proper IDE so I can learn Build and debug websites. Does anyone know an Express version or free trial that I could download. Thanks in advance.

Member Avatar for JRCharlie
0
259
Member Avatar for sanjeewa.abeywardana

How can I **convert this code to csharp code**, seems to be simple but little confused. Dim Temperature As Integer = 30 Select Case Temperature Case 31 Console.WriteLine("stay in bed") Case 32 Console.WriteLine("play the lottery") Case Else Console.WriteLine("Just read the newspaper") End Select

Member Avatar for sanjeewa.abeywardana
0
88
Member Avatar for pawan768

I want to delete a table after 15 days automatically from the date of its creation , please soem one help me to find out the solution , Some one suggest me to use trigger but i search a lot but unable to find out the solution .

Member Avatar for Octet
0
116
Member Avatar for pawan768

Hi , I want to display PHP Code on my a.php page , I use <code> <?php if($c==1) { echo $c; } ?> </code> in my HTML page , but when I Run this page it Gave me the Value of $c , But I want to print this code …

Member Avatar for diafol
0
278
Member Avatar for aabbys

Hi All, Can any PHP, MySQL expert help me with security considerations while accessing online shared hosting MySQL database(PHPMyadmin) from a local wamp servers PHP page. I even don't know whether it can be possible.Please answer with some recomendations.

Member Avatar for aabbys
0
123
Member Avatar for jsco2289

B)(i)Create a class file BankAccount.java under c:\myjava folder. Declare a String member type variable called accountType and a double member type variable called balance. There are three account type values allowed: "student", "basic" and "advanced" . (ii)Create a method called minimumBalance which takes one argument of type String (acccType) and …

Member Avatar for NormR1
0
231
Member Avatar for lewilaloupe

Hi, Can't find what I am looking for anywhere and it's driving me crazy. I have a page on which I have 10 spots for images. Each spot needs to fade in/out about 5 images each, in a continuous loop. I can fade in/out on multiple images in a loop …

Member Avatar for Taywin
0
1K
Member Avatar for Stupid.Widget

**Hi, I'm a current, beggining java student and I am completely stumped! i have been searching the web for help but i just cant find a solution, nor can I tell if i'm on the right path with my code. For this weeks assignment I have to write a Java …

Member Avatar for JamesCherrill
0
226
Member Avatar for Valiantangel

Hey guys i am struggling a bit with Jframe.Pretty new to JFrame. I hav a file in Picture class and need to bring the BufferedImage to the DrawingImageControlPanel.How do i do this. I know the template for doing this is as stated below. public class ClassName extends JPanel { instance …

Member Avatar for NormR1
0
182
Member Avatar for Djmann1013

I am having trouble with this code block: if($row['banned'] == 1) { header( 'Location: http://www.awsomechat.comuv.com/ban/userbanned.php' ); } elseif ($row['banned'] == 2){ header( 'Location: http://www.awsomechat.comuv.com/ban/userbanned.php' ); } Ive also tried this: if($row['banned'] == 1 or $row['banned']== 2) { header( 'Location: http://www.awsomechat.comuv.com/ban/userbanned.php' ); } But none of this works... I am trying …

Member Avatar for Djmann1013
0
165
Member Avatar for madhan

I am reading ASP.NET 3.5 Dummies book. I am on Chapter 4 and learning FormsView. The FormsView new button is not firing InsertItemTemplate. I have no idea where I am wrong in the below code. According to the book it should work without code-behind added Please help me figure out …

Member Avatar for nakor77
0
154
Member Avatar for Riu 2009

Hi everyone..im new to php and dont know much about my sql as well.actually i have displayed a mysql table from database to my webpage using php.now i've got a seperate list of teachers with thier data(firstname, last name,email, type).what i want is to edit a specific record from the …

Member Avatar for Riu 2009
0
236
Member Avatar for swaggerCurioS

After I implement the following function: void List::insert(int index, const ListItemType& newItem) throw(ListIndexOutOfRangeException, ListException) { int newLength = getLength() + 1; if ((index < 1) || (index > newLength)) throw ListIndexOutOfRangeException( "ListIndexOutOfRangeException: insert index out of range"); else { try { ListNode *newPtr = new ListNode; size = newLength; newPtr->name …

Member Avatar for Ancient Dragon
0
364
Member Avatar for aabbys

Hi All, Here you need to understand two points 1)A Book Store App (which is a web application) made on PHP and MySQL is running on local wamp server(in one computer locally) for store's proprietary use, which is running fine. 2)I stucked with implementing online(Internet) version of web app for …

Member Avatar for aabbys
0
344
Member Avatar for Simes

So I am working on a Traffic Simulator and I am having a fair bit of trouble with it. I need the menu to display, user chooses the option enters a value for the option and then either it loops with the menu again and they can set other options. …

Member Avatar for JamesCherrill
0
255
Member Avatar for b0tz

Hello, I'm currently working on a project and I need to get the values I need from the API server. I'm really new to working with objects and arrays alltogheter, can I have a little help and perhaps someone can provide a simple example on how I can do this …

Member Avatar for b0tz
0
283
Member Avatar for Squidge

Ok, following from my previous thread (now resolved) i want to convert and use namespace. **headScript.php**: <?php class headScript { public function connection() { try { $dbh = new PDO("mysql:host=localhost;dbname=roundth4_rtb2", 'root', ''); // Dev return $dbh; } catch(PDOException $e) { echo "Error :- " . $e->getMessage(); die(); } } public …

Member Avatar for Squidge
0
191
Member Avatar for SnHnBoLt

#Dictionary practice def menu(): print("1. Add name and number") print("2. Print the directory") print("3. Quit") options = 0 directory = {} while options < 3 : menu() options = int(input("Enter your desired option :")) if options == 1 : print("You selected to add name and number") name = input("Enter name …

Member Avatar for TrustyTony
0
353
Member Avatar for hwoarang69

i cant seem to print imageicon in board.java. any ideas? i got two files. board.java and WorldBackground.java i have a WorldBackground.java where i am create background image import java.awt.Image; import javax.swing.ImageIcon; public class WorldBackground { static ImageIcon background = new ImageIcon(WorldBackground.class.getResource("Images/backg.jpg")); public static Image getBackground() { return background.getImage(); } } …

Member Avatar for hwoarang69
0
227
Member Avatar for PinoyDev

Good day Gentl'men! Is there a way in c++ to convert a string variable that holds time of format like "17:30" to time_t variable? Lets say!: #include<iostream> #include<ctime> using namespace std; int main() { time_t timein,timeout; float timediff; string stimein,stimeout; cout<<"Enter time-in: "; cin>>stimein; cout<<"Enter time-out: "; cin>>stimeout; //convertion from …

Member Avatar for deceptikon
0
4K
Member Avatar for Manu Krrish

XML,Excel Macros Hi I am working on some stuff where i need to Import the data present in XML file to excel sheet. i wrote below code for it Sub ImportXMLtoList() Dim strTargetFile As String Application.DisplayAlerts = False strTargetFile = "C:\BookData.xml" Workbooks.OpenXML Filename:=strTargetFile, LoadOption:=xlXmlLoadImportToList Application.DisplayAlerts = True End Sub But …

Member Avatar for AndreRet
0
822
Member Avatar for I_m_rude

Can anyone give me the nest links so as to learn socket programming in C from net ? As i have searched net a lot and also have read many things, but i want you all to tell some more better links. thanks in advance.

Member Avatar for deceptikon
0
175
Member Avatar for New22010

Formatting a date, In VB6 I could specify the a date that was so many days from today and change the format of the output in a nice and easy statement: Format(Now - 1, "yyyyMMdd"). I am trying to learn vb2010 and am getting an error on that statement: *Operator …

Member Avatar for New22010
0
203
Member Avatar for r0n

hi everyone is there anyway to get all cell values of a column in the jtable? for instance i have to get all the values in column1 which are all integers and sum it up to the textbox. :) thanks!

Member Avatar for JamesCherrill
0
2K
Member Avatar for heshanm

Hi All, I have a small problem. I want to add time tables for each grade in a school. Therefore in my addTimeTable.php page i have created a form to enter student grade, class and stream. (required only for grade 12 and 13) When a user clicks on "Add" button …

Member Avatar for diafol
0
204
Member Avatar for jhonhiel.abasolosasaban

i cant run my program even my directories are correct.......!! my flashdrive is in (F;) then in my directories are: Include Directories F:\TC\INCLUDE\ Library Directories F:\TC\LIB what will i do.....??

Member Avatar for np complete
0
106
Member Avatar for 47pirates

Hello guys i trying to manage the size of two jpanel according to the size of Main Jframe. I using netbeans drag and drop Jpanel1 is big and another one is small. wat i need to do is to change those panels size when main frame is resized> how can …

Member Avatar for JamesCherrill
0
199
Member Avatar for anand01

Hi all, I have created web application, I have converted as .war ,now i need to deploy it in apache-tomcat-7.0.16, Have pasted that war file in apache-tomcat-7.0.16\webapps but I cant acces that file ,its shows resource not available(404 error ) Could some one help me thanks in advance

Member Avatar for anand01
0
111
Member Avatar for vinay7868

i am working with php and trying something new that if user inputs "a" than all the records of name starting with "a" in employee table should be displayed... $letter=$_POST["letter"]; sql="select * from emp where emp_name='".$letter."'* " //is above query write and the wild character to be used is write …

Member Avatar for vinay7868
0
138
Member Avatar for harsha.netpem

Hello, When I run this query then i am getting **SELECT * FROM upload where cas_no=''104-55-2''** Why I get backslash in my query ? Otherwise query is ok. and URL value is exact value. www.abc.com/upload_reportt.php?cas_no='104-55-2'.... so what happen with my sql query? <?php session_start(); include(functions.php); ?> <body bgcolor="#F5F5DC"> <a href="logout.php"><h3 …

Member Avatar for simplypixie
0
148
Member Avatar for akuvidz

I need help on my update statement, the condition is , i have to update the status . the table name is leave_request , it contain leave_req_id, date_applied,emp_id,leave_type_id,leave_period_id,leave_status and the default for leave_status is 'Pending' the problem is, choose approve, and on the database should change the leave_status into 'Approve' …

Member Avatar for BitBlt
0
170
Member Avatar for Geowil

At the moment I have one question about vectors but I want to leave this open ended so if I obtain more questions I can come back here. So I was looking at different containers for a player inventory that can be dynamically changed on the fly due to events …

Member Avatar for Geowil
0
256

The End.