199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jay.barnes

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 …

Member Avatar for jay.barnes
0
183
Member Avatar for Saikumar Adep

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

Member Avatar for debasisdas
0
141
Member Avatar for rminator

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

Member Avatar for rminator
0
142
Member Avatar for king03

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 …

Member Avatar for Ancient Dragon
0
106
Member Avatar for emmaand

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 …

Member Avatar for emmaand
0
123
Member Avatar for leo88

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 …

Member Avatar for leo88
0
296
Member Avatar for mahmudfaisal

[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) …

Member Avatar for vibhaJ
0
145
Member Avatar for ajst

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 …

Member Avatar for ajst
0
144
Member Avatar for mdpepper

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 …

Member Avatar for urtrivedi
0
2K
Member Avatar for divyakprabh

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 …

Member Avatar for divyakprabh
0
264
Member Avatar for virendra_sharma

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 .

Member Avatar for virendra_sharma
0
92
Member Avatar for revjim44

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; …

Member Avatar for ddanbe
0
182
Member Avatar for EneilShade

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 { …

Member Avatar for JamesCherrill
0
217
Member Avatar for TheMightySpud

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 …

Member Avatar for TheMightySpud
0
295
Member Avatar for CeeGee

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 …

Member Avatar for DaveAmour
0
895
Member Avatar for coleguitajuan

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 …

Member Avatar for coleguitajuan
0
133
Member Avatar for sane83

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 …

Member Avatar for sane83
0
100
Member Avatar for localp

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 …

Member Avatar for sandeepparekh9
0
96
Member Avatar for daniweb187

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 …

Member Avatar for daniweb187
0
100
Member Avatar for iamthwee

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?

Member Avatar for diafol
0
152
Member Avatar for kevinmax101

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 …

Member Avatar for TrustyTony
0
1K
Member Avatar for bangla

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 …

Member Avatar for charlybones
0
92
Member Avatar for cretaros

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.

Member Avatar for ztini
0
160
Member Avatar for else

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 …

Member Avatar for shelexelex
0
140
Member Avatar for crapgarden

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 …

Member Avatar for crapgarden
0
189
Member Avatar for CeeGee

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) …

Member Avatar for saravind84
0
2K
Member Avatar for prvnkmr194

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

Member Avatar for vishalrane
0
106
Member Avatar for merse

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?

Member Avatar for Ancient Dragon
0
120
Member Avatar for Lilcrew

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 …

Member Avatar for NathanOliver
0
303
Member Avatar for khocmedemmua

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

Member Avatar for khocmedemmua
0
192
Member Avatar for thijscream

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

Member Avatar for Alpha-Bit
0
79
Member Avatar for Joe34

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 …

Member Avatar for kirstiebevilaqu
0
286
Member Avatar for destroyerx15

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()); } …

Member Avatar for madCoder
0
91
Member Avatar for M1n1m@l1$t

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 …

Member Avatar for m4ster_r0shi
0
783
Member Avatar for crapgarden

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? …

Member Avatar for crapgarden
0
120
Member Avatar for didi00

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 …

Member Avatar for didi00
0
296
Member Avatar for Jaklins

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 …

Member Avatar for Jaklins
0
704
Member Avatar for riahc3

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. …

Member Avatar for riahc3
0
117
Member Avatar for princevaliant

*** 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 …

Member Avatar for smantscheff
0
147
Member Avatar for haimz

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 .

Member Avatar for ko ko
0
107
Member Avatar for jiten_raulo

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 …

Member Avatar for Airshow
0
292
Member Avatar for xanawa

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?

Member Avatar for de Source
0
126
Member Avatar for masterofpuppets

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 …

Member Avatar for masterofpuppets
0
225
Member Avatar for emmaand

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 …

Member Avatar for emmaand
0
154
Member Avatar for localp

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.

Member Avatar for Ancient Dragon
0
397
Member Avatar for sergent

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; …

Member Avatar for sergent
0
144
Member Avatar for branding4you

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 …

Member Avatar for IIM
0
139
Member Avatar for lsvife

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??

Member Avatar for peter_budo
0
97
Member Avatar for perksexcuse

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 …

Member Avatar for perksexcuse
0
153
Member Avatar for jay_el_em

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; …

Member Avatar for jay_el_em
0
136

The End.