199,114 Archived Topics
Remove Filter ![]() | |
Hi all, I want to know is it possible if I want to create a JavaScript function that when user choose menu to print a web page from the browser (not from a print button that is created) and at the same time get that print date and update to … | |
Hey guys i want to pick up a string from cmd . I am using C language and IDE as codeblocks. Basically i want to firstly ping an ip address and this i will be doing by simply writing "system("ping <ip address>")" . Then on console i will get the … | |
reason behind gaining popularity of c++ over other programming languages | |
Hi, I want to copy records of a table say employee into the same table. For Example Table Employee contains 5 records. So i want to insert the same 5 records again into the same table Employee 20 times. I have tried the following Query (which is inserting records in … | |
Hi, I'm using a serial port (module (B)) which has a default vDataReceivedEventHandler. This handler is connected through a 'callback' delegate to the calling module (A) which module (A) instanciates the serial port module (B). If I create a byte array in module (A) then the delegate passing data from … | |
class Frame(Widget): def __init__(self, master=None, cnf={}, **kw): what is the meaning of **kw in this function, and what does it represent? | |
What is the difference between displayClassA and DisplayClassb? When creating classes should i put them outside of the Stuff Class or insisde? What's the difference? using System; using System.Collections.Generic; namespace Empty { public class DisplayClassA { public DisplayClassA(){Console.WriteLine("This Class is outside of STUFF");} } public class Stuff { public class … | |
Hello everyone, I am very new in ASP.NET as a matter of fact I have not once programmed in asp.net before. However there is a small web UI application I want to develop; asp.net is the best solution. Here is what I want to accomplish: * Have a login page … | |
I am 42 year old male returning to college fall 2013 to get an AS degree. Previous work experience I have is electronic / computer bench technician. I am going to major in 1. c# application development - to be a programmer 2. Network Administration - network administrations or 3. … | |
hello, before people start saying what have i tried, i have not got a clue where to start if i'm honest with you and was wondering if someone could point me in the right direction. i need to create an application which stores information about people(age,name etc),should also be able … | |
Here is my question: How difficult will it be for a 41 year old, former CPA but recently graduated Computer Science major, to find a good programming job? I read another article on this forum that was somewhat related (e.g., CPAtoCompSci), but it did not directly answer the question about … | |
NO ONE SHOULD COPY THIS PROGRAM, ITS PLAGIASISM AND IF COUNT WILL RESULT IN AN AUTOMATIC ZERO FOR YOU AND I, so dont be stupid. #include <iostream> #include <string> #include <fstream> #include <stdio.h> #include <stdlib.h> using namespace std; void occurrence (char[], int[]); void initialize (char []); void sorts( char[], int[]); … | |
Last Day I have installed wamp server 2.2 and I was using wamp server 2.0c till then. I have a strange problem, when i start wampserver and try to load pages on browser it shows the error > Deprecated: Function ereg() is deprecated http://tinypic.com/r/206g8is/6 Please help me , thanks in … | |
I am trying to allow users to give their own combination of keys to trigger an event. For example, the user will be allowed to give a combination of keys in a textbox. And once the combination of keys are pressed some event should occur(close form2 or something like that). … | |
I am trying to validate two text boxes in VB 10 Express. The first validation (parts) is working as desired, and the form will not proceed to the next step until zero or a positve number is entered. The second validation (labor) is not working as I would like. If … | |
Hello, I tried to use the textbox validation snippet available here - http://www.daniweb.com/software-development/vbnet/code/414248/textbox-validation# and Im getting this error. Please help :\ [IMG]http://i45.tinypic.com/9zxbvt.png[/IMG] Thank You | |
Hi to all, As a newbie, I am not able to have the following columns into a datagrid. (see database diagram attached) (I don't want to select ID columns because users may not be able to identify the students). I don't master JOINS . Infact I want to select all … | |
I was wondering if there were any good books or tutorials on how to use controls in ASP.net or Windows controls. (such as WinForm combobox, ASP dropdownbox, gridview, etc.) I remember in VB6.0 having a book that went over how to use many of the basic controls. But i don't … | |
Hello. I am curious if it is possible to create functions dynamically in such a way, that (1) the names of the functions to be retrieved from an array and (2) these names could be used also inside the functions. I have a code that is solving the first problem, … | |
How to Insert, Delete and Update Data in a Datagridview using MySql as the database? There is a textboxes and button that adds data in the database and i want it to be refresh the datagridview. Can someone give me the code? thanks!.. | |
Hi Everyone, I've been working on creating this code for a project I've been working on but I can't seem to get it to work. I'm creating a service class that I can then pass to a client class that will read a list of cities that ends in a … | |
Hi guys, ive got a datagridview populated, in a column of names, in a textbox i want to write a name, and on btn click i want to check the DGV for that name, can someone point me in the right direction please what i have so far, but i … | |
I have a data set like this data=[{u'a': u'D', u'b': 100.0, u'c': 201L, u'd': datetime.datetime(2007, 12, 29, 0, 0), u'e': datetime.datetime(2008, 1, 1, 6, 27, 41)},{u'a': u'W', u'b': 100.0, u'c': 201L, u'd': datetime.datetime(2007, 12, 29, 0, 0), u'e': datetime.datetime(2008, 2, 4, 6, 27, 41)},{u'a': u'W', u'b': 100.0, u'c': 202L, u'd': … | |
Hi all, I have some data in the file, which I want to store in the following format : 23 345 9.8 25 457 9.0 11 237 8.3 86 32 2.3 and so on..... I want to store this data in in some data structure, and later I want to … | |
HI, I buy a SNMP board for my project and i got some problem to understand SNMP code with VB, Can somenone help me?, i got this code under another project, and i want to use it in my project but, when i copy and paste it in my project, … | |
Hey everyone, I want to add action listeners to JButtons that were created dynamically by an ArrayList. Here is the code for the button creation. numOfCourse = 6; courseBtnArray.add(new JButton("Course 1")); gbc.gridx = 2; for (int i = 0; i < numOfCourses; i++) { gbc.gridy++; add(courseBtnArray.get(i), gbc); courseBtnArray.add(new JButton("Course " … | |
Hi, i am new to javascript i have requirement where <div> name:<input type="text" name="name"/> age:<input type="text" name="age"/> <input type="button" value="add"/> </div> when i click on add button it should add one set that is both name and age textbox, one add click 2 textboxes name and age with label. like … | |
SELECT getdatabaseencoding(), current_setting('client_encoding'), current_setting('lc_ctype'), current_setting('lc_collate'), version(); returns UTF8 UNICODE C C PostgreSQL 9.1.7 on x86_64-unknown-linux-gnu, compiled by gcc-4.5.real (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2, 64-bit select lower('ČĘĖĮ') returns ČĘĖĮ Actually what I want is to seach surnames with ILIKE which is not working for those chars. WHy this can be? | |
i tried this, [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; namespace WindowsFormsApplication1 { public partial class Form1 : Form { int carX = 178; int carY = 161; public Form1() { InitializeComponent(); this.KeyDown += new KeyEventHandler(Form1_KeyDown); this.KeyUp += new KeyEventHandler(Form1_KeyUp); … | |
Hi all, I have an application with a ListView of remote files. I'm trying to implement a drag-drop of these files between my application and e.g. windows explorer. I have an object implementing IDataObject used for the DragDrop operation and the files are passed in a string[]. The problem is … | |
Group, I'm working with a ListView box for the first time. I've figured out how to populate it with data from a database. I now want to click one line of that ListView and have it return each of the five cells from that line into 5 textboxes. I've written … | |
Hi all. Using VB6: I have an application in which I am programmatically populating a datagrid. When I first drop the datagrid on my form, it has 2 columns by default. I can add further columns to them but I wanted to know if there was a tidy way of … | |
Hi group, I've been playing with a ListView and I'm struggling to get it to populated with info in a database. I'm hoping you may see something in my code that is creating the error. Dim con As New SqlConnection Dim cmd As New SqlCommand Dim rdr As SqlDataReader = … | |
Group, I'm declaring a variable in one form that I need to make available in a second form. My code in Form1 looks like this: Public Sub FuncKeysModule(ByVal value As Keys) Select Case value Case Keys.F5 Dim searchtype As Integer If txbPartNo.Focused = True Then Popup_PartNumbers.Label1.Text = "Enter the beginning … | |
Hey folks. I'm hoping I can get some help here. I have to make this program to play the game paper, rock scissors. I am having a few issues with the program. 1.) I dont think i am using the rand() correctly 2.) After entering your choice for Paper Rock … | |
| |
Write a program that performs the least mean squares optimization. Given a large collection of data of the form (x0 x1 x2 x3 d), your task is to determine w0 w1 w2 w3. The LMS technique finds these weights by starting with some assumed weights, such asw0=w1=w2=w3=0, and finding the … | |
I have a calendar built for course scheduling and I'm trying to have it auto book a google resoure calendar by sending an email using phpmailer with an ics attachment ics file BEGIN:VCALENDAR PRODID:-//company// Course Scheduler//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:PUBLISH BEGIN:VEVENT DTSTART:20130411T170000 DTEND:20130411T173000 DTSTAMP:20130410T110314Z ORGANIZER;CN=my@Email.com:MAILTO:my@Email.com UID:unique_id@email.com ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=Test;X-NUM-GUESTS=0:MAILTO:myresource@group.calendar.google.com CREATED:20130410T110314Z DESCRIPTION: test LAST-MODIFIED:20130410T110314Z … ![]() | |
#ifndef TINYVEC_HPP #define TINYVEC_HPP #include <iostream> #include<iomanip> using namespace std; template<typename T_numtype, int N_length> class TinyVector { protected: T_numtype data[N_length]; public: ////////////////////////////////////////////////////// // Constructor ////////////////////////////////////////////// TinyVector() { } ~TinyVector() { } TinyVector(const TinyVector<T_numtype,N_length>& x); TinyVector(const T_numtype & initValue); TinyVector(const T_numtype x[]); TinyVector(const T_numtype & x0, const T_numtype & x1); TinyVector(const … | |
I have a website that has 2 jquery sliders. This webisite works perfectly fine with both of them. I then created another site with the same exact code for 2 jquery sliders and this site will only run one slider and I can't find the problem! This is the html … | |
Guys please, i really need your help real urgently. I've search the web times without number but couldnt get anything tangible. I have a php loop like this . 'While($row=mysql_fetch_array($dbquery)){$username=$row['username']; print("<input type='submit' value='$username'>");}' now i have a jquery code to select each value contained in the hidden input 'var x=$("input").attr('value');' … | |
I would like to know what is the difference between dot notation and using square bracket. | |
Hi I got some trouble with my program and I need help. this is the code: public void actionPerformed(ActionEvent arg0) { Object source = arg0.getSource(); if (source == Button1) { System.out.println("Player has choosen the button: " + "button1"); String EP = JOptionPane.showInputDialog("Please enter your file location"); String Path = EP; … | |
This is not what I would consider a critical question but it has been bugging me a little. If I have a number of mysql queries that I drop directly into an array because there is only a single result. Doing so uses a line of code such as this … | |
I was wondering, why are there so many programming languages out there? I mean, I've learned a bit of Visual Basic, a bit of C++ and a bit of Java (which I didn't like) and I was wondering, why others keep making more langauges. I can see Java having to … | |
I'm still a bit of a newbie and have what is probably a minor issue, but for some reason I can't wrap my mind around it. I have a program that does a whole bunch of stuff to text from an input file. The input looks like this: MArch 9, … | |
If any one can help me please to answer this questions please: 1. What is the difference between this.dollars and otherMoney.getDollars() 2.- What the return statement of this method is returning. 3.- How this method would be called from the main and give an example Thank you in advanced. // … | |
So I am working on a problem and have a bit of an issue that I can't seem to figure out and would like some guidance. I have string input coming into my program via fstream. Its a bunch of sentences where I have to cout it in such a … | |
# Login form coding # I have created a login page using Visual Studio 2008. I have the full coding but don't know where to place it. I have a addnew user link where I must add information about password and user name and check this information in the database. | |
If there is a String Buffer, and a String Builder based on array technology, why then is there no equivalent mutable data type based on a Linked List? Or is there? |
The End.