199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Link_1

I have a delete button by createing <asp:ImageButton>. first row user cant delete the item so I dont want a delete button on first row? how can i do this? <asp:DataList ID="DataList1" runat="server" DataKeyField="ID" OnDeleteCommand="DeleteCommand" RepeatColumns="2" RepeatLayout="Table" RepeatDirection="Horizontal"> <ItemTemplate> <asp:ImageButton runat="server" ID="deleteIB" CommandName="Delete" ImageUrl="x-icon.png" /> <%# DataBinder.Eval(Container.DataItem, "PRINT") %> </ItemTemplate> …

Member Avatar for rproffitt
0
547
Member Avatar for Jiby_1
Member Avatar for cereal
0
648
Member Avatar for Marcus_3

Can someone assist me on how to do a mouse over on a hyperlink that shows what the user selected on the page they just left or saved. For example, the user clicks a link that says 'Add' and it opens a popup window where they select a list of …

Member Avatar for Laith_2
0
233
Member Avatar for cproger

This might sound like it's very simple but I tried many things and it doesn't work. When the user clicks the back button on a window it's supposed to also dispose another window. I've tried using static. if(Tester.backJButton.isEnabled()) { this.dispose(); } Tester is the name of the class holding the …

Programming java
Member Avatar for cproger
0
237
Member Avatar for newbee_jv

Hello everyone, I have 2 Tomcat app servers (Tomcat1, Tomcat2) on 2 different hosts. Tomcat1 is my main J2EE web application that has a commercial certificate, and the application works correctly. Tomcat2 is a dependent component that has a self signed certificate. both tomcats are behind a load balancer. When …

Member Avatar for newbee_jv
0
2K
Member Avatar for karthik_6

hi all, how to parse an xml attributes using python. I want to read or extract msg values from xml using python. <msg timestamp="20160817 12:46:42.520" level="INFO">Average : 0.14 % CPU (%) 10 Aug 07:00 2 12 Aug 07:00 maximum 5.17 average 0.13</msg>

Programming python xml
Member Avatar for snippsat
0
633
Member Avatar for CreatorZeus

My Error info isnt being clear enough for me to understand the problemIs there anything worng here so i can continue on lookng for the probelm: $sql = "INSERT INTO boards ( title, genre, creator, tagline, intro, remessage, visability, recruitment, reqsheet, reqdice, reqgroup, ppweek) VALUES ( $title, $genre, $creator, ". …

Member Avatar for diafol
0
428
Member Avatar for <HHH>

Hello I have created two classes one for the user and the other for address every thing is ok and the tables of the two classes created in my database but when i try to initiate a new object from user class i get the below error "sqlalchemy.exc.InvalidRequestError: Mapper 'Mapper|user|user' …

Member Avatar for <HHH>
0
10K
Member Avatar for Jollyyy100

Is there any way possible to display a slideshow of pictures on a vb 6 form? What steps are required? Thankyou

Member Avatar for Supermike
0
2K
Member Avatar for Azim_1

Hye I'm new to c++ language. Can anyone suggest me what is the best programming software should I learn ? And how I'm gonna learn coding ?

Member Avatar for rubberman
0
294
Member Avatar for rhys1619

Hi, im trying to add a slapsh screen before my game. It will display a png and the use can either press "e" to continue or "q" to quit. when i run this in my game is says that pygame.display.update() is the problem. Please help thanks. def game_intro(): intro = …

Programming python
Member Avatar for rhys1619
0
1K
Member Avatar for Maikel

Hi guys, I'm new to Python have get done a lot by searching. Now I try to bind a scroll wheel to canvas, but it doesn't do anything. Will someone look at the code what I do wrong? I tried to keep my snippet clean. Hope It's enough. class Viewer(tk.Toplevel): …

Member Avatar for rproffitt
0
789
Member Avatar for Sushma_2

write a programme in visual basic to create anarray of size 5 to store any 5 names and display them

Member Avatar for rproffitt
0
236
Member Avatar for vegaseat
Member Avatar for SimonIoa

hello i want to upload an audio file. i specified the location but the file doesnt go there. it stores the path in the row in the table on database but it doesnt store the file on the folder. i define the upload path on my config file define("UPLOAD_PATH_AUDIO", "uploads_audio/"); …

Member Avatar for diafol
0
949
Member Avatar for phphp

Sir I have these codes in <head> section <meta name="viewport" content="width=device-width, initial-scale=1"> <style type="text/css"> #small_box_r { float:left; width:31.1%; border:1px solid #ccc; border-radius:6px; padding:0px 0px 0px 0px; margin:15px 5px 15px 5px; height:300px; color:#39F; font-weight:bold; text-align:center; overflow:auto; background-size:cover; } @media (min-width: 400px) and (max-width: 800px){ #small_box_r { min-width: 100%; max-width: 100%; } …

Member Avatar for gentlemedia
0
167
Member Avatar for Mr.M

Hi Guys. First of all is it possible to detect a file copying/moving within the system, I'm sure this is done in lower languages like C++ but I've tried searching but I don't seem to find not even en example, maybe it because I don't know how it correctly called. …

Member Avatar for pritaeas
0
1K
Member Avatar for Zach_2

Whenever I go to transfer a file from my server to my client, I get a new file, but the data does not go through. It prints server side once it is open, but it won't transfer the data to my new file. Here is the code:https://gist.github.com/anonymous/8f70b3e2eca8606dee2c245ce64e9b63 All I want …

Member Avatar for Gribouillis
0
288
Member Avatar for Ed Genes

I have a program that runs a bank management.It saves the created accounts in account.dat. For example these are the contents of the data file: 1001 felisilda s 5000 0002 smith s 3000 1212 johnson c 3200 I want the output to be sorted increasingly based on the bank account …

Member Avatar for AssertNull
0
370
Member Avatar for Alif_2

Here is my text file : > 1 SPRITZER 999 2.500000 > 2 PENCILBOX 999 20.000000 > 3 IPHONE 90 20.000000 > 10 GUNNAROPTIK 1919 200.000000 The program let the user enter productID. Listed as 1,2,3,4. And delete the whole line. I'm currently testing it in main function only. And …

Member Avatar for AssertNull
0
265
Member Avatar for spluskhan

Hello, I have two tables in mysql using php> 1) Consumers 2) Monthly Billing In Consumers that table contains about 100s of Consumers , and it increase monthly. 2) Monthly Billing for Billing. What i want to do ? Is there are any way that i can generate monthly billing …

Member Avatar for diafol
0
915
Member Avatar for Chisanga_1

Where do I start creating a face recognition program? I am a beginner in the programing world who only knows little about c++. What do need to consider or what I have in place. I am running of windows pc and using devc++ and Mingw compilers.

Member Avatar for Traevel
0
297
Member Avatar for Mr.M

Hi Guys. I'm trying to suspend a process by it name, but I found the sample that demontrate this using ProcessId. The problem is that I don't know the process ID of the process I want to suspend/resume. [Here is a sample I used.](https://social.msdn.microsoft.com/Forums/en-US/cdde6cef-3971-40a6-b4dd-02db963868ce/suspend-an-application?forum=vbgeneral)

Member Avatar for Mr.M
0
577
Member Avatar for Mr.M

Hi Dw. If there is anyone who knows how and which languagies are used to develop software's like word processing, Excel, Access, basically things like Office suite. I know Linux has their own different tools for office, as well as Microsoft as well and other OS have different Suites for …

Member Avatar for rubberman
0
199
Member Avatar for Usman_10

inheritance error is::Error 1 Inconsistent accessibility: base class 'person' is less accessible than class 'employee' using System; using System.Collections.Generic; using System.Linq; using System.Text; //person class public class person { public string name; public double CNIC_no; public void Information() { Console.WriteLine("Enter your name"); name = Console.ReadLine(); Console.WriteLine("Enter your id"); CNIC_no =double.Parse( …

Member Avatar for pritaeas
0
251
Member Avatar for rhys1619

hi, so ive been trying to add a splash screen to the start of my game. the user presses "e" to continue and "q" to quit. it's not working, could anyone help. import os import pygame import random pygame.init() #Colours im using in the game white = (255,255,255) black = …

Programming os-x python
0
265
Member Avatar for Mark_54

Hi there, I was given a little exercise to complete for a graduate position. I have only done a HDip in Computer Science, so that's only about 8 months of Java stuck in with a whole other pile of stuf.. long story short.. I've only get the basics of coding, …

Programming java
Member Avatar for JamesCherrill
0
324
Member Avatar for Faisal_13

Dear Developers, This is the part of my blog.While adding new post to my blog the category option not updating to database add_post.php <h2>Add Post</h2> <?php //if form has been submitted process it if(isset($_POST['submit'])){ $_POST = array_map( 'stripslashes', $_POST ); //collect form data extract($_POST); //very basic validation if($postTitle ==''){ $error[] …

Member Avatar for Faisal_13
0
543
Member Avatar for Steven_14

It's been a few years since I last dabbled in C++ and then it was only learning the console stuff but by no means was I a master of it. I'm comfortable with VBA, MS Access and SQL. I'm wanting to delve into the GUI world of C++ with a …

Programming c++ gui ide
Member Avatar for Steven_14
0
361
Member Avatar for Eddy_1

Hi. I have tried to save the Json data retrieved below in vain. When I connect the database and try to insert the post data, the script no longer retrieves or decodes the data. When I leave it, the API tells me the data was reconciled or decoded. How can …

0
142
Member Avatar for lewashby

I've tinkered with php in the past but I'v also enjoyed playing around with python. I have been wanting to give python a try as a possible alternative to php but I haven't had much luck. All of the videos I find on the subject are about setting up Django …

Member Avatar for lewashby
0
1K
Member Avatar for Suzie999

Hi all, hope you are well. I'm trying to make my code as efficient as possible, and currently regarding logic I have a question. Is there a way, in the following single "if" query, to determine which of the conditions are true? if (mystring.Contains("left") || mystring.Contains("right")) { //which is it …

Member Avatar for JamesCherrill
0
311
Member Avatar for Dannywill

THis is the reply i that get after entering the web address www.theagenda.com.ng. Index of / cgi-bin/ Please what could be the problem? And am still in my designing stage in wordpress....

Member Avatar for Steven_15
0
395
Member Avatar for Jon_7

I have a chart for my fundraising goal, but I'd like to make it more minimal by removing the percentage number and placing the 4 items immediately below the table into the table itself. I'd still like for the % to be able to be manually set (perhaps a data …

Member Avatar for Jon_7
0
319
Member Avatar for Vusumuzi

Imports System.IO Public Class AddEMForm Private Sub CreateCSVfile(ByVal_strCustomerCSVPath As String, ByVal EName As String, ByVal Edate As Date, ByVal ELoc As String, ByVal EDis As String, ByVal EFee As String) Try Dim stLine As String = "" Dim objWriter As StreamWriter = File.AppendText("..\..\EventData.txt") If File.Exists("..\..\EventData.txt") Then objWriter.Write(EName & ",") objWriter.Write(Edate …

0
121
Member Avatar for Suzie999

Hi. I invoke method from other thread which did not create ui. Appears to work well... DVG.Invoke((MethodInvoker)(() => dgv.Rows.Add(DGVR))); But I need return value from Add method, so I do... int Index = (int)DVG.Invoke((MethodInvoker)(() => dgv.Rows.Add(DGVR))); Unfortunately I get an error... "Object reference not set to an instance of an …

Member Avatar for Suzie999
0
231
Member Avatar for showman13

I am simply trying to compare a value entered into a form, to ensure it begins with a ? mark. I have tried suggestions I could find online but can't seem to get it to see when the ? is missing Any suggestions or direction would be greatly appreciated. if(!preg_match("/[\s]*(?)/i", …

Member Avatar for showman13
0
146
Member Avatar for rakesh.menon.16

hello, I've been trying to interface 4x4 hex keypad with pic16f877a using MPLAB X and XC8 compiler. My task is to get 4 individual key presses from matrix keypad and convert it into a 4 digit integer and display the 4 digit integer on multiplexed common cathode seven segment display …

Programming c
Member Avatar for AssertNull
0
326
Member Avatar for Link_1

Please see the attached image. I want to recreate the same layout using bootstrap. How can this be possiable? I can easily create the layout using bootstrap but i have no idea how to create the lines connected to the section. any ideas? ![Untitled.png](/attachments/large/4/e23625300b1e53e3317c9cf8fd68617e.png "align-center")

Member Avatar for diafol
0
237
Member Avatar for SimonIoa

Hello i am not familiar with returning HTML in Javascript code. I have this code. I want to return an audio player but nothing returns. var uploadImageHTMLTitle='<audio controls preload="metadata" id="'+data.msg_id+'">'; var uploadImageHTMLFooter='</audio>'; var uploadImageHTML=''; var C=''; if(data.uploadPaths.length) { if(data.uploadPaths.length > 1) { uploadImageHTML+=uploadImageHTMLTitle; for(var i=0; i<data.uploadPaths.length; i++) { C='<source src="'+data.uploadPaths[i]+'" …

Member Avatar for SimonIoa
0
310
Member Avatar for ramsiva
Member Avatar for diafol
0
204
Member Avatar for Link_1

getting conversion error I am creating a website using a VB Error: if I print getID1 Conversion from string to type 'Integer' is not valid. Error: if I print getID2 NullReferenceException was unhandled by user code. Object reference not set to an instance of an object. ** # .aspx file …

Member Avatar for wazztech
0
333
Member Avatar for ice_3

Code: do{ cout<<"No. of random numbers (-10-10): "<<endl; cin>>howmany; if(howmany<1 || howmany >50) cout<<"INVALID INPUT"<<endl; }while (howmany<1 || howmany>50); cout<<endl<<endl <<"The "<<howmany<<" random numbers from 1-50 are :"<<endl; srand(time(0)); for (ctr=0,negativectr=0,positivectr=0; ctr<howmany; ctr++) { randnum[ctr]= rand() % 50-1; cout<<randnum[ctr]<<"\t"; if (randnum[ctr] % 2 ==0) { positive[positivectr]=randnum [ctr]; positivectr++; } else …

Member Avatar for AssertNull
0
321
Member Avatar for kgizo

I have Post code column and I want to get 60, 30 and 10% for each area code that I have, but the thing is there is a between statement which makes things a bit complicated. I need 60% from the first postcode then 30% from the second and 10% …

Member Avatar for rproffitt
0
240
Member Avatar for Jiby_1
Member Avatar for Jiby_1
0
163
Member Avatar for yawar260

Hi,my name is yawar i am a student learning c#.I have combobox,when i select an item in combobox there comes data which i want to display on labels,but my problem is there comes many data,i want to display only 3 labels when only 3 data rows comes from database and …

Member Avatar for Santhosh_3
0
276
Member Avatar for _1_6

Hello everyone, I want to use Dazah app for single sign-in at my forum, http://forums.tssfl.com, just as it works with the Daniweb. I'm currently doing installation, which I hope it should work, but I thought there will be some coding to get the integration working. I do have little knowledge …

Member Avatar for _1_6
0
495
Member Avatar for q8_dreamy

Hiii I want to use select in select clause this is my statement which got an error: [code=sql]Select count(*) as cnt, (select count (answer_q1) from answers where (answer_q1 = 'ضعيف'))as a_q1 FROM Answers[/code] and this is the error: Error in SELECT clause: expression near 'SELECT'. Error in SELECT clause: expression …

Member Avatar for Sirisha_2
0
1K
Member Avatar for SpottyBlue

Hi, I added the "dayOverview" dropdown list that needs to assign to the database, but when I test it, it is uneditable. How? Please check lines 51 and 164 - 176. Download the attendance form zip file: https://drive.google.com/file/d/0B07_pOHhTox3bS1mVXpiTUN3RVk/view?usp=sharing Inside there is the database table called attendance.sql. You need xampp and …

Member Avatar for SpottyBlue
0
209
Member Avatar for Chris_38

Can someone give me some programming ideas to keep my knowledge up-to-date? I received a masters degree in computer science back in December and been job searching since then. I want to tell an employer something.

Member Avatar for rproffitt
0
292

The End.