199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jludeman

I' m trying to see if it is possible to write a keyboard only wxpython program. All of the tutorials I'm finding on the web when run have no focused control at all. That's fine if you expect the user to click with a mouse. I'll try to give a …

Member Avatar for jludeman
0
227
Member Avatar for Thomas_31

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Thomas' Story</title> </head> <body style="background-color:lightblue;"> <h1 style="color:Orange; text-align:center;"><B>Thomas'Story Page</B></h1> <h1 style="color:Orange; text-align:center;"><B>Let's Make a Story Together!</B></h1> <h2 style="color:Black; text-align:center;">You fill in the blanks and we'll go from there!</h2> <hr> <h3>Now, just fill in the boxes below and when you're finished click the button for …

Member Avatar for kgweb
0
247
Member Avatar for hsaraiya

I am trying to Draw a graph which can read data values from Text files. In which i want to consider 1st column as X-axis and 2nd as Y-axis.

Member Avatar for JamesCherrill
0
2K
Member Avatar for Stefce

Hello everyone, im thinking how to make car engine sound on button click... my idea is when i click the button to be the same as you click on the gas pedal the engine starts to make sound (i know its not possible that with keyboard key) BUT i think …

Member Avatar for rproffitt
0
341
Member Avatar for overwraith

I am trying to build a program for transferring files to an arduino project with an attached sd card. I have some code, it does some interesting stuff, but it's not quite what I want it to do. What I need it to do is to be able to transfer …

Member Avatar for rproffitt
0
825
Member Avatar for jmishal

Hi, I know parsing json data has been discussed lots but what I want is probably a little simpler I need a little editing to the bleow php script to work as convert json data and push it into MySQL table since the script work as reading the json data …

Member Avatar for cereal
0
3K
Member Avatar for KevinAdam

I have tried to display the names of table in oracle database in visual studio 2012 in combo box but i am not sure why it is not displaying private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { try { con.Open(); OleDbDataAdapter oda = new OleDbDataAdapter("SELECT table_name FROM tabs where table_name Like …

Programming oracle visual-studio
Member Avatar for KevinAdam
0
322
Member Avatar for Doogledude123

Flickering occurs when Active Rendering with JPanel, not sure why as I've done this before (couldn't find source code of that project however). Relevant Code: Graphics g = projectDCWindow.getWindowGraphics(); // Gets the Graphics Object from a JFrame g.setColor(Color.BLACK); g.fillRect(0, 0, (int) ProjectDCInfo.getDefaultWindowSize().getWidth(), (int) ProjectDCInfo.getDefaultWindowSize().getHeight()); // Clears the screen projectDCGSM.get().render(g); // …

Programming java java-swing
Member Avatar for Doogledude123
0
2K
Member Avatar for සශික

I'm making money lending system. In my database there are two mysql tables which are custormer AND income. All custormer info stored in custormer table. When I give loans these loan details stored in loan table. After I received loan amount from custormers(daily payments) these records stored in income table. …

Member Avatar for hericles
0
305
Member Avatar for rpv_sen

Hi i want to display runtime server load using php code. I find the below code from other website but i dont know i am going on the correct way. Pleae help me. function get_server_load() { $load=array(); if (stristr(PHP_OS, 'win')) { $wmi = new COM("Winmgmts://"); $server = $wmi->execquery("SELECT LoadPercentage FROM …

Member Avatar for rch1231
0
722
Member Avatar for GeneClaude

Hello! I've been debugging this VBA program that computes the root of an equation using Newton Raphson method and with the use of the UserForm. The user will type the equation, the initial guess and the number of iterations. I was able to search on automatically differentiating the equation unlike …

0
514
Member Avatar for Stefce

Im making search button and i want when user is searched to give all tickets received by that user i have this code but its just showing the last record of that db table and if i try to search other users gives me `No ticket received from that user.` …

Member Avatar for Stefce
0
152
Member Avatar for Ghast

Hello. I have a weird problem with VB.NET applications. In Visual Studio 2013 the work just fine. But outside of VS, it does not run. At all. In a nutshell, the process runs 3 times using almost no ram but GUI is just not there. Also I can not kill …

Member Avatar for Ghast
0
528
Member Avatar for Steven_10

Hello I am trying to take a multi-deminsional array[ ] [ ] (2D (if you will)) and set a varriable through a classes public setter. //some of the fields private int request_id; private String time_stamp; private int session_id; private int client_intf; private int server_intf; // many more... // Some Getters …

Member Avatar for Steven_10
0
188
Member Avatar for Sasi_2
Member Avatar for mpdph09

I am trying to get data from the SQL database with stored procedure using dataset and populate that data in combobox. It gives error as cannot find table 0. SqlConnection conn = new SqlConnection(); conn.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["dbConnection"].ConnectionString; SqlCommand cmd2 = new SqlCommand("GetBatch", conn); cmd2.CommandType = CommandType.StoredProcedure; cmd2.CommandText = "usp_CAMR_GetBatch_Status"; cmd2.Connection …

Programming c c# c++ dataset
Member Avatar for tinstaafl
0
633
Member Avatar for Mar. Na.

Hi,all I need a java parser for parsing any java file in any package,not only existing file ...Can i do this ? how?

Programming apache java oop
Member Avatar for JamesCherrill
0
677
Member Avatar for Kunyepa

**I'm having difficulty translating C code that loops through an array of grades. The C code is as follows:** int A, B, C, D, F; // declare grade counters int i; // declare loop counter int N ; // Number of scores to analyze A=0; B=0; C=0; D=0; F=0; // …

Programming assembly c c++
Member Avatar for Schol-R-LEA
0
2K
Member Avatar for Richmond_1

Can anyone help me for this problem ?.. I have a Log-in form and i want to validate the username and password to log-in but the account is default. This is my Code <html> <head> <title></title> <script> function LogIn(){ user = document.getElementById("User").value; pass = document.getElementById("Pass").value; use = "1"; if(user == …

Member Avatar for Richmond_1
0
207
Member Avatar for PratikSagar
Member Avatar for Parth_3

i create one function but in return function so there is error like argument not specified for parameter 'arguments' of public function give some proper soluation **and code for checking same value in database and if value are same then msg box show value are exists and new value then …

Programming vb.net
Member Avatar for Santanu.Das
0
302
Member Avatar for tellysk
Member Avatar for ogsirus

Hi Guys Ive come accross an interesting application which sorts out an array. Nothing special about that right? But then it gets a bit messy as it can sort out numerous array based on the original. So Lets say I provide it with an Array of 4 number (3,4,1,2) and …

Member Avatar for Reverend Jim
0
182
Member Avatar for toxicandy

Hello, currently on one of my development servers I have SQL Server 2014 installed, the problem I HAD was that when I executed any of my PHP sites connected to various databases I was getting `SQLSTATE[HY2000][2002] Connection was activily refused...` I fixed that error by forwarding the port through the …

Member Avatar for toxicandy
0
411
Member Avatar for Makara

Hello guys. I have a challenge here. I have a form that I want it to submit its information to a textarea below it and not in a database. How can I go about it. or To copy the information in the form before submitting. here is the code; <!DOCTYPE …

Member Avatar for ryantroop
0
247
Member Avatar for janicemurby

hya all i have sorted the checkbox group out and its echoing through ok but its also echoing through userid, username twice and email address when all i want is to echo options ticked any ideals of what can be causing this please php block at top of page: <?php …

Member Avatar for ryantroop
0
250
Member Avatar for Joshua_14

Enter 10 student grades and print the total number of passing and failing grades entered

Member Avatar for David W
0
215
Member Avatar for hrushi9

I'm using [imgAreaSelect](http://odyniec.net/projects/imgareaselect/) to select image area. I have following values. Need Help to upload original image to "../original-images/" folder & cropped images to "../uploads/" folder. Upload cropped images with new filename "$newfilename" Plz help Thanks in advance. $x1 $y1 $x2 $y2 $w $h $filename = $_FILES["image"]["name"]; $file_basename = substr($filename, …

Member Avatar for hrushi9
0
411
Member Avatar for pwolf

it says the following: Write a function that converts the time to 24hr format. Examples [CODE] >>> time24hr('12:34am') '0034hr' >>> time24hr('12:15pm') '1215hr' [/CODE] so i wrote the following: [CODE] def time24hr(tstr): a = tstr.split(':') am = {'12':'00','1':'01','2':'02','3':'03','4':'04','5':'05','6':'06', '7':'07','8':'08','9':'09','10':'10','11':'11'} pm = {'12':'12','1':'13','2':'14','3':'15','4':'16','5':'17','6':'18', '7':'19','8':'20','9':'21','10':'22','11':'23'} if 'am' in tstr: return am[a[0]] + a[1][:2] …

Member Avatar for Abhinav_4
0
3K
Member Avatar for mohammed_22

hi...iamb struggling with this code please help me my controller is this public function men_clothing() { $data['active_mn']='men_clothing'; $data['men']=$this->roxmodel->get_category_by_parent($p_id=8); $data['kids']=$this->roxmodel->get_category_by_parent($p_id=9); $data['galllery']=$this->roxmodel->get_galleryImages($p_id); } my model section is this public function get_galleryImages($p_id) { $this->db->where('gallery.category_id',$p_id); $query = $this->db->get('gallery')->result(); return $query; } and my view page is this <?php foreach($galllery as $row){?> <!-- single-product start …

Member Avatar for cereal
0
1K
Member Avatar for mohammed_22

hi...iam stuck with this code pls help me here is my controller public function men_clothing() { $data['active_mn']='men_clothing'; $data['men']=$this->roxmodel->get_category_by_parent($p_id=8); $data['kids']=$this->roxmodel->get_category_by_parent($p_id=9); $data['galllery']=$this->roxmodel->get_galleryImages($p_id); } my model looks like this public function get_galleryImages($p_id) { $this->db->where('category_id',$p_id); $query = $this->db->get('gallery')->result(); return $query; /* $this->db->where('gallery.category_id',$p_id); $this->db->select('gallery.*,category.id'); $this->db->join('category','category.parent_id=gallery.category_id'); return $this->db->get('gallery')->result(); */ } my view page look like this …

Member Avatar for mohammed_22
0
228
Member Avatar for Hazuan Nazri

Hello guys, im trying to learn how to use dynamic data table, which means i want to use data table as my searching result table. but i dint know how to make it because when the search result filled in the table, the sort and other "DataTable" function is not …

0
141
Member Avatar for Yash969680

write a program that displays the following information, each on a separate line: * your name * your address, with city, state and ZIP * your telephone number your college major Although these items should be displayed on separate output lines, use only a single **println** statement in your program.

Member Avatar for Reverend Jim
0
483
Member Avatar for carlcsolis

Hi all, I'm trying to make super simple essay-writing-helper program, I have created 4 forms (intro,paragraph1,paragraph2,result) and in each form contains a textbox where the essay will be typed in. The first form is for the introduction, and next is the first paragraph and so on. The last form the …

Programming visual-basic
Member Avatar for Reverend Jim
0
219
Member Avatar for Otir

Hi dear everyone, I have a website on WordPress that has been down at least for the past two months: http://terouma.net It is hosted with OVH and for the past weeks, I have been going back and forth with their customer support (which is not the most responsive on earth …

Member Avatar for Otir
0
328
Member Avatar for UK-1991

I have created a function for displaying the shortcode within my content same as like don in wordpress not totally like it but some the thing is that when the regex becomes true will display shortcode for the given name but what happening now is it's displaying all within the …

0
137
Member Avatar for mexabet

My login script is displaying the following error message: Warning: Illegal string offset 'hash' on line 30. Here is the code that generates the error: <?php // configuration require("../../includes/config.php"); // if form was submitted if ($_SERVER["REQUEST_METHOD"] == "POST") { // validate submission if (empty($_POST["username"])) { adminapologize("You must provide your username."); …

Member Avatar for mexabet
0
411
Member Avatar for mohammed_22

hi...iamb struggling with this code please help me my controller is this .. public function men_clothing() { $data['active_mn']='men_clothing'; $data['men']=$this->roxmodel->get_category_by_parent($p_id=8); $data['kids']=$this->roxmodel->get_category_by_parent($p_id=9); $data['galllery']=$this->roxmodel->get_galleryImages($p_id=10,11); } my model page looks like this... public function get_galleryImages($p_id) { $this->db->where('gallery.category_id',$p_id); $query = $this->db->get('gallery')->result(); return $query; } my view page looks like this... <?php foreach($galllery as $row){?> <img …

Member Avatar for gentlemedia
0
172
Member Avatar for UK-1991

I tried to make a custom php shortcode coverter for my own cms but the shortcodes are not converting in a proper way in the output its not displaying anything though as in replacement of corusel it should display Rollercoaster but right now I am getting output as This is …

Member Avatar for rubberman
0
417
Member Avatar for المهندز

iam asking about chimical equations how can i programme it to the computer how can i make the computer understand that c+o2=co2 or naoh + hcl =nacl+h2o i mean how he understand that acid +alkail= water +salt

Programming c c++ pascal python
Member Avatar for rubberman
0
266
Member Avatar for shibobo2001

I`m creating a simple social network site, I need to implement a sophisticated friend request system, one which works like facebook, this will work as follows: If James wants John to be his friend, he will click John's name. John will be notified that James has asked to be his …

Member Avatar for Brian_3
0
4K
Member Avatar for joshSCH

When I try to execute my jar file through the command prompt by typing: java -jar myJar.jar It returns an error message saying that it can not access the jar file. Why is this? myJar.jar is the exact name of my jar file.

Member Avatar for stultuske
0
36K
Member Avatar for SAMUEL_8

Am working on an online examination system. I have ordered the question output with "ORDER BY 1 ASC" and it follows as its appears in the database. But I want the output to be randomly generated so that each time the examinee logs in, different question number comes first.

Member Avatar for jj.dcruz
0
110
Member Avatar for Aeonix

Since I totally F'd up entire topic. [Over here](https://www.daniweb.com/programming/software-development/threads/502281/verify-if-data-sent-by-servers-how-do-bigger-companies-do-that), where nobody has ever known what I meant, until I realized that I said a lot of things that didn't make sense at all, nor I could make up any reasonable statements from smart people out there. By suggestion of said …

Member Avatar for Aeonix
0
246
Member Avatar for Rudi_2

Hi there, I follow this tutorial for my web app. link: http://www.thesoftwareguy.in/creating-multi-user-role-based-admin-using-php-mysql-bootstrap/ Can anyone give me idea to do this same app using mysqli? Thanks.

Member Avatar for diafol
0
245
Member Avatar for PratikSagar
Member Avatar for JamesCherrill
0
329
Member Avatar for KushMishra

Hi, I have a WPF Grid with multiple controls like TextBox, ComboBox, CheckBox etc. and their properties like Text, SelectedItem, IsChecked etc. are present inside the view model bound to the view perfectly. I want to copy the values of all the controls to the Clipboard (may be) and want …

Member Avatar for Santanu.Das
0
2K
Member Avatar for nagarjuna9

using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.Sql; using System.Data.SqlClient; namespace studentreg { public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection(@"Data Source=(LocalDB)\v11.0;AttachDbFilename=;Integrated Security=True"); con.Open(); SqlCommand …

Member Avatar for ddanbe
0
118
Member Avatar for nagarjuna9

<using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.Sql; using System.Data.SqlClient; namespace studentreg { public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection(@"Data Source=(LocalDB)\v11.0;AttachDbFilename=;Integrated Security=True"); con.Open(); SqlCommand …

Programming open-source
Member Avatar for Suzie999
0
255
Member Avatar for Suzie999

I have many checkboxes on my form, I decided to create a custom checkbox to use instead. I thought I could just change the following two lines of code in Mainform.designer.cs... `private System.Windows.Forms.CheckBox chkapp;` to `private CustCheckBox chkapp;` and `this.chkapp = new System.Windows.Forms.CheckBox();` to `this.chkapp = new CustCheckBox();` And I …

Member Avatar for Suzie999
0
3K

The End.