64,152 Solved Topics
Remove Filter ![]() | |
how to delete duplicate record in a table by using SQL query | |
Hi guyz, I'm just wondering if it's possible to add the mouse when capturing the screen or monitor in vb.net? because I'm doing a project that would record the screen and I'm actually successfull doing that by capturing the screen and include it in a timer, but my only problem … | |
I am trying to grab the string/object from the treeview. So when a user click on any item in the treeview, I can show it on the terminal. ANy help is appreciated.Here is the code. QtCore.QObject.connect(self.treeWidget, QtCore.SIGNAL("clicked(QModelIndex)"), self.treefunction) def treefunction(self, index): print index Output on clicking the item in treeview … | |
If My.Forms.Main_frm.UseProxy.Checked = True Then My.Forms.Main_frm.IPBindingTextbox.Enabled = True My.Forms.Main_frm.ProxyIPTextbox.Enabled = True My.Forms.Main_frm.SocksV4.Enabled = True My.Forms.Main_frm.SocksV5.Enabled = True My.Forms.Main_frm.ProxyUser.Enabled = True My.Forms.Main_frm.ProxyPw.Enabled = True ElseIf My.Forms.Main_frm.UseProxy.Checked = False Then My.Forms.Main_frm.IPBindingTextbox.Enabled = False My.Forms.Main_frm.ProxyIPTextbox.Enabled = False My.Forms.Main_frm.SocksV4.Enabled = False My.Forms.Main_frm.SocksV5.Enabled = False My.Forms.Main_frm.ProxyUser.Enabled = False My.Forms.Main_frm.ProxyPw.Enabled = False End If Is there … | |
I know it's a bad practice to post the same question on more than one help site (I posted it on Stackoverflow, but after some time your question loses its place on the "active" list and people stop reading it) but I'm really desperate here. So my question is: I … | |
<form enctype="multipart/form-data" action="upload_file.php" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="100000" /> Choose a file to upload: <input name="uploadedfile" type="file" /><br /> <input type="submit" name="submit" value="Upload File" /> </form> <?php // Where the file is going to be placed $target_path = "uploads/"; /* Add the original filename to our target path. Result is … | |
I started this code, and it does encode the text, however it only does the first line of text and repeats it. It is also encoding spaces. #include <fstream> #include <iostream> #include <string> using namespace std; int main() { ifstream fin; string fileName; cout << "What file do you want … | |
Hello, I have a JList which contains all data from mySQL table. I want the user to be able to select an item from the list and show it on the label. When I click on the first item it works, However when I click on the other items, the … | |
hi every body , i recently finished my first project, what i need is how to make my project execute without visual studio , and also connected with the project database , i need the correct steps , thanx before. | |
#include <iostream> using namespace std; int answer(int x,int y); //function proto int mutab[10][12]; //two dimentional array declaration int main() { for (int i=0;i<1;i++) //this will fill 1-10 of the multiplication table { for (int h=0;h<10;h++) { mutab[h][i]=h+1; } } for (int i=0;i<10;i++) //this will fill 1x1,1x2,1x3 etc.. to ......10x11,10x12 { … | |
I'm getting an error/crash when trying to use Python on my virtual server running Win 2008 Server. Python installed without incident, and IDLE opens and the interactive widnow works fine. But when I try to open a new window and run it it crshes when trying to save. Example: I … | |
I am doing following code to get the output upto 5 decimal characters of any number inputted by user when divided by 1, I have to use typecast it with (float) , can any one tell me how this can be done without typecasting or using float constant.. int main() … | |
I have it all written, and it works. However, I have to enter a value and it brings the prompt up again. When I enter the value in the second time, it plays the game. I always have to enter the value twice to get it to work. I'm not … | |
Hi, my codes if statement returns false for some reason. I tried different variation yesterday and today morning and nothing works. Could someone look my code. I got File file users.txt where the usernames are stored. public static void checkUser(String userName, char[] passWord) { FileInputStream fIn; DataInputStream dInput = null; … | |
Good day.. i was stuck a moment realizing what went wrong to my project. I'm currently developing a enrollment system. I have 3 tables in my DB namely course_code,curriculum and pre_requisite tables. on the course_code table i have fields course_code(PK),course_desc. on the curriculum table i have but in this table … | |
Hello All, I want to make a computer storage (online) Web Application PHP/MySQL... I mean where we can keep all the data of computer and all its configuration, upgradation, problem occured, solved problems and alerts for warranty expires.. Can any one give me the example link where i can gain … | |
Hey Guys, I'm building an asteroids-like game and I'm needing to be able to apply the same operation too all of the different "aliens" on the screen. When I had two aliens on the screen I performed all of the functions manually but that is bad program design. I created … | |
Hi guys... I need some help from you all.. **Actual Scenario is :** This is Module to Update today's price of products and these TextBoxes below is created in loop with <input type="text" id="<?="rate2".$i?>" name="<?="rate2".$i?>" size="5" /> ($i is increment variable of loop) also I already got abc rate (Standard … | |
Good day to every one. First here is my code so far import java.io.*; public class Program2 { public static void main (String[]args) throws IOException{ BufferedReader bv = new BufferedReader (new InputStreamReader(System.in)); String a, b, c, x; Float d, e, f, g, h, i, j, k, l, m, ave; System.out.println("ENTER … | |
![]() | I've been working on a a math tutoring program, I have the problem generator and solver working but I'm trying to have my random operator generator to use a check and change protocol so there isn't ALL add, sub, mult, or div in a problem. Some math problems will have … ![]() |
Basically I want the user to select the current month and day that they left a review, click submit, then given a random coupon code. I want the coupon code, the month they selected, and the day they selected to get inserted into the database. HTML Page <form action="redeem.php" method="post"> … ![]() | |
Hello my fellow DaniWebbers, I have a question for you. Problem: I am troubleshooting an ASP.NET (some one else wrote) page that has an insert form. The user can insert, using linq, into the database. I want to check the database for the values before inserting the values. (Safeguarding from … | |
Hi I am trying to convert .qual and .fna file to fastq using the script provided here. http://seqanswers.com/forums/showthread.php?t=2775&highlight=fasta+qual+fastq The code is as follows: #!/usr/bin/perl use warnings; use strict; use Data::Dumper; use File::Basename; my $inFasta = $ARGV[0]; my $baseName = basename($inFasta, qw/Reads.fna/); my $inQual = $baseName . "/Users/myfolder/Reads.qual"; my $outFastq = … ![]() | |
Currently I'm working on Euler Problem 62, Permutations of a cube, the program is searching for a cube that 5 of the permutations are other cubes, I did some online research and found that the cube that im searching for is within the range of an int64, Actually its 12 … | |
hey guys, i was looking into rewriting the php custom framework at work into java. i was going to download the J2EE but there is 2 versions. J2EE SDK (regular) and J2EE Web Profile SDK http://www.oracle.com/technetwork/java/javaee/downloads/index.html i've look at the descriptions and the includes and it look the same. whats … | |
Hi, I'm currently creating a pool game which is nearly complete but I want to have it as a 2 player (human vs human) game. All that I want the program to perform is that when the game begins then the two players are asked to enter their names (I … | |
hi all, wat is session in c++. when do we want to create a session. regards, Sharath. | |
Hi all experts ... I have a question .... How can i call a function of Class A from Class B without creating any objects,static menthds or using any inheritance.. like if class A has a variable of classB then classB can call a method of class A.... explanatory code: … | |
I have the below code working greate except for one spot. After a user selects everything from the drop downs like they are suppose to, if they change the Semester in the first drop down, how can I make the dropdown for Houseing fresh as well? <%@ Page Language="VB" AutoEventWireup="false" … | |
![]() | Hi all and good day, I'm having a problem to download/saved Facebook user profile picture that login to my system using their Facebook account. Right now I'm thinking to automatically saved their Facebook profile picture to my system as they signup or login. I already have the access to user's … ![]() |
String q = new String(“Cat”); String r = q; String s = new String(r); I understand that the first line would equate to `String q = "Cat";` and the second would be `String r = q;`, but what would the last one equate to without using new? I originally thought … | |
hi guys, i want to do this task given by ebook : **Modify the SimpleVector class template presented in this chapter to include the member functions push_back and pop_back. These functions should emulate the STL vector class member functions of the same name. (See Table 16-5.) The push_back function should … | |
Can anybody help me out, show me where to look or a keyword or something? I'm trying to figure out how to write simple programs that can manipulate other programs. To keep it simple, and as a start, I'd like to be able to run the program to insert a … | |
The upload html page i'm using <html> <head> <title> </title></head> <body> <form enctype="multipart/form-data" name="upload" action="upload.php" method="post"> <input name="file4upload" type="file"> </input> <br> <input name="submit" type="button" value="Upload File" > </form> </body> </html> php file code is given below (upload.php) <?php $target_path="upload/"; $target_path=$target_path.basename($_FILES['file4upload']['name']); if(move_uploaded_file($_FILES['file4upload']['tmp_name'],$target_path)) { echo " File ".basename($_FILES['file4upload']['name'])."has been uploaded"; } else … | |
Hey guys im need some help with this binary calculator, you enter the amount of bits or n in and then it calculates the number? In order for you to understand my problem more I will explain why I am making this, I asked my dad how big 128 bit … | |
So I'm working on a checkers like game that involved moving two different types of pieces around the board to try and capture the opponents pieces. One of these pieces is a ball, and it's movement rules are that it can move up and down only one space per turn, … | |
Hi, I have a json encoded array ($dataTable) that looks like this: {"cols":[{"type":"string","label":"Analys"},{"type":"string","label":"Test 1"},{"type":"string","label":"Test 2"}], "rows":[{"c":[{"v":"Top"},{"v":"78"},{"v":"71"}]},{"c":[{"v":"In"},{"v":"88"},{"v":"91"}]},{"c":[{"v":"Pref"},{"v":"60"},{"v":"72"}]},{"c":[{"v":"Int"},{"v":"13"},{"v":"9"}]}]} I think that's right but when I try to display the graph it says "table has no columns"... Copied from google I have this in my head section: <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script type="text/javascript"> google.load("visualization", … | |
Hello everyone! I am currently working on a change password code. I am having trouble because everytime I click submit the page seems to simply refresh. I am new to php and I am sure that everything on the database side is working alright. I have a working login, registration, … | |
I have made a simple web browswer in java. The problem is it's to simple. How would I add things like HTML5 support in my web browser? | |
I hope someone can point out to me what I am doing wrong here. I have a set of picture boxes in an array. If I use the following code with the PictureBox array declared in the private sub, there is no issue. If I put the array as part … | |
![]() | hi, 1. actually i was reading some text from my book and i come across this expression. I am not getting what it means. here it goes, typedef int (*HIG) (int,int); And "sizeof" can't be used in #if because the preprocessor does not parse type names. What this statement means … |
Hi folks, just a queary about checking chars. I have a char[] variable. I ask the user a question and the user types a response and presses enter. I need to check the variable to see if it said particular things and more importantly if it said nothing. #include <iostream> … | |
I am trying to build a inventory page.. I want it to minus one everytime a product is selected.. right now I have it setup as item number > Amount taken I have no idea how to make the minus one work in the php mysql.. in the drop down … | |
i wanna search items like MS windows search for example if i wanna search mp4 files i should write "*.mp4" its enough my searching but if i ll use filter function i cant do this on datagridview couse when i want to search something i need to know full name … | |
Hi all, This is my chage password script. This works ONLY if all the data fields entered correctly. Otherwise it gives several error messages. (Ex:incorrect username, incorrect pw etc) users (user_id, first_name,last_name, email, phone_number, user_type, username, password) [CODE] <?php session_start(); $connection=mysql_connect("localhost","root",""); $db=mysql_select_db("bank",$connection); $username = $_POST['username']; $password = $_POST['password']; $newpassword = … | |
How would I create a page using php on the click of a button and name the file in a form so like The Form Name of File:|_____________| Submit - This is the Button. And how would you show a files script and I know it might not be safe … | |
Hi, I am trying to write code to read a text file containing velocity vector data in the form x, y, u, v. An example of the data file I am opening is: 0 1.0 3.24 45.64 1.5 2.5 54.34 23.45 ... I have a function which can read the … | |
I have written a form in html and wish to submit it and run some php code, however once the php file has finished it main job I want to use it to redirect to my homepage where I am using AJAX to change content (where the form is). Is … | |
Hi Friends, I have created a small C# program to "SendKeys" to the active application. I use it to automate the cheat code typing for games. I have assigned cheats to some keys in the keyboard. Problem is the `SendKeys.Send()` works with notepad (i've tested) but not working with GTA … | |
For a few days I was trying to solve a problem with my WCF Service. The thing was that after publishing the reading of the dbf file, which was implemented using oledb or odbc and using microsoft jet and vfpoledb drivers (a few distinct ways each of which not working) … |
The End.