199,114 Archived Topics
Remove Filter ![]() | |
Ideally my program should work like this... Upon button click a random message (out of 3 messages) is appended to a text area(or pane, etc). One message should display blue, one green and one red. Currently I am using JTextPane. I have figured out how to append text easily but … | |
Hi All, I am trying to create an FTP application for file transfer in LAN. I want to list all available users with their IP's and user names, so that any persone can be found and FTP can be initiated. But I'm stuck at the start as i don't now … | |
Hello Community, I want to know if there is a way to make a program that will click a button on a webbrowser but the button does not have a name (name="") or id (id="") property it just has a class (class="") property and if there is a way is … | |
Hello again! Now i stucked with another little problem. I have a table: ID____Name______Age_______City 1_____Robert_____20_______London 2_____Fabio______31_______Rome 3_____Hans______35_______Berlin 5_____Josh_______25_______London Now i don't know how to get a city which has the most population in this table. With my code: SELECT City, COUNT(Name) AS Population_number FROM Person GROUP BY City; I get … | |
Hi, I have quite a large CSV file (Around 20,000 rows with about 20 columns) that I am trying to manipulate. Initially I am looking for a way to get out the first 10 or so records after they have been sorted in ascending order on one of the numeric … | |
Hi, I have 3 tables Description Item Transaction DeID Name IID Name DeID TranNo Type IID Date 1 Printer 1 Stylus T10 1 1 Repair 1 2 Monitor 2 HP 1 2 Repair 3 3 ViewSonic 2 I need to count how many printers, Monitors etc. are in Item and … | |
Hello buddies , I have no Idea what is subquery, every time I tried to link two tables in one sql query I failed here is the scenario I want: in this pic I have posts with "**user_id**" only I need to show the username which stored on another tables … | |
Hello I want to make a simple bat file in Windows 7 but the command (route) only works in admin mode so I would have to ask for admin premissions. How do I do this in a bat file? Thank you | |
I need urgently your help. Anyone can help how to Write a Java GUI program that accepts three user inputs (use text fields) with three check boxes. The check boxes determine whether the area, circumference and/or the volume of a circle/sphere is/are calculated. If only one check box is selected, … | |
i want to create a shell script that divide a text file to parts and take the information from each part and store it | |
Hello Everybody, I just join today, and this is my first post. I know how pass and receive variables thru URL like [url]www.mysite.com/index.php?var1=ABC&var2=QWERTY[/url] This is OK but what i'd like to know if we can use something like this: [url]www.mysite.com?username[/url] or [url]www.mysite.com/username[/url] but username will change for every user. And … | |
Well, I have just written all of this code, and then made lots of edits, compiled and when I run it, I get STATUS_ACCESS_VIOLATION. And I can't work out where the error lies. It is a very basic Database program BTW. Here is the code: http://pastebin.com/jLktEL3C And here is the … | |
Following code shows images before uploading them. It works well in chrome but it is not worknig in IE 6+. Please help with cross browser working of code [CODE]<!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> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <link class="jsbin" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/base/jquery-ui.css" rel="stylesheet" … | |
i am making a project in vb.net 2010 with SQLEXPRESS as back end. i tried to run on my college computer but i think i may to again make full database on the college pc and then run..? is there any solution so that i dont have to make the … | |
I made a test program to mess around with a feature I'm trying to put into my class project but I can't seem to figure out what I'm doing wrong. What I'm trying to do is to line up the numbers right of the decimal. this is my test source … | |
I want to know if this is correct for what they are asking. If I try to put 7.5% in the `int=` spot it errors. I am a newbie who doesn't quite understand it all. The commission rate in the firstmethod will be entered as a decimal value (for example, … | |
Write A Program With A Method Name PrintFactors That Accepts An Integer As Its Parameter And Uses Fencepost Loops To Print The Factors Of That Number Separated By The Word "and" | |
Hi, In Dialog based MFC code (VC++ 2012), I have two command buttons and 1 Text Box 1. Enquire 2. Start Once the user chooses ENQUIRE Button, I display msg in TextBox "Press START for the ....." In the Start Button code, I do the socket opening,accept functions etc while … | |
Trying to make a little space exploration game, and I'm just testing some planet data stuff, and it won't work. I don't get any errors until I compile it, then I get an error message saying that "vector subscript" is out of range. main.cpp: #include <iostream> #include <conio.h> #include <string> … | |
Ok So I have seen a few things.. But is there anything that goes into depth more but sort of squared away... From what it looks like if you develop something in mysqli - it will be faster mysql pdo - works with a bunch of other databases.. I found … | |
Hello guys! Please help me with a little problem. I have one table(Person) where are some values. My current syntax is: SELECT Status, COUNT(Name) AS Number FROM Person WHERE Status = 'Married'; Result: Status_________Number --------------------- Married__________3 But I want to get the result for each status. That would be something … | |
good day, i have a table named information i created a stored procedure that will search for thier name, "firstname","middlename" and "lastname" that 3 field is concatenated and named it fullname My problem is that i want to count the result of my query that count the total number of … | |
shader.vert: #version 120 varying vec3 position; varying vec3 normal; void main() { position = (vec3(gl_ModelViewMatrix*gl_Vertex)); //get the position of the vertex after translation, rotation, scaling normal = gl_NormalMatrix*gl_Normal; //get the normal direction, after translation, rotation, scaling gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; } shader.frag: #version 120 varying vec3 position; varying vec3 … | |
-->>Hello I hope all is well. -->>I'm trying to join or select some data from 5 tables by using the following join statement: SQL ="SELECT RegistrationTB.Christian_Name,RegistrationTB.Father_Name,RegistrationTB.Birth_Date," "BaptismTB.Date_Baptised,BaptismTB.Parish_Name,BaptismTB.Minister_Name," & _ "CommunionTB.Date_Communised,CommunionTB.Parish_Name," & _ "ConfirmationTB.LC_No,ConfirmationTB.Date_Confirmation,ConfirmationTB.Parish_Name,ConfirmationTB.Minister_Name," & _ "MarriageTB.LM_No,MarriageTB.Date_Married,MarriageTB.Parish_Name,MarriageTB.Mr_Name,MarriageTB.Mrs_Name,MarriageTB.Certificate_No,MarriageTB.Minister_Name " & _ "FROM RegistrationTB " & _ "INNER JOIN BaptismTB ON RegistrationTB.LB_No=BaptismTB.LB_No " … | |
i want to grab "DataValueField" of dropdownBox and want to use it in INSERT statement , so how ? i have already filled my Dropdownbox in grid view now want to get DataValueField and using it in insert statement , how ? | |
-->>I hope all is well... -->>I have tried to use the package and Deployment wizard to create a setup for My application... -->>But the way My setup Icon Is (The default one) makes me feel uncomfortable,as I have an Icon alredy for my application and used it in all of … | |
Hi.. i used Jquery in order to add date time picker calender in my site succesfully.. i just want to decrease size of calender because its showing big calender according to my form.. here is code and snapshop url http://tinypic.com/r/2ajzymx/6 <!--Calender Start--> <link rel="stylesheet" href="htp://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" /> t<script src="http://code.jquery.com/jquery-1.8.2.js"></script> <script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script> … | |
Hi all, I'm not sure if this is the appropriate place to ask for assistance with a homework problem - Programming Logic and Design - using Raptor and pseudocode? I'm not asking for anyone to do my homework for me, I just don't understand how to set up part of … | |
to create a new comboBox when you post your form checkbox_name will contain the selected value $(document).ready(function() { var cb = "checkbox_name"; comboBox(document.getElementById(cb+"CB"), cb); var sel = myForm.elements[cb+"_hold"]; sel.length = 0; //add options sel.options[sel.options.length] = new Option("text", "value"); }); <div id="checkbox_name"></div> | |
so i have two files index.php and footer.php. and i want to add a jquery script to my index.php. so i did this and it works fine: index.php <html> <body> <script type = "text/javascript" src = "JQUERY/jquery.js"></script> <?php include("include/footer.php"); ?> footer.php <script type = "text/javascript" src = "JQUERY/jquery.js"></script> </body> </html> … | |
here is what iam trying to do. there is a textfield. which has a watermark in it(js code). so it will say "Enter Username". so user will enter username in it but if somethig go wrong than it should save the value in textfield(php code). <input type="text" name="username" id="login_username" class="field" … | |
Hello. I have a python script to post news a website but i want to know how i can pass variables from php to the python script and run the script from php. Python script: (I didn't create this, was done by a friend) [CODE] import urllib2, urllib USER = … | |
Hello, I'm working on a text base space game, just for fun, and I've made a lot of progress. The problem I'm having right now is that sometimes, the psuedo-random is calculated out of its modulus. The way it works, as you can see in the code is that a … | |
I am trying to load two text files from a dialogbox into a listbox. I noticed in the dialogbox properties there is a place for multiselction but how would i pass both textboxes to an array? | |
Hi all, Im trying to write a program that minimizes a Transition Graph (its basically combining states with similar numbers). Basically, the algorithm is to first find states with the same 'a' and 'b' inputs, combine them, remove them from the 'leftovers' list, then find states that have either 'a' … | |
private void getStudentInformation() { SqlConnection conOOC = new SqlConnection(ConfigurationManager.ConnectionStrings["OlympiaOpenCollegeDatabaseConnection"].ConnectionString); SqlCommand cmdSelectStudent = new SqlCommand("SELECT l.LearnerID, l.Name, l.Email FROM Learner l, Registration r WHERE l.LearnerID = r.LearnerID AND r.RegistrationID = @registerID" , conOOC); SqlDataReader dtrStudent; conOOC.Open(); cmdSelectStudent.Parameters.AddWithValue("@registerID", "R001"); dtrStudent = cmdSelectStudent.ExecuteReader(); while (dtrStudent.Read()) { lblStudentID.Text = dtrStudent["l.LearnerID"].ToString();[Note: Error Occured] lblStudentName.Text = … | |
-->>Hi all... -->>Here is what makes me be unconfortable here... -->>I was trying to develop a Progam that will help me creat a folder and make a copy of my passports -->>I managed to creat a folder but when I try to Copy the files is where I get an … | |
Hi, this is a super basic question but my classes are not working the way I expect them to. I am a CS student in my second year so go easy on me! The only other language I know is Java. Here is my class, called class.Team.php (represents a team). … | |
** Please help me debug the code, I am experiencing error in this part: cmd.CommandText = "select ROUND(((date_from - date_to)/30),0) as months from rental where tenant_id = '" & Me.TextBox9.Text & "'" cmd.CommandType = CommandType.Text It says: Error while retriving record on the table.. There is already an open Data … | |
Hi there, I am trying to repeat my triangle on 100px by 100px; Any help is much appreciated. Many thanks, Ashley def drawTrianglePatch(win, x, y, colour): for i in range(5): for j in range(5): if (i + j) % 2 == 0: triangle = i * 20 triangle = y … | |
Greetings, I'm developing an HRM application and such application including functionality like hiring decision, moving decision "for example, moving an employee from a department to another" etc. All such types of decisions done throgh the same Windows Form and each type of decision has a different data from the other … | |
[CODE] #include<iostream> #include<fstream> #include<string> using namespace std; struct phonenode{ char surname[15]; char initals[4]; phonenode *next; }; phonenode *start_ptr = NULL; phonenode *crrnt_ptr; void read_txt(){ ifstream ifs("test.txt"); char surn[15]; char inital[4]; phonenode *temp1, *temp2; temp1 = new phonenode; if (ifs.fail()){ cout << "ERROR" << endl; } while(ifs.good()){ ifs>>surn>>inital; if(ifs.fail()){ break; } … | |
Hi there, I wonder if anybody can help me with this. I a a bit confused as to what $(this) and what e.target.nodeName represent in jquery. I had a look at this http://api.jquery.com/event.target/ but I am still not entirely sure, I hope somebody can clarify this. I run a little … | |
Hi i gotta display 2 arrays on screen but they don't look good i was wondering how can i make it look like this: Speed 20 88 75 80 68 77 81 Focus 30 90 77 83 71 84 85 Jetta 40 94 80 85 76 91 90 Contour 50 … | |
Hello! Me and my friend are developing a website, it's being hosted on [1freehosting](http://1freehosting.com) until we finish it (as we dont want to be paying so much money for an unfinished product). since monday the server has been down or something and I can't access the webpage, we have had … | |
I think this simple example might ask the question a lot more clearly. I have an input file with multiple products. There are different types of product (2 types with 2 product IDs is fine enough for this example), but the input will have many more. I only want to … | |
i want to Autogenerate id column in my database table , my code is given below . it is not workin it is giving me Exception as "startIndex Cannot be larger than Length of string , parameter:startIndex ".how should i solve it Private Sub AutoGenerateNo() Dim no As String Try … | |
I made a wesite which have a webforum something like this site. Where a user can send message to each other. i am using php-mysql. i want to know how to store info about if user had read his message or its still unread. my site is [www.thar.co][1]. mysql table-column … | |
I was asked to help a friend to rewrite urls for a site he has a client. The link structure looks like this: <a href="http://sitename.dk/index.php?page=wisetrap">WiseTrap</a> // URL: sitename.dk/index.php?page=wisetrap Is it possible to keep the link structure like that, but after the link is clicked make it appear in the url … ![]() | |
Hi All, I have 44,000 data in a table (dbo.IA_Subscription) where I have only 2 columns; one is ID and another is Magazine_Type ID filed is filled with contact_ID and Magazine_Type is filled with 3 Magazine e.g. Papaer Type, Digital Type and Web Type. Now contact_ID is not unique...one contact_ID … |
The End.