199,114 Archived Topics
Remove Filter ![]() | |
Hello! I was looking for some help with something I'm trying to accomplish with MS Access. I have data set up in the following manner: [CODE] CUSTNBR|TRANSYTD| RPTDATE --------------------------- 1 | 7 | 5/28/2010 1 | 10 |12/31/2010 1 | 2 | 4/29/2011 2 | 8 |12/31/2010 2 | 6 … | |
Is there a way to exclude column from a table or View or Stored Procedure without specifying all the columns in the Select List Especially with table or View | |
I have a Binary logfile,and i have to read it and convert it to a normal file,and use the obtain values and represent it in a Datagrid. I joint a example of my Logfile and the convert form, and hope that somebody can help me thx in advance | |
Hi there guys I need a little help about separation of two worded strings. Below is a program that will ask a user to input first name, middle name, and last name. Whenever I input a two worded string in the "Enter First Name" part, for example: "Michael Jordan" and … | |
hello I have build a high score list that asks the user to enter name and score and then sort the list so the score comes in the right order. My problem is that the sort function only works once, the second time I enter name and score the list … | |
Hi, I am doing login using data reader of C#. Here is my codes, [CODE] try { Access_Db.OpenTransaction(); Access_Db.BeginTransaction(); bool usrExist = false; string SQLStr = "SELECT ID,Password FROM RegisterEmployee"; OleDbCommand sqlComm = new OleDbCommand(SQLStr); OleDbDataReader reader = sqlComm.ExecuteReader(); // program got exception when run till here while(reader.Read()) { if … | |
[U][B]suppose i have a page like:[/B] [/U] ----------------- name | id | --------------- mark | 0253 edit ------------------- jack | 205 | edit ---------------- [U [B]when i am in edit form of this page:[/B][/U] name : mark id : 0253 school : Divine international ---------- Things ---------- stick (edit) (del) … | |
Hi Guys and Girls, I'm having some trouble getting a timer to work on my android 2.1 app. I want it so once a button is clicked it trys to connect to my server every 60 seconds. my code for connecting to server is working, but I don't understand why … | |
Hi guys Ive created a piece of software to extract data from 2 fields in an mssql table, and using php translate them into a graph. Im now trying to extract the field names as titles for my axes. I'm using sqlsrv_query s and have retreived data from the table … | |
Hi, Im using Oracle 11g, and i have a query like select * from test where ID_PRIVILEGES = 'ADMIN'; but in database ID_PRIVILEGES is stored as Admin, I want case insensitive search to be done. I cannot change my query as select * from test where ID_PRIVILEGES = 'Admin'; Can … | |
Hi Frnz , i am getting the error while i tried to add ajax control toolkit to .net framework. i have added ajaxcontrol toolkit to bin folder on webapplication . | |
I'm trying to understand the correct way to instantiate objects in C#, and I just can't seem to get it right. My code is in lines 17-37 lines 47-51 and lines 102-103 Any direction would be genuinely appreciated. Jim [CODE] private void findMortgagePayment() { string prompt; bool validPV = false; … | |
Hello DaniWeb community! I am writing code for problem 10 of Project Euler. I have decided that the Sieve of Eratosthenes was the best option for creating a list of primes less than two million. Here is my code (yes, I mis-spelled Sieve and Eratosthenes): [CODE]package projecteulerjava; class ProblemTen { … | |
Hi all, I'm hoping someone can help me with this as I can't for the life of me figure it out. I have a single form called 'FolderSelector' with a label, textbox and a button. The problem I'm having is that everytime I run the application, the only thing that … | |
Hey all, i am a newbie at C# and need help with this program. This is what i have so far.The first part of the program work, but the second method InchesToFeetdoes not work. Please help. Due on Monday. Create a class named InchesToFeet. Its Main ( ) method holds … | |
Hello guys, I'm starting to learn Javascript and I'm having trouble combining 3 text fields on a form in order to submit it in a single textfield. For example I have the following texfields: [CODE]<input id="country_code" name="country_code" size="6"> <input id="area_code" name="area_code" size="5"> <input name="hphone" size="9">[/CODE] I want to combine them … | |
Sorry to ask this, i know its that simple. Am working on Java for the first time. All the tabs that i placed appears below the text. I want the tabs to be appearing right after the text towards the right. Can someone help me with this. Attached is the … | |
Hello , I have a .exe file written in C++. i have used; Process.Start("E:\\cmdf.exe"); to execute the code from C#. Now i need to ; (1) hide the command prompt (2) Then to find a way to stop the command prompt (as in closing the application) How do i do … | |
Hello all, In JSP / HTML, I want to restrict the size of file being uploaded. [I]<input type="file" name="myfile"/>[/I] If the user trying to upload a file size bigger than some value say 5MB, i want to give mesage to the user. I don't want to wait till the file … | |
![]() | Just like java applets seem to have had their day... is flash going the same way (no support on the ipad?) Is this a concern for designers who use flash. I use flash actionscript 3.0 occasionally. What are your thoughts? ![]() |
Hi, im currently doing a pacman game in c++ as a project. im currently not using graphics but only using the console for simple representation. right now, I'm having problems concerning detection of pellets. Im a bit confused why it detects it as walls even though i check if the … | |
Hi, Below code Insert fine but after insert, i like to see a message "insert passed" or "insert failed" if failed. I think i need to have if else statement. not sure how to do that. thanks. --------- <? mysql_connect("host",$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query = "INSERT … | |
Im to develop a payroll calculating system using abstract classes and implementing polymorphism, With respect to inheritance of super class Employee by sub classes. i dont know how to start implementing it on GUI, bt its okay on cmd. Any help either with sample code is highly appreciated. cretaros. ![]() | |
hi! we are having trouble in our program. every time we click login button it will proceed to the next form even if it doesn't have anything on it. can you please help us regarding this problem [code] Private Sub Command1_Click() Adodc1.RecordSource = " select * from login where username … | |
Can someone explain this excerpt from a book I'm studying: [CODE]char phrase[] = "Game Over!!!";[/CODE] [U]BOOK:[/U] [I]"C-style strings terminate with a character called the null character to signify their end. You can write the null character as ’\0’. I didn’t need to use the null character in the previous code … | |
This program is giving me a count up to 999. which is not what it is suppose to do. can someone tell me how to fix it. The question is as follow: Write a program that allows the user to enter any number of integer values continuously (in any order) … ![]() | |
My problem is that I have to send my textbox data to crystal report, i am trying a lot but iam not getting I know how to use crystal though database. Thanks | |
How to determine the encoding of a text file? And are there any tools to handle the content of a text file independent of its encoding? | |
I need to make a SIMPLE BASIC program that plays crabs [code] #include<iostream> #include<string> #include<ctime> using namespace std; int main() { int money, i, wager, roll, roll1, roll2; string name; char bet, R; cout <<"Lets Play Craps!" << endl; cout << endl; cout <<"This program stimulates a session at a … | |
I have 2000 emails to send to my customers. But I what that, it sends 400 emails at a time. How can I do that? Please help me! Thanks | |
hi i have 2 timers... and i want them to count just 1,2,3,4.... etc now i have figured out how it works with date and time but not with ticks... do you maby know a short way to do this? Thijscream | |
Where can I get a free mysql thesaurus database? I would literally like to download a .sql file, and just upload it straight to my mysql host. I would just want in the thesaurus... Word Synonym #1 It would be great if it also had... Part of Speech Synonym #2 … | |
hi im working with two form the first form is to insert cheek box into db so the first code i write like this : [CODE]mysql_select_db("project", $con); if(count($orders)>0) { foreach($orders as $key=>$order) { $query="INSERT INTO orders (ORDER_DESC) VALUES ('".$order."' )"; mysql_query($query) or die ('Error Updating the Database' . mysql_errno()); } … | |
The following is the code for my program that is supposed to choose a random number and then get the user to guess it by using the basic hints. It seems like it should work but it keeps coming up with the error:'else' without a previous 'if'. it is getting … | |
This is just a quick question about when calculations are performed in a line of C++. Say I have the following block: [CODE]int numItems = 0; inventory[numItems++] = "sword"; inventory[numItems++] = "armor"; inventory[numItems++] = "shield";[/CODE] the ++ operator increments the array number of inventory AFTER it reaches the ; operator? … | |
Hi everyone. Hopefully this will be the last thing that I need to do to my shopping cart. Basically I have a product details and it gives me the actual picture in its actual size. In order to look more neat, I want to make the pictures to be like … | |
My php code for upload is supposed to filter out images with file extentions different than the ones below and bigger than 5 Mb. It's a normal post fileField form in html that runs this php script. It works like a charm on Firefox and Chrome, but for some reason … | |
Hello Ive been searching around Google and while I have found some answers, Im not sure how to implant them correctly. I wish to disable the Close (X) button on a Windows Form. I read about ControlBox (I think that the property) but I perfer to do it another way. … | |
*** I read and reviewed the rules and don't think this violates them, but please feel free to remove this if so. *** I've got this really great idea but no expert knowledge and no experience in how to execute it. I figured I'd come ask the experts. I want … | |
Hello i'm working on forum, and the topics content sometimes got images thats bigger then forum warper i need to reduce them by PHP lets say that the content is $row['content']; please help . | |
Hi Masters, I Need your help on the bellow scenario: I have a list of checkboxes. Want to show or hide images related to each checkbox upon selection/deselection. I want [B]initially the images will not shown[/B] as the check boxes are select the images will showup. if deselect any checkbox … | |
Hi, I have the database of the application i am doing stored in the bin. Now i want to make a new connection how can i do so? | |
![]() | Hi all, I am writing a server in Java and I have an issue which I've been working on for days now and I can't seem to find a solution. I want to upload files to the server using an HTML form. I can read the whole POST request and … ![]() |
Hello Im am trying to write a high score list . The user is suppose to enter name and score that will be sorted.. like Emma 500 Andy 400 Linda 300 there will be room for five names on the list... I know how to make the program work to … | |
I have a Visual C++ console application (I am using windows Vista, Visual studio 2008). When executing the program i don't want to see the Console popping up. How do i code this. I tried simply removing all cout and printf statements but yet this didn't help. Need help here. | |
I don't understand why it is allowed to declare variables in a while or for loops. For example this is allowed (or at least compiles ??) [CODE] for(int i = 3; i > 0; i--) { int d; }[/CODE] and this will give you a compiler error; [CODE] int d; … | |
I want to keep what the user selected so when he clicks back and goes to my search the values are still there, have three listboxes. Country, State, City Country Listbox [CODE] <select name="country" id="country" onChange="filter_state();"> <?php echo "<option selected>" . $_POST['country']; "</option>"; $sql = "SELECT * FROM tbl_country"; $result … | |
i created a simple program using j2me when the user input number[1-9], the element that corresponds to the input is highlighted.. i use choicegroup.. how to do it?? | |
Hello DaniWeb! I've found your website very useful for previous problems in my course, but this time I've come across something I just can't figure out. I'm attempting to create a program thats instructions are defined in the code. I've used a previous post as a guideline, and it was … | |
Hi, I have a flowLayoutPanel, into which I want to add new labels when the user clicks on a button. Is this possible? C#, Winforms, Visual Studio I am trying something like this: [CODE] //inside click event handler string submitWord = tempWord; Label lbl = new Label(); lbl.Text = submitword; … |
The End.