64,152 Solved Topics
Remove Filter ![]() | |
| |
Hey. Thanks for all of the help with my other questions. This forum has been very helpful. In this program, there is a note: "chocolate" may refer to either the ice cream or the sauce; assume it refers to the ice cream if an ice cream flavor has not yet … | |
hi all, Donn't know much php........... i want that when user register,his registration date store in db.i want to use server date not his system date in db. thankx in adva... | |
Hello, I am quite new in ASP.NET, I am currently studying C# (still am at the beginning), and I got this task to separate the "code for the presentation part", so I would get two separate files - Test.aspx and Test.aspx.cs. i know that the .cs is actually the C# … | |
I made a small program for a Doctor's office, but I had to manually install SQL Server on the PC and manually create the Database and Tables. How do professionals make a program dynamically create a database? Do they even [B]use[/B] databases? Thank you for the info dudes. | |
I'm busy working on a simple XML formatter. Now I've got the app doing everything I want, except that I have to give it the absolute path of the XML file I'm using. Is there any way to get te relative path of such a file if it is known … | |
hi, i want aregular expression which allows numbers and one period eg 325.50, 25.20 and allow only two didgits after the period | |
Hi guys, hoping someone can shed some light. I have a script that I've been using for a while to submit a date to Mysql. Its been working fine but now I'm trying it on a site I'm building and when I hit submit NO date is entered into Mysql. … | |
hi my html form contains a table tag <table id="MainTable">. i would like to populate this table using a javascript function. my probllem is that i created a table that contains another table inside on of the <td> tags. i tried to write the most basic code: [CODE=javascript]var myTable = … | |
So I've created an array based on posted information (a big list of numbers separated by lines which has then been exploded) So this array may contain numbers from 0-100 or whatever So I have one array of numbers Now for each number I want to find out many numbers … | |
To create a game of Heads or Tails against the computer. Write a program that asks the user for Heads or Tails, then simulates a toss of a coin and then tells the user whether they have guessed correctly. DISPLAY a title for the program Issue the statement that stops … | |
I really need help with the below error. I dont get this when i run my asp.net c# application in VS@005, but when i make virtual directory on my office Windows server I get this error. Tell me what changes need to be done in C# code or crystal report … | |
Hi, I have a file system tree. I need to select a file and highlight it without selection. I am not able to build the TreePath for this. Plz let me know how to build the treepath. Thanks in advacne, Sagar | |
I have an .aspx file and i try to align the table to the center. But when i do this [code] <table style="text-align:center"> [/code] it does not work. It shows the table always at the left side of the page. | |
First, I searched the forums and couldn't find a thread that matched my problem. I also searched Google for my error message (in quotes) and received 9 results. If you know of a post/article that deals with my specific problem, I'd love to read it. I have a TemplateField in … | |
Hey Guys I'm kind of a newbie to C#. Now the syntax and the like don't bother me because I love java, so the actual programming is no problem. However, I'm trying to do something I can't figure out. I want to write a module in Visual C# (Visual Studio … | |
I have as ASP.Net 2.0 website with SQL Server as database and C# 2005 as the programming language. The website is almost complete and all the links are working fine. But I want to prevent normal users from opening a couple of pages. When any user clicks on those specific … | |
Hello. My task is import data from a text file into an array, and then sort the array and print out the sorted array. Each element of the array represents a clothing item and has name,category,quantity, and price values. I have an Item class to represent a single clothing item, … | |
If I click a button how my computer will be open? I want I click a button then my computer will be open. help me with my computer, control panel | |
Hi, I am a beginner for the zend framework. I have viewed the screencast from the zend site and followed them. The summary of the screencasts are: [code] application controllers IndexController.php models views scripts index index.phtml library Zend public .htaccess index.php [/code] The codes are following: index.php: [code] <?php //error … | |
I know I am missing somethings in my code not sure what I am supposed to put in. Here is what I have so far. import javax.swing.JOptionPane; public class Main_Class { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String firstNumber;//first number … | |
[B]Convert Case To Random In Vb6[/B] I've only 1 Textbox & 1 Button... can anyone help my? Thanks | |
Is it possible to send mail through my web application without having SMTP server? For example, the mail will be send through my existing hotmail account or yahoo account to ppl who registered in my web application. If it is viable, please provide me some resources on the method...Thanks in … | |
I've just started c# having done VB and a bit of c++. I think c# is probably a more viable option than ++, thus here I am. I've had this problem in a few languages. How do you create an array in code that is linked to an array of … | |
Hello fellow members. I am having a bit of a issue with my forum edit. Here is the code to give you an idea: [code=php] <?php if(!$_SESSION['uid']){ header("Location: index.php"); } $action = $_GET['act2']; $actions = array('reply','topic','admin'); if($action){ $admin = isa($_SESSION['uid']); if($action == 'admin'){ if($admin){ // }else { echo "You are … | |
Hi , I already created a button "enjoy button" that i want to move in a form when the "timer start button" is clicked. how do link the timer to the "timer start button" and make it move? this is what i tried so far..then am blank first [quote] Private … | |
I been searching for days for a sulotion but can't seem to find one. The coed that I have does not give me an error but it does not save anything on the table either ' Can someone help me find what I'm missing? this is my coed [CODE] Dim … | |
i want to implement a memory using c++ language. the memory will contain addresses of length 64bits because in my architecture the word is 64 bits. i want to implement it using a set associative array. so i want to create a 2 dimensional array of dimension 8 and 16k … | |
I have a function which outputs a really long string in a box of defined size. The problem is, after a few lines, I get an error saying that HEAP CORRUPTION has occured and I wrote to a memory beyond the allocated limit. Now, I'm only writing to console and … | |
Hi I am using the code below to validate user when they login to my website, the first part check if user have typed their username and the second part search the table to check user exist. These two parts work fine but the last part the while condition don’t … | |
hello every one here, hoping u're all doing fine. i am face with a wierd error while trying to encode a class about courses and students ( student is itself a class) i'm give this error, and googling seems of no help! [COLOR="Red"]error C2784: 'bool std::operator <(const std::pair<_Ty1,_Ty2> &,const std::pair<_Ty1,_Ty2> … | |
I’m new in C#. My first attempt is a console application for the Noughts & Crosses game. I’m stuck in writing the condition for break if any player wins. Any comments will be appreciated. [code] //Tic Tac Toe using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TTT { class … | |
Just getting back into c (I've been dosing assembly for the last few months), so don't laugh at me :S I'm trying to read an input file. The fist line contains how many lines to read. The rest of the lines contain 3 words. Here's an example: [CODE]3 Hello, World … | |
Hi, Im needing alil help with this, googled everywhere, but to no avail. I need to search several(the amount could be endless) words in a string, and replace each word with a link using the searched-for value as the text, and id in the link. To achieve this, I am … | |
When creating a new object, i can't decide to use "static allocation" or "dynamic allocation". Ex: [CODE] class A {...}; int main() { // A theObject; // or A theObject = new A(); ? } [/CODE] In some more complex cases, i don't know what i should do. Ex: Use … | |
Can anybody tell me .how should i print serialno of materialrequistiondetail table of matching requisition no.in descending order.here is the code what i have written. [code] Private Sub btPrint_Click() Dim sqlQuery As String sqlQuery = "SELECT MaterialRequisitionOrder.requsition_no, MaterialRequisitionOrder.job_no, " & _ "MaterialRequisitionOrder.delivery_point, MaterialRequisitionOrder.delivery_date, " & _ "MaterialRequisitionOrder.delivery_time, MaterialRequisitionOrder.suggested_supplierID, " & … | |
I'm learning Pascal in school. I've come across a run time error that's been eluding me these past few days. The error message I get is: [QUOTE]ERROR: line 86, access made to undefined variable[/QUOTE] I've been searching t'internet for a while trying to find out some help, alas Pascal as … | |
I was making a dos based text game and needed user input. I looked through the forums and found the thread on safe user input, which would be using fgets() instead of gets(). The first problem I ran into was that stdin always had '\n' in the buffer, so it … | |
Please help I am stuck. I am trying to retrieved text from a file named "text.txt" and reversing the contents to another file named "output". Then i have to display the contents of "output" to the console. I am able to display the reversed text to console but only from … | |
Hey, I have a small problem. I need to convert a char into an int, except the char has 2 values inside it. For example [CODE=c++] char c = 'v0'; int i = c - '0'; cout << i << "\n"; [/CODE] All that does is removes '0' from the … | |
is it possible to end actions that are happening? example: [code=pascal] repeat writeln('example'); until c=1; {the c is an example. im asking if it would be possible to change c to something like 'until readkey'} [/code] readkey doesnt work. i hope you can understand what im tring to ask here. … | |
hi friends, Im doing my project in C#. Now,I want to make a very nice UI for this one.. The UI which i created now is a simple one using visual studio 2008.. Is there any other software by which i can make a very nice UI. | |
i couldnt find the server explorer, where is it, i need to connect to sql express database. | |
I m having many dataobjects (*.java)(having getters and setters) My requirement is that, I want to write a generic Method, which will accept argument as Object and will call all getters of that Object. Basically I want to write a log file with all dataobjects which are going to be … | |
[ICODE]public class fermi { private int[] guess; private int[] random; private int total; public fermi(int[] gs, int[] rn) { guess=new int[gs.length]; for(int i=0;i<gs.length;i++) guess[i]=gs[i]; random=new int[rn.length]; for(int j=0;j<rn.length;j++) guess[j]=gs[j]; total=0; } public int totalPlay() { return total+=1; } } [/ICODE] [ICODE]import javax.swing.JOptionPane; import java.util.Random; public class playFermi { public static … | |
I am writing a program that is supposed to calculate how much a person earns in a month if the salary is one penny for the first day, two pennies for the second day, four pennies for the third day, and so on with the daily pay doubling each day … | |
Hi Friends! I have started building my first professional project(actually a web portal). that is kind of business project. I need full membership features. now what you think? If SqlMembership Povider in asp.net is enough for a professional application or not. should i create a custom membership provider. which one … | |
i USED THIS CODE TO ASSIGN THE BRAND DBS TO A VALUE OF 200 [code]Private Sub xModelComboBox_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles xModelComboBox.SelectedIndexChanged If xModelComboBox.Text = "DBS" Then xTotalPriceLabel.Text = "$200,000" End If[/code] AND THIS CODE TO CALCULATE THE FOLLOWING iNITIAL PRICE= is the default price for … | |
Hello everyone, I am having trouble with a part of my Assignment and think i am missing something here. I have a Field class as below: [CODE=C++] class Field{ char * fstr; int frow, fcol, len, fslen, foffset, fstart, fctype; bool fedt; static int finsert; public: Field(char * str, int … | |
hi guys, how to code this vbscript in javascript? thanks.. [code] <script language=vbscript> <!-- Sub CallMenu(n,isHidden) document.all("menu" & n).style.visibility = isHidden End Sub //--> </script>[/code] |
The End.