199,114 Archived Topics
Remove Filter ![]() | |
Hi there, As you may or may not know, CPU-Z is a free software which can be downloaded online to help the user understand what components he or she has inside their computer. Components such as CPU, RAM, Chipset and certain helpful aspects of hardware such as RAM speed. I'm … | |
like we clear textbox item txtname.clear().. so how we can bring combo box main item.... i have combo box of date... and text of combo box is "Select Date" after insertin the data i want to bring back "select Date" on combo box.. Hope someone will help me.. Regards.. Farhad | |
![]() | I wan't to check if a user is listed as permitted in a particular group. How'd you do that? Should I do something like this? [CODE]group_id | permitted_users 1 | mark,jon 2 | maria,warren,mila[/CODE] now I gotta retrieve the value of permitted_user column of a specific group then separate every … ![]() |
Hi Everyone, I am currently working on a site that will have lots of European and Middle-Eastern town names that include accented and other special characters. I have never had to deal with these characters before and I foolishly assumed that setting everything to utf-8 would take care of it … | |
[URL="http://www.appcelerator.com/"]Titanium[/URL] is an open source package that brings a bunch of development options together into one place. It allows you to take one set of code and deploy it on: [LIST] [*]Windows [*]Linux [*]Mac [*]Android [*]Iphone [/LIST] Even better, you don't need to learn a new language. The development is … | |
how wud you write a code that wud convert a string of any input into a cool X formation for example if you had a string "names" how would you write it in the formation: [CODE][I]n n a a m e e s s[/I][/CODE] Or for example if you had … | |
I have a search form there is a search textbox for search by name. i want when i type any text onto the textbox then the names shows on listbox. and when i click on any name of list box then all data related to this name fill on textbox, … | |
You can get your hands on to usefull information from within your C# program. Use the static System.Environment class! Take a look at this snippet, which can be used as is in a Console application. I have not exhausted all the possibilities, if you want you can look them up … | |
Hello, I am new to this codding stuff and I am only doing it for fun (personal little project) and for learing as I am not programer in any language apart from knowledge in shell scripting :( Anyway after a few weeks looking at examples and searching the net and … | |
I am a total noob at php and I am creating a basic wordpress plugin for a site. I have a function [CODE]function My_Function_2() { ?> [/CODE] Then I have an input inside a div coming from an options page: [CODE]<form method="post" action="options.php"> <?php wp_nonce_field('update-options'); ?> Define Box height <table … | |
Hi there, I'm completely new to Java. I am trying to use [I]import[/I] in a project, but despite using what I think is the right code, my application fails to build. When I build my app, it builds and runs fine, but I want to use [I]JFileChooser[/I], so add this … | |
I have two classes. The first class is called [ICODE]EmployeePayRoll.java[/ICODE] (this compiles fine) and the second is called [ICODE]TestEmployeePayRoll.java[/ICODE] (this does not compile). The trouble I'm having is that I'm trying to pass in methods as parameters when I instantiate my objects in the main method of the test class. … | |
Create a constructor for the Delivery class that accepts arguments for the year, month, and delivery number within the month, delivery distance code, and weight of the package. The constructor determines the six-digit delivery number and delivery fee. Also include a method that displays every Delivery object field. Save the … | |
i create 2 combobox in form, comboproduct & combomodel. i using accessdatabase and using oledbconnection..database in debug folder... i create 1 table, i name it"stock" & 2 column.. first column is product,second model.. i wont load data in product column into comboproduct and model to combomodel..like binding data.. anyone help … | |
I know there are others out there who haven't figured it out yet I figure I'll help out. The code snippet included will over-ride the pre-designed menu highlight. :D Just change the color of the pen or brush to whatever you want the highlight to be. :) All of the … | |
I will have a page with about a 100 or so different links and I would like each one to toggle the visibility of its corresponding hidden div. For instance, if I have a county 'Johnson' when it's clicked I would like the hidden div associated with that county to … | |
I know there is a lot of threads already on this website, but I cant find any that remotely looks like it'd be help to me. I am getting frustrated over this bit of code error. Any help would be appreciated. php line 64 [CODE] $emails = $_REQUEST['email']; $data = … ![]() | |
hello, i'm new in PHP coding. Please help me in solving this error. Parse error: syntax error, unexpected T_STRING in C:\wamp\www\test\testdate.php on line 49 Line 49 is :Valid Oxygen:$oxygenmin-$oxygenmax I attach together the whole coding for my project: [code]<?php require("phpmailer/class.phpmailer.php"); $db_connect=mysql_connect("localhost","root",""); if(!$db_connect) { die("Could not connect:".mysql_error()); } mysql_select_db("mpob",$db_connect); /****2)RETRIEVE DATA … | |
http://i325.photobucket.com/albums/k392/sarjan123/name.jpg hi all, for the picture above,i am currently writing a code to check if the seller_name is match with current login user name,it will show the item name in a page, i have following code now <?php $check =$_SESSION['username']; $query = "SELECT id, seller_name "; $query .= "FROM items … | |
Hello everyone, Please see the questions below and try to help me solve them. 1) Given an array of n elements, for each of the following cases suggest an efficient algorithm for computing in sorted order the k minimal values: a. k = n / 2 b. k = [TEX]sqrt{n}[/TEX] … | |
It solves quadratic equations, for both real and complex roots. Please answer the pol to let me know how I'm doing. This function just needs the python 3.x environment, no modules needed. | |
Hi, I need some help writing a text file into an array. I've got the text file opening and displaying but its at the bottom of the page instead of where the array is. Would it work if I just set the position to (0,0)? Heres the code for the … | |
Hello am trying to do this program as my project.and i was able to fix lots of errors but this few errors i do not know what to do. as my 1st and last semester for programing, am not really good in this subject. i added the errors list hope … | |
(Python code 3.0) I have been trying to make it that when you the number it will loop around, I tried this: If guess==num: #this is randomly generated number ask for yes or no the playagain if answer==yes replay=1 play_guess==0 if replay=1 play=("yes") however this does not work, please could … | |
Dear friends: I write a vector class "vec" based on the template, i am confused greatly by the "const" keyword appeared at the left most when the = operator is defined. const vec& operator=(const vec & a) Could you please tell me what is the function of this "const". I … | |
Hi everyone, I have a question. I m using iterator to loop my jsp such as code below in my jsp [CODE]<%Iterator itr;%> <% List data=(List)request.getAttribute("data");%>[/CODE] I use servlet as my engine to proceed my sql statement. below is my sql statement [CODE]select * from a natural left join b … | |
<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("db_ldlp", $con); $result = mysql_query("SELECT * FROM LB_table"); echo "<table border='8' color='white' > <tr> <th>Person Id</th> <th>Name</th> <th>Participant Status</th> <th>Organiztion</th> <th>Arrival Date</th> <th>Departure Date</th> <th>No Of Days</th> <th>Room Status</th> <th>Room Charge</th> <th>Registeration</th> <th>Total Expense </th> </tr>"; … | |
i thought if it was possible to serialize a List into a file on your hard drive and then send it over net with streaming? | |
[CODE]Protected Sub registerStudButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles registerStudButton.Click If Page.IsValid Then Dim selectedProgram As String() = studProgramDropDownList.SelectedItem.Text.Split(New Char() {" "}) Dim selectedIntake As String = intakeDropDownList.SelectedItem.Text Dim selectedSupervisor As String = supervisorDropDownList.SelectedItem.Text Dim contactNo As String If contactStudTextBox.Text <> "" Then contactNo = contactStudTextBox.Text.Trim Else contactNo … | |
Hi, how do i do this:- The dyndns that allows Admin to get result from different location. No need to get the database over from another location, able to view the report and print. Using VB.net and SQL Server 2008 | |
i have this assignment to submit tomorrow(friday) and i am having difficulties updating my text files. actually, i have to be able to update the text files by searching and deleting items. please, check the code below.. so far, i am receiving no errors except that the calculation part gives … | |
How do I find a window by partial title.. or if the title contains a certain word.. I was thinking GetWindowText but that requires that I have the handle already.. I was going to enum windows I think that I can search for a window title containing the string.. if … | |
Hey there; I'm having trouble with fork() and wait() functions. In the code below I'm trying to create a child process and first let the child process do its work then parent process finish execution. I use wait() function in the parent process but the output shows that child process … | |
Hi guys im having a lot of problems trying to code. I have opened a csv file and have read it using strings.I have splitted the strings by the ','. I want to load each of these values into a 2 dimensional array! but im having problems. Ultimatly i want … | |
Does anyone know how to turn this excel function into an sql statement? The function looks at my address and route. If it is different than the one prior it increments column G by 1 if it is the same it keeps column G as the same number. Ive been … | |
Hey, I'm trying to write a program right now with the following requirements: 1. Read a CSV file for field ID#. 2. Compare it to a second CSV file for the same ID # 3. If Csv1ID == Csv2ID, write the rows from both files to outputfile. So basically I … | |
Hello, I'm hoping you can help me make a smart decision. I have some code written in native C++, a full program actually--and I need to use it with C#. The application is, at the moment, very basic. It has a console user interface, and settings need to be changed … | |
Hi I'm having problems with a query bringing back records where the price is between 2 different min and max options. My field in the db = prop_price and it is currently an integer (as I thought part of the problem might be the comma in the prices) I've pasted … | |
I use VS 2008. The forms which I designed in a project does not display in the correct size and alignment when the program is run. Even the controls in that form has changed their relative sizes. What can I do to overcome this problem? | |
it compiles fine but when i go to run the program the only output is "Cut Shampoo" and the program ends. Any help will be greatly appreciated i need to have this finished soon. Description Create a class for services offered by a hair-styling salon. Data fields include a String … | |
[code] template<typename anyFunctor = printTxt> //printTxt is somekind of functor void testFunctor() { anyFunctor f; } void testFunctor2() { testFunctor(); } [/code] 1 : if [b]type anyFunctor[/b] need 3 arguments to initialize it, what should I do? Do I have another way to make this become more adaptable except of … | |
Hi , I have interesting problem as I have a file 'A' which looks like [CODE]>BIG_CLUSTER96 ENSTNIP00000002777 TETRAODON8 1 [COLOR="Green"]105[/COLOR] 136 [B]Ank[/B] [COLOR="red"]NGCTPLHYAASKDRYEIALMLLENGADPNATD[/COLOR] >BIG_CLUSTER96 ENSTNIP00000002777 TETRAODON8 1 [COLOR="Green"]141[/COLOR] 169 [B]Ank [/B] [COLOR="red"]TPLHRASAKGNYRLIQLLLRQSASTNIQD[/COLOR] >BIG_CLUSTER96 ENSTNIP00000002777 TETRAODON8 1 [COLOR="Green"]172 [/COLOR] 202 [B]Ank [/B] [COLOR="Red"]GNTPLHLACDEERVEAAKLLVEHGASIYIEN[/COLOR] >BIG_CLUSTER96 ENSTNIP00000002777 TETRAODON8 1 [COLOR="Green"] 40 [/COLOR] 71 … | |
[CODE]#include "stdafx.h" #include <iostream> using namespace std; class distance { int feet; float inches; public : distance ():feet(0),inches(0) {}; distance(float in,int ft): feet(ft),inches(in) {}; void getdist() {cout<<"enter the values of feeet and inches "; cin>> feet>>inches;} void showdist() {cout<<"feet= "<<feet<<"\n inches="<<inches;} distance add_dis(distance);}; distance distance::add_dis(distance d2) { distance temp; temp.inches= … | |
This is inner for loop I have the collection Arraylist which contain 10 lines And i am performing some operation on that If any line is blank it should for the next line and i m declaring the string in which m taking that line and if(string == "") {break; … | |
Sir, i have used two JButtons(Next,Previous) to perform actions. In a JTable, before clicking JButtons there is my 1st result. once i clicked the Next JButton then it show me the 2nd results in a JTable, and again clicking Next, it shows the 3rd result in JTable. Same thing applies … | |
So, i have to methods in a non main class and i need to figure out how to print both the println in a chart with two columns should look something like this x : y x : y x : y x : y x : y but instead … | |
Hello Im trying to read from ttyUSB0 on Ubuntu using the following code: [CODE] <?php // Create the context set_time_limit(0); @ob_end_flush(); ob_implicit_flush(true); $c = stream_context_create(array('dio' => array('data_rate' => 1200, 'data_bits' => 7, 'stop_bits' => 2, 'parity' => 0, 'flow_control' => 0, 'is_blocking' => 0, 'canonical' => 1))); // You can … | |
Hi everyone. I have an application where users submit text files and then based on some rules, the application gives instant responses of whether the submitted text file is right or wrong. What actually happens behind the scenes is that I have the correct text file on the server and … | |
so i am working on a assigment for school, and i need help with the java.util.Calendar , i am trying to increment the year of as today by one each index of an array . This functions needs to be inside a toString(). so i need some help i know … | |
hello all, i am working on a project where a 16 bit code has to be changed to a 32 bit code. it is a mfc multiple document interface. when i try to compile a dll file i get a error "fatel error c1083: Connot open pre compiled header file". … |
The End.