199,114 Archived Topics
Remove Filter ![]() | |
I am not sure what I am doing wrong, but I am starting to feel very stupid. I am fairly new to C# so be gentle :) . I have an If Statement that is not working and I am not sure why. Here is my code [code=c#] if ("Admin" … | |
I'd like to be able to download the .net 3.5 API documentation offline so I don't have to worry about having an internet connection, but I can't seem to find anything online that indicates that it can be downloaded. Does anybody know if it can or cannot? I'm referring to … | |
I have 2 submit buttons in a jsp page. in the form action, i forward the request to a servlet. N in the servlet, i need to write logic for the respective button clicked in the previous jsp and redirect to a new jsp... Kindly help me with this... I … | |
Hi there, I am trying to update a node in an XML file using PHP. Here is the XML: [code=xml]<users> <user> <id>1</id> <firstname>Bob</firstname> <lastname>Marley</lastname> </user> <user> <id>2</id> <firstname>Bruce</firstname> <lastname>Springsteen</lastname> </user> </users>[/code] How can I go about searching the XML file for all tags where "id=2" and setting the firstname and … | |
I am using Visual Studio 2008. What i am trying to accomplish is a textbox default data: ABCDEFGHIJKLMOP textbox.maxlength = 16 textbox.charactercasing = upper Now the trick is only the letters A-P can be allowed the string has to be 16 chars long. I would love to figure out a … | |
I have several URL's that display random data from a database. I would like to know a better (more secure) way to display the data. Right now it uses the real table and column names and I would like to disguise them somehow. Here is the syntax of the URL: … | |
Hi, Let's say i have Main.jsp and return.jsp. i call the return.jsp from main.jsp and want the return page to return a string which I need to store in a variable in Main.jsp. How can I achieve this? Cheers! | |
This is a Winsock select() server in C++ (I'm posting in this forum so of course) and I have two problems with it. (title) 1. My select olny returns above 0 when a connect request is recived, the rest of the time it returns -1. So I can olny recive … | |
Even after reading up on it I'm not sure how to use if(isset(... for what I'm I'm trying to do. Can someone point me in the right direction please before I pull my hair out? My code [code=php] if(isset($_POST['email1'])){ mysql_query("INSERT INTO rating_invite SET user_id='$_SESSION[user_id]', email='$em1'");} if(isset($_POST['email2'])){ mysql_query("INSERT INTO rating_invite SET … | |
Hello all, I've submitted something similar in the asp.net forum so if you frequent both you'll see it in both places. I'm curious if javascript or ajax can help us accomplish some of our tasks, here is the post in the other thread: Hello all, I'm a bit newer and … | |
Hey All, i'm doing this project in c++ consisting in reading an mp3 file and extracting the informations within it. Thing is i'm starting to be pissed by this persistent error that stops me from test the code. This error is, as far as my (limited) knowledge goes, caused by … | |
This program is from the collopy book. I just had to type it in and create a text file so it would compile correctly for a class assignment which I did. But the very last record will not be shown when i compile. This is what is in the txt … | |
Hi,I have maybe stupid question but are anyway to build "forum" on javaScript or Html without using SQL or ASP maybe there is way client send his information directly to the page? Thanks,Sergey | |
Alright so I have a Grid with 17 fields. I have my onrowupdating method, and it works, except for this one value is not getting passed to the method. So when I say e.oldValues I get only 16 not 17. The problem lies in one of the rows that I … | |
Hi All, We have a website by name, [url snipped]. It was integrated with Payment Options, viz., PayPal Pro (Master Card, Visa Card, AMEX and Discover Bank) and PayPal. While making payment through PayPal Pro, we don't face any issues. The order flow is there. We could see them through … | |
Hello! I kinda just fell over this great C++ plug-in for Visual Studio 2008 C++, Dark GDK. I installed it and that DirectX, August 2007, shit and it was downloaded and installed correctly with no errors, but still it doesn't show the new Wizards template when I start a new … | |
Can someone help me to write a code in C Programming that will ask the user to enter a PIN and if the PIN is entered 3 times wrongly the program should exit. Thanx in advance....... | |
Hello. I have an undecorated JFrame (Which is rather boring by itself), and I would like to know how to get a drop shadow effect for it. I have researched it, but I haven't found anything, anyone have any ideas? Thanks in advance!!! | |
| |
Hello, I'm working on a project for my master degree that uses codes called CurveLab [url]http://curvelet.org/software.html[/url] I don't know how to install it to my system. I tried to follow the steps but I filed to do so. Can anyone help me with doing that? I'm really in need to … | |
Hi, I am using a date in DB in this format 2004-07-15 and Showing the date in the format 15-July-2004 using this code [CODE=php]echo "<tr>"; echo "<th bgcolor=#FFCC00>LA Start Date</th>"; echo "<td bgcolor=#FEE9A9>" .date("j-F-Y",strtotime($row['LAPeriodStart'])). "</td>"; echo "</tr>";[/CODE] Now I want all the records from this date field for the month … | |
can i access cmd command from cpp? for example, C://Program Files/asdf.exe | |
Can anyone help me with the mail function? The mail is sending with the code below: [code=PHP] // Set up Email Parameters $from = "Condolence Submission"; $subject = "Condolence"; // To send HTML mail, set the Content-type header. */ $headers = 'MIME-Version: 1.0' . "\r\n" . 'Content-type: text/html; charset=iso-8859-1' . … | |
this coding working. but this coding simple coding.. can anyone give idea how to make this coding looking nice ? [CODE]Imports System.Data Public Class frmANGGARANBARU Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter Dim sql As String Private Sub frmANGGARANBARU_Load(ByVal sender As System.Object, ByVal … | |
Hi, I am pretty new to C++ but have lots of experience in java/c# and know the basics (classes/structures/pointers etc) but am having some problems linking to external source libraries. I am trying to use something called the openframeworks which I have downloaded and I need to include "\libs\openFrameWorks\ofMain.h" but … | |
i want to create the xml file and add insert and delete the node , caN YOU SUGGES ME TO THE CODE OR LINK TO HELP ME , | |
Hi I have a column name date in my listview.Currently its been sorted by date,month,year but I want this column to be sorted by year ,month,date.How can I do it? | |
Hi everyone! I have the following problem I am trying to solve: I have one table with data and need to access the same column twice, everyone with different criteria and then output the results on one table. I tried [code=sql]SELECT e.user, SUM(e.column), SUM(f.column) FROM table AS e INNER JOIN … | |
Hi all, I just need an idea (not code) how to export data from my databse to excel sheet..that too row wise.. I only need a starting idea... m using Visual studio 2008. | |
i've been trying to store a coordinate in a vector array, and reading the coordinates from a .txt file. there was no error, but the size of the vector is still 0 (i'm sure there was no value in the vector array) here's my code: [ICODE]#include <stdafx> #include<iostream> #include<fstream> #include … | |
Hi friends I want to make a screen saver in my Project but I don't Know how to do it PLZ help me I want check the Mouse Movement if it dosen't move and if user don't push the keys in keyboard my screen saver be able How I can … | |
I want reset user choice of radiobutton here is my code [CODE=javascript] form action="mailto:meerovichsergey@gmail.com" method="post" enctype="text/plain"> <fieldset> <legend>Your opinion</legend> <input type="radio" name="choice" id="op1" value="All was perfect ,answer to all question." >  All was perfect ,answer to all question.<br/> <input type="radio" name="choice" id="op2" value="Arcticle is good,but there are a things to … | |
Hai, I have developed a small application in asp.net using c# to open the excel sheet and save the excel sheet. It was working in the developer machine while I tried to run through IP address of the developer machine it shows COM exceptions else it asks the username and … | |
Hi all, What is the best method to move data from an access database into sql server database with different table and field names? If possible could you give me an example? Thank you so much! | |
Hello, I have a question, in my program I want to read a text field then to convert it to Color, How Can I do this ? I try this, but I didn't know if this is right : [code]String colorString = getCarTextButtons()[3].getText(); Color color = Color.getColor(colorString);[/code] | |
I have an AlphaSeats [60] array and the loop I did, changes the value to 0 and it's suppose to stop when it reaches the index 59 but it goes on and end up changing other variables - PartyName, PartySize and Airplane value to 0 too... Here is the code. … | |
I have a huge stored procedure which calls other mini-ones. The problem is that I need a temp table and I'd like to avoid a real table being used as a temp one. You've probably guessed by now, but if you haven't, a table variable is created at the beginning … | |
I m planning 2 go for some language and m completely confused in between vb.net and asp.net. could any one let me know which one is for what and more applicable nowadays in industry.. like my main emphasis is on website development and o also want to develop an inventory … | |
how to put the combobox in that gridview.when we select the combobox then display the another combobox values in that datagridview. data retrive from the database. i want the datagridview colums is: Sno ProductsName Items Quantity Total. ProductName is one combobox and Iems is another combobox.when we select the productname … | |
hi everybody, I'm having a problem on what to do next in my project. below is what i need to do. if any body let me know if i'm doing it right and if i need more classes. help on boolean, clone and finalize method. Thank you... A library needs … | |
Hi! I am a total novice on programming! Can someone tell me a solution for this problem? 1. I made a simple program. 2. I debugged it and tested it. It worked fine. 3. I compiled it and tested it again on my computer. It worked fine. 4. I copied … | |
can help me ?? i want to loop to "Please choose the section you want" after all the calculation, but it only loop to "key in the number of adults"..Please help.. #include <iostream> using namespace std; int main () { int adults1, childrens1, adults2, children2, adultstotal, childrentotal, choices, total_ticket1 = … | |
Hi all, I am a new software developer that recently joined my company right after I finished my school. We use Microsoft Visual C++ for development. While at work, I found that many co-workers are very experienced in software development; they can code quickly to solve the problems. I feel … | |
Hi everyone. I'm relatively new to MS SQL but one of my clients has a site based entirely around it so I am having to get to know it a bit better. While trying to clean out some of the fake emails from the mail list table they all got … | |
So guys... everything is working properly except for when the radio button is clicked to either "yes" or "no" on the form the email that is send does not display it at all. [code] $message = " $todayis [PST] \n Attention: Interactive Media Requesting a Bid \n Phone Number: $areacode2, … | |
Hi all, I have searched high and low for this answer but turned up nothing concrete. I am using MS SQL Server and ASP. I have a database with a table which includes a field with a TEXT datatype. I have created a simple stored procedure to select all the … | |
I am new to C programming and have been using the GOTO all over the place until today when I was informed it is not preferred practice, and due to its adverse affects on debugging and maintenance should only be used in the rarest of cases. I can understand that … | |
Hello, I compiled my trayicon utility c++ code in visual studio 2005 express edition and tray icon balloons showed up successfully but later I deleted my firewall, switched on to windows firewall and now I am on another firewall software. Now i ran my same project and balloons showed up … |
The End.