4,919 Topics

Member Avatar for
Member Avatar for DanyLiz1902

I'm trying to make two android applications connected with TCP protocol. Client has an imageView and when you push the button, it is supposed to send that image to the server and after server reads it, it is suppose to display the image. but I haven't been able to display …

0
130
Member Avatar for nadiam

hey guys so i have an issue with my enable disable function which i just realized a few minutes ago. easier to explain with a screenshot: ![08c804f5fc7f9af5f870d8cf5a7cc3fa](/attachments/small/4/08c804f5fc7f9af5f870d8cf5a7cc3fa.jpg "align-right") so as you can see i have multiple checkboxes. say for example all checkboxes are checked and the delete button is enabled, …

Member Avatar for nadiam
0
523
Member Avatar for nadiam

hey guys so im trying to check if a checkbox is checked. and if one checkbox is checked a button is enabled if more than 1 it is still disabled; button is disabled by default. <script type="text/javascript"> var editbtn = $("#edit_contact"); editbtn.attr("disabled","disabled"); $('.contacts input:checkbox').live("click", function() { if(this.checked.length === 1) { …

Member Avatar for nadiam
0
255
Member Avatar for bolfescu

hy i have question i have this code and i whant to print it one by one not all the page the script is <?php $qry=mysql_query("SELECT * FROM articles order by articles.id DESC ", $con); if(!$qry) { die("Query Failed: ". mysql_error()); } /* Fetching data from the field "title" */ …

Member Avatar for hericles
0
313
Member Avatar for riahc3

Hello I want to make a button autoclick itself. JQuery? Whats the best way? Tried trigger click but nothing Thanks

Member Avatar for shophiarajan47
0
195
Member Avatar for imchivaa

Hi there, I searched a lot and all the thread i viewed isn't solving my problem. I don't what's wrong with my code. First of all, i am kinda new to android programming as i just recently move from web programming to android programming. I have a listview and it's …

Member Avatar for imchivaa
1
1K
Member Avatar for garyrichard

<?php $host = "localhost"; $usr = "root"; $pwd = ""; $db= "DB"; conOpen($host,$usr,$pwd,$db); function conOpen($host,$usr,$pwd,$db){ $con=mysql_connect($host,$usr,$pwd) or die ("Connection Failed "); mysql_select_db($db,$con);} $rows_per_page=5; // database connection stuff here $result=mysql_query("Select * from newsimage"); $pages=ceil(mysql_num_rows($result)/$rows_per_page); if (!isset($screen)) $screen = 0; else echo $_GET[screen]; /* $start = $screen * $rows_per_page; $sql = "SELECT …

Member Avatar for Borzoi
0
1K
Member Avatar for Violet_82

Hi, I am trying to add an event handling feature to an old program I wrote. Here is the relevant code: public class CalculatorLayout extends JFrame{ private BorderLayout layout;//layout object. Do I need a flowlayout at all? private JPanel numberKeysPanel;//contains the number keys panel //private JPanel calculationAreaPanel;//contains the calculation panel …

Member Avatar for Violet_82
0
2K
Member Avatar for Castellar

I have following code: # -*- coding: utf-8 -*- forbiddenWords=['for', 'and', 'nor', 'but', 'or', 'yet', 'so', 'not', 'a', 'the', 'an', 'of', 'in', 'to', 'for', 'with', 'on', 'at', 'from', 'by', 'about', 'as'] def clear_screen(): button2.destroy() button3.destroy() text.destroy() label.destroy() def main_page(): var = StringVar() global label label = Label( root, textvariable=var) var.set("Fill …

0
177
Member Avatar for kavitha.g04

HI, This code is to draw a circle in the form with one button in vb.net. [code] Dim g as system.drawing.graphics g=me.creategraphics dim p as new system.drawing.pent(system.drawing.color.Blueviolet) g.drawellipse(p,150,100,30,60) end sub [/code] this is not working it is showing the error in the declaration of p any one can help me …

Member Avatar for Softdev_sup
0
326
Member Avatar for BogdanCov

Hello, guys, I encountered a big problem. There is a genereted matrix of buttons: private void Single_Load(object sender, EventArgs e) { //code here for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { //a lot of working code here b[i, …

Member Avatar for BogdanCov
1
221
Member Avatar for iamthwee

Hi guys, In my register page, I have a button that uses ajax to validate and send an email of confirmation. Trouble is the sendmail function takes about 3-4 seconds, and whilst it is sending the user may click the button twice or three times because it doesn't look like …

Member Avatar for Topnews
0
124
Member Avatar for Neil_4

Can anyone show me How to add a button on top of a dymanically programmed button var contentPanel = new HtmlGenericControl(); ButtonPanel.Controls.Add(contentPanel); foreach (DataRow row in dt.Rows) { contentPanel.InnerHtml += string.Format("<a class='tile ol-transparent bg-myGreen brand tile double' href='{0}' target='_BLANK'>{1}</a>", row["LINKURL"], row["LNGNAME"]); } This is my code for dynamically producing one …

Member Avatar for tinstaafl
0
92
Member Avatar for minghags

I need to create 3-4 buttons that are colored when pressed, but when one button is pressed it turns for example red other ones become grey. But this must happen on the same site like selection for example. I didnt maanage to do anything till now, if someone could just …

Member Avatar for Benjamin_11
0
221
Member Avatar for mavtcr

Friends, I met with a small problem please help me I developed a small programme. When I exit from it I want to make a backup in another drive I coded like this FileCopy "I:\My Documents\New Folder\Pebble.mdb", "D:\Pebble\Pebble.mdb" Here the "Pebble.mdb" is my database in Drive "I". I want to …

Member Avatar for mavtcr
0
243
Member Avatar for davy_yg

Hello, I am looking for a sign-in button like this: [button](http://www.squline.com/en/) any clue how to create one like that? Thanks in advance.

Member Avatar for tapananand
0
243
Member Avatar for showman13

I am trying to change my ways and wonder if someone could help me find my way... LOL Honestly. I've always used forms in my scripts that a visitor had to submit, and it would reload the page and check the input and display any errors, etc... What I would …

Member Avatar for showman13
0
301
Member Avatar for gianluzzz

Hi all guys, I want to do, for the administrators, a page where are displayed all the "routes" regarding the pages etc. This is the html markup: <?php /** * @var IV_View_Base $this */ ?> <table class="table table-bordered" width="100%"> <tr> <td> <table width="100%"> <tr> <th width="13%">Path</th> <th width="13%">Module</th> <th width="13%">Controller</th> …

Member Avatar for veedeoo
0
262
Member Avatar for hitro456

Hi folks, I have an ASP page. I have a label and button on that page. label shows data from database. lets say i have 100 rows in database Now when I run my page i want to see first row data on my page label... and when user click …

Member Avatar for spy.monzer
0
3K
Member Avatar for DaveyCoder

Hi, I am trying to code a button in iBooks, where the user can touch the button, in order for music to play continuesly throught the book, even when a page is turned. I have used the following so far: <div id="audioButton" class="ibooks-media-audio" data-ibooks-audio-reset-on-play="true" data-ibooks-audio-src="audio/background_audio.m4a"></div> This uses iBooks.js The problem …

0
115
Member Avatar for Slavi

A few days ago, i made a hangman game and I really want to complete it in any aspect. One of my ideas now is to "import" words from a file. Currently what I have is an Array of Strings (just a few words inside for testing) and what I …

Member Avatar for Slavi
0
258
Member Avatar for Suzie999

I've never really tried MFC and this excercise is nothing more than trying it out. I found what seemed like a simple spoon fed tutorial to get me started [here](http://courses.washington.edu/css450/2008.Fall/web_contents/from_students/450Hints/mfc_tutorial/tutorial_2.html). Step 6 of the first part in that link says... > Inside 'Tutorial.h', change enum value of IDD to "IDD_ECHOBUTTONEVENT_DIALOG" …

Member Avatar for Ancient Dragon
0
194
Member Avatar for shail.arya

Hello All, I am new user to this community as well to PHP. I have designed a website. Now i am stuck with a problem here. I have added some new fields into my database. i want to add a script whcih works like this: Whenever a user login to …

Member Avatar for hericles
0
164
Member Avatar for solutionland

hello thank you for your good solution but your solution always assume external workbook to be open, how to work with current opened workbook? Dim oxcel As Excel.Application Dim owb As Excel.Workbook Dim osht As Excel.Worksheet oxcel= New Excel.Application oxcel.Visible = True owb= oxcel.Workbooks.Open(Path) osht= owb.Worksheets(1) now I developing add-in …

Member Avatar for solutionland
0
394
Member Avatar for widygui

Hi everyone, I'm Widy Gui. I'm still in my college majoring IT. I interest in learning code especially C#. well,I just hope i get a warm welcome here. :) THX

Member Avatar for happygeek
0
42
Member Avatar for cathal.kennedy.3

When using my Toshiba laptop the screen went black for a few seconds, came back, the went black again permanently. I turned it off but when I turn it back on the Toshiba loud up screen comes on but the screen again goes black afterwards. The solution of, 'turn it …

Member Avatar for Hiroshe
0
236
Member Avatar for Deep Modi

I want to know, which programs are installed. and then aftEr if I Get the program theN it should find locatioN of programs... while here the user should not able to do anything accept clickIng on button 1 I mean this whole process should be dOne in background

Member Avatar for Hiroshe
0
198
Member Avatar for TrustyTony

Here some old fashioned line input routine, better idea nowadays would be to use GUI input box with real editing. Anyway, it is quite simple with Python to do this basic routine for terminal based program.

Member Avatar for fonzali
4
514
Member Avatar for gogs85

How to when click on share button share on facebook post from website example: my website url : blog.com/name_of_post in my url show only title of post. How to share from every post on facebook?

0
121
Member Avatar for Abhishek_16

there is a simple code but i want when i click submit then ther should open google.com(like any web) in another tab and in the same page there should be one another page. How can i do this.. a sample code is.. <%@ page import = "java.sql.*" %> <% String …

Member Avatar for cool_zephyr
0
881
Member Avatar for ayanbizz

I am using SPring mvc 3 with Thymeleaf.I have a list in my jsp page and each row in the bean is accompanied by a button.When I click on that button I want to get the index of that row.I am not able to do so. I have the following …

0
170
Member Avatar for Slavi

How can I keep track of the unguessed letters yet in my JTextArea? In the non gui version I used an arraylist, worked fine but should I leave the arraylist and use it to track unguessed caracters ? The method is still console based, just started implementing the gui made …

Member Avatar for Slavi
0
750
Member Avatar for Yogesh Sharma

hey frnds, Firstly I pick the records from the databse into the DataGridView, Then I want that If we made changes to the records in the GridView & Click on Update Button, Changes are Reflected into the Datbase .Plz do reply back the ..

Member Avatar for Venkatesh_6
0
6K
Member Avatar for cypress1976

I am trying to export the current record in my app into a PDF. My current code (shown below) is exporting into Crystal Report and then into PDF format but it is exporting ALL records in the database. This program is used for entering in Purchase Requests. Each record in …

Member Avatar for Gayathri1990
0
359
Member Avatar for Exaktor

How do you delete rows from a datagridview. I have a delete button to the right in the datagridview. I want to know how to delete a single row by clicking the delete button.

Member Avatar for ChrisHunter
0
4K
Member Avatar for ned.ibarrientos

helo . i am using hp compaq, when i turn it on there is no display on the screen . wat seems to be the problem ? i searched google on how to fix this, and i ended tryng this one " plug out the charger, remove the battery, hold …

Member Avatar for alhmr222
0
150
Member Avatar for VernonDozier

OK, I have been experimenting around with GridBagLayout and I'm getting the hang of it. Things are looking the way I want them to on the INITIAL drawing of the GUI. However, when I RESIZE the JFrame to make it smaller vertically, at a certain point, the proportions get skewed. …

Member Avatar for Doogledude123
0
4K
Member Avatar for vikas.rb

Hello , I have to perform a function repeatdly ,say in every 2 hours .For this , I have a form with me in VB 6.0 and added a button to it .I have written all necessary coding in click event of that button and finally made exe of it …

Member Avatar for maba001
0
147
Member Avatar for Samarth_1

I am a bit new to vb.net. I Want to make a custom shaped button in vb.net 2008 professional Edition. I Want to make it by Design and not by Code. Can Anyone Help me Please? Thanks.

Member Avatar for Samarth_1
0
501
Member Avatar for enrique.mansilla.908

I'm a newbie to VB.Net. I created a listBox(lstInventory), 4 text boxes (txtDesc, txtRetailPrice,txtOnHand,txtQuantity) and 4 label Boxes(lblSubTotal,lblSalesTax,lblGrandTotal). I just need ways to achieve this project. Mainform on load reads inventory items from the file and updates the list box with error checking. Do not display items in the list …

Member Avatar for enrique.mansilla.908
-1
438
Member Avatar for Adejola

i need to trigger a reminder from database and pass the result to a msgbox using a button

Member Avatar for Reverend Jim
0
111
Member Avatar for mavtcr

Friends, I made a small calculator in a form.It works well. On the form there is an Exit Button to close the form. Now I want this task.If I keep the calculator on the form (Computer) idle for 60 seconds the form must be closed automatically / If I goes …

Member Avatar for mavtcr
0
258
Member Avatar for anees dayo

How to detect clicked word in textarea with right click and show menu items from php sql database in in context menu in return of clicked word We want to design roman transliteration with same pattern of google translation in this regard plz help us. We want two text boxes …

Member Avatar for diafol
0
2K
Member Avatar for CasianSushin

how can we load valuse to a data grid from textbox...without saving in database..and i also need to save the data from the grid to db when clicking the submit button

Member Avatar for swadeep.kujur
0
187
Member Avatar for Turismosan

Hello all!! I am trying to create a Windows Form Application that allows a user to answer 10 questions. The program contains a 'next button so that when the user clicks it, the next question appears. My problem is trying to figure out how to code for the next button. …

Member Avatar for kamilacbe
0
205
Member Avatar for ddanbe

Hi, You can simulate this by starting a new WinForm app. Add a datagridview and add some columns. Add a contextmenustrip, add a menuitem, doubleclick it to get a clickhandler. Attach the menustrip to the datagridview in the properties window of the DGV. Then refer to this code and the …

Member Avatar for ddanbe
2
3K
Member Avatar for BogdanCov

Hello. I have a button on a web page and when the mouse is over it becomes larger (don't ask why). .buton { /* some code here*/ height:50px; width:100px; text-decoration:none; text-align:center; text-shadow:1px 1px 0px #ffffff; transition:width 0.5s, height 0.5s; } .buton:hover { width:200px; height:200px; } In body is this code: …

Member Avatar for BogdanCov
0
218
Member Avatar for enrique.mansilla.908

Hello, I attached my solution so far. I dont know how to create a collection within the code and read it from the .txt file. I seriously have tried and just need to know how to create the Inventory Collection so it reads throughout the code. Please help. Project : …

Member Avatar for enrique.mansilla.908
0
193
Member Avatar for nouth

First am I missing any other notable ones? I only want to know about crossplatform standalone source-based modules, so no Gui IDEs. Tkinter Pyjamas wxPython PyGObject (Gtk's successor) Qt I already know that `Tkinter` is the default so it is the obvious choice for crossplatform because of its licensing and …

Member Avatar for ZZucker
0
361
Member Avatar for <M/>

I figured this might be a useful tool to add but I think that there should be a report user button to report users of abuse... I thought it might be useful...

Member Avatar for happygeek
0
242

The End.