199,114 Archived Topics
Remove Filter ![]() | |
Hi I have a datagirdview with a checkbox placed in header.How can i check or uncheck all checkboxes by clicking on checkbox that is in header. | |
I've been asked to make cosmetic changes to a website that was developed in Cold Fusion. Their original web designer has moved on to other things. Is it possible to make simple changes, such as CSS stylesheet adjustments, new logo, new graphics behind navigation links using standard html coding? Or … | |
Hello everyone, Actually, i'm working on a binary tree for building a dynamic orgnizational chart. I have a concrete idea about that. First, Create a binary tree. Then, display it with GD library. But it's the first time, i'm trying to do it. And i hope for your advice and … | |
I trying to write a program that uses a getline to read from a txt file. I need it to read from the file until it reaches a line that has "$$$" in it. I can get it to read in the file like this no problem. [CODE] //assuming all … | |
I know some people are against converting jars to exes, but I needed to in this case. The jar worked fine but my exe gives me the error below. The code is just, [CODE]package mail; import java.net.*; import java.io.*; public class Mail { public static void main(String[] args) { System.out.println(args.length); … | |
Hello to all, can anyone please explain to me the following: I know how to use the copy constructor, I know that it's used only in the initialization, when i wanna initialize a new object using an old object... But what I don't understand is how will I know when … | |
hi... i am new to this community, lately i was looking for some help in my code and this website came to my rescue in many topic. i am just implementing the menubar in swing, can somebody help me in my code. [code] import java.lang.*; import java.awt.*; import java.io.*; import … | |
i not sure what is the single quote means... the example like this : if (value=='a') Thank you 4 helping :) | |
I have to make an ERD diagram using this scenario case and I'm not sure if I have all the required tables/fields in my ERD. Is my entities normalized up to 3NF? Are the relationships correct? [CODE] Background The Brisbane Driving School was established in Brisbane in 1992. Since then, … | |
Hi everyone! I need a little help with while loops please. I tried to create a class within my CD class that repeats the input of the CD info and the output of the CDs value at maturity until the principle of 0 is entered. I think I did this … | |
hi, in my case i want to add a new menu item(actually a div tag) to my existing menu when an event or method calling occurs. i want to append a div tag dynamically to my existing menu with all css and effects. so if you guys have a better … | |
Hi there, Being a newbie to C#Net 2003, I am having problem trying to retrieve data from a specific clicked row on the DataGrid to display the data on the TextBox on the FORM. This is the structure of the DataGird:- Col0 = CustomerId Col1 = First Name Col2 = … | |
for the XsineX function I have to calculate xsinx for each value in x then store in result. I need to call on the sin function to do calculations. I tried but I know its completely wrong, any help please?? [icode] #include <iostream> #include <cmath> using namespace std; // uses … | |
Right now my code runs just the way I want it to. I would like the [CODE]Enter a sentence or phrase[/CODE] part to continue until the user enters "quit". I would like to use a while statement. Every way I have tried to enter phrase not equal to "quit" has … | |
Hello To All, I want to implement peer-to-peer video streaming in my WPF project. Plz help me by referring any web site or sample code which i can use in my project. Thanks in Advance With Best Regards Hardeep Singh Bhullar [email]er.hardeepbhullar@gmail.com[/email] | |
hi, i have been unable to solve a problem related to C (i'am a newbie girl). I've googled around and maybe I have a flat learning curve :-( the fact is that i need to write a program that reads from a .txt file and print the output to another … | |
This small program shows that how we can arrange strings by alphabet in a vector.By FlamingClaw | |
Hello I am not sure if my function below will completely delete a linked list. I am worried it will delete every element of the list except for the head(first node)? For example; If I have this linked list below [QUOTE] L -> 1 -> 2 -> 3 -> 4 … | |
hi, i have a mdi form named MDIParent2 in my application and it has many child forms. child form 1 named frmClient has 3 child forms now i want to call them in MDIParent2. can any one tell me how to i call sub child & sub - sub child … | |
Sorry for a duplicate post. The other post had gotten messy and since I was not allowed to delete it, I am starting a new post. Hi, here are the errors I am getting when i compile on cygwin. It is weird that the code compiles and runs perfectly on … | |
ran into a problem i know this is asking for me to calculate the product of a coulmn and row but im not sure where to begin. I know that rowData tells us the value in a row and nRows specifies the number of rowData and the same with nCols … | |
I want to test the code i wrote which is part of my assignment double sine(double x, double tolerance, int & limit) { int a = 1; double b = x; double z(0.0); do { b=(-z*x*x)/((2*a)*(2*a+1)); z=b; z+=1;} while(fabs(b-z)>tolerance); limit= a; return b; } im supposed to use a main() … | |
[CODE] /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package cs402; import java.util.*; public class Cain { static List values; /** * @param args the command line arguments */ private static String Board [][] = {{ " ", " … | |
Hi there, I have a unsolved problem here...my scripting do not go as I want, actually I want it to be solving the password in 10 seconds, but my scripting is run the timer and then only run the password solving.... anyone got any idea how to combine it?? [code]#!/bin/bash … | |
Hi, I'm having a little problem in my loop with the string array. I want to take a record for some student, but when I loop the function, the getline() did'nt work. It only work at the first loop, then it will skip it. My code is like this [CODE]#include … | |
Hello, is me again, im trying to improve my program with another function it should print as many senteces on one line in the output, as user will enter as the parameter in the command line sentenece is characterized with sign '.' if you have sentences wchich ends with '...' … | |
I would like ask for some advice please, I am trying to create a program in C# but have the following problem. I am currently trying to loop through a batch of XML files that are stored in a folder. However, I just don't want to loop through the XML … | |
Hi my friends , I was working on a web page and want to send users comment to the website owner .I use wamp server .... Here is the php code <?php $to='compnay@yahoo.com'; $from=$_POST['txtEmail']; $title=$_POST['txtTitle']; $body=$_POST['txtMsg']; if($_POST['form1'].submit)// to check wheter the form has been sent or not //echo 'thank you' … | |
I'm newish to c++ and even newer to ubuntu I tried linking and this is what I got: g++ -o calculator *.o -lcrypt -lm main.o: In function `main': main.cpp: (.text+0x1ea): undefined reference to `SAMSErrorHandling::Initialize()' main.cpp: (.text+0x2fa): undefined reference to `SAMSErrorHandling::HandleNotANumberError()' main.cpp: (.text+0x322): undefined reference to `SAMSPrompt::UserWantsToContinueYOrN(char const*)' collect2: ld returned … | |
hi each time i try to play a game my computer shut down why is that happening | |
So, i'm new to C# and not really sure how to do this. I need to create an options table where when the user loads it, it looks sort of like this [url]http://img11.imageshack.us/img11/9012/formf.jpg[/url] On the initial load, all of the data members are on top, loaded from an array. If … | |
I have gotten started on my while loop but I'm kinda stuck I dont know where to go from here :( My assignment is to write a program to read in 6 numbers from the keyboard and then indicate whether any of them were larger than 500 or smaller than … | |
I know this is probably a really easy question, but my teacher failed to mention how to do it, so here goes. I'm making a simple program that tells a user if a sequence of given numbers are even or odd. Here's what the program should look like: [CODE]Enter a … | |
Hey.. I wanna make a calculator .. which takes input as a string... example: Input : "1 + 2" Output: 3 "1+2" is passed as a parameter which is in the format of a string. The return value is 3 which an integer format. calculator needs only to perform +,*,-,/ … | |
Hi, here are the errors I am getting when i compile on cygwin. It is weird that the code compiles and runs perfectly on Visual Studio. $ g++ -o mainUnix.out mainUnix.cpp [code]mainUnix.cpp: In function `int main()': mainUnix.cpp:47: error: expected primary-expression before numeric constant mainUnix.cpp:47: error: expected `;' before numeric constant … | |
hey, had a question that I couldn't figure out. I'm writing a program for linux and I need to save things to a person's Desktop. Because of that, I need to know their username. I am aware of the linux commands whoami, id, etc, but they only print the current … | |
[CODE][B] DataTable dt; private void Permissions_Load(object sender, EventArgs e){ dt = new DataTable(); dt.Columns.Add("Feature", typeof(string)); dt.Columns.Add("None", typeof(bool)); dt.Columns.Add("ReadOnly", typeof(bool)); dt.Columns.Add("ReadWrite", typeof(bool)); datagridview1.Datasource=dt; } private void btnSave_Click(object sender, EventArgs e){ [COLOR="Red"]in the grid when i'll click on the any checkbox i want to pass parameter to this function [COLOR="Green"]SetPermission( , , … | |
I am trying to create an active TSR which prints an 'A' when the ESC key is pressed, it doesn't work. Can anyone tell me what's wrong? [code] bits 16 org 100h jmp init.tsr int1c: push ds push ax push cs pop ds call checkdos2 jc int1c_e cmp byte [hotkey_found], … | |
I made a program that finds the ROT 13, but theres a little thing thats messing it up for me. Its supposed to find the ROT 13 of each character but when i run it, it gives me some funky character in return [CODE]#include <stdio.h> #include <string.h> int rot13(int c) … | |
I'm reading this one book on c++ and am having difficulty making an executable. I'm a n00b at c++ and Ubuntu so I don't know what I'm doing wrong. I've compiled all my cpp files into object files and now I need to link it but when I try that … | |
a 'c' program to find the factorial series for n values............. | |
Hello, I've read the python doc (C-API) and was wondering about the two reasons to extend python with C. The first reason is to implement new build-in object types and the second one is to call C-Library functions and system calls. Ok, I think i got the second one but … | |
![]() | For part of my assignment, we are to write a function that overloads the * operator so that we can multiply 2 list<short int>. We are given the BigInt.h and part of BigInt.cpp (It'd be easier if we didn't have to use this format, I know, but we're supposed to … |
![]() | Hey All, I have some code here, the problem is in line 82-83: [code='python'] import smtplib import wx window=wx.App() class pymailer(wx.Frame): def __init__(self): wx.Frame.__init__(self,None,-1,"Py-mailer",size=(500,700)) try: self.s=smtplib.SMTP("smtp.gmail.com",587) self.s.starttls() except: wx.MessageBox("Error 001: Could not connect to the internet, please try again later.","Internet Connection Error") self.panel=wx.Panel(self,-1) menubar=wx.MenuBar() filem=wx.Menu() filem.Append(201,"Quit") self.Bind(wx.EVT_MENU,self.Quit,id=201) viewm=wx.Menu() viewm.Append(202,"About") self.Bind(wx.EVT_MENU,self.About,id=202) … |
Dear All, I'm a tutor in vba automation so i need some professional tips to teach the course curriculum. Please advise some tips so that i can better presentmy view to the student. Rgds, Aligahk06 | |
Hei..i am novice to programming. How to generate beautiful html pages from a text file. My idea is to generate XML first and then generate it to html. Generated html page should contain all the information that the text file contains..like tables,pics,body,headings. I dont have a clue what to do … | |
I want make a program that calculates the cartesian products of two sets. e.g.: This is how i would like the result to look like: >>> Enter two sets to calculate the cartesian product: set([7,9]), set([1,5]) set([(7,1),(9,1),(7,5),(9,5)]) [CODE]def main(): userinput = input('Enter two sets to calculate the cartesian product: ') … | |
I have an HTML form with checkboxes. Based on the checkboxes that are selected I'm trying to contentate a query string so the select checkboxes are inserted in an IN clause in my SQL statement. I'm recieving an error that is telling me something is wrong with my sql statement. … ![]() | |
hi all how are u? i have a problem and i need your help ..i have a code in java that connect to a mysql DB and update the rows of the table ...but i have a problem ...the new updated column called (original_text) contains the updated columnss from the … | |
I recently posted a very small program the uses pygame and the livewires package but was unable to get the program to run. I think the Title for that posting was Graphics Window or something close to that anyway. Since I can't resolve that problem, does anyone have any suggestions … |
The End.