64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for farooq82

I am new vb.net and I m working on project that will import excel file in datagrid. After import this file I need to save these file into SQL Server 2005 table. But I am receiving 'Procedure or function insertCashBook has too many arguments specified'. [code] Private Sub ButtonReconsilation_Click(ByVal sender …

Member Avatar for farooq82
0
186
Member Avatar for patriotist

hey guys .. i am currently trying to do a project on speech to text conversion.... i am new to it but i know somethings like grammar n all but dont know how to use in or acces the grammar through the C# thing.....so plz help me out..

Member Avatar for Samer88
0
131
Member Avatar for bajanpoet

I've read up on attaching a dataset to a datagrid and followed all the code snippets I can, but I am still having problems viewing data. Have a look at this code: [code="VB"] Private Sub ViewCustomers(ByVal vRegion As String) conn.Open() Dim SQLComm = New SqlCommand("SELECT * FROM ViewCustomers('" & vRegion …

Member Avatar for bajanpoet
0
525
Member Avatar for jdbarry

I know that you do 6.83783 * 10^3 as 6.83783E3, but how do I do that number times 10 to the negative third?

Member Avatar for jdbarry
0
86
Member Avatar for TheVenerableZ

Hi, Is it possible to use GetElementsByTagName for grandchild elements? I have a div with a bunch of lis nested inside of the div, and a hidden input field inside of each li. The lis are draggable, and I want to write a script that adds up the values inside …

Member Avatar for azraelcwb
0
202
Member Avatar for 6pandn21

Hello guys! I hope you don't mind me posting so quick again. I am struggling or better don't seem to have proper idea about what to do here. I want to make a simple birthday reminder. I have got a list of people in my database and I log in …

Member Avatar for 6pandn21
0
215
Member Avatar for neighbordave

I'm having a little trouble trying to figure out how determine if 2 purses have the same coins in them in the same or different order. The books that i have don't really show an example of this at all and I can't find any other resources elsewhere online. I've …

Member Avatar for stultuske
0
2K
Member Avatar for johnny.g

Hi all, I have a very simple query but this is driving me nuts. I have installed sql server 2008 on my system. Its working fine, but the main thing is that i am not able to configure the report server. Can anyone help me how to configure the report …

Member Avatar for johnny.g
0
211
Member Avatar for meistrizy

Hello and thanks in advance for your help. My program calculates the gratuity of various bills and gives the user how much to leave for a tip. If the user enters a negative amount for the tax, the default constructor is supposed to use 6.5%. My program compiles, but instead …

Member Avatar for meistrizy
0
142
Member Avatar for jaasaria

hello, by the way im using datagrid in showing all the data in my database... here my codes... ''''''''''''''''''''''''''' form_load set rs = orecs ("select * from employee") set datagrid = rs ''''''''''''''''''''''''''' how can i convert it in list view to view all the data in my database......... plssssssss …

Member Avatar for chanthung
0
189
Member Avatar for serdas

i don't know if this is enough you to help me but looking at this could you tell me what i could do to fix it? [code] $user_check = mysql_query("SELECT userdb_user_name FROM default_userdb WHERE userdb_user_name='$reciever'"); $user_check = mysql_num_rows($user_check); Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in …

Member Avatar for serdas
0
174
Member Avatar for Trendkiller

I am getting some errors. 4 are C2143 2 of which point to the function prototype void ArrayFunc(int, int, float, int[SIZE][2],float[SIZE],int &,int &); and the other 2 C2143 errors point to void ArrayFunc (int count, int hours, float total, int array1[][2], float array2[], int &row, int &column) (the function definition). …

Member Avatar for csurfer
0
109
Member Avatar for HI2Japan

If anyone can point me in the right direction I would greatly appreciate it. I am making an Asset Management database. I'm looking at having about 50 fields in a table. Of those 50, 25 could potentially be used for searching. In some cases multiple fields would be used to …

Member Avatar for HI2Japan
0
132
Member Avatar for driebel

Hi, I'm completely new to C++, which I'm doing as part of a numerical methods course. I have experience with IDL, so I clearly like languages with training wheels :) I'm running the GNU C++ compiler under Ubuntu 8.04 on a Dell XPS. I've made my first program run, but …

Member Avatar for driebel
0
111
Member Avatar for scru
Member Avatar for winrawr

how would I go about making a variable in a class, that could be read directly but not written as such? Like, [icode]if(class1.variable==true){ }[/icode] is allowed but [icode]class1.variable = true;[/icode] is not... however I don't want a [icode]const[/icode], I want it to be able to be set from within the …

Member Avatar for winrawr
0
161
Member Avatar for neoseeker191

For some reason my if statement in both my [I]unionFunction[/I] and [I]intersectFunction[/I] is setting the array equal to 1 rather then comparing it. I've tried to figure out whats wrong but nothing seems wrong to me. I appreciate any help. Here is my program so far: [code] #include "stdafx.h" #include …

Member Avatar for soroushc
0
138
Member Avatar for vinithktp

Hi, I developed a website with captcha image validation. I developed it with PHP Version 5.2.5 and i uploaded on PHP Version 4.3.11 server. Captcha image validation working with my server. But it is not working with my cient server. Here iam sending my code sample. Please help me to …

Member Avatar for buddylee17
0
155
Member Avatar for JosipMiller

Hello, I connected my Delphi application with MS Access database and I am stuck a bit with a problem: how to execute UPDATE Query stored in MS Access database from Delphi ? Stored query in Access works properly. All other queries (mostly SELECT) stored in Access I have connected properly …

Member Avatar for JosipMiller
0
245
Member Avatar for serkan sendur

[CODE]/* sscanf example */ #include <stdio.h> #include <iostream> using namespace std; int main () { float f; int i; char * the_string = "foo -3.6 fum dum 17"; int r = sscanf(the_string, "foo %f fum dum %d", &f, &i); cout << f << " " << i << " " …

Member Avatar for serkan sendur
0
196
Member Avatar for GDICommander

Hello everyone. I am using ACE and I'm using the following method: ACE_OS::read(char* buffer, int nbbytes, int perms); I was informed that Windows is reading data from disk sectors and it puts the contents of the read sectors into the cache (who is in memory). I don't want that behavior …

0
45
Member Avatar for brixton

Hello, I've got the following code: [code] wxString path = filepath; wxString newpath = filepath; fstream f(path.Append("/tests/tests.bin"), ios::in | ios::binary); fstream fnew(newpath.Append("/tests/temp.bin"), ios::out | ios::binary); Test* transferTest = new Test(); int thisSize = sizeof(Test); bool success = false; bool toBeDeleted = false; int testNo = 1; if (f) { f.seekg(0, …

Member Avatar for brixton
0
111
Member Avatar for WaelTheNoble

When I executed the following code the output appears to be very strange to me. Can any one explain this unexpected result to me. The code: [code] #include <iostream> using namespace std; class Y { private: int x; public: Y() { x = 7; } int getX() { return x; …

Member Avatar for WaelTheNoble
0
140
Member Avatar for almostbob

Got directed to these [url=http://www.addedbytes.com/cheat-sheets/php-cheat-sheet/]cheat sheets [/url] php css scripting regular expressions 'et al' had to pass the link on

Member Avatar for diafol
1
133
Member Avatar for jaiprakash15

Dear Friends, I a working on a project where i have to let the user to type in other languages(hindi,tamil,kannada etc..) and i have to store into the database and retrive it back and show it to the client in the same language he has entered..I am using postgres 8.0 …

Member Avatar for peter_budo
0
216
Member Avatar for vedmack

For example i want that the [code]System.out.println("blablabla");[/code] wont be displayed on the screen of the console.... how can I do it?

Member Avatar for vedmack
0
5K
Member Avatar for trashed

Hi all. I have a table with a this records: [CODE] <!-- Table user_activity --> <user_activity> <id>1</id> <event>LOGIN</event> <username>user@domain.com</username> <domain>domain.com</domain> <remote_address>ip_address</remote_address> <date>2008-05-23 20:19:36</date> <comments></comments> </user_activity> [/CODE] I am trying to query the DB to get the total results of activity PER DAY. This is my query (which obviously doesn't work): …

Member Avatar for trashed
0
164
Member Avatar for tulsi_apr03

hi all, Can anybody help me, In my project, Im using Tomcat5 webserver and Oracle10g as backend.now I want to display one report .For that Im using CrystalReportsXi with JSP page , Report is generated correctly and displayed on to browser with out images.Images are those came with CrystalReport Tool. …

Member Avatar for tulsi_apr03
0
186
Member Avatar for Trekker182
0
59
Member Avatar for rosenberg_a

These are my three files. The header file.... [CODE] #ifndef MONTH_H #define MONTH_H #include <string> #include <iostream> using namespace std; class Month; ostream &operator<<(ostream &, const Month &); istream &operator>>(istream &, Month &); class Month { private: string month; int monthNumber; public: Month(); Month(string); Month(string, int); void setName(string); void setMonthNumber(int); …

Member Avatar for rosenberg_a
0
115
Member Avatar for deerowbear

Hi there, I am trying to write a C++ app using Dev-C++ 4.9.9.2. The app is supposed to read in a txt file and then use templates to read in the files and swap data that gets populated in a ptr array. The errors are: [Linker error] undefined reference to …

Member Avatar for deerowbear
0
74
Member Avatar for cppnewb

Hi. I am making a program, and I have a main section and a class that the main section tefers to in a .h file. The Ifstream part wont work, and i dont know why. Please help. MAIN: [CODE] #include <iostream> #include <cstdio> #include <cstdlib> #include <string> #include <fstream> using …

Member Avatar for cppnewb
0
197
Member Avatar for Himerz

Can any one help or give some good advice on where I need to go from a point in my code. I am building an asterisks tree and I managed to get that part done, but there are three thing I need to input to complete the assignment. 1. And …

Member Avatar for Himerz
0
302
Member Avatar for crackerjacker

The title basicly speaks for itself. i need some code to add a string value in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices and then to modify the value data. i have checked every where on google and this site, and anything i have found has not worked. Thanks in advance!

Member Avatar for Comatose
0
96
Member Avatar for lameassthemity

I'm writing a class planner with a structured array declared in the header [code=c++] #include <string> using std::string; struct Classes { string ClassName; string ClassNumber; string DaysMet; int StartTime; int EndTime; string Teacher; int Students; }; [/code] this is the print function of the program [code=c++] int Print() { system("cls"); …

Member Avatar for shasha821110
0
91
Member Avatar for yonghan

Hi all,i need help with validating php form..I got 3 php files.How do i show the error messages beside the text input..Here are the codes that i have made.Thanks.. output_fns.php [code] <?php function do_kepala($title){ ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title><?php echo $title ?></title> <meta http-equiv="Content-Type" …

Member Avatar for diafol
0
182
Member Avatar for Stefano Mtangoo

I have been working with bass.dll from [url]www.un4seen.com[/url] as audio library and I can say that it is great. But I have reached a place where I hitted the wall and it will take time for me to move. Can anyone suggest for me a dll library for playing audio …

Member Avatar for Ene Uran
0
534
Member Avatar for aegis042404

Hi, I'm new, so please bear with me. I'm working on a memory card game in wxpython, using gui bitmap buttons. I need to change the bitmap from the "face down" bitmap to another bitmap when the button is pressed. (and to wait for a second button to be pressed, …

Member Avatar for aegis042404
0
260
Member Avatar for jumbla

Hi guys, I am trying to echo some output based on a variable in my PHP. I can code an if statement to echo the output if the variable is not empty [inlinecode] if (!$variable=='')[/inlinecode] but my problem comes if the variable returns the value "N/A". If it returns N/A …

Member Avatar for jumbla
0
109
Member Avatar for ahamed101

Hi All, I am trying to write a common function called call which will take in a void* and an int type. Based on the int type it will have access to different structures. The code doesn't compile in the first place. I am not sure this is correct or …

Member Avatar for ahamed101
0
110
Member Avatar for slimjimmer

I am trying to produce a program which produces a random array of numbers but I am running into a problem in that when the array becomes even a little large, say 10x10, I get the Bus Error or Segmentation Fault (I think I still get the error with even …

Member Avatar for Salem
0
227
Member Avatar for cicigirl04

Trying to create a 2 dimensional array for converting temperature and returning max. Having problems declaring max such as these 2 lines. max = max(inputFahr[0][0]); max2 = max2(inputCel[0][1]); [code]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package project3; import …

Member Avatar for arseniew
0
493
Member Avatar for drjay1627

I'm doing a OS class. Trying to implement this pseudo code: * Forking is fun! ­ Simple tips First, fork the child process: pid_t ForkPID; ForkPID = fork(); Then write a quick switch statement! switch (ForkPID) { // ­-1, fork failure case ­-1: printf("Error: Failed to fork.\n"); break; // 0, …

Member Avatar for drjay1627
0
144
Member Avatar for gordo58

Hi, I'm looking for help with my description meta. I have set it for a maximum length of 150 characters which works fine, but does anybody know how I can set it so that it stops after the first white space after 150 characters ie so that only full words …

Member Avatar for uncle_smith
0
134
Member Avatar for revenge2

how do you manipulate text files.. [CODE=Python] import urllib2 dload = urllib2.Request('http://tvnz.co.nz/content/tv2_listings_data/portable_listings_skin') text_file = urllib2.urlopen(dload) text_file_read = text_file.read() print text_file_read f = open ('site.txt', 'w' f.write(text_file_read) f.close()[/CODE] This returns the page and saves it as text file, but how would i do the following things.. -delete lines of texts, for …

Member Avatar for Ene Uran
0
159
Member Avatar for lonely_girl

I need a statement to exit my program after goto statement but i dont know where to place this statement. The statement is: [CODE=c]printf ("Enter \".\" to exit or \"p\" to proceed"); scanf("%c",&ch); if (ch=='.') getch(); if (ch=='p') goto repeat;[/CODE] also tell me if its rite or not? [CODE=c]#include<stdio.h> #include<conio.h> …

Member Avatar for lonely_girl
0
136
Member Avatar for u8sand

Hello all. Im back with another question : / You see.. At my house. We connect to our home network, in order to do so i must put in a HUGE Wep Password and bla bla bla. It takes for ever. And whenever lets say i get a new computer …

Member Avatar for u8sand
0
118
Member Avatar for DJMASSIAH017

Hello Everyone! I have a homework assignment due and I am having a problem with an compiling it to get an output. This is my first and only Java class. Can someone please tell me what I am doing wrong? Thanks in advance. [CODE]/* Programmer:Steve A. Massiah Date:01/29/09 Course:PRG/420 File: …

Member Avatar for javaAddict
0
3K
Member Avatar for CPPRULZ

Say I have a class (say number) and declare a private variable (say int num) and have a public member function(say int getnum() ) that retrieves the private variable. When I in the main() without initializing the private variable int num (of course after declaring the class variable say test) …

Member Avatar for VernonDozier
0
112
Member Avatar for Corus

Using a long double, it seems to cut out a decimal when it increases another digit. The first scan won't work properly, as it only shows 3 decimals, but should have 4, which doesn't concern me, but i'd like it to always have three. Price: 5.99 Scanned Price (Over and …

Member Avatar for Corus
0
106

The End.