199,114 Archived Topics
Remove Filter ![]() | |
Greetings, I want to know what is the pest practice in the following issue. I have a From for releasing decision such as hiring employee, discharging employee etc. The process of releasing a decision takes the following steps 1- You fill the necessary data within the from and then click … | |
Hi Everyone, i have created a form and placed my CRLViewer control on it, and not a new form. Everytime a search button is pressed the report open. However, i only managing to open the report once in one session. When i click the search button 2nd time i get … | |
Hi when i submit a form the session id changes in a page (and stick the same in single tab for other pages) but it is different in different tabs. how to fix that ? thanks in advance ![]() | |
I'm using a MinGW compiler. Anyone know how to fix this error. I found something on the web where the flag should have a macro such as CXX_HAS_CSTDDEF but this is for a different compiler. What should I use for MingW is this is the problem? Is this common?? In … | |
Hey everyone, I'm having a trouble with the navigation bar when redirecting users to other pages. For example, if a user logs in, then they will be redirected to the main page (mysite/index.php) but the url displays as mysite/login.php which is the pure PHP script that doesn't contain any HTML … | |
Hello everyone, I am confuse to what my professor is asking for Part 4 of our project. --> The fourth method for you to develop must manipulate the Colors within a given box. To compute how much manipulation to do on a Pixel from its LOCATION (x,y), the function defined … | |
can someone teach me or show me how to code a program that can output color text?? thx :p | |
There is a piece of code in Linux Device Driver 3rd edition: #undef PDEBUG /* undef it, just in case */ #ifdef SCULL_DEBUG # ifdef __KERNEL__ /* This one if debugging is on, and kernel space */ # define PDEBUG(fmt, args...) printk( KERN_DEBUG "scull: " fmt, ## args) # else … | |
Hi all. I have a site with articles and members and since the url ends for both like.. site.com/articles.php?id=232 or site.com/ref.php?user=3232 I costumised this script I found online to costumize the url. I did for the profiles which is working, but I can't add for the articles: RewriteEngine On RewriteCond … | |
I am making a basic craigslist type website with a search function. There is a field where you can enter what you think the name of the product might be and my search function is supposed to find names of products that match. so for example a user can enter: … ![]() | |
Hi quick question on this card program im writing. As of now the program should just create the deck and print it from main() using printDeck(). Im not sure why but the deck is printing in a strange format. It should print "Ace" "Spades" for example. Insead the output looks … | |
Just got the book C++ Programming in easy steps. I just did the following program and although I ran it with now problems the book and this program really do not at all help understand how an enum or a typedef are usefull in the real world. #include <iostream> using … | |
Hello Community, I was making my own custom window and i need help with making it in wpf, i am new to wpf so i don't know much XAML so i was wondering if you can help?, this is what i wan't. In the example i'm using the minimize button. … | |
Hi guys, I'm trying to solve a problem recusrively. I'm asked to multiply two numbers with only using Addition,Subtraction and Comparison. After looking around the internet, it seems that the Algorithm I should use is Egyptian Algorithm . [Click Here](http://en.wikipedia.org/wiki/Ancient_Egyptian_multiplication) I would like some tips on how to solve this. … | |
if f(guess)-guess < epsilon: TypeError: unsupported operand type(s) for -: 'function' and 'float' This error message is being displayed. here is my code: def fixedPoint(f, epsilon): """ f: a function of one argument that returns a float epsilon: a small float returns the best guess when that guess is less … | |
.class public Contest .super java/lang/Object ; ; Team members: Bianca Cutler ; ; ; ; ; Your assignment is to fill in the fibs method below ; so that it creates (exactly) the output you see in ; fibsgolden.txt ; ; The contest will be won by those entries that … | |
Please Help!! i have been trying to get some help on displaying data from mysql in a sequence (like a course). basically i want my student to view and learn the couurse that has been saved in mysql database in learningmaterial table, the table contains images, audio files, online documents … | |
Would apreciate if someone can help with below solution. I need to put customer registration details to the third party database via api requests using Get variables. I have the folowing information. https://www.thirdparty.com/API/Request.ashx?command=createcustomer&username=_&password=_&customer=_&customerpassword= Variable Value Description command createcustomer username X..140 the username of the reseller password X..100 the password of … ![]() | |
Hey guys! So I've been working on a plugin which allows people to add an iframe depending on the input fields and then that is displayed when a shortcode is created. However It isn't making it a shortcode. <?php /* Plugin Name: Minepress Minecraft Dynmap Plugin Plugin URI: http://minepress.co.uk Description: … | |
string word = "abcde"; int count = 0; for(int i = 0; i < word.length(); i++){ for(int j = 1; j < word.length(); j++){ if(word.at(i) == word.at(j)){ count++; } } } i am trying to write a program that when i am given a string i can count letter pairs … | |
These would seem to be equivalent but according to the interperter they are not. I have been banging my head with this for along time >>> a = '123456789' >>> a[0:9] '123456789' >>> a[0:9:1] '123456789' >>> a[::1] '123456789' >>> a[::-1] '987654321' >>> a[0:9:-1] #why is this not equivilent to a[::-1] … | |
Any idea on how to Add dates based on the number inside the data tables? for example I set the limit of Days of books for borrwing it then i set the amount of fine that will generate if the the borrowed books is not returned IE: `DateNow * Value … | |
Hi guys so I am making function for my graphs (adjacency matrices) to return number of connected components using breadth first search algorithm. It almost works properly. It returns proper value if number of components is equal to number of vertices, but if number of components is smaller than number … | |
i want that by pressing the one button ,the input data should be send on my both following domains.but by this coding the data just send to the 2nd domain.. `Inline Code Example Here` <form name="Form1" method="post"> <strong><span style="font-size: small;">Username:</span></strong><input name="username" type="text" /><br /> <strong><span style="font-size: small;">Password:</span></strong> <input name="password" type="password" … | |
just tell me will this sorting algorithm work out in linked list for(i=head;i!=null;i=i->next) for(j=i->next;j!=null;j=j->next) if(i->data>j->data) { temp=i->data; i->data=j->data; j->data=temp; } | |
> hey guys, how to get all word in first index in array below and next index get last word in array 2 D??,.. example: $arr = array( array( '7'=>'repsol kawasaki honda ktm', '8'=>'kawasaki honda ktm bmw', '9'=>'honda ktm bmw ducati', '10'=>'ktm bmw ducati yamaha' ) , array( '23'=>'lamborghi ferarri … | |
Hello! I've recently installed Windows 8 and since that moment my XAMPP installation has been acting a bit weird it takes over a second to establish a mysql connection (mysql_connect) where it used to take less than 0.01 seconds.Timed: Timer 1 (mysql_connect): 1.02864 Timer 2 (select_db): 0.00023 I have found … ![]() | |
I want to echo "the select statent to output the total working hours" <?php error_reporting(0); $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("ms", $con); $id = $_REQUEST['id']; $result = mysql_query("SELECT id , SEC_TO_TIME(SUM(TIME_TO_SEC(out_time) -TIME_TO_SEC(in_time))) AS working_hours FROM timetable GROUP BY id;"); echo "<center><table cellspacing='6'> … ![]() | |
Hello everyone. I am new here but have lurked quite a lot. I have multiple forms that contain drop downs that need to be summed together. My current JS passes through a couple check box values then calculates. All of this works swimmingly. The place I have been getting stuck … | |
I have designed a linklist based BookStore in which book's attributes will be stored in a node & so on. Plus at the end of program, I have to save all database into text file *(I tried binary reading but damn I got me killed & couldn't do it)* & … | |
Hello everyone, I am pretty new to java and i have an assignment that to write the code for clock in and clock out for employee .Down here is my code, and now i am stuck with the while loop to print out the name, like if Bob work on … | |
Hi, I am trying to make my own 3d engine and got problem with picking / shooting. Actually I dont even know where to start with that. I have tried find tutos over internet but I did not find any thats useful. Maybe U guys can help me? Anything from … | |
Say I have two drop down boxes, and I have two columns then after I select the two columns that pulls from the stock tables to give me a total.. Whats the best way or does anyone have an example? Ex Boxes - Yellow box - Red box = All … | |
Hello! I'm creating an app where you can open Settings form and choose the background color, etc. This is how it looks like when one clicks on the color settings button: ColorDialog dlg = new ColorDialog(); dlg.Color = Properties.Settings.Default.bgdColor; if (dlg.ShowDialog() == DialogResult.OK) { Properties.Settings.Default.bgdColor = dlg.Color; Properties.Settings.Default.Save(); bgdColorLBL.BackColor = … | |
Hello everyone, I need help with my program. The program has to randomize the array indexs. I am having a huge issue with this: import java.util.Random; //to generate random #'s public class Array { public static void printIntArray(int[] myParamVar) { int LOCATION = 0; while(LOCATION < myParamVar.length) { System.out.print("In LOCATION … | |
Hey! Sorry if the title looks a little odd and confusing. Basically what I want it to in my code, have Python input something as if it were the user. Does anyone know how to do this? Thanks Andrew! | |
> hey guys, how to bold or strong value (string) array 2 D below?? Array ( [0] => Array ( [0] => <b>abcd<b/> [1] => <b>efgh<b/> ) [1] => Array ( [18] => <b>ijkl<b/> [19] => <b>mnop<b/> ) [2] => Array ( [28] => <b>qrst<b/> [29] => <b>uvwx<b/> ) ) ![]() | |
Hi guys. I picked up a search script on the net but can't get it to paginate at all. Please have a look and help me out. <?php // Get the search variable from URL $var = @$_GET['q'] ; $trimmed = trim($var); //trim whitespace from the stored variable // rows … ![]() | |
I have a program that gives me estimation of pi, and time elapsed depends on my input numbers. Can someone please tell me how to compile this? I have the code but it's mystery how to compile and r un it... * Compiler: * mpicc -g -Wall -o name name.c … | |
Ok so my problem is everytime I click my button it re-populates my dropdownlist of my entries, but it also keeps the entries from my previous page_load therefore i get double entries within my dropdownlist. How do I solve this problem as I cannot seem to find where my problem … | |
Hello! I am having trouble getting the abspath when entering only an executable file. How can I fix this to return the full abspath? I am taking user input and opening a process (application). Here is my code: file = "/" + arr[2] + ".exe" print(file) path = os.path.abspath(file) print(path) … | |
Evening all, I'm trying to create a javascript loop to output a range of radio buttons numbered 1 to 10. This is part of a form, which will display the input on the next page. So I have two problems. For testing only, I'd like to alert the value of … | |
I think this community member will help me to clear my problem. Am not a c++ professional just a beginner. Am on the way to create a software for a browsing center. Am almost struck with the problem of creating multiple text files. To be more clear, Say, a browsing … | |
Dear All, With help from you all, I have a successful instant search on the current draft of our website. I'd love help with three minor issues of following convention: 1) Clicking on your link of choice brings about its appearance in another window -- that makes going back difficult … | |
![]() | Hi, I'm creating a table with X amount of rows (Importing from a Database table). I need to be able to click on a row in the table (any specified row), and onClick, the row number that was clicked on must be printed. Can anyone give me some advice on … |
hi, i have started learning c for 1 week and i am using VS 2005. from tutorials i learned that size of char is 1 byte i am using 32bit system but i tried this program: # include<stdio.h> void main() { char a,b; a=0xfffffffffffffffe; //now a is holding 8bytes thst … | |
Hope someone can clarify. I'm self-studying and my question relates to Programming Exercise # 2, Chapter 12, C++ Primer Plus Fifth Edition (pg. 629). I completed the exercise and achieved the desired result but my query came about when I compared my version to the solution. The exercise builds upon … | |
highlight text in datagridview based on search text using vb.net | |
Imports System.Data Imports System.Data.SqlClient Partial Class test Inherits System.Web.UI.Page Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim txtName As String = TextName.Text Dim txtcomment As String = TextComment.Text Dim txtemail As String = TextEmail.Text Dim con As SqlConnection Dim cmd As SqlCommand con.ConnectionString = "SqlData Source=(LocalDB)\v11.0;AttachDbFilename=App_Data\library.mdf; Integrated … | |
I'm trying to do, an order and some orderline. Imagine that the user come and select several item from the shop then when he click on the checkout, the reference number in the order is send back to the several item in the orderline table. How would i insert that … |
The End.