199,114 Archived Topics
Remove Filter ![]() | |
i have a problem making the code for this logic i have 5textbox ,1 label and a command button on a form and need to do this: [QUOTE]if the value of the 1st textbox is greater than the 2nd,3rd,4th,5th then label1.caption = to the value of the 1st text box … | |
Hi All, I am very much new to python.I need an application to generate password protected pdf. Can anyone help me out? Thanx in advance Dushyant Joshi | |
Hi all, Am a fresher with logj4 and trying to configure my properties file. My question is that how can i log differrent priorities of messages to different files using categories and appenders. help would me greatly appreciated. This is my properties file. I ma not able to get the … | |
Hello, I have searched in google, but I didn't find the answer. I want to creat something like that using javaScript: [CODE] <input type="text" onfocus="this.select();lcs(this);" onclick="event.cancelBubble=true;this.select();lcs(this);" /> [/CODE] here is my try, which works fine in Firefox but the events are not working in IE. [CODE] var parent = document.getElementById(parentID); … | |
Hey there everyone! I found this site because I was looking for some help with my c++ course. I am trying to figure out how to make a program that can read in data from a .txt and then replace every 7th word with an underscore. It must print out … | |
Hi Developers .....I am facing a problem of adding an Image to CommandBarButton ( i m using the VSTO). Can any body help me out....... Every Reply will be Welcome..... | |
I don't have the code as I keep following examples that don't exactly work. So, here is what I am trying to accomplish: 1: Something similar to what this site uses to reset lost passwords 2: Redirect a user based on url in the table Any help or direction would … | |
Well, I did go through the site mentioned in one of the earlier queries, but still i am not able to solve it........ I want an image to be displayed instead of the mouse cursor when it is over a panel.........which in the code is mainPane...........i think i am making … | |
need some advise here...just create a simple form..but i had problem with validation.hope somebody can help me.. [B](register.html)[/B] <form id="FormName" name="name"method="post" action="added.php" name="name"> <input id="name" name="name"type="text" name="name"><br> <input id="email" name="email"tpe="text" name="email"><br> <input id="contact" name="contact"type="int" name="contact"><br> <textarea id="person_attend" name="person_attend" rows="4" cols="40"></textarea> <textarea id="comment" name="comment" rows="4" cols="40"></textarea> <input type="submit" name="submit"> </form> <? … | |
This is sasidhar. I am getting problem with JNDI. please help to solve this problem. This is the program I used to work on JNDI. I am using weblogic 10.0 [CODE] import javax.naming.*; import java.rmi.*; import java.util.*; public class UseJndi{ public static void main(String args[]){ try{ Hashtable h = new … | |
![]() | Ok I have to print two charts: one showing kilometers per hour converted to miles per hour and the second showing degrees Celsius converted to degrees Fahrenheit. The speed conversion table should list speeds from 50 to 130 kilometers in increments of 5. (50, 55, 60 …) The temperature conversion … ![]() |
Okay I want to build a program but I do not want the program to be copyrighted by Microsoft or any other companies. If I use one of their programs then I assume they have control over it and how it is distributed. I read that no one owns c++ … | |
I have a string stored in a session variable.....how do I get that string back out as I get the error:Type mismatch: cannot convert from Object to String Is there a toString() method or something? Thanks | |
Hello All, I used a for loop to create a set of radio buttons. For example: for($i = 1; $i < 4; $i++) { print '<INPUT TYPE="radio" NAME="first" VALUE=$i >', " $i|"; } My question is how do I display which radio button was chosen if all of them have … | |
Hi I want to increment file number with date e.g 19-FEB-09-1.dat, 19-FEB-09-2.dat .... So in the write function after it runs for certain number of times say 12 the file number then increments to next one. However, if the file number already exists it then move to next number to … | |
Keep getting an error 'syntax before struct_acc' but cant see where can YOU?! (it's like finding woldo to me) [CODE] void print_customer_statement(char customer[]) { int choice; struct_acc Acc[SIZE]; FILE *file_ptr; int i=0; file_ptr = fopen(customer, "rb"); if (file_ptr == NULL) { printf("Error in Opening files... Program End\n"); exit(1); } while(!feof(file_ptr)) … | |
Just for fun, I want to write myself an app to read metadata from media files and optionally rename them. The renaming part isn't all that hard, but I don't know how to get the metadata from an AVI or MPG file. Any ideas? | |
hi, i was given this project to do in my java class but i dont exactly know what i have to do.... i understand that i need to create 2 classes, point that extends pair and labeledpoint that extends point.... but i have no idea what else the professor wants … | |
Anyone experience problems with a disappearing control focus rectangle when using an XP style manifest? Some check boxes and option boxes no longer show the focus rectangle when the control gets focus using the kayboard and the tab key. Some do, some don't. Rather strange. I've tried putting them in … | |
Hello, I was wondering whether anyone knows the code for rotating the screen by a few degrees. By that I mean flip the screen on its side or invert it? Also, what declarations would I need to make if possible? Thank you, I require this information for my own personal … | |
Hi, I've got about 10 functions that all share a bit of code. They all look something like this: [code=python] def func(arg): statement1 statement2 statement3 unique code statement4 statement5 [/code] Each function does similar statements at the beginning and end, but has unique stuff in the middle. Is there a … | |
Hello, for some reason the code I am trying to write throws an exception about using a priviledged instruction. Problem is it is just comparing two values and throwing this out there at me. Maybe I am completely missing something. Oh and I know its pretty ugly code, you don't … | |
Hi, Could someone please tell me what is wrong with this code because i have tried loading it but it's not giving me any error to know where the problem lies. [code=php] <?php /** * * Global configuration file for CAPAT */ // Site Setup error_reporting(0); session_start(); // Turn off … | |
I'm working on a program to convert a set of values to an average and I keep getting an exception error. Seems to be an easy fix but I can't put my finger on it. Any suggestions? [code=C#] private void button1_Click(object sender, EventArgs e) { int sum = 0; int … | |
Hi, My problem is that I have a large function with hundreds of lines. I want to break it apart into smaller functions. The issue is that if I make a module level function, the scope changes and I have to pass the necessary variables to it. This can be … | |
how to calculate the date by using integer variable which can know the lasted date for example user key in date is 2/20/2008 and he want know the after intvariable day is which date like this user key in date is 2/20/2008 - intvariable = date user require date dim … | |
How can I incorporate a web counter (page hit) in ASP.Net to track the number of visitors in my site? | |
First question in a long time. I was wondering if anyone know how to search all current sessions within the website? I want to be able to loop through all the current sessions (with a specific session name if possible) on my current website at one time. I am trying … | |
I'm creating a website using JSP, HTML pages and MS SQL. Can u please tell me how to create a session and how to retrive it each time while checking user status i.e how to check if user is signed in or not? Please help. Thank you. | |
I have a question related to function. fun(const int);<-- pass a const int const int fun(int);<--return a const int but what is "fun(int) const"? | |
After the user has inputted their respective username and password, it will be validates and if the submitted information was true, they will redirected a page. Now, I just want to the the php code that captures the username and display it on the page. Like "Welcome BooBoy08 to here..". … | |
Hi, I am in need of writing a shell script to read, database table and email the results to a list of users. Please let me know if I could provide further info. Please assist. Thanks, -Abhey | |
I am using a new script Tukanas Freelance Script, everything else works fine on the user panel but when it comes to admin panel cannot log in, tried to manually create a username and password in sql but try and login says user not verifed how can i verify it … | |
I Want To Make Programme Such That I Make The Programme In Two Sockets One For Client Other For Server, A Server Establish A Connection With The Client, Then Client Has To Enter Username Either John Or Jammi Then The Password For The Username Any Of The Above, Please Tell … | |
Alright basically I have an assignment due at 11:59 pm tonight and so I would appreciate all the help I can get. I have code that I wish for those to look over and see if its correct I also have a question about some of the questions and whether … | |
Hi I'm new in python and i'm do not understand why my code is not working. I want to generated random figures with this code: import random import division a1 = '' a2 = '' def zufallsZahl(a1,a2): a1 = random.randint(1,10) a2 = random.randint(1,10) print a1, a2 s1 = [a1, a2] … | |
Write a function that takes one argument of type double and that function returns the character value ‘P’ if its argument is positive and return ‘N’ if its argument is zero or negative? Help please Thank you Much :) | |
can anyone help me? Write functions to: int isprime(int); /* Returns a true value if a is a prime number */ int nextFib(); /* Returns the next fibonacci value (use static variables to track which one was used last call) */ The fibonacci sequence is defined as: Fib(0)=1 Fib(1)=1 Fib(2)=Fib(1)+Fib(0) … | |
Hello, I was wondering how I could go about hiding the command window during the execution of an application. If this is not possible, then how could I prevent the closing of the command window when the application is running again. For example, clicking on the close window button in … | |
where to use which notation Hello to all........ I'm new to this subject, and currently i'm learning asymptotic notations. The problem is that i'm confused about the use of these notations. I mean where to use which notation. For exp. the complexity of insertion sort is O(n^2), why not o(n^2) … | |
Hey, im new to programming and i am using Teach Yourself C++ in 21 Days ([url]http://newdata.box.sk/bx/c/[/url]) to help me, but when i make the code for the "hello world" i dont no how to compile it and link it, im using crimson editor and i downloaded Borland C++ compiler and … | |
I am using VBA to work with excel files. The code allows the user to select files, processes them and gives the req data from input files in Excel workbook. After ptocessing, the excel file will be set visible for the user and the objects are also set to Nothing. … | |
i wrote an asp script and when i made the guest book ( when i used the addSQL ) this error returned [CODE]Microsoft JET Database Engine (0x80004005) Operation must use an updateable query. /science/add.sign.asp, line 15[/CODE] This is the add.sign.asp [CODE] <!--#include file="connection.asp" --> <% addedin=now() name=request.form("name") email=request.form("email") ranking=request.form("ranking") notes=request.form("notes") … | |
I am supposed to write a program to show all possible color combinations, but I am having problems. It will give me all 256 colors, but not in all possible combinations. Here is me code. [ICODE] include irvine32.inc .data colors byte 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 .code main PROC mov ecx, 16 mov esi, … | |
hello, does anyone know if I can write a macro that takes a number as argument and according to that number declares a variable number of functions ? ex: DEFINE_FUNC( 4 ); is replaced with void func_1(); void func_2(); void func_3(); void func_4(); thx | |
I am trying to read data from a sequential file into an array. Here we are again at the old mortgage program. I have been doing some searching and can't seem to find the correct syntax to read the data into an array that can later be used. So the … | |
hello frnds is there any way or any software available to produce c/c++ code from the flowcharts or, pseudocodes or ,algorithims can any one provide the links or any information prethanks to helper | |
I am developing one intranet application. i want to get the windows login username to log into my application. because i want to check whether the same user is logging into the application or not. i worked on using req.getRemoteUser() but it is returning null. i am using the server … |
The End.