199,114 Archived Topics
Remove Filter ![]() | |
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. … | |
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 … | |
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 … | |
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? … | |
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 … | |
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 | |
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.. | |
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 … | |
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 … | |
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] | |
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 … ![]() | |
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. … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | … | |
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 … ![]() | |
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. | |
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 … | |
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 … | |
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? | |
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 … | |
I want to search for a topic to build a nmajor project in vb.net Please help me out with new topics for that | |
[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 = … | |
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 … | |
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()) { … | |
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. | |
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 … | |
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. ![]() | |
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 … | |
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 | |
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 … | |
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 … | |
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, … | |
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? | |
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 … | |
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). … | |
![]() | 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 … |
'*'********************************************************************************* ' ' ' 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 … | |
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 … ![]() | |
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 … ![]() | |
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] . . … | |
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 … | |
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.. … |
The End.