Forum: C++ Apr 7th, 2009 |
| Replies: 11 Views: 607 oops.. i didnt realize that color is int! grrrr |
Forum: C++ Apr 7th, 2009 |
| Replies: 11 Views: 607 Hi I am learning C++ and i coded this program but it isnt working as it was supposed to..
#include<iostream.h>
using namespace std;
class furniture
{ |
Forum: C++ Mar 14th, 2009 |
| Replies: 8 Views: 464 I dont see the difference.. it is going to call the countdown function repetitively anyway..! |
Forum: C++ Mar 14th, 2009 |
| Replies: 8 Views: 464 Hey THanks it worked.. but how does it matter.. "while" was supposed to be doing the same thing..as "if" is doing now.. then why did it falter ? |
Forum: C++ Mar 14th, 2009 |
| Replies: 8 Views: 464 Hi AncientDragon:
Thanks for ur reply.. i made some modifications.. still does not work! i get all 0s now..
#include<iostream.h>
using namespace std;
void countdown(int x)
{ |
Forum: C++ Mar 14th, 2009 |
| Replies: 6 Views: 1,623 This function does not work either.. error msg is as follows
beep.cpp: In function ‘int main()’:
beep.cpp:8: error: ‘Beep’ was not declared in this scope
please assist!
#include <windows.h>... |
Forum: C++ Mar 14th, 2009 |
| Replies: 8 Views: 464 HI I am trying to work on a very simple recursive function but i get o/p as some negative values.. can u please help and tell me what mistake i am doing ?
#include<iostream.h>
void... |
Forum: C++ Nov 9th, 2008 |
| Replies: 2 Views: 290 Hi:
I need some assistance in this code. I am trying to get this format.
1
.2
..3
...4
and so on.. i dont get any errors in the code but i get no o/p eitehr |
Forum: C++ Oct 13th, 2008 |
| Replies: 4 Views: 905 Hi folks
I am new to C++
i tried to reverse the characters in an array
#include <iostream>
using namespace std;
int main() |
Forum: VB.NET Aug 19th, 2008 |
| Replies: 1 Views: 439 tried it. It is like coloring the cells manually.. i want all the data to be colored that are colored in the datagridview.. if i said wsheet.range("A1","A5").interior.colorindex = 3, it colors the... |
Forum: VB.NET Aug 18th, 2008 |
| Replies: 1 Views: 439 I have the code for transferring data from the datagridview to the excel spreadhseet.. my datagridview has colored data in it and I want the excel spreadsheet also to have the colored data. i get the... |
Forum: VB.NET Aug 18th, 2008 |
| Replies: 0 Views: 2,116 I am trying to open an excel spreadsheet using vb.net. The data has to be fetched from a datagridview..
the datagridview has colored data in it and i want it to appear colored on excel spreadsheet... |
Forum: VB.NET Aug 11th, 2008 |
| Replies: 6 Views: 595 thanks for ur help and asking :) i appreciate it |
Forum: VB.NET Aug 11th, 2008 |
| Replies: 6 Views: 595 ya snider got it.. :) i shall post the soln as soon as i get a chance.. |
Forum: VB.NET Aug 8th, 2008 |
| Replies: 1 Views: 357 Folks: this is a very small part of my code.. i have 2 comboboxes filled with RAM values(integers). by using the "nothing" keyword i just want to make sure that both the combo boxes have some values... |
Forum: VB.NET Aug 7th, 2008 |
| Replies: 6 Views: 595 asnider..u r right.. lst.clear had to be under a catch exception.. i am modifying my code now.. i am gonna post it again..sorry abt that.. |
Forum: VB.NET Aug 7th, 2008 |
| Replies: 6 Views: 595 i have 2 tables with same fields except that table2 has 1 additional field..but otherwise table1 and table2 have same fields and have different number of records in each and each row in each table... |
Forum: VB.NET Aug 7th, 2008 |
| Replies: 0 Views: 762 I want to try and store distinct values of table1 in an array and compare that with values in table2 in each field. But I am not sure where I need to pass the sql statement..can u please take a look... |
Forum: VB.NET Aug 6th, 2008 |
| Replies: 2 Views: 2,540 hi:
how do i get an else condition here? does it have to be a case format again ?
say if it was not DELL or HP and it was compaq.. i want to make it appear red..
pls assist.. |
Forum: VB.NET Aug 6th, 2008 |
| Replies: 2 Views: 2,540 FOLKS:
I fill my data grid view with data and i try to color a few cells based on a condition but nothing seems to work..no errors either..can u pls help me >?
Private Sub... |
Forum: VB.NET Aug 5th, 2008 |
| Replies: 1 Views: 1,401 I have a field as MFG.
i want to use an if condition to see if MFG=DELL or HP. if it is, I want to change that cell's color in the datagridview to green..only those cells under MFG column should... |
Forum: MS SQL Aug 5th, 2008 |
| Replies: 8 Views: 1,631 |
Forum: MS SQL Aug 5th, 2008 |
| Replies: 8 Views: 1,631 hi Mike.. I am using Access 2003 and VB 2005.. but the code that i have put up works in sql and I dont think its' used in access..can u pls help me!? |
Forum: MS SQL Aug 5th, 2008 |
| Replies: 8 Views: 1,631 FOLKS.. i am trying to compare the field's values in 2 tables: table1 and table2. if a field's value in table2 exists in table1, i want it in green else red.
I am trying to achieve this but i get... |
Forum: MS SQL Aug 4th, 2008 |
| Replies: 8 Views: 1,631 i have both matching data and not matching data.. i want to get the matching data in one color adn the not matching data in another..can i do that here ?
can u please help me? i have been... |
Forum: MS SQL Aug 4th, 2008 |
| Replies: 8 Views: 1,631 This code works if what exists in table2 exists in table1 also and that's displayed in my datagridview.. but how do i do this for my other three fields ? is there way by which i can use the AND... |
Forum: MS SQL Aug 4th, 2008 |
| Replies: 8 Views: 1,631 SELECT * from table2 where exists(select MFG from table1 where MFG.table1 = MFG.table2) would this be correct ? |
Forum: MS SQL Aug 4th, 2008 |
| Replies: 8 Views: 1,631 Hi I have table2 and table1. I want to check if table2 values exist in table1. If they do, I want them to be displayed on datagridview in a form. The table1 and table2 have same fields except that... |
Forum: MS SQL Aug 4th, 2008 |
| Replies: 1 Views: 1,697 I tried changing the code.. i want to compare my table1 and table2. if any of the values in table2 exist in table1, the excel o/p has to have that value in bold.
please Assist
Private... |
Forum: MS SQL Aug 4th, 2008 |
| Replies: 1 Views: 1,697 I want a button click event to do this:
can i use "UNMATCHED" keyword in the same SQL Statment using a UNION ?
pls help me with this!! table1 is my master Db and table2 is my work DB..... |
Forum: MS SQL Aug 1st, 2008 |
| Replies: 1 Views: 2,830 Hi I have 4 comboboxes..and any value that I choose.. I get a whole set of fields displayed in my datagrid view..
I want to make a difference..the value that I choose in the combobox, has to... |
Forum: MS SQL Aug 1st, 2008 |
| Replies: 2 Views: 877 hello folks:
I tried executing this..i get no errors and I can see the fields alone in my datagrid view with no data in it..
ia m not sure what;s wrong with the code.. |
Forum: MS SQL Aug 1st, 2008 |
| Replies: 1 Views: 2,420 Hi:
I am writing code in VB but SQL is the major role here..
I am checking if MFG="DELL" in table1 and if that is there I need a msg box saying "DELL is supported" |
Forum: VB.NET Jul 31st, 2008 |
| Replies: 2 Views: 556 i tried the following but I am still getting errors.. I am trying to see if the first element under the first field in my work DB exists on any row of the same field in my Master DB.. i am trying to... |
Forum: VB.NET Jul 31st, 2008 |
| Replies: 2 Views: 671 when i click "button1" on my form..i get field name as ' Expr1002' and the data in it are -1..
i believe it is soemthing to do with the da.fill() .. can u please asssist me with thsi ? |
Forum: VB.NET Jul 31st, 2008 |
| Replies: 2 Views: 556 i am working on the button which would match all the values .. I get stuck at the comparison statment while matching values..can u please help me figure out how the comparison has to be done ? |
Forum: VB.NET Jul 31st, 2008 |
| Replies: 2 Views: 556 this is my code.. i got both my work database and my master database on the datagrid views in my form...but how do i go about
comparing..
and generating the crystal report ? |
Forum: VB.NET Jul 31st, 2008 |
| Replies: 0 Views: 438 I have a work database and a master database. I have 4 fields in each of them. If I got A B C D values for a field in my work database. If I have A anywhere in my master database.. I want a report to... |
Forum: VB.NET Jul 29th, 2008 |
| Replies: 0 Views: 705 I need to choose a value from a combo box and check if that exists in a table and if it does..i need to make a button glow green..
I am not sure how I have to check if the chosen value exists in... |
Forum: MS SQL Jul 29th, 2008 |
| Replies: 2 Views: 1,332 I need to choose a value from a combo box and check if that exists in a table and if it does..i need to make a button glow green..
I am not sure how I have to check if the chosen value exists in... |