199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jladd5

Write a program where the user enters numbers (doubles) on standard input. All of these numbers should be greater than zero, except for the last one, which should be -1. The -1 is a sentinel value and is how the user signals that he or she is done entering numbers. …

Member Avatar for Comatose
0
171
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 k88joshi

Hello, I am working on something where i need to search and replace many variable names of a program. For example, I have a class [B]Hello [/B]and its public variable is [B]world[/B], but the variable world has been changed to [B]earth[/B] so now in the program i need to go …

Member Avatar for k88joshi
0
363
Member Avatar for jdbarry

I have a text file that contains alot of different columns. I want to create a different array from each of them (e.g. one array for the years, one array for the months, one array for the wind speed, and so on).... Does anybody know how I could do that? …

Member Avatar for Ezzaral
0
97
Member Avatar for gaspan

To all the Masters, Sir can you help me in this problem, the program tells the infix to convert into postfix. ex. a+b-b*c+g/s =[U]ab+bc*-gs/+[/U] My problem is, once you compile the program there is no error message, but if you run it, the output did not show. I know this …

Member Avatar for Salem
0
168
Member Avatar for ankitk1

Hi, Okay I have problem with my homework. In the code i need to run either object2 or object1. Its a shooting game made in turboc. So if I hit keys a,d or space, i need the tank to move and otherwise i need the object to come down. Thanks

Member Avatar for Salem
0
62
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 BobLewiston

The concept of delegates (references to methods) per se is new to me (although I used function pointers in C years ago), and although the literature acknowledges that there are significant differences between delegates and the use of pointers to objects, I'm nonetheless a little confused by how similar the …

Member Avatar for Rashakil Fol
0
197
Member Avatar for ozan

Hi I have problem at pointing to the function at the class structure. To demonstrate my problem,I have written a simple code. I have two function. ''Xsquared'' returns square of input value. ''multipleby4'' multiplies by 4 of input value. The pointer to the Xsquared is the input value of the …

Member Avatar for ozan
0
132
Member Avatar for scrypt3r

Hello, i would like to know weather it is possible to run code from a string e.g [code] string code = MessageBox.Show("example"); //run the code? [/code]

Member Avatar for scrypt3r
0
101
Member Avatar for gagan22

Hi everyone, I want to use two radio button on a php page when we click on first radio button page will show different form below the radio button and when we will click or select second radio button then i want to show another form on the same php …

Member Avatar for diafol
0
143
Member Avatar for jdbarry

Can somebody please help me with this code? I have the program correctly coded and operating properly, however, I forget how to write my output to a text file. Can somebody please help me here? Thanks. [CODE] /** * This program calculates the monthly Heat Index for a specific city. …

Member Avatar for javaAddict
0
202
Member Avatar for NoGood

Hi all, I'm creating an appointments scheduling system. I have a bookings table and a time table among others in a MySQL database. Each entry in the bookings table has a slotId value. In the time table each slotId has a startTime and an endTime. This is what i want …

Member Avatar for NoGood
0
137
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 ajayyadavmca

Hi, Did anyone has used jTDS or any JDBC driver to connect to Microsoft SQL SERVER on IPV6 environment? if yes can anyone please provide me code or any help? i tried with microsoft one which they claim support for ipv6 but i didnt go thru even there. may be …

Member Avatar for ajayyadavmca
0
218
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 Danthon

Hi guys I must insert in a html site a htaccess file that create a redirect 301 to the site home page for every page that gives error 404 (Page not found), but without affecting the single redirect 301 already present in the file htaccess regarding other subpage moved and …

Member Avatar for Danthon
0
149
Member Avatar for chaithanya_86

hi, i am a php developer. i have query. i have to send a email with the MS Word document attached to it. The document is submitted by the user along with his form through a HTML file. the email contains the form details entered by user and the attachment …

Member Avatar for masijade
0
137
Member Avatar for azket

Hey everybody, I am currently working on a program that has to write nice PDFs, and I'm using the iText library to do this. I am nearly done, except for some major layout problems. 1. iText automatically splits tables up if it reaches the end of the page, and continues …

Member Avatar for azket
0
139
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 jhonnyboy

hey guys im fairly new to visual basic, but very eager to learn it. I am attempting to make an employee clock in. I want to make a simple clock in that will ask the user to enter their name, and just click a button that will then post that …

Member Avatar for 4advanced
0
604
Member Avatar for blackrobe

Hey all, I have a problem with printing my output in a certain way from my Java program. I actually need to print the output in a table-like structure. For example: [CODE] ============================================================================= Header1 | Header2 | Header3 | Header4 | Header4 | ============================================================================= Info here | Info here | …

Member Avatar for arseniew
0
147
Member Avatar for pulse0

I'm trying to retrieve the last modified information of a webpage? I don't even know if php would do it or would javascript be better better for this. I've tried document.lastmodified with java script but that does not help much. I've noticed that in firefox ->tools->page info gives me the …

Member Avatar for diafol
0
131
Member Avatar for aburich_44

Hello, can an exe statically linked by c++ or code blocks run on a mac? if it requires a software to convert it, which would you suggest? Thank you for any help.

Member Avatar for Nick Evan
0
104
Member Avatar for Lolly2009

My coding looks like this int main(int argc, char *argv[])/*command line input*/ { int len; char *t[10]; len=strlen(argv[argc-1]); temp[0]=argv[argc-1] if(strstr(t[0],"c"==NULL)/*to check for a c file input*/ printf("Not a c file"); else printf("C file"); } if my command line input in linux is ./a.out test.c argv[0] contains ./a.out ans argv[1] contains …

Member Avatar for ArkM
0
221
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 Sarah66

Hi, I have created DB applications using MS-SQL and VB. But, I am new for distributed database program development. Will you please help to design one?

Member Avatar for swaransoft
0
109
Member Avatar for jladd5

I am just getting started with C++, so please explain things to me in the most basic way you can. I really don't even know where to start to be honest. Below is a problem that I would like to learn how to code. Examples are welcome. Thank you. Suppose …

Member Avatar for Nick Evan
0
105
Member Avatar for kupneesh

I want to search for a topic to build a nmajor project in vb.net Please help me out with new topics for that

Member Avatar for ithelp
0
99
Member Avatar for odonal01

[code=cplusplus] include <iostream> main () { int a, b; bool found; cout << "Enter two integers: " cin >> a >> b; if a > a*b && 10 < b found = 2 * a > b; else { found = 2 * a < b; if found a = …

Member Avatar for Nick Evan
0
141
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 pcongnu

Hi, I'm trying to do a program where I have to input 4 lines of text from a txt file, char by char into 4 seperate arrays (1 for each line). I have this [CODE] ifstream input("c:\\p2input.txt"); for (int z = 0; z < 250; z++) { while (!input.eof()) { …

Member Avatar for galin
0
93
Member Avatar for foker500

This is probably a newbie question but I've figured out how to connect and query a microsoft access database via ado, but I can't figure out how to export the tables......need to export them to dbf???? Any help would be greatly appreciated.

Member Avatar for jice
0
159
Member Avatar for khr2003

Hi I am trying to get the first day of a given month and the last day. I use mktime function like so: mktime(0,0,0,7,1,2007); and got the time stamp: 1183212000 when I converted it I got: Sat, 30 Jun 2007 14:00:00 GMT which is not what I want, I wanted …

Member Avatar for prawin@123
0
192
Member Avatar for MSK 7

Hi , to all I want your help :- How i can open a new file (may be called as "form1.php" ) on my current page , only by onclick of radio buttons without using submit button ? any suggessions will be appreciated. Thanks & Regards.

Member Avatar for diafol
0
956
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 suneer

i want to diplay values from database to table.then i want to edit new value to the same field and post to database.how can i do it using php codes.please help me

Member Avatar for suneer
0
105
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 aburich_44

hello i wrote a c++ program, and i wanted to send it to my friends, but everytime i send the exe file to them, they tell me they get the error: "The application has failed to start because the application configuration is incorrect". I tried to put it on rapidshare, …

Member Avatar for mrnutty
0
167
Member Avatar for srs_grp

Hi!! I have created JTable with fixed no of rows and columns.Then depending upon some conditions I want to hide one column,but the methods removeColumn or setting maxWidth to 0 are not working.I am not getting any error. How can I do this?

Member Avatar for BestJewSinceJC
0
198
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 marksmania

Hi there, Think this is a pretty simple problem! I'm trying to create a header file with some physical constants. The Planck constant is giving me trouble due its tiny size in SI units. Essentially, defining a pre-processor constant using E-notation does not seem to work. My header file looks …

Member Avatar for csurfer
0
98
Member Avatar for premdeeprem

'*'********************************************************************************* ' ' ' Name : SP Management Utlility ' Author : Prem Dhanendran ' '********************************************************************************* [code] 'Create an instance of the File System object dim objfile, navfile set objfile = Createobject("Scripting.FileSystemObject") if isobject(objfile) then set navfile = objfile.opentextfile("L:\OTAI\Package\sp.txt") end if 'Read the Config file sp.txt on L: Drive line …

Member Avatar for premdeeprem
0
102
Member Avatar for patharianidhi

Dear all Plzz help me I am stuck with PHP include function. I have given the include path in php.ini file as include_path="C\PHP_includes In PHP_include folder i have 3 files menu.inc which has html code, menu.css that has all the styles and menu.js that has certain functions. i have a …

Member Avatar for diafol
0
132
Member Avatar for rapperhuj

i used phpmyadmin software then i create a database named sycom_dbase, but the problem i can execute it. but there is no output? and error messages.. any comments suggestions. why did it happens. where should i save all my php files.. www? i save it in www folder but it …

Member Avatar for diafol
0
168
Member Avatar for gpnet

Hi to all, I am new in this forum. I was searching help about a recent problem i have got with filestream object. Specifically I have the need that two or more users read and write a file content and so I coded these lines of code: [CODE] . . …

Member Avatar for gpnet
0
582
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 Phil++

Hey, could I have a little help please. What I'm trying to do is display a message if the user clicks their mouse, I have: [CODE] int main() { mouse_event(MOUSEEVENTF_LEFTDOWN, x, y,0,0); } [/CODE] How would I get it to display a message? I'm thinking an if statement but dunno.. …

Member Avatar for death_oclock
0
514

The End.