199,114 Archived Topics
Remove Filter ![]() | |
I was wondering, I might not have this question in the right forum, But how do you disable a program from taking a screen-shot of your website? I'm just asking because I've tried to take screen-shots of some websites and some of them just shut down the program while others … | |
Anyone here know the code to view the cpu/ram usage at anytime? Yeah, I know its in the task manager but I want to create a small form and place it on my desktop. | |
Hi, I've tried several of the fixes for this that I've found on here, but I haven't been able to find a work around. Here is the code that I'm having the trouble with: [code] mysql_select_db($db_name,$db); $result = mysql_query("SELECT * FROM pages WHERE pagenumber LIKE $pagenumber ",$db) ; while ($myrow … | |
Hi folks, I came across an intresting peice of script that redirects to links in a new browser with a custom table at the top. It appears to be automatic when somebody types in a link address. I think there is some scripting hidden/missing that makes it work. Im wondering … | |
can anybody give m articele or pdf or any other stuff-regarding datagrid_itemdatabound... Or explain,the working procedure of this particular evenhandler.... regards,,, preetham | |
I am attaching a war file that prints hello using servlet This is code for web.xm [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<?xml version="1.0" ?>[/COLOR] [URL="file:///D:/sumit/WEB-INF/web.xml#"][B][COLOR=#ff0000]-[/COLOR][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]web-app[/COLOR][COLOR=#0000ff]>[/COLOR] [URL="file:///D:/sumit/WEB-INF/web.xml#"][B][COLOR=#ff0000]-[/COLOR][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR][B]hello[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-class[/COLOR][COLOR=#0000ff]>[/COLOR][B]servlet1[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-class[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet[/COLOR][COLOR=#0000ff]>[/COLOR] [URL="file:///D:/sumit/WEB-INF/web.xml#"][B][COLOR=#ff0000]-[/COLOR][/B][/URL] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-mapping[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR][B]hello[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-name[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]<[/COLOR][COLOR=#990000]url-pattern[/COLOR][COLOR=#0000ff]>[/COLOR][B]/hello[/B][COLOR=#0000ff]</[/COLOR][COLOR=#990000]url-pattern[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]</[/COLOR][COLOR=#990000]servlet-mapping[/COLOR][COLOR=#0000ff]>[/COLOR] [B][COLOR=#ff0000] [/COLOR][/B] [COLOR=#0000ff]</[/COLOR][COLOR=#990000]web-app[/COLOR][COLOR=#0000ff]>[/COLOR] [COLOR=#0000ff][/COLOR] [COLOR=#0000ff]but … | |
Hi, I was wondering if it's possible to use the sprintf or any kind of print statements that formats your output into a particular format. The value that is passed to me is "45.0", and I would like the output to be displayed as "45.00". Thanks for any replies! | |
I'm trying to write a class containing some code i want to reuse in other projects, but I just cant seem to get it right. I'm hoping someone out there can offer a helping hand. Here is the original code: [code] def Numero(name): 'A function which converts a string to … | |
Hey, I have code in my program that, made line by line appear from my text file (Addition.txt), on my label. It basicly drawed questions from the text file. Now i was wondering if you could help me with the next part. When the question shows, the person is supposed … ![]() | |
Hi! I cannot access my "Debug Windows" in VS 6. All the windows are grayed out and I cannot select them. What do I need to define to be able to access them? Thanks ![]() | |
[code]i have to make a project in java at the beginners level.....so anybody who has ideas on the same...cud u plz help me...i have only 2 months to complete the project...[/code] ![]() | |
i am totally new to the c++ arena. i have been tasked with writing a program that asks for a number, asks for that many names, in the form, "last, first," sorts the names by last name, but displays them in the form, "first, last," then offers the user the … | |
Hi Does anyone know the code to compare file versions from a server share and prompt the user to download the update if the file versiion is newer? Also how would you get this code to work automatically after launching the app? I've tried ClickOnce but did not like the … | |
I am taking a computer science course and it is very basic. My question: If an algorithm takes 5n log2 n + 3n^2 + 4n+ 500 steps in the worse case state its complexity using Big- Oh Notation. I don't have any clue on how to solve this problem. Any … | |
hi i am student of msc it i need good project of system sw on java or .net , if any body have any sugetion or idea please help me | |
Hello gang, I was actually really my old topic on this forum. I heard that Python and Ruby would be for me to start with. Does that sound right instead of jumping right in to C and C++? What is required in Python? Is there free tutorials on that language? … | |
I want to do a project on J2me where from my mobile I can lock the car , switch off my light and can be able to different household works .Can anybody provide me some tutorials or suggestion so thath I can proceed for my project ?? plz provide some … | |
So I'm trying to count the number of lines in a text file. I think I got it working, but it seems I can't do further correct processing on the text file, maybe because getline extracts the data? The operations I want to perform include inputting values read from the … | |
i have these objects: [ ['John', 27.52], ['Mary', 43.32], ['Paul', 64.85], ['Lulu', 98.23], ['Peter', 23.64] ['Mimi', 53.42], ['Nancy', 23.63] ] and i need to assign them to: var1 = ['John', 27.52] var2 = ['Mary', 43.32] var3 = ['Paul', 64.85] var4 = ['Lulu', 98.23] var5 = ['Peter', 23.64] var6 = ['Mimi', … | |
Hey, I need to know the command for adding secondary groups for a user. The only catch is that I have to assume that they are already members of some secondary groups. And if I use modprpw -G [group], then it erases any secondary groups they were previously in, and … | |
Hi guys, I have a form with many text fields that are created from another program (java) <input type=text name = 'myname1'> <input type=text name = 'myname2'> <input type=text name = 'myname3'> . . . . . and I have a javascript that loops through these text fields for (var … | |
Can I find an answer here about a Word Macro issue? I am trying to apply a macro to a Protected Form document. The user will click on a button to "Add a new Activity" table, which is saved in annother file to be inserted using the macro. But when … | |
Hi guys I have a tricky XML/Java situation that I need some tips on I have an XML file <country> <country-name code=”USA”> <city>City1</city> <city>City2</city> <city>City3</city> </country-name> <country-name code=”FRA”> <city>City1</city> <city>City2</city> <city>City3</city> </country-name> </country > Firstly I need to count how many cities per country. I know I have to get … | |
So my user has successfully logged into their page...I have a "home" button link that I want to simply go back to this same page....when they press it...it takes them to the login screen....any suggestions?? here's my code snippet [code=java] <li class="first"><a href="cp-newmenu.jsp" target="_new" class="on">Home</a></li> [/code] thanx in advance | |
Hi This is my first post here and I have just started using php so please be kind LOL I have tried to use the script below to do a search on the database but it keeps spitting out [B](Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource … | |
Hi people of the bandwidth world!!! Hey guys How are you today? What does $THIS-> actually do? I'm advancing in OOP programming using PHP.... Please enlighten me on this or if you have resources that explains all this in "ENGLISH" Thanks Guys | |
Hai... How to Usercontrols with Shortcut Keys[F1,F2,F3,CTRL+O]... I am creating one windows apllication.. the apllication contain many form.. in one form i am used one usercontrol(parent control).. the many form used in that inherited usercontrol(child control).. in my form i want to use shorcut keys in usercontrol form does not … | |
I have installed MySql 5.0 and also configured but after installation it shows " The Service couldn't be started" Plz help me out | |
who have a PHP virsual program ? I know little on PHP, need a PHP virsual program very much. | |
Hi! I'm looking for a tutorial to explain handles and messages in C. I tried searching google for a while with no real success. Maybe I'm using the wrong keywords... Thanks. | |
I'm trying to write a game for fun. I've been able to get some lines of code from other friends who have been able to help. But they couldn't help me with this. I'm trying to write the code to where, when you click on the button it should change … | |
Hi there, I have a combo box that contains 10 names. For eg. I select John's name. It will retrieve his left250 value from Access database. It will then display as a label. I've managed to do this so far. However, when i add in a new name in the … | |
I hv make a html file on which I placed 2 fields username and passowrd.I also included a php file named "check.php" The code in the check.php is as follows: [CODE] <body> <? $con = mysql_connect("localhost","",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("alauddin", $con); $name=$_POST['txtusername']; $password=$_POST['txtpw']; … | |
Firstly i would like to say Hello to everyOne.Am a Computer Science Student and Am new in Java Programming.My first program is to write a program that will read a file and display the sum of all values. ....wanted to use BufferedReader to read the file and store the values … | |
Good morning, I modified the code accordingly and got another "Run-Time error 1004 - Unable to set the RowHeight property of the range class" on the code below. Also, please look at the spreadsheet attachment. Is there any way I can get rid of the spacing(gap) that separates the line … | |
Hey everyone, I'm new to C++ programming and have just started the semester and having a bit of trouble with my second homework assignment. Here's the assignment: Write a program that accepts a 7-9 digit integer andechoes the number with commas between every three digits from the right. Here's what … | |
Hello guys, I'm currently having a problem with converting uppercase to lowercase. For example in my code below when a user enters in the class number I'm trying to let them be able to type it in both uppercase and lowercase. Like instead of only being able to type ABC101, … | |
Hey everyone, I'm workin on a little side project and I was looking for some help. Currently I have code that will check a given directory and populate two list boxes based on id3 tag information. The first select box will be populated with artist info and the second, with … | |
How do you introduce mouse in c++ program? | |
Here's my code...basically, I hard coded yesterday just to make sure it works...Im trying to get it to display results everyday [code=java] String sqlStmt = "SELECT distinct count (lc.con_id) as TotalLeads FROM LEADS L inner join leads_contactinfo lc on l.fk_conid = lc.con_id" + " WHERE l.FK_CONID = lc.CON_ID AND lc.FK_AGENTID … | |
I would enjoy some help in directing my search for C++ code in a more specific area. I only have two years of college level C++ programing expirence under my belt so i would love to keep most of the coding simple. I want to create a function that moves … | |
hi guys..........this is the code I'm trying to run [CODE] package dbpack; import java.sql.Connection; import java.sql.DriverManager; import java.sql.*; import org.jfree.chart.*; import org.jfree.data.jdbc.*; import org.jfree.data.general.*; public class chartdb { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub //private void readData() //} private PieDataset … | |
Hi doing a project which consists of moving between individual frames and in general interrogating a database from these frames. My first frame is a Logon frame. In this Logon Frame/class i have also instantiated another class called Member where I've saved the username from the logon process. Can I, … | |
hai , all This coding about filter data using jTextFiled and display in jtable, so help me to combine these class be one class. thanks [CODE] //DBAccess.java import ca.odell.glazedlists.BasicEventList; import ca.odell.glazedlists.EventList; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; public class DBAccess { private static Connection c; private … | |
Hi I have a piece of code. It's print for me the numbers I enterd but in reverse order that I would like to. How may I change that? thx [CODE] #include<iostream> #include<conio.h> using namespace std; struct Node { int data; Node* link; }; class Q { public: Q(); void … | |
Hi I try to fill linked list with names. I have one error could anyone fix it. [CODE] #include<iostream> #include<conio.h> #define MaxSize 30 using namespace std; struct Node { char name[MaxSize]; Node* link; }; class Q { public: void get_input(char array[]); void print_input(); private: Node* head; void display(Node* ); }; … | |
hi guys.. need your help for retrieving selected images from the database and display it in thumbnails.. thanks | |
Im getting this on just about every line....anybody see what Im doing wrong? [code=java] public static int[] getLeadsSummary(UserDataVO userData) throws Exception { Connection connection = null; PreparedStatement pstmt = null; ResultSet resultSet = null; int[] leadsSummary = {0,0}; int leadCount = 0; try { connection = DataBaseConnectionManager.getConnection(); if (connection != … | |
hi, can you help with the code to delete a structure object in c++. Thanks | |
i tried like a million things and im ready to murder someone, can someone walk me through it? thanks. |
The End.