64,152 Solved Topics
Remove Filter ![]() | |
I'm comparing a text box to a field in my database I want it to give back true only if upper\lower case match and not always when the words are the same. Can you help me? | |
How can i fix the column width at code time so that it cannot be editable at runtime. language-C# Windows application version-.net 1.1 or 2003 | |
Hi there, What I am doing is filling a 2-D array with numbers in a random order. i.e. I pick a position in the 2-D array and input a number there eg: array[2][1] = 3;(this input is received from a text file) In this way, I fill the array but … | |
Hello there, I have here a program that reads a txt file taking each word in three columns separated by a comma and storing it to a vector. It has a filter that whenever it sees a comma, it seperates the word from each other. My problem is, whenever I … | |
I want to learn [B] CORE JAVA [/B]... So, can any one advise me how to start... | |
i have a char array of 4 elements : [code] 00000000 00000000 00000010 00000111 [/code] how can i assign these bytes to 4 byte integer (this means 519), could you please give a modular code sample? thanx. | |
this is my first post...not sure whats the problem...any suggestions would be appreciated...thanx [code=language] <% int unViewedCt= 0; out.write("var jsLeads = new Array); (for (int i=0; i< leads.size(); i++) { currLead = (HashMap)leads.get(i); out.write("jsLeads["+ i +"] = new Array();\n"); out.write("jsLeads[" + i + "][0] = '" + currLead.get("PK_LEADID") + "';\n"); … | |
Hi, I have this project that i have made, although i have been trying to figure out how to make it so that the user can only enter integers in the input box and no letters (if they do the program crashes) Can anyone help us out/guide me in the … | |
hi.. can anybody help me to have more efficient code.. i tried to do some simple regex to split an URL i tried to do this on my own many times but i couldnt seem to get it right i havent master regex yet..(im learning - but the learning curve … | |
when opening the program, the user needs to enter his name and password. When he enters his password I don't want the letters to show, just *** or any other signs. How would I do this? | |
hi there, i'm trying to connect a python server to vb.net using xmlrpc. i've read all the xmlrpc.net materials in [url]http://www.xml-rpc.net/[/url] but i dun reli understand how xmlrpc.net works (i'm a noob in programming :) ) i'm given this xmlrpc server code in python and i wish to connect it … | |
Hi guys probably quite a common question but I've imported both java.sql.* and java.util.* and want to create an sql Date variable. What's the syntax to declare the variable from the sql class. I'm getting an error message that there is contention between the .util and .sql class. Thanks | |
Hi there i'm hoping someone can help me with this little problem. I'm pretty sure its a scope issue but since I'm new to python I cant say for sure. Basically i'm trying to get the counter2 variables final result. Below is the function as it stands right now, I've … | |
Hello everyone! Not so long ago I decided to learn assembly language. I have grasped the basics of it more or less, but there is one problem that I cannot solve (and find any help about). I wrote a program to output the sum of two integers that are entered … | |
I'm currently having a problem with having where it says DailyChild on my code to go up when the user adds a number. For example if they type 1 it should say 1.50. If they enter 2, it should say 3.00. But no matter what I do, it keeps printing … | |
Hi guys, I am working on a two dimensional array to represent a matrix. [CODE]int matrix[i][j];[/CODE] I need to swap all the values of matrix[1][1] to matrix[1][2] . I am not sure how to do the swap, I did try to use for loop and matrix[1][j+1] , but it did … | |
can anybody tell m,how to include-dropdownlist in datagrid... | |
My projekt has many forms. When the user closes the program, then the next time the program is being opened I want it to start with the form that was last used by the user. How do I do this? | |
how do i assign -let's say number 12000- to 3-byte stream? could u plz give a little code example? thanx. | |
I have a program written in BCB that imports a wsdl. When I run the program I get this error: [C++ Error] ExtActns.hpp(614): E2015 Ambiguity between '_di_IBinding' and 'Wsdlbind::_di_IBinding'. I looked through the ExtActns.hpp file and found this line of code: [code]HRESULT __stdcall OnStartBinding(unsigned dwReserved, _di_IBinding pib);[/code] I need help … | |
Hi, I have a jsp page where the user is asked to do certain entries. Now if the user leaves any one of the entires as blank or as a wrong entry and presses the submit button, he gets an alert message. Now after the user presses okay,, the page … | |
Hi everybody. I'm trying to turn on (or off) some LEDs conected to the Parallel Port. The program opens the port correctly but for some reason, it only allows me to use the LPT.MODE.SPP, even though that according to my Device Manager, the LPT1 mode is ECP. Besides that, the … | |
construct a hierarchy chart (divide the tasks into modules) then an algorithm,flowchart, or pseudo code that will allows a person to track a list of personal contacts. for each contact there are five fields - First name - Last name - Occupation - Phone Number - Relationship (of the contact … | |
In assembly I would[code=asm] ProcA enter 16, 0 call ProcB leave ret ProcB enter 16, 1 ... code leave ret[/code]Even if ProcA is in another file, so long as I know the order of the variables in ProcA they are visible to me in ProcB because [U][B]16 ,1[/B][/U] nests procedures … | |
how can i convert a void array to unsigned char array? could you plz give a little sample? | |
Ok, today is the final and I'm still confused with the struct. Last assignment was supposed to be transformaed from regular arrays to struct and even though I did it and it works, it's more like each member inside of a record is a array rather than array of records. … | |
Hello everyone. I'm new to DaniWeb and new to programming with t C++ i have been working on a problem for several days now and I think i may have the code correct except i'm getting compiling errors related to my if..else statements in the GetGrossPay function. I've tried moving … | |
I want to stop users from being able to save a duplicate record in my Access database. I thought of using RecordsAffected, but I can't figure out how to get it to work. [code] SelectSearchString = "SELECT * FROM Breakdown WHERE BFrom = " & txtFrom.Text ' & " AND … | |
Hey guys, so I’m writing a code analyzer and I’ve reached a bottleneck with parsing Java numbers from the source code. It works fine for the usual int, double and float numbers expect when they are represented as either octal of hexadecimal. The ‘parse’ method of [inlinecode]Integer[/inlinecode] and [inlinecode]Double[/inlinecode] don’t … | |
Sorry if this has been asked before but I have tried to find a solution elsewhere. I am using the getline function to receive input from the keyboard and save it in a text file. The problem is that it insists on printing a null character (the square box thingy) … | |
Hi, my name is Andrew. I believe this will be my first post on daniweb so please bear with me. I'm working on a compression algorithm (miniSEED steim 2 compression if anyone is interested, its for seismic lossless compression) in C so I do a lot of bit manipulation of … | |
I was making a simple application with a GUI built with wxPython. I have created and layed out the main menu, and when the user clicks a button, it is *supposed* to make a different set of controls appear, getting rid of/hiding the main menu. I was wondering how to … | |
XHTML has removed the "name" attribute. But the JavaScript method for reading radio buttons requires the "name" attribute to be the same on each radio button. W3C says to use "id", but that no more than one "id" is valid. I need to write an XHTML page with radio buttons. … | |
Hi How can I add 15 minutes to the previous event time (timestamp) to get the next event time. Note: This event time is not in a table. Straight forward adding the two values will probly not provide the correct result. I can get the correct time with Mysql addtime($time, … | |
Hi Everyone, I have to read data from a file into an array. I have that part figured out. I can't get my function to work. I have to write a sumArray, avgSales, highSales, and lowSales. Here is what I got so far. Could someone please help me with one … | |
Hi Is it possible to use php to display different text each day for my website. | |
Dear All, I am interested In understanding the Time Complexity for inorder traversal of the Binary Tree.Generally i would be also happy if you help me understand Space Complexity for the same I am also putting a simple code snippet for the Inorder. void inorder(struct btree *sr) { if(sr!=NULL) { … | |
Am currently doing a project with a java GUI interrogating a database. My first GUI is a [U]Login[/U] display which when the user successfully logs in will move onto a [U]Menu[/U] display. My problem is that I cannot get from the [U]Login[/U] display to the [U]Menu[/U] display. These GUIs have … | |
So, this is a "next step" for me learning how to pass multiple variables from a form to a database and publish the results. I feel that I'm *holds fingers in air* [I]this[/I] close, but the actual solution is alluding me. Goal: To have user select from dropdown list of … | |
hi everyone; in my program I need to sort the recordset according to specific field, however it gives an error like "Run-time error 3251: Current provider does not support the neccessary interfaces for sorting or filtering" rs_data.sort = "k_baslangic" 'is not working.. btw my connection code is Set conn = … | |
I am importing data from access file to a spreadsheet. One of the input field is a "comment" field with a full paragraph of comments. Some of the target cells in the spreadsheet displays "##########". But when I click on the cell, the Menu bar on top of the spreadsheet … | |
“Write a C++ program (use multi-dimensional arrays) that uses an array structures (size 8) to store the following information on a company’s 8 divisions: Division name (such as East, West, North, South, Northeast, Northwest, Southeast, and Southwest) First Quarter sales Second quarter sales Third quarter sales Fourth Quarter Sales Fourth … ![]() | |
Hi, everybody. I've made a code of a "for" loop. Once i exceeds 4, the loop must stop. The input is in a JTextField. The problem is that the loop never stops although it exceeds 4. Can anybody help me? The problem is here : public void compare(int x) { … | |
Hello! I need some quick help please :-) I have a php form that when a user submits sends an email with there details to us, but then also sends an email to the user, saying thank you for your email etc... I have configured the form and the email … | |
How can I get JavaScript to display values and attributes when they are written to input boxes by the script, instead of waiting for a rather lengthy (10 sec) calculation to finish? - IE does not change the boxes at all, until after the script finishes. - FF displays the … | |
Hi, I am having a strange problem with a simple process. Heres the code. [CODE] bool areNumbers = true; bool Anything = true; int numBytes = 1; long inCrem = 0; while(gPlacerID != tgPlacers[inCrem]->GetPlacerTypeID()) { inCrem++; if(inCrem == tgPlacers.size()); { Anything = false; break; } }[/CODE] This code is part … | |
hi, i'm supposed to create a very simple address program in C & not in C++. my program works but my problem is how to "search & edit a record" and how to "search & delete a record", that is what i lack. this program is really giving me a … | |
Hi guys, i am new to java so i started of with basics, but now im stuck at a little problem. I will paste the code and error's below, hoping that some1 could sort em out [code=java] import java.lang.*; import java.io.*; class Sphere{ float radius; int cXcord; int cYcord; int … | |
Hi, I'm trying to use a double click action on a input field. It works fine on firefox, but doesn't work on ie7 saying the object doesn't support the action. My action so far is just an alert box (for testing purposes), is this a known compatibility issue? |
The End.