199,114 Archived Topics
Remove Filter ![]() | |
Visual Basic.Net: I have a DataGridView in Last Name sequence. Is it possible to when a user types the first letter of a last name that it displays all rows with last names that start with that letter. When he types the second letter, it displays all records whose last … | |
Design a schedule class for classes that a student takes during a semester? This is not a homework `class schedule: def classes(self, course, points, level,): self.course= course self.points = points self.level = level def get_course(self): return course.name` I am stock here | |
ok first off I know how to make a update page with usernames and user info no problem.. I know how to do stock with the stock=stock -%d as a interger but what I am having a hard time with is I have no clue how to say for example … | |
class airlineTicket: def __init__(self, start, destination, dateoftravel, firstClass,\ economy, business, price): self.start = start self.destination = destination self.dateoftravel = dateoftravel self.firstClass = firstClass self.economy = economy self.business = business self.price = price Design a class for an airline ticket. Some of the fields of an airline ticket are start, destination, … | |
m looking for a Javascript function or similar which will automatically load a different stylesheet randomly each time a page is visited. I have found several which work on user selection, or on browser size. My Javscript coding isn't up to adapting them sad If anyone knows of an example, … | |
So I am done with the code below, I will run it like this "python hw3.py < code.txt" I think I have a problem with the indentation or something. the code.txt has a mixed up text in it that is offset using a caesar cipher but it has to be … | |
HelloWorld Start(); *// every line of codes ends with A ";" *//\/\\ from ";" you can xmap your game to the best "YOU WIN" screen.jpg you can make be it of a T-shirt you maybe selling a compleated levalin a game, a holiday vacation, a Free beer token or even … | |
I am getting an error..Need help.. " Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\test2.php on line 24"; line 24 is --"header("Content-Type: application/xls");"-- <?php $DB_Server = "localhost"; //MySQL Server $DB_Username = "root"; //MySQL Username $DB_Password = ""; //MySQL Password $DB_DBName = "test"; //MySQL Database Name $DB_TBLName = "sample"; //MySQL Table … ![]() | |
Hi, I'm working on an assignment where I have to convert military time to standard time. I think I mostly have it solved except for when the minutes are between 0 and 10. For example, 909 should read 9:09 am, but it prints 9:9 am. I'm not sure how to … | |
Hi! I'm writing little software just to get some practice in c#. I have listview in form 1 where program displays first name and last name form access database. When admin selects name/surname in listvioew and press show usercard(form2) I have a label in form2 and I want it to … | |
anyone please guide me to create a exe program in visual C++ 2005. Thank you | |
Hello everyone. Please I am writing an system application for a company that must generate inquiry id and order id automatically. Whenever a customer makes a new inquiry or new order by clicking the add button, an automatic number should be displayed in the text box and when it's saved, … | |
i found this code for pacman i want some one to explain me how it works i am new to java game programming so my doubts might be silly for few of u i just understood the array part of creating the maze i have written all my doubts thank … | |
How to write in CSV file using PHP script? Actually I was also searching for that too. It is kind of easy task with PHP. fputs(handler, content) - this function works efficiently for me. First you need to open the file in which you need to write content using fopen($CSVFileName, … | |
import javax.swing.* ; import java.awt.event.*; import java.awt.*; import java.io.*; import java.util.Calendar; import java.util.*; import java.text.*; import java.util.Date; /* <applet code="gui.class" width=250 height=100> </applet> */ public class gui1 extends JApplet implements ActionListener { JTextField t1,t2,t3,t4,t5; JLabel l1,l2,l3,l4,l5,l6; JButton b1,b2; Calendar c1,c2,c3; JPanel p,p1,p2; Date sd,sd1; SimpleDateFormat sdf; public void init() { … | |
This program in C finds 2 Longest common subsequence of 2 given strings(say X and Y),entered without any space on the screen individually,altering X and Y strings.I compiled and executed this above program successfully in Dev Cpp compiler as a C file(not a c++ file). | |
I would like to see how the solution 3.16 looks after it's all done. I've tried to run my program, but it won't run. Can someone please forward what it should look like before I run the program. I must be missing something...? | |
Imports System Imports System.Data Imports MySql.Data.MySqlClient Imports System.IO Imports System.Diagnostics Module Module1 Dim myConnection As MySqlConnection Dim MySQLConnectionString As String Dim CommandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String) = My.Application.CommandLineArgs Dim FILE_NAME As String = Nothing Dim dir As String = "C:\Mytest\" Dim strDate As String = Nothing Dim serv_type As String = … | |
i have 5 form that with 4 form to enter input and the last form is to make a calculation and display the output.But the problem is,i cannot get the calculation and the output to be played because the last form does not attach the input that i have enter … | |
Here is the assignment (Part A). In this part you will write a function to generate random numbers in a specified range. Specicially we want you to write a function named generateRandom that generates a single random number in a range specified by the user. The function takes two integer … | |
import java.io.*; import java.util.*; public class Cleeve { /** * @param args */ public static void main(String[] args) throws IOException { File inFile = new File("Sport.txt"); Scanner inFile2 = new Scanner(inFile); File outFile = new File("Proffesional.txt"); PrintWriter outfile = new PrintWriter(outFile); File outFile2 = new File("AmaturElse.txt"); PrintWriter outfile2 = new … | |
can anyone please tell how to write a simple php code that will convert dollar, euro and yen to pounds. im using a form that will prompt customers to enter a amount they want to convert. thanks in advance | |
Help me to solve this problem Conversion from string "LastName" to type 'Double' is not valid. Private Sub ButtonAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click Try Call OpenConnection() With OleDa .UpdateCommand = New OleDb.OleDbCommand() .UpdateCommand.CommandText = "UPDATE [INVENTRY] SET [ItemCode] = @ItemCode , [ItemName] = @ItemName , … | |
SQL> DESC TOPPING; Name Null? Type ----------------------------------------- -------- ---------------------------- TOPPINGID NOT NULL NUMBER TOPPING VARCHAR2(10) TOPPINGTYPE VARCHAR2(5) TOPPINGCOST NUMBER(4,2) SQL> DESC PIZZATOPPING; Name Null? Type ----------------------------------------- -------- ---------------------------- PIZZAID NOT NULL NUMBER TOPPINGID NOT NULL NUMBER SQL> DESC PIZZA; Name Null? Type ----------------------------------------- -------- ---------------------------- PIZZAID NOT NULL NUMBER PIZZANAME … | |
1. Is a 32bit register 32 bits in size and a 64bit is 64bits? 2.What is decoding in a processor? 3.Are there real pcitures of processor registers? where? | |
Dear all, I have stuck with one problem. I have taken one Hashmap, Performing some input operation,remove operation on it. So after performing remove operation, i want value of 2 successive key in two different array. Also i want to match 1st key's value with all other keys' value. Like … | |
[QUOTE=;][/QUOTE] Please help me to build a list of examples of stack and queue in real life situation... Conditions: The object concerned must only one object. And the object must be tangible. Example: Queue (FIFO): The bullet in a machine gun..(you cannot fire 2 bullets at the same time) Stack … | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <?php include 'func.inc.php'; ?> <title>SEARCH</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <h2>SEARCH</h2> <form action="" method="post"> <p> <input type="text" name="keywords"/> <input type="submit" value="Search"/> </p> </form> <?php if (isset ($_POST['keywords'])){ $suffix =""; $keywords =mysql_real_escape_string(htmlspecialchars(trim($_POST['keywords']))); $keywords =$_POST['keywords']; $errors = array (); if (empty … ![]() | |
Pls let me know how to add a record in a database using a dataset. vidhya[COLOR="green"][/COLOR] | |
i want to make my project's look like windows 7 have..means glass interface, and buttons, all controls graphics like windows 7. i have searched alot, but i could not find...can u help me regrading this? | |
Using a c++ program, how can I open another program or file with a given url ?? Well actually I use dev c++ and I would like you to answer with a code or function which would work on that compiler.....If you think it can't be done with dev c++ … | |
Hello Community, I was wondering if there is a way to make a program that will send messages from one computer to the other. **NOT** using LAN connection and **NOT** using winsock. EG. I (at my house) would like to chat with my friend (his at his house). Please help. | |
Hello everyone, I am new to vb 6.0 and trying to build an inventory software. in the stock entry form I used a MSHFlexgrid, 10 text box and a add button. I want to various items in ten txtboxes and each time a click the add button it will be … | |
Hello all, I am currently working on our website, [url]www.northpointbaptist.com[/url], and we have recently updated it with a major overhaul of the site. My question is that I would like to know how to implement a live video stream into it on a seperate page (where the user just clicks … | |
I am looking to add a video section to a local community site. I am wanting to set it up very simlar to Youtube, but it would have a different purpose. The website would also have other password protected pages therefore the video section could not have a seperate log … | |
Hey everybody, Lately I have written the game Hangman in many different languages (C, JavaScript, Java and PHP so far). Here is the code snippet for JavaScript! It uses a words file, on the bottom of this post you will see a small example of a few words. The source … | |
#include <stdio.h> #include <stdlib.h> void main() { char x[10],y[10]; int i,j,k,flag=0; printf("enter the string: "); fgets(x,sizof(x),stdin); for(i=0;x[i]!='\0';i++) for(j=0,k=i;x[k]!='\0';j++,k--) { y[j]=x[k]; } if(x==y) { printf("the string is palindrome"); } else { printf("not palindrome"); } } | |
employee_list.jsp <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML> <HEAD><TITLE>Employee List</TITLE></HEAD> <BODY> <%@ page import="java.sql.*" %> <%@ page import="java.lang.ClassNotFoundException" %> <% Statement st = null; ResultSet rs = null; Connection conn = null; try { Class.forName("com.mysql.jdbc.Driver"); conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/"+"Hibernate MySQL","root","root"); st = conn.createStatement(); … | |
I am having kind of stupid problem:P <?php echo $url; // In my php files $url contain multiple values ?> This works fine The different values of url get displays properly For e.g http://www.google.com http://www.daniweb.com That's perfect Now when i tried to echo the variable in some html <?php $url … | |
I am doing a project in Visual C# and trying to insert data into MS Access database but whenever I press the insert button in the C# Windows From a message box appears and its written "Microsoft Access Database Engine". I have installed Microsoft Access Database engine but still the … | |
source.txt Name|Address Ram|USA Geeta|India I want to read this file into hash or map The coulum headers should be stored as keys, and when i call the key it should say me Ram and whn i call Address as key it should say USA Please let me know how can … | |
Hi there, Does anyone knows ho to create an appointment in outlook using VB.net ? thanks :rolleyes: | |
Hey folks, I am fairly new in the field of PHP. I have to prepare a module that will show the CPU utilization, current processes, memory utilization and disk quota of a remote system when asked on a PHP page. I am clueless about how to proceed in this matter. … | |
![]() | This is a goofy sentence generator I have made in python; it took about 5 minutes to get the code to work - but its working now so if your curious try it out! ![]() |
hi guys i need to develop an application and to do so i need to import in my project some web references.Does anybody has any idea how i can do that in eclipe(juno version) | |
Hey guys I manged to get some code what works fine but it uses console application I have tried to convert it by hand and change things around to get it to work but with no avail! Im certain it should be simple but I may be wrong :( Code … | |
[B][I]Statement:[/I][/B] write a program that creates a two dimensional array with 10 rows and 2 columns, The first column should be filled with 10 random numbers between 0 and 100. * The second column should contain the squared value of the element found in column 1. Using the Show( ) … | |
hi eveRyone, I just want to have your tips for my code.. [CODE] #include <stdio.h> main() { hexa = 16; printf("enter decimal number: "); scanf("%d",&deci); for (ctr = 1; ctr<=deci; ctr++) quotient = deci / hexa; printf("Equivalent in Hexadecimal is %d",quotient); getche(); }[/CODE] I want to print out the numbers … | |
kindly advise on how i can manage to send bulk sms where by, phone numbers are retrieved from my database. | |
Hello friends As I am a beginner of C# in .NET , I got stuck in this program This program is about displaying prime numbers between the range of o and the number you entered. Its running properly.But the output is not correct. Here is my coding [CODE]using System; using … |
The End.