199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for William Ng

][B]Is that possible to highlight the row when the cell value is change ? Can anyone teach me and explain to me ? Thanks[/B] [CODE]Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click Dim update As New dboperation Dim t As DataGridViewSelectedRowCollection = Me.DataGridView1.SelectedRows update.makeconnection() If (Me.DataGridView1.Rows(t(0).Index).Cells(0).Value.ToString) …

Member Avatar for William Ng
0
167
Member Avatar for ali11

need help to add main class to test this program. [CODE]public class Rational { private int num; private int den; public Rational ( ) { num = 0; den = 1; } public Rational (int a, int B) { num = a; den = b; simplify ( ); } private …

Member Avatar for jwenting
0
199
Member Avatar for Naveed_786

I am auto generating data grid and I am using check box in Data grid View, Now i am invoking check box state changed event but it produces the following error Handles clause requires a WithEvents variable defined in the containing type or one of its base types. Here the …

Member Avatar for Naveed_786
0
161
Member Avatar for Simran Kaur

Hi friends, I have downloaded VS Express 2010 edition from Microsoft website. I want to convert a VB 6.0 project into VB.Net using VS Express 2010. Is it possible to do it without the "Upgrade Wizard"? How much will it cost me to get basic VS 2010 Professional with the …

Member Avatar for Oxiegen
0
816
Member Avatar for lastgame2007

[CODE] Default Re: Mga Tanong tungkol sa PHP, CSS, jquery, HTML at MySQL pasok D2 Pa help sa update code ko po, na-uupdate niya kasi lahat ng nasa tables ko. ano po problem sa query? Here's my code for my update, the problem is when i submit, it updates all …

Member Avatar for simplypixie
0
108
Member Avatar for carmstr4

So after a lot of work I got functions to compare one word with another one. Now my problem is formatting the output. I have one function that locates letters int he wrong position, one that finds matching letters and one to compare the results in order to format the …

Member Avatar for TrustyTony
0
187
Member Avatar for kelvin_8188
Member Avatar for kelvin_8188
0
469
Member Avatar for bilal_fazlani

heres a form i have created. its a search form. [url]http://img266.imageshack.us/img266/722/paymentsh.jpg[/url] it searches and lists the results in list view. heres my mssql query : [CODE] select transactions.trans_id,transactions.cust_id,transactions.trans_amount," _ & "transactions.trans_date,customers.fname+' '+ customers.lname as customer from transactions inner join customers on transactions.cust_id=customers.cust_id " _ & "where trans_type='inv' and (trans_id= " …

Member Avatar for bilal_fazlani
0
166
Member Avatar for arunsolo1984

Earlier i was displayed the image by referring current directory. My current directory is '/opt/lampp/htdocs/cms/'. My images was placed in the folder called 'Images' inside the cms folder. So, i have displayed the images by referring "./images/filename.png". Now i have moved the images outside of cms folder. Now i kept …

Member Avatar for almostbob
0
190
Member Avatar for Pravinrasal

[B]I refer this website [COLOR="Green"]http://neyric.github.com/wireit/[/COLOR] and I used logic gates. I want to find out the positions of start and end of wiring from the terminals but didn't find out the positions . [/B]

0
86
Member Avatar for python123456

I am working on a program that uses a recursive function to print the digits of a number in English (i.e. 456 would display "Four Five Six".) Right now I am beyond confused and I don't have much code to show for the hour and a half of work I've …

Member Avatar for TrustyTony
0
2K
Member Avatar for bilal_fazlani

I am making an invoice system. Please have a look at the images. [url]http://img32.imageshack.us/img32/9216/capture1iv.jpg[/url] [url]http://img839.imageshack.us/img839/1228/capture2cq.jpg[/url] as you can see, the place order button is creating an invoice. I have actually created a junk table and a junk column in it just to setup the invoice_id and load it when "invoice …

0
137
Member Avatar for stereomatching

compiler : visual c++ 2005 os : win7 64bits [code] #define PARSE_AND_SERIALIZE_WRAPPER(HANDLE, VENDOR) \ template<> \ struct parse_and_serialize_wrapper<HANDLE> \ { \ template<typename Request> \ bool serialize_req(Request &request, std::string &serialized_msg, \ xml_schema::namespace_infomap &xml_namespace, boost::mpl::vector<serialize_query>); \ }; \ \ template<typename Request> \ bool parse_and_serialize_wrapper<HANDLE>::serialize_req(Request &request, std::string &serialized_msg, \ xml_schema::namespace_infomap &xml_namespace, boost::mpl::vector<serialize_query>) \ …

Member Avatar for stereomatching
0
161
Member Avatar for moone009

[CODE]Dim FilestoCopy As String Dim NewCopies As String FilestoCopy = "C:\Users\Documents\*.txt" NewCopies = "D:\New\Documents\" If System.IO.File.Exists(FilestoCopy ) = True Then System.IO.File.Copy(FilestoCopy , NewCopies ) MsgBox("File Copied") End If[/CODE] I was wondering how to switch this to copy all .txt file from FilestoCopy to NewCopies

Member Avatar for GeekByChoiCe
0
354
Member Avatar for Kyle Willett

In my cs2 class we are covering simple lists very quickly. I was assigned to add some functions to a basic list class, and after much thought I can not understand how to solve the problem. Here is the assignment: [QUOTE] you will add the following methods: + removeNode(val : …

Member Avatar for Kyle Willett
0
182
Member Avatar for toldav

Hello everyone its me again try to learn VB. I need help to make sure if my code needs to be modify. Here is the instruction: 1- The list box that contains the city names is not visible when the program runs. lstCity.Visible = Not lstCity.Visible (still showing at run …

Member Avatar for toldav
0
206
Member Avatar for pwnerboy

Here's my code: bigInt.cpp [CODE]/ // bigInt.cpp #include "bigInt.h" bigInt::bigInt() { int i; for(i = 0; i < SIZE; i++) //Sets all the values of digits to 0. digits[i] = 0; sign = true; numDigits = 1; error1 = true; overflowFlag = false; } bigInt::bigInt(const char temp []) { int …

Member Avatar for pwnerboy
0
1K
Member Avatar for dolfan55aj

I have a Graph that I'm making using an adjacency matrix to hold edge values. The noEdge value is zero and all edgeweights are positive integers. I have to delete a node from this graph and I'm having trouble figuring out how to update the Adjacency matrix after the deletion …

Member Avatar for mrnutty
0
966
Member Avatar for davy_yg

Hi, What's the difference between these two codes: gallery/index.php [CODE] <link rel="stylesheet" type="text/css" href="css/sliderkit-core.css" media="screen, projection" /> <link rel="stylesheet" type="text/css" href="css/sliderkit-demos.css" media="screen, projection" /> <link rel="stylesheet" href="css/main.css" type="text/css" /> <!--[if IE 6]> <link rel="stylesheet" type="text/css" href="css/sliderkit-demos-ie6.css" /> <![endif]--> <!--[if IE 7]> <![endif]--> <link rel="stylesheet" type="text/css" href="css/sliderkit-demos-ie7.css" /> <!--[if IE 8]> …

0
80
Member Avatar for corby

im trying to overload the operator+= and use that to implement operator+ in my string class. i keep getting a segmentation fault when i try to evaluate something like s1 += s2 where MyString s1("");and MyString s2("hello"); any suggestions as to why this is happening? this is my operator+= function …

Member Avatar for corby
0
183
Member Avatar for jadiebabe

Hi, I am actually an HR consultant with minor experience in SQL, have asked our developers for help and received the query below, but it is not working - Please help!!! My Client records training for employees, these employees need to be recertified at certain dates. I need a report …

Member Avatar for DemonBob
0
220
Member Avatar for redrobby02

Hi i am very new to delphi and have only been working with it for a few months, i need to calculate the difference between 2 TDateTime Variables regardless of the number of days passed. Currently im using this: [CODE] var StartTime, EndTime, TimeDiff: TDateTime; begin StartTime := (Now); EndTime …

Member Avatar for Morten Brendefu
0
6K
Member Avatar for demroth

I am trying to write a lexical analyzer program that will read in input from a file and produce a formatted output. I need help as I am stuck. I am sure I am not passing the file stream, and the function parameters correctly. Do note some of the functions …

Member Avatar for demroth
0
3K
Member Avatar for coolbeanbob

Help! Why am I getting the following error on line 100?? I don't get an error when I use storage in other places? error C2065: 'storage' : undeclared identifier [CODE]#include "utility.h" struct masterFile // master file record { int employeeID; string employeeName; string departmentID; int YTDhoursRegular; int YTDhoursOvertime; double regularPayRate; …

0
57
Member Avatar for ceeandcee

Good Evening...I have a number of RSS feeds that most readers can work with... [url]http://www.ourhometown.ca/rss/all/[/url] In some cases, they say it is not well formed, so I have tried to modify it. I think I am close. What am I missing? [CODE]<?xml version="1.0"?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title>OH: All Hockey …

0
100
Member Avatar for Gaiety

Hi, I have recently gone through some C internal stuff, addressing schemes(logical,relocatable and physical). what i dint get here is how are these inter-related.I do understand that these three are genearated by different tools. I want to know how exactly one is useful for other in executing the program in …

Member Avatar for Gaiety
0
160
Member Avatar for techlawsam

total += nValue; so would that mean that whatever the total is it will be added towards nValue, or is something being incremented? Thanks

Member Avatar for jnmisa
0
113
Member Avatar for rayrenz

I'm having a problem with a code to display the vowels used in a string for example: "I LOVE YOU" the code will display "The vowels used are: e i o u" Any help? I'm supposed to use loops such as foreach, for, do-while, etc. and arrays..

Member Avatar for skraps
0
316
Member Avatar for mc3330418

I have a student name, wins, losses. In that order in a txt file. I'm trying to read it in and them print it out, but i'm not real sure what I'm doing [CODE] #include <iostream> #include <fstream> using namespace std; const int MAX_SCORES = 50; ifstream infile; void report(int …

Member Avatar for mc3330418
0
84
Member Avatar for Thug_life

Hi i had to write the program that prompts the user for integer values. Place these values into an array. What i cant figure out is the following i will be highly thankful to you if you can help me on these [I]Compute Sum – add up all of the …

Member Avatar for Clinton Portis
0
104
Member Avatar for mags11

Hello again! I'm almost finished this project. However, the Clear button stopped doing its thing. It keeps giving me an "Invalid Cast Exception" whenever I am pressing the clear button. The project includes 2 forms--- JobInformation and Summary. The code follows: [CODE] 'Program Name: JobInformation 'Programmer: Zabinga 'Date: 11/28/2011 'Description: …

Member Avatar for mags11
0
413
Member Avatar for psvpython

Hi, I have created a checkbutton within a dialog box. But, I am not able to capture the value of the checkbutton. The value always seems to be 0 whether checked or not. [CODE] class MyDialog: def __init__(self,parent): self.Frame1= Tix.Frame(parent) self.Frame1.pack(side=Tix.LEFT, fill=Tix.BOTH) self.enabled = Tix.IntVar() self.checkbutton = Tix.Checkbutton(self.Frame1,text = "Enable …

Member Avatar for psvpython
0
138
Member Avatar for pointers10

I am trying to let the user search an external file for 2 things after they tell me one of the things.. There are 3 different products and prices in the txt file in the form of: apple 1.99 orange 9.99 coconut 1.59 however, this only shows the price of …

Member Avatar for woooee
0
86
Member Avatar for jacob21

when i insert the value in database after auto increament the uid then it show below error plz help me anybody... error Cannot insert explicit value for identity column in table 'client' when IDENTITY_INSERT is set to OFF. Description: An unhandled exception occurred during the execution of the current web …

Member Avatar for hericles
0
418
Member Avatar for VB 2012

Okay hi people i just want to is it possible if you can use a Certain copy / Write Function that writes your file from Resources to where you want but with Progress(Progress bar) while its copying or Writing and if so can you give me a example please:'(

Member Avatar for VB 2012
0
1K
Member Avatar for alaa sam

hi everyone , I have finally finished my firsy c# project and I want to make a .exe file for it , so any help??

Member Avatar for KazenoZ
0
161
Member Avatar for andarivaadu1

I have a code like this [CODE] <? php .. if ($type == 1) //book { echo $information_array[0]. '. <i><a href="updatebook.php?q=$information_array[1]">'. $information_array[1] . '</a></i>. '. $information_array[2] . ": " . $information_array[3]. ".<br/>"; } .. ?> [/CODE] In the next page [CODE] <?php $title= $_GET['q']; echo $title; ?> [/CODE] when I …

Member Avatar for andarivaadu1
0
234
Member Avatar for Taino

Hi, I am running an application and wish to add random outputs when the user answers correctly. example 1 + 1 = 2 cout << " great"; I wish to randomly cout << excellent or very good or fantastic as well. Thanks! This is my code: #include <iostream> #include <cmath> …

Member Avatar for mikrosfoititis
0
125
Member Avatar for henpecked1

I'm looking for a line (or more) of VBA that would tell me how to set the "required" property of a field to "No" instead of "Yes" Just so you have the context, I'm helping someone write a module that imports data into an Access database. Of course, sometimes a …

Member Avatar for henpecked1
0
188
Member Avatar for sofia85

Hi, I have a file containing one column with values: 3.258 1.345 5.769 1.00 etc... I want to sort this data. I tried to use sort() directly on my raw data but I get error message saying 'str' object has no attribute 'sort'. I now it's basic, but I'm a …

Member Avatar for sofia85
0
133
Member Avatar for buzzykerbox

Hi I would like to change a css rule,with javascript this is what i have so far?? [CODE] body{ font-family: Arial, Helvetica, sans-serif; font-size: 12px; /* [disabled]line-height: 17px; */ color: #ffffff; background: url(images/bg.jpg); <script> function changeStyle() { var mySheet = document.styleSheets[0].rules || document.styleSheets[0].cssRule; for(var i=0; i<mySheet.length;i++) { if(mySheet[i].selectorText == "body") …

Member Avatar for buzzykerbox
0
127
Member Avatar for Violet_82

HI there, I have done a little work on a simple script to change images on mouse over and on mouse off. It was meant to be a very simple one but it is not working and I am not quite sure why. here's the coplete html and script code: …

Member Avatar for Violet_82
0
229
Member Avatar for Manswab

[B]HI Friends..i want to import an excel file to DataGridView .In My code its working Fine For all excel sheet that have less number of columns...but its showing error(External table is not in the expected format.) for excel sheet having more number of columns...please help me...my code is below [/B] …

Member Avatar for KazenoZ
0
352
Member Avatar for KazenoZ

Hello, I'm having this issue with copying files with .NET's File.Copy() method. I have a file, that I want to copy to a couple locations, but when doing something like: [CODE]File.Copy(source, target1); File.Copy(source, target2);[/CODE] I keep getting an exception error about the file being in use. Seeing that if I …

Member Avatar for KazenoZ
0
160
Member Avatar for mahavairavan

Hi all, Can anyone please enhance the following code to print a string reverely ina consecutive manner using two dimensional array. The program which i tried in codepad.org is follows: [CODE]#include<stdio.h> #include<string.h> int main() { char a[4][4]={'j','u','s','t'}; int i,l,j,k,b=4,n; printf("Enter the string"); printf("\n"); for(i=0;i<1;i++) { for(j=0;j<b;j++) { printf("%c",a[i][j]); } } …

Member Avatar for Tumlee
0
1K
Member Avatar for Xaviorin

So new here to daniweb and just finished my first semester of programming 1 and I'm trying to do some extra curricular work to get me prepared for my spring semester. Would appreciate any and all help or suggestions anyone could give me. Here's the issue: So i was trying …

Member Avatar for Xaviorin
0
127
Member Avatar for meowbits

I have been messing around with this code forever.. I know im missing something but I am completely lost at this point. The code is suppose to print the array, then shift all the values to the right with SHRD, then reprint the array. Please help! Thank you! [CODE]INCLUDE Irvine32.inc …

Member Avatar for meowbits
0
195
Member Avatar for Tom_Weston

Hi, I'm wondering how to remove a specific part of a string.. [CODE] #include <iostream> #include <string> using namespace std; int main() { string str1 = "How,Are"; cout << str1; //remove the comma, and everything behind the comma! so the output would only be 'Are'. return 0; } [/code] Thank …

Member Avatar for Xaviorin
0
382
Member Avatar for junoh1991

# I wanted to change the question. I have a list something like this: list1= ['NNW 30', 'SE 15', 'SSW 60', 'NNE 70', 'N 10'] For this list, if the element in the list starts with N, i want '+' to be inserted before the integer. If the element in …

Member Avatar for valorien
0
4K
Member Avatar for mcconnell_34
Member Avatar for thines01
0
101

The End.