No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
61 Posted Topics
Re: Hi: I am newbie here. I keep getting this error most of the times. If any one of have come across it, please do share with me as to how you got rid of it. error msg is as follows: "visual studio cannot start debugging because the debug target (c:\....\filename.exe) … | |
I am looking at a source code There is a class called A and it has a parameter in its _init_ function called. Class A self.id = id There is another class called B and has a parameter in its __init__ function called Class B self.ide = ide There's an … | |
Re: Can someone help me with the same one ? how do i develop an SQL query for that.. ? I have about 17 columns in my table but I want to link just 2 comboboxes in such a way that, when i choose combobox1, only related/applicable values get displayed on … | |
Re: did you add a header to it ? add 'imports system.data.oledb' as the header and try | |
Re: Hi Mojal: I am new to database too. Can you please tell me as to where I need to type the code that you have (for database connectivity) ? Is it typed in the form_load procedure ? It will be nice if you can reply ASAP. you can email me … | |
Hello Folks: I had previously posted this problem and someone on this forum suggested that i used s[i] == 'a' || s[i] == 'A' .... but what I have here completely makes sense.. Can you please take a look at it ? [CODE] #include<iostream> #include<string> using namespace std; int main() … | |
here is a c++ code .. It compiles fine and looks fine but it messes up the output. [CODE=C++] #include<iostream> #include<string> using namespace std; int main() { string s; cin>>s; for(int i=0;i<s.length();i++) { if (isalpha (s[i])) if (s[i] == 'a'||'A'||'e'||'E'||'i'||'I'||'o'||'O'||'u'||'U') cout<<s[i]<<" is a vowel"<<endl; else cout<<s[i]<<" is a consonant"<<endl; if … | |
Hi I am trying to count the number of words in a file and this is what i have so far. I am not sure about the getchar().. could you please tell me what i should be doing ? [code] #include<iostream> #include<fstream> #include<string> #include<conio.h> using namespace std; int main() { … | |
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! [CODE]#include <windows.h> #include <iostream.h> using namespace std; int main() { Beep (100,100); return 0; }[/CODE] | |
Hi I am learning C++ and i coded this program but it isnt working as it was supposed to.. [CODE] #include<iostream.h> using namespace std; class furniture { protected: int color,width, height; }; class bookshelf : public furniture { private: int no_of_shelves; public: int accept() { cout<<"enter color"<<endl; cin>>color; cout<<"enter width"<<endl; … | |
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 ? [CODE]#include<iostream.h> void countdown(int x) { using namespace std; cout<<x<<endl; countdown(x-1); } int main(void) { countdown(10); return 0; … | |
Hi: I have a problem.. I have 3 text boxes and 12 comboboxes. the idea of the form is that the data entry on form has to be stored in Access.. which happens.. but i to limit the user in choosing only the values available from the combo boxes and … | |
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 [code] #include<iostream.h> int main() { int i; cout.fill('.'); for(i=i;i<10;++i) { cout.width(i); cout.fill('.'); cout<<i; }}[/code] | |
Hi folks I am new to C++ i tried to reverse the characters in an array [code=cplusplus] #include <iostream> using namespace std; int main() { char kavi[]={'s','w','o','r','d','\0'}; cout<<kavi<<endl; cout<<"now reversing the word"<<endl; int i; while(kavi[i] != '\0') { i++; } cout<<"Length is"<<i; int j; for(j=10;j>=0;j--) { cout<<kavi[i]; } } [/code] … | |
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 error "property access must assign to the property or use its value vb.net error" … | |
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 too.. How do i get it colored ? [CODE] Private Sub Button4_Click(ByVal sender As … | |
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 appear green in color in my datagridview. How do I do this ? … | |
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" [QUOTE] Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim con … | |
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 could be the same or completely different.. i am trying to add the distinct values … | |
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 filled in them.. say i choose 1 from combobox1 and 2 from combobox2.. … | |
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 turn green but if i said if(mfg...) it considers MFG … | |
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 >? [CODE]Private Sub Button11_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Dim con As OleDbConnection = New OleDb.OleDbConnection("provider=microsoft.jet.oledb.4.0;data … ![]() | |
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 at it ? for that matter..i will just have … | |
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 ? [QUOTE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) … | |
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 the primary key in each table is the serial number. Even … | |
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.. both have same columns expect that primary key in both tables … | |
the code worked perfect on Friday and when I come back today and try.. the RAM alone works fine in the T-SQL but the Mfg, Make, GraphicsCard and GraphicsVersion do not work atall.. they dont give me any queries atall in the data grid view o/p.. why am i stuck … | |
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 ? [QUOTE] imports System.Data.oledb Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles … | |
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 be displayed in Access … | |
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 that table.. can you please help … | |
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 that table.. can you please help … | |
the code worked perfect on Friday and when I come back today and try.. the RAM alone works fine in the T-SQL but the Mfg, Make, GraphicsCard and GraphicsVersion do not work atall.. they dont give me any queries atall in the data grid view o/p.. why am i stuck … | |
Today I have DELL 'mfg' and I have 'make' as Precision workstation 650, precision workstation 610, precision work station 530.. i have 2 combo boxes: 'Mfg' and 'Make'.. the moment I choose DELL as mfg from the first combo box..i get the PWS 650, PWS 610 and PWS 530 in … | |
Hi: i am new to C++.. can u help me write a simple program in C++ to take an input of words and just return them in the reverse order..just the words alone not the characters.. thanks Kavitha. | |
Hi: I have a question.. I got a control/master database. I have another work database. I have to match each value from 2 fields present in my work database to a control db. The values could be anywhere in the fields in my master db.. it just has to be … | |
Hi: I have a question.. I got a control/master database. I have another work database. I have to match each value from 2 fields present in my work database to a control db. The values could be anywhere in the fields in my master db.. it just has to be … | |
Can you please tell me what's wrong with this statement ? i get no errors but I get no o/p either! [QUOTE] Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click Dim con As OleDbConnection = New OleDb.OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=C:\Documents and Settings\bashkark\Desktop\Copy of USERS.mdb") If (ComboBox6.SelectedItem = 0.5) … | |
there is another problem that i am facing..i got 2 comboboxes filled with values from MS Access and they have values like 1.00,2.00,2.98,3.00,3.25 and 8.00 I want to be able to choose 2 values i.e. one value from each combo box and when I hit click I should get queries … | |
Hi. I have a couple of combo boxes. Any combination chosen from the combobox works. I am getting 2 errors in it. error1: When I chose RAM as 2.98 i get 4 results but when i chose RAM as 8 I get 2 records of 8 gb and the 4 … | |
i tried putting in actual values and it works..this code gives results of RAM > 0.500 and less than and equal to 2.000 but how do i make it parametrized ??????????????????? [QUOTE] Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button6.Click Dim con As OleDbConnection = New … | |
Hi folks: I will need to upload my Access DB and my VB exe file to a server.. Will it be ok if I changed the pathname in the connection string to the path of the server where my DB is located now ? my vb form has to comboboxes … | |
Re: SolTEc Hi: I had the same problem. If you got to know a way by which (despite having "read only" in the properties i couldnt get it) you can add records to your original DB via the form, please do share it with me. Thanks, Kavitha. | |
i have 2 comboboxes filled with ram values..both are the same.. i need to choose 0.5 from combobox6 and 2 from combobox7. and when I hit the click button, I want the sql query to get executed. 1. how do i fill the comboboxes with the same values from the … | |
Hi I have 12 comboboxes for data entry. Everytime I type in some input in the form, it gets stored in the Access Database. Every time my form loads, it picks up all distinct values from the database and fills the combo box. But there are several repeated values because … | |
Folks: I am trying to get all NVIDIA users on the list and I am saying NVIDIA* in my SQL statement since there are different versions of NVIDIA.. if instead of NVIDIA* i said 'NVIDIA Quadro fx 4600' i get a list of queries.. but if I said 'NVIDIA*' i … | |
When I uploaded my Vb Project on the server I was getting the following error: "Application attempted to perform an operation not allowed by the security policy. To grant this application the required permission contact your system administrator or use the MS.Net framework Configuration tool. I came across the following … | |
hi: I have a db which has RAM field in it. I have set it as text because I need to have the GB or MB along with it. I had 5 modules in my project and this is my last one. i also have decimal values in RAM like … | |
if you need to upload larger files, you will need to alter this value by changing the httpRuntime maxRequestLength property to the desired value; at the same time you may need to increase the executionTimeout property to a greater value as well in order to support longer upload times. Take … | |
when I hit click i get a blank table in my datagridview with no values in it! why is that ? [code] Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click Dim con As New OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=C:\Documents and Settings\bashkark\Desktop\Copy of USERS.mdb") Dim cmd1 As New OleDbCommand con.Open() … | |
I have 3 radio buttons and each connected to a SQL statement..the first one 'NVIDIA*' does not get executed whereas the other two do because they dont have wildcard character in them. Can you please help me with this ? I tried 'NVIDIA*' in Access query and they worked perfect … |
The End.