199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for QuickBooksDev

In VB.NET 2005 what is the best way to get control when someone checks or unchecks a checkbox cell in a datagridview. I am getting conflicting results and it seems that either the current cell is the previous cell or the value is always false. I just want a way …

Member Avatar for TomW
0
943
Member Avatar for vileoxidation

Hello, and thank you for taking the time to help me with this! I am working on a program that keeps information about staff members, such as volunteers and employees. The problem I am having is that when I run the program (everything compiles fine), I enter a members, and …

Member Avatar for triumphost
0
164
Member Avatar for low1988

i am creating a bank application with connection of MS ACCESS Database which is already construct a table with the following statement [CODE] Statement stmt = con.createStatement(); stmt.executeUpdate("CREATE TABLE ACCOUNT " + "(AccName VARCHAR(32), AccNum INTEGER, Deposit FLOAT, " + "Balance FLOAT, Withdraw FLOAT)"); [/CODE] So everything works fine ,the …

Member Avatar for javaAddict
0
128
Member Avatar for nadnakinam

[CODE] <?php //CONNECTION TO DATABASE! $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="accounts"; // Database name $tbl_name="login"; // Table name $tbl1_name="details"; // Table1 name $con=mysql_connect("$host","$username","$password"); mysql_select_db("$db_name",$con); $show_all=$_POST['rg01']; // Show All //echo $show_all; if($show_all!="") { $sql="SELECT * FROM $tbl1_name WHERE sex='$show_all'"; $result=mysql_query($sql); } else { echo …

Member Avatar for cwarn23
0
135
Member Avatar for mostafadotnet

This is somewhat a simple project I wrote by getting help from google groups I always recommend. assemble this code using this command: [QUOTE]nasm -o 1.com 1.asm[/QUOTE]

Member Avatar for wildgoose
0
456
Member Avatar for kulrik

Im having trouble with this problem: The Maclaurin series for arctan(x) is a formula which allows us to compute an approximation to arctan(x) as a polynomial in x. The formula is: arctan(x) = x - x3/3 + x5/5 - x7/7 + x9/9 - x11/11 + . . . Write a …

Member Avatar for javaAddict
0
313
Member Avatar for abu taher

[CODE]Sub QryReport() On Error Resume Next Dim QryDef As QueryDef Dim str As String Set QryDef = dbase.QueryDefs("balancesheet") dbase.QueryDefs.Refresh If Err.Number = 3265 Then Set QryDef = dbase.CreateQueryDef("balancesheet") dbase.QueryDefs.Refresh End If str = "select * from [balancesheet]" & _ " where Date ='" & Dtpicker.Value & "'" QryDef.SQL = str …

Member Avatar for abu taher
0
146
Member Avatar for genDisarray

Having decided to brush up on my programming, I wanted to try and make a Yahtzee game, only console based. It is object-oriented for the most part. My trouble is with generating different numbers for each die. I will post my Dice class to help show what I am doing: …

Member Avatar for vmanes
0
832
Member Avatar for Fragmad

Hi. (If you don't feel like explaining, please tell me what I need to read up on. Derived classes? Polymorphism?). I have got this assignment from school, in which we are handed a main.cpp file and we are supposed to write the class for it. But there's a few thing …

Member Avatar for vmanes
0
116
Member Avatar for gpss

Hello! I need help.. please.. i'm new at php... but i need to make this: i have a database (postgreSQL) on a server... now on my webpage, i want to insert (manually-in my webpage) like with a text box, i insert there the client name (and other box's for the …

Member Avatar for gpss
0
141
Member Avatar for Nattynooster

Hi, I am trying to get my form to validate user input. If it is ready to complete an operation (Valid input) it affects a read-only text box with "Ready" if not "Not Ready" the values that are accepted are 1-9999, it needs to check multiple boxes aswel (The code …

Member Avatar for TomW
0
133
Member Avatar for infinities

What's the simplest way of being able to build Qt Applications using C++? notepad? specific IDE? HOW do I do it? Can someone PLEASE walk me through it. I found instructions online for integrating MS Visual C++ with Qt. I ended up taking 5-6 hours out of my time to …

Member Avatar for jbennet
0
205
Member Avatar for mel01

Hello, We have a number of small access 2003 databases. We will be upgrading to access 2007 and there will be a period when some of us are 2003 and the remainder 2007. Is it going to be possible to use access under both 2003 and 2007 simultaneously? Thanks in …

Member Avatar for jbennet
0
125
Member Avatar for ShadowZ00

So I have spent a few days now stuck on this problem. I have a file, at the offset &hd026 there is a name. This name can be any amount of characters long, this part is easy, already have something to do this and saves it into a textbox. Now …

Member Avatar for ShadowZ00
0
88
Member Avatar for EDDYGATE

The c# code below can be used to capture the screen . Combined with the filesystemwatcher class ,this code can be used to monitor user activities on a computer.You can also add a timer to this method to capture the screen at regular intervals or you can use a simple …

Member Avatar for stephenca130
0
186
Member Avatar for shakilaf

Hi, I have a internet connection at home. I have installed Python2.6.1 on my laptop in C:\Python26 directory. I have written a script named "TestUtil_SendMail.py" and my intension is to send a mail to the given mail id. But when am running the script I am getting an error: "[Errno …

Member Avatar for Dan08
0
2K
Member Avatar for EntangledDesi

If I have a form that is to resemble a standard dialog box that prompts for a name and I need to display the name on the main form when the main form is first run, how do I do that?

Member Avatar for EntangledDesi
0
96
Member Avatar for TigerGirl

Hi I have a method that has a reference to a linked list and an int that is the value. I want to recursively call that value to count and return how often that value is in the linked list. So, here is what I got: [CODE]public static int find(LinkedNode …

Member Avatar for TigerGirl
0
107
Member Avatar for lexusdominus

id like to write a function that checks if an object's variables have been changed. the only way i can think of is to create a duplicate object and compare each variable. im really lazy, and this seems like alot of effort. can anybody help me think outside the box? …

Member Avatar for mrnutty
0
103
Member Avatar for 123468743867143

Need instruction. Please. [B][COLOR="red"]Situation:[/COLOR][/B] Most of my site pages start with the following: [COLOR="Green"]<? include("include/common.inc.php"); top(); left(); middle(); bottom(); function middle(){ ?>[/COLOR] My include/common.inc has the head, title, meta tags which means they look the same on EVERY single page of my site (hundreds of pages!). Not good for SEO. …

Member Avatar for Eng.h
0
456
Member Avatar for oneat

I'm using netbeans graphic intarface to create my own JPanel. But I have a problem. When I change panel's layout in grid one I can only place cells on left and right side only of others. So instead of 2x2 I can only make 4x1. Do you know what shoyd …

Member Avatar for BestJewSinceJC
0
122
Member Avatar for khaos64

I've done a bit of searching but didn't come up with anything. Is there a way to use multiple placeholders and then use a list with as it assignment. i.e. [CODE] l = [1,2,3] l2 =['blah',50] print('%i isnt %i isnt %i which isnt %i' %(l[:],l2[1]))[/CODE] So if the first list …

Member Avatar for khaos64
0
118
Member Avatar for triumphost

Yes I know its a long code and it will get longer but there is a compiler error in the [COLOR="Green"]int main ()[/COLOR] First Visual C++ 2008 Express edition error [QUOTE] ------ Build started: Project: MAC ADDRESS, Configuration: Debug Win32 ------ Compiling... MAC ADDRESS.cpp warning C4603: '_WIN32_WINNT' : macro is …

Member Avatar for triumphost
0
771
Member Avatar for ardent23

I am creating a simple program, I really need the code for this..here is my situation.. For example if I input a student no. in a textbox to perform search option then click the search button, I want to see the info of the said student to appear from the …

Member Avatar for TomW
0
172
Member Avatar for sravan953

Hey guys, I was just making a tiny program, where I need the user to enter numbers. My question is, how do get numbers? I tried: [code='python'] self.panel=wx.Panel(None,-1) self.n=wx.TextCtrl(self.panel,-1,"Number") self.get=int(self.n.GetValue()) [/code] -but that didn't work... so how do I do it?

Member Avatar for snippsat
0
683
Member Avatar for iamsmooth

So I have an interface program called: IstackInterface.java, which contains method declarations and it compiles fine. I put it in a package we call package abc. Now I have another java program called IArrayStack.java that says: [code] public class IArrayStack implements IStackInterface { // code goes here } [/code] But …

Member Avatar for BestJewSinceJC
0
149
Member Avatar for cjsnfernando

I want to select da MSCommunication control component in toolbox. can any one pls tell wat shall i do??????????? respond immediately!!!!!!!!!!!!!!!!!!!!

Member Avatar for satheeshkumars
0
57
Member Avatar for C++NOOOB

Hi, I have class which has two bool vectors: [CODE] typedef vector<bool> my_bool_vector; class MyClass{ private: my_bool_vector bvec; my_bool_vector another_bvec; public: explicit MyClass(unsigned int size) : bvec(size, false), another_bvec(size, false) { } }; MyClass MyObject (10); [/CODE] I want to be able to access bvec and another_bvec in the following …

Member Avatar for Dave Sinkula
0
157
Member Avatar for gotnoname

Hi. I initially started up a thread at the Game Dev. section of the forums but it seems rather dead so I thought I'd try my luck here. I am making a top-down 2D shooter in D3D. So what I want to do is have my character rotate towards my …

Member Avatar for gotnoname
0
161
Member Avatar for siddhesh123

Hi everyone, I am facing problems in updating controls using another thread created by another class (not Form1). I am able to update controls of main form by another thread if that thread was created by Form1 or main form, but when it is created by other class, i am …

Member Avatar for sknake
0
9K
Member Avatar for sxk

Hi can you please help me with the following code program as I am new to java. [B][U]Step1: define the interface named Ashape[/U][/B] write an interface called Ashape that defines: double DEFAULT_SIZE equal to 1.0 [by default it is constant] method calcPerim() that returns a double equal to the perimeter …

Member Avatar for javaAddict
0
120
Member Avatar for Mcdermid

I was hoping someone could give me the code to read and then to system print out the words in the text file. The textfile contains: One, Two, Three, I'm new to IO readers so this would help alot as I'm having trouble reprinting the information out.

Member Avatar for Jocamps
0
84
Member Avatar for pmennen

Sorry if this isn't the right place for this type of question (I'm pretty new to Python). If there is a better venue for this kind of thing, please let me know: I tried to run a few PyQwt demo, but it complained that there was no module named PyQt4. …

Member Avatar for vegaseat
0
2K
Member Avatar for th3learner

Can anyone tell whats wrong in below code? I m learning c++ ..so maybe this ll be very easy solution for you guys[code]Hello i m learning c++ ..so maybe this ll be very easy solution for you guys #include<iostream.> #include<conio.h> void main() { int a,b,c; clrscr(); cout<<"Enter Your 1st Value"; …

Member Avatar for th3learner
0
149
Member Avatar for alkeshtech

Hey guys, what are advantages of external and internal iterators? I understand that internal allows you to add and remove nodes as it has implicit reference to data in the outer class? So, why would we need an external iterator? What are pros and cons of both?

Member Avatar for JamesCherrill
0
124
Member Avatar for mem81

Hello, I have an access table where I have to import a csv file. I have a very simple code in the Click _ Event Sub. However it seems the code is ok, file gets imported but I get a separate table with errors in import. In that table two …

Member Avatar for boblarson
0
139
Member Avatar for ekonagu

helo i am developing an vb.net access application.i am frustrated with this access that i am getting error while updating records. Data Type Mismatch In criteria expression here is the code , if i run the sql statement its works fine .but thru vb.net its giving error.i am not understadning …

Member Avatar for TomW
0
525
Member Avatar for bliya123

#include <stdio.h> #include <math.h> #define PI 3.141593 // prototype of function to find the great circle distance between two points double gc_dist(double, double, double, double); int main(void) { double lat1, long1, lat2, long2; printf("Enter latitude north and longitude west "); printf("for location 1 : "); scanf("%lf %lf", &lat1, &long1); printf("Enter …

Member Avatar for VernonDozier
0
212
Member Avatar for dre-logics

I have Visual basic 8.0 and use Statusstrip . whenever I change the [COLOR="Red"]height to 50 [/COLOR]will change automatically changed back to default. What am I doing wrong I go to properties of Statustrip1 Size Width = 616 Height = 22 I change to Size Width = 616 [COLOR="Red"]Height = …

Member Avatar for TomW
0
442
Member Avatar for genieuk

Hi, Can someone tell me if i can use the below query. When i click submit button SQL says: [QUOTE]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE username = 'genieuk'' at line …

Member Avatar for genieuk
0
65
Member Avatar for iamthwee

Hi guys, I've come to a road block so i need some help. 1)I have an exe which i need to run at start up. So I put the following bash file in the inid.d directory: [code] #!/bin/bash # # . /etc/rc.d/init.d/functions EXE_DIR="/root/monkey-0.9.2/bin/" EXE_NAME="monkey" ############################################################# #################### Functions ############################## ############################################################# function …

Member Avatar for iamthwee
0
207
Member Avatar for dkalita

hi I want to retrieve the contents (including the tables) from a .doc file using C in linux. If I can get the representation of the .doc file, then also I can proceed. I have though done that but it has some bugs because I am using a logic which …

Member Avatar for dkalita
0
168
Member Avatar for ayeshawzd
Member Avatar for ayeshawzd
0
219
Member Avatar for low1988

Is there anybody could tell me what does this function use for?For example : [CODE] String strTemp = JOptionPane.showInputDialog(null,"Please Enter C To Open A Current Account \n Or J To Open A Joint Account"); switch(strTemp.charAt(0)){ case 'c': case 'C': //code statement break; case 'j': case 'J': } [/CODE] Basically if …

Member Avatar for low1988
0
708
Member Avatar for ShailaMohite

Hi, I am create one application using c# and Ms Access 2007 which is run on one machine how to run this application on LAN. suppose keep database on one machine how to access database from another machine Regards, Shailaja

Member Avatar for DdoubleD
0
98
Member Avatar for PyroPaul2

Hi all. Could anyone give me a pointer please? I've almost finished a project I'm working on but have one last issue to resolve. I have an image on a form that I apply a colour gradient to. However, when I grab this to create a bitmap (this.DrawToBitmap(BackGroundBmp, BackGroundRect);) I …

Member Avatar for DdoubleD
0
317
Member Avatar for jp071

Hi, I want to split a char string. We can use “strtok” function for split a string by using token. But in my problem, there is no specific separation/token between each value. The data directly come from an external device through the serial port. I used “ReadFile” function to read …

Member Avatar for iamthwee
0
112
Member Avatar for yorro

Why am I getting this error during design time? [B]Error Number 5: Key cannot be null [/B] [CODE=vb] If Me.Visible = True Then If RetrieveSubjectsAndSection(Username, Subject) = True Then InsertSubjectsAndSection(Username,Subject) End If End If [/CODE] [B]RetrieveSubjectsAndSection[/B] function checks if record exist. The code is written inside a Usercontrol. Also I …

Member Avatar for yorro
0
91
Member Avatar for MadSkyrim

I have an assignment due in 2 days and I've hit a bit of a wall. I have a client program which receives parts of a file from multiple servers and combines them into the original file. The client can receive the files without a problem but wont combine them …

Member Avatar for MadSkyrim
0
96
Member Avatar for mansi sharma

Suppose there are two buttons named button1 & button2.I wnat that when the user presses enter key,button2 click event will fire? How to do dat,Can somebody tell me?

Member Avatar for nverma
0
122

The End.