199,114 Archived Topics
Remove Filter ![]() | |
i am using vb2010 express. can u pls tell me wat is the code for delete?bcoz when im doing delete my database is not updating after i exit.i can add item in database but i cant delete it.any help?thanx guys? hope u understand my problem. | |
i have a java client and c# server the server code is static Socket listeningSocket; static Socket socket; static Thread thrReadRequest; static int iPort = 4444; static int iConnectionQueue = 100; static void Main(string[] args) { Console.WriteLine(IPAddress.Parse(getLocalIPAddress()).ToString()); try { listeningSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); //listeningSocket.Bind(new IPEndPoint(0, iPort)); listeningSocket.Bind(new IPEndPoint(IPAddress.Parse(getLocalIPAddress()), … | |
#HTML Markup <table> <tr> <td><asp:Label runat="server" Text="Subject: " /></td> <td><asp:TextBox ID="txtSubject" runat="server" /> <asp:RequiredFieldValidator runat="server" ErrorMessage=" *" ControlToValidate="txtSubject" Font-Size="10pt" ForeColor="Red" /> </td> </tr> <tr></tr><tr></tr><tr></tr> <tr> <td><asp:Label runat="server" Text="Messages: " /></td> <td><asp:TextBox ID="txtMessage" runat="server" TextMode="MultiLine" Height="100px" Width="18em" /> <asp:RequiredFieldValidator runat="server" ErrorMessage=" *" ControlToValidate="txtMessage" Font-Size="10pt" ForeColor="Red" /> </td> </tr> <tr></tr><tr></tr><tr></tr> <tr> <td><asp:Button … | |
Can u tell me some of the best search algorithms using tree concepts, bcoz whenever i try to do so; i only get "Binary Search Tree"...pls help me with this! | |
There is a prison of health retarded patients in which each patient is allowed to move within the premises. Each of the patient wears a jacket which is embedded with a seven mobile devices wiz; accelerometer with positioning system to check the movement of the prisoner, heart rate calculator to … | |
![]() | 5 in decimal = 0101 in binary. Its 1's Complement is 1010. Adding 1 to it gives 2's Complement which is 1011. Now 1011 also represents 11 in decimal. How to differentiate +ve and -ve numbers in Binary ? |
hi frnds i need mysql commands for cgpa calculator and need database connectivity | |
create a program that gets the marks the user has for their classes this year. Tell them how many classes they are failing (despite what many o f you think a fail is 50%) Save as Name_Surname_Repetition_Problem1.py................i seriuosly need help with this program,python is giving me a hard tym | |
how do I make a class return as `Namespace(filter='b', list="['hi','by']")` class NameSpace(object): """Mock for argparse's NameSpace """ def __init__(self, lst=None, flter=None): super(NameSpace, self).__init__() self._filter = flter self._lst = lst Is it possible what I am thinking, i guess we have to do something using special method call ? | |
I get lots of error in my program like: Warning 1 WithEvents variable 'Close' conflicts with sub 'Close' in the base class 'Form' and should be declared 'Shadows'. C:\Documents and Settings\Alina\My Documents\Visual Studio 2008\Projects\WindowsApplication1\WindowsApplication1\Form1.Designer.vb 321 23 WindowsApplication1 Error 2 Expression is not a method. C:\Documents and Settings\Alina\My Documents\Visual Studio 2008\Projects\WindowsApplication1\WindowsApplication1\Form1.vb … | |
i want to disable controls like cut copy paste delete oprtions in openfiledialogue box in my project which is developed using c#.net....any plsss help me..... | |
Question: Well I have to input a number correctly with comma's and a decimal. My input would be 243,111.11 and the output would come out as 2,43,,111.11 Do I have to create additional for loops statements for each digits and check for comma's/decimal? I almost scrapped this code for attempting … | |
I'm working on a School's fee management module. The client's requirement is: 1. There are 6 types of fee to be paid: * Annual Fee * Tuition Fee * Exam Fee * Games Fee * Development Fee * Other Charges 2. Only tuition fee will be paid monthly and rest … | |
Hi, recently I have wanted to learn how to write Windows native binary code to make a binary script which in one form or another will display hello world. I am hoping to eventually create a more efficient compiler using this method but as you should understand already, this is … | |
Hi, i made this pagination system in the news list, but it's repeating the first data in every pages. So when i say i want 2 nes per page it's giving me 3 instead, because of it... if(isset($_GET['page'])){ require('config.php'); $page = $_GET["page"]; //Getting Page number $pages_query = mysql_query("SELECT COUNT(IdNoticia) FROM … | |
here is screenshot. http://i.stack.imgur.com/0LAQZ.png and here is code. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; using System.Data.SqlTypes; using System.IO; using System.Drawing.Imaging; namespace SampleApplication { public partial class AddNewUser : Form { public AddNewUser() { InitializeComponent(); } // set the … | |
i need to improve my skills in java, because i really like software development and web development, but i dont think my skills is in the average level, so if anyone can give me some, advice or maybe some lectures? it would be very helpful THANKS IN ADVANCE :) | |
I have this small project to mine that I am using to learn web development but I've been stuck at a certain point now with AJAX for 3 days now. I have this ajax code that is supposed to submit to a PHP file. function submitArticle() { xhr = new … | |
The file is being copied the problem is all the file is getting copied like its going through the whole loop again <?php function copyfile($src,$dest){ copy($src,$dest); } ?> <!DOCTYPE html> <html> <head> <title>Menu</title> <link rel="stylesheet" type="text/css" href="menu.css"> </head> <body background="D:\Web\images\goo.jpg"> <div class="header"> <div id="logo"> <img src="D:\Web\images\the-library-white.png"> </div> </div> <div class="items"> … | |
Hi to everyone.Can somebody help to : Write a program to display all the hour and minute values in a 24-hour clock from 00:00 to 23:59. | |
Here is the website for the assignment I am working on: http://view.samurajdata.se/rsc/5c1dd0b4/ Here is the website for my header file (MixedExpression.h): http://ideone.com/oJ6mI8 Here is the website for my library source file (MixedExpression.cpp): http://ideone.com/RSrshS Here is the website for my calculator client file (Calculator.cpp): http://ideone.com/U5F2O8 My question: I got the code … | |
You can teach your linux system that executable python files must be executed with /usr/bin/python. This allows you to write python scripts without the shebang line [icode]#!/usr/bin/env python[/icode]. This snippet shows you how to do it ! | |
in my project i'm using user input form. that form contains serial no, reference no, name, email, phone, address, etc.., in that user input form serial number textfield is readonly option. user can't able edit the serial number. in that textfield i want to show the next auto_increment id from … ![]() | |
![]() | Hello, All. I'm a beginner with Java writing and would greatly appreciate a hand with the problem below: A student has decided to fly his remote controlled airplane. The airplane has about 12 minutes of flight without any extra weight. For every 1/2 of a pound added, the lifetime of … |
I'm trying to write a program that prints out all prime numbers from 1 to 300. It isn't working the way I want it to. Right now it appears to have caused an infinite loop. Here is my code. [CODE]#include<iostream> #include<iomanip> using namespace std; int main(){ for(int i=0; i<=300; i++){ … | |
I am writing a program that outputs whether or not a number is prime. Can anyone help me find where my syntax error is? Also, i get that i = 3; i <= num; i++ would be true for it being a prime number from the other forums I have … | |
[code]#include <iostream> using namespace std; long int math; long int check; long int divider = 1; long int inputnum; void dividerp(); void counter(); void inputp(); void dividerp(){ math = inputnum/divider; if (math == 1 or inputnum == 2 or inputnum == 1){ cout<<"You do have a prime number there!"<<endl; system("PAUSE"); … | |
I'm in serious need of help with a C++ based prime number generator. I have the program to create and run the code, but i dont have the knowledge to develop the code and I'm looking for one of you guys to build the code for me. I need a … | |
I have 5 image files that I wish to incorporate or embedd inside a program. I am using netbeans and I have created a directory in the files table just under the database directory (I have embedded databases) with the 5 files inside them. For good measure, I have also … | |
import java.awt.*; import javax.swing.*; import javax.swing.JComboBox; class grid extends JFrame { String[] Sex = {"Male", "Female"}; String[] Day = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31"}; … | |
Hi , i am working on a web project , and there is a page where i have to display news. i am using repeater control , and it is working fine , but i want to add a "read more" link on long posts , i searched a lot … | |
Remember High-school maths ? there was this greek letter Sigma ( if i remember correctly ) , followed by an algebraic function like `f(n)` , where `n = a to b` would be short-formed as `a` below the `sigma` , and `b` sitting on top of it. I want to … | |
Q1: Trace the partial of program below: 1. int v = 8, *r, *s; 2. int *p; 3. int q = 100; 4. p = &q; 5. r = p; 6. *p = 20; 7. p = new int; 8. *r = 30; 9. q = v; 10. s = … | |
class Jcart { public $config = array(); private $items = array(); private $names = array(); private $prices = array(); private $qtys = array(); private $urls = array(); private $subtotal = 0; private $itemCount = 0; can any body please explain what the meaning of above code. in the first line … | |
hi anybody can tell How can session store in mssql database? How to do SQLServer Session Mode start? Pls help me Maideen | |
I have a javascript table that displays contents from an XML file(that stores letter details), I have at each row a view button which I would like the user to be able to click and it will display the letter details for them. Is this possible? The javascript I have … | |
How to connect a web page with social media like facebook, twitter, LinkedIn etc.? | |
Hello! Sorry for the bad article title, was not sure what to name it since I couldn't figure out anything good to name it, that would be near my request. Let me begin.. I code with Visual Studio 2010 with C# Windows Form Application. I code everything in combobox1 and … | |
I have created a slide show to load images, it should start the slide show after loading the images completely in the cache of the browser. The problem, the images are not loaded completely. When the slide show starts, I notice delay in viewing images. I would greatly appreciate your … | |
Downloaded and installed latest RE2. When building simple test code with Xcode 5, build fails. #include <iostream> #include <string> #include <re2/re2.h> using namespace std; int main(int argc, const char * argv[]) { unsigned long ulValue = 0L; string sMultiple; string sMatch = "^(\\d+)([KkMm])"; string sData = "2M"; if (RE2::FullMatch(sData, sMatch, … | |
see these class: class test { public: void virtual Created(){} void test() { Created(); } }; class test1 : public test { void Created(); void test1(): test { Created(); } } test1; void test1::Created() { cout << "created test1"; } (these code wasn't tested, but you get the point) can … | |
i want to know what should i do first , or the main points that i should start with pleaes help me :( Project: General Distribution Center This project aims to develop a C++ program that support a General Distribution Center using object oriented concept. The General Distribution Center has … | |
Should I loop through tiles and delete each one? Or is there a better way? if(tiles->at(i) != NULL) delete tiles->at(i); std::vector<Tile*> tiles; //TODO: need to fix this to match sprite sheet tiles size for (int y = 0; y < 10; y++) { for (int x = 0; x < … | |
Hi I have a web application that stores detail about letters in an XML file such as recipient, sender, title etc. On my HTML page for creating a letter I have given an option to include a URL which is then saved to the url element in the XML file. … | |
i need help with a complete source code for c++ program for newton raphson method .the program should have these attributes;one double data member,class,and also have a constructor to initialize the data member as it cannot be negative. The function should return the square root of the data member. The … | |
Good afternoon, Can someone help to to understand how to write a student's name and final grade to a sequential file. I am doing this in Visual Basics. I see the syntax for write and read, but is not understanding how to use it in coding. | |
Hi guys I'm new to php. I've been given a task to write a code in php that would allow the user to input his initials and the program should out his/her initials as a star pattern. E.g if your initials T.T,it should be as follows... ***** ***** * * … ![]() | |
Hi , Kindly help me to display tempnum when ahref is clicked. Looks like code marked as Italic requires needs to be updated?? <html> <head> <script type="text/javascript" src="jquery-2.0.3.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".mylinktempnum").click(function(){ *alert($(this).attr('this.tempnum'));* }); }); </script > </head> <body> </body> </html> <?php <a class=\"mylinktempnum\" href=\"home.php?tempnum=$num\"></a> ?> | |
I am doing an assignment for university, so I can't exactly post the code. So I will have to explain the best I can. I have to draw 3 stars in a row, 5 points, 6 points, 7 points. We have to do it using a for loop and the … | |
Hi guys I'm having major issues with this assignment of mine and I cant even figure out where to get started. Any help would be greatly appriciated. I must write a program that outputs that plays the game Hi Lo with a user until they decide to quit. The program … |
The End.