199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bobbuilder67

Hello everybody, I am trying to communicate with a Vitamin Scanner from a computer, which connects via Comm port. It should do the equivalent thing of opening up 'Hyper Terminal', typing in 'a', hitting enter, then typing in '?I', enter, 'S', enter, and a long list of integers shows up …

Member Avatar for sarah_10
0
2K
Member Avatar for supersoup

I have one table METER with the primary key serial, another table TC with the primary key tc, and a third table History with the primary consisting of the 2 foreign keys serial and tc along with week and create_date. Every TC has 0 or more METER's. How do I …

Member Avatar for tesuji
0
168
Member Avatar for jwebbo

Hey everyone, i am new to the Pic 16f877 microcontroller and am having trouble doing analogue to digital conversion. can any one help me or even give me the codes. i would be very grateful.

Member Avatar for jwebbo
0
102
Member Avatar for browgreg

Hi all, I am trying to work out how to use the try and catch methods in Java. I am new if you havent guessed and I am wondering how I can change my code which searches for a particular user id which is inputted and when found it opens …

Member Avatar for NormR1
0
137
Member Avatar for piyushgt

hello frd i m a final year student and want to make a major project in java.please give some ideas and topics

Member Avatar for scrappedcola
0
72
Member Avatar for dwssassin

So I want to show hide various parts of a form based on html form entries and this is what I have so far. [CODE]<script language="JavaScript"> function showhidefield(method) { if (method = 1) { document.getElementById("hideablearea").style.display = 'block'; document.getElementById("hideablearea2").style.display = 'none'; document.getElementById("hideablearea3").style.display = 'none'; } if (method = 2) { document.getElementById("hideablearea").style.display …

Member Avatar for dwssassin
0
172
Member Avatar for mpc123

I have this code presently for null to say free but i need also if the info in the ProductPrice field is 0 [code=php] echo is_null($row['ProductPrice']) ? "FREE" : $row['ProductPrice']; echo "</td><td>";[/code] Please help

Member Avatar for mpc123
0
112
Member Avatar for teedoff

I developed a few pages to restrict access by way of a username and password login. I keep getting an error that says my session variable "login" is undefined. here is the code in question, though it might be more so on another page. [CODE] <cfif SESSION.login EQ "No"> <cflocation …

Member Avatar for arrgh
0
79
Member Avatar for Nobuo
Member Avatar for masijade
0
344
Member Avatar for calnastic

I created an array and tried to get the length of this array, but This is my code: [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { int[] arr = {1,2,3,4,5,6,7,8,9,10}; Console.WriteLine("first dimension length", arr.Length); } } } [/CODE] …

Member Avatar for calnastic
0
101
Member Avatar for ke24126

hi, i'm writing a poker game project and encountered some problem while i try to sort the cards in hand. so far, i have a deck of 52 cards, each of the player is assigned for 3 cards. the questions, I don't know how to sort the cards in the …

Member Avatar for bpatt22
0
4K
Member Avatar for nsd11

Very new to this. Trying to create a console application with code::blocks. I'm told when I Ctrl+F9(Build->Build) I should see 0Errors, 0Warnings at the end of the process. I', also told when I Ctrl+F10 (Build->Run) an output window should open and I should see my first program execute. "SayHello1 - …

Member Avatar for nsd11
0
491
Member Avatar for Chosen13

Hello, I have a PHP Login Form and it works fine, but users with Fiddler2 (Web Debugging Proxy) have the ability to hide their PHPSESSID Completely. What is a good system that I can use to prevent this, as anonymous users can cause trouble on the website.

Member Avatar for metalix
0
125
Member Avatar for PixelExchange

Hello everyone. I have already read the "MySQL C API Programming" tutorial found at: zetcode.com/tutorials/mysqlcapitutorial. The problem is, the tutorial does not show how a person would display the results obtained from the [u]SELECT FROM[/u] statement in a char * format. Does anyone know if it is possible to convert …

Member Avatar for PixelExchange
0
201
Member Avatar for muriloazevedo

I have a comboBox that I need to fill using data from Access database. For this, I get a DataTable with resultset from database, transform this resultset in a List<T> to sort by number and fill the Rows with this List. The problem is, after selected some value, I can't …

Member Avatar for muriloazevedo
0
175
Member Avatar for Mongooseman

This question is more from curiosity than necessity. I've been playing with the Java2D API, and I noticed a weird quirk with using Active Rendering. The Graphics 2D object doesn't appear to do anything the first time I use it. My code basically looks like this (I know it isn't …

0
109
Member Avatar for drake10k

Hello, I have started to create an app that through some other things needs to take the text from two text boxes on a form and then post the text on list box that's located on another form. Following is the code with which I've tried doing this... and of …

Member Avatar for drake10k
0
787
Member Avatar for Stefano Mtangoo

Hi All, I have a question that I cannot figure out. I have DLL that will export class and some C functions. Should I enclose both definition (.cpp) and Implementation(.h) with extern C? something like below? myfunc.h [CODE=C++] class TestClass{ //some stuffs here }; extern "C" { void myFunc(int x, …

Member Avatar for Stefano Mtangoo
0
223
Member Avatar for zilsrider

Salam i need solution to this problem [2010-08-09 17:07:31 - TEst] Android Launch! [2010-08-09 17:07:31 - TEst] adb is running normally. [2010-08-09 17:07:31 - TEst] Performing my.batterymanager.batteryviewer activity launch [2010-08-09 17:07:31 - TEst] Automatic Target Mode: launching new emulator with compatible AVD 'Android' [2010-08-09 17:07:31 - TEst] Launching a new …

Member Avatar for Killer_Typo
0
103
Member Avatar for akls578

Hi, I've been stuck on trying to sort a hand and while I've tried to do a bubble sort, it doesn't seem to work. Here's my code: [code]def rankValue(card): #Converts card value to integer (rank) if card.value == "Ten": return 10 elif card.value == "Jack": return 11 elif card.value == …

Member Avatar for TrustyTony
0
409
Member Avatar for potato4610

* I meant pointer parameters This function that has two parameters, both of type reference and return reference to pointer. Do I need to fix anything? I have been stumped for days and dunno what I should fix here is my code: [CODE]#include <iostream> using namespace std; double *ComputeMaximum( const …

Member Avatar for dusktreader
0
310
Member Avatar for swetz

I have written a code to validate a string.but i am getting an error in the 3rd sentence as "the name "NullToString"does not exist in the current context"...can anyone help me out...

Member Avatar for nick.crane
0
179
Member Avatar for braveheart_sb

I would like to know how to create a query that will grab the first two results of the combobox and display on the Third comboBox without refreshing the page just the form i mean all to be done on the same page not a secundary page. Thank you! [CODE=php]<table …

Member Avatar for Daiva
0
102
Member Avatar for cleve23

How do i set the size of my listbox to be the same as my split window? I tried to use sizer but because this is my first time using it and it did not work.please help. THANKS [CODE] class bucky(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,id,'Frame aka window') #panel=wx.Panel(self) self.sp = wx.SplitterWindow(self) …

Member Avatar for vegaseat
0
152
Member Avatar for jtok

I am using Visual Studio 2010 for development. This is a web application using asp.net and vb.net with MS SQL Server 2005 for the database. I'm having some issues with inserted data being overwritten by the next transaction (if done within a relatively short amount of time, say, roughly several …

Member Avatar for jtok
0
184
Member Avatar for Tommymac501

I am having a problem firing off a DOS app. To run a SQL 'SSIS' package, you use the following syntax: C:>dtexec /f "PACKAGENAME.dtsx", the quotes are required. I have tried os.system, os.execlp, os.execl and none of them seem to work. os.system causes an error with 'dtexec' saying the package …

Member Avatar for Beat_Slayer
0
573
Member Avatar for jtok

I am running SQL 2005 Standard Server. I am using Visual Studio 2010 for development. Let me just say that what I have below works, I would just like to have some constructive critisism. Is this the best way? Is there a better way? Are there any things I need …

Member Avatar for jtok
0
149
Member Avatar for virtualvinodh

Hi, I wrote a piece of code for doing a recursive printing of all the leaf nodes. But it is not moving beyond one or two levels. Here is the code: [code=php] $root = array( "paa" => array ( "adi1" => array ( "cir1" => array ( "aka", "ra", "vinodh","dkido" …

Member Avatar for virtualvinodh
0
248
Member Avatar for imso
Member Avatar for nick.crane
0
223
Member Avatar for ello

Hi there, I need some help actually using the ajax I've got, and defining the url in the ajax [if that makes sense] I've been trying to do it but It's not working atall and I wondered if someone could actualy show me in the code how to go about …

Member Avatar for ello
0
112
Member Avatar for backendcode

hello friends , I want to learn perl or python. which one is powerfull and where to start

Member Avatar for jon.kiparsky
0
88
Member Avatar for sujimon

Hi, I am using VS-2005. In my website I have used the html input control with type=file. The problem is that when I place this control inside an 'UpdatePanel' the 'PostedFile' property becomes 'Nothing' on postback. So in order to get things working I have removed the 'UpdatePanel' and things …

Member Avatar for toddanglin
0
232
Member Avatar for emilyhedgecock

I have a simple html form and i have a small piece of script which validates it, I would like it so that after the validation is carried out, if the return value is true, then the user will be redirected to index.html i have tried several pieces of code …

Member Avatar for Taywin
0
7K
Member Avatar for Stefano Mtangoo

I have been Out of real pythoning for a while. My favorite Toolkit is wxpython but It have a huge size due to monolithic nature. So even with simple app, it swells! I was looking if I can have any size difference with Other GUI toolkit, PyGTK! Hope someone will …

Member Avatar for Stefano Mtangoo
0
293
Member Avatar for Bordeaux0113

Hey everybody So I created a dropbox that would only enable certain entries in a second dropbox when specific options in the first dropbox are selected. For example, if A is selected in dropbox 1, then Z and X will be available for selection in dropbox 2, whereas if B …

Member Avatar for Taywin
0
139
Member Avatar for judithSampathwa

Hi there, I have a question regarding file open in C# , I have the path of the file saved in the database, what I want is when I open the open dialog button it will show the files in the path that I have saved and when the use …

Member Avatar for judithSampathwa
0
151
Member Avatar for Ramy Mahrous

Here's I wrote some code to validate user input without using if\else statements. I believe in scalability is the most important aspect in our problems solution. Let's say we are required to permit only numerics in some text boxes; we shouldn't develop something like that [iCODE]if(((e.KeyChar < '0' || e.KeyChar …

Member Avatar for ADias-Jayasinha
0
369
Member Avatar for helpme87

so i am designing some software to prompt the user to enter their account number which in turn leads them to have to input their usage of ln. this then is to be displayed in a database file. i have all the code done for this. it reads in the …

Member Avatar for helpme87
0
151
Member Avatar for new_divine

i am trying compelete my project for college i am assigned to develop a businfo map in java and being a beginner in java i am completely lost in it. i am trying to use map images to show the paths and locations as start and destination. we should be …

Member Avatar for jon.kiparsky
0
337
Member Avatar for java..

i know the difference between interface and abstract. how it will differ in real-time application scenario. can you please explain with example?

Member Avatar for jon.kiparsky
0
217
Member Avatar for GrexD

The XML file has a series of source and ID code pairs which I want to display in a single cell in a table. For instance, it would look like this.. SourceA - 4598H67 SourceB - 98565 SourceC - 98ASD5 The code below adds them to a single cell but …

Member Avatar for GrexD
0
93
Member Avatar for henikah

Hello I have to make a menu for a restaurant and I am kind of rookie at MySQL .. The menu has to be 8 columns wide ( 1column + 7 days ) and 8 rows in height . The problem is that it needs to be fully customisable , …

Member Avatar for syamsasi
0
182
Member Avatar for nocookies92

I'm trying to create a class that holds a 2D string array to be used by another class. For some reason, my IDE gives me a bunch of errors when I try to compile. Here's my code: [CODE]public class Lists { String[][] ListArrays = {"Why, Hello there!","Welcome.","blah blah blah","more useless …

Member Avatar for nocookies92
0
132
Member Avatar for Motorider

If this should be posted in another area, such as, layout and design please let me know. A person who post's as Ardav on this board has gotten me this far. I have a relational database that pulls by brand and descriptive keyword. I wish to search and display on …

Member Avatar for dschuett
0
480
Member Avatar for DiMono

My web host has closed off port 25 to user code as it was being used by other users to send spam. Unfortunately, I have the following code which I use to validate email addresses: [code=php]function fixed_gethostbyname ($host) { // Try the lookup as normal... $ip = gethostbyname($host); // ...but …

Member Avatar for phpstan
0
909
Member Avatar for rohith_08
Member Avatar for pheininger
0
246
Member Avatar for rogue005

Is there a way to match images and determine which two match? The images are not exactly the same but are similar!

Member Avatar for NormR1
0
75
Member Avatar for palunix

what is the best C++ IDE that i can consider it as strtting point to use it in developing thank in advanced, IYad,

Member Avatar for palunix
0
188
Member Avatar for kasbas91

Hello Daniweb.com, i hope you can help me, i am will create a dropdown navigation with php and mysql. I have some codes here, as you can look at. My dropdown navigation works. But it will not shows under the right navigations points. As you can se here on my …

Member Avatar for sourcebits
0
248
Member Avatar for slap01

need help with this one. I need to create a php code to see the items i've selected[CODE]<html> <body> <form method = "get" action = "new.php"> <center> RANDOM IMAGES<br> <table> <?php $images = array('2010 BMW M6.jpg','2011 BMW 750 Li.jpg','2009 BMW M5.jpg','2010 BMW 650 i.jpg','2010 BMW X6 ActiveHybrid.jpg','2010 BMW 550 I …

Member Avatar for sourcebits
0
241

The End.