Member Avatar

hi good day guys, i'm having a trouble with fetching the data i have a list of folder outside like in the picture below ![p1.png](/attachments/large/4/c49da0c2676b0f2d0f5d9acb7afc68bd.png) when i click the first folder the picture below shows the output it has duplicates ![p2.png](/attachments/large/4/9e1c201e5a2edfed6e83663b41116db6.png) i want to know what's the problem with my code why it duplicates the folders. can someone help me out. please... thank you in advance here's my code ![c2.png](/attachments/large/4/5bdfa3d4496764c67c4a61192d59de0d.png) ![c1.png](/attachments/large/4/6d5667c4f98cdcdd9487afb945c6278d.png)

+1 forum 0
Member Avatar

I need to make a custom adapter extending the baseadapter class. Does the code for extending the Baseadapter go inside of the oncreate method? Because no matter where I put it I'm getting errors and don't have any other code in my MainActivity yet.

+0 forum 0
Member Avatar

I have been 2 player programming othello. The program checks for possible areas to place piece "O" and flips pieces. I have got the code for "X" ready too but I can't get the program to switch to player2 "X" and execute code associated to it. Can someone help? class Grid { private int p1numberofmoves = 0; private int p2numberofmoves = 0; private const int BOARDSIZE = 9; private const string White_piece = "X"; // computer piece private const string Black_piece = "O"; // player piece private const string Player2 = "X"; private const string Player1 = "O"; private const …

+0 forum 0
Member Avatar

I have a popup from index.ejs, called math.ejs. After pressing the submit Ok button, I want the math.ejs popup to close and to show the calculated value on index.ejs. But right now, when I press the submit button, the popup goes to index.ejs and updates it there; it does not close. It does not update it on the normal index.ejs browser page. I have to refresh that page for it to update. <form class="" action="/index" method="post" name="mathform"> <p>Value: <%= myValue %></p> <button class="btn btn-md" name="button" value="confirm" onclick="CloseAndRefresh();">Ok</button> </form> <script language="javascript"> function CloseAndRefresh() { opener.location.reload(true); setTimeout(function() { window.close(); }, 3000); } …

+0 forum 0
Member Avatar

love_you_21@21-VirtualBox:~$ python3 Python 3.6.8 (default, Jan 14 2019, 11:02:34) [GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tkinter Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'tkinter' >>> >>> >>> >>>import Tkinter Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'Tkinter' >>> >>> >>> >>> what happen i don't know pls help Tkinter & tkinter both can't import

+0 forum 0
Member Avatar

I need an answer for this question ( write 2 program that takes grade as input and display the range of marks use the select case and if() A. 90 to 100 B+ 80 to 89 B. 70 to 79 C 60 to 69 D 50 to 50 F. F

+0 forum 0
Member Avatar

I'm creating a program that maintains student scores. I've created a class called students that stores the data and displays it in a list box. Once the user clicks btnAdd a new form (frmAddStudent) loads that allows them to add the user by name and their scores and display it in the listbox in the main form. It also allows the update/delete functions. I can succesfully add students to the list and edit them, but when I press the ok button in the update students form I get the error, "System.ArgumentOutOfRangeException: 'Index was out of range. Must be non-negative and …

+0 forum 0
Member Avatar

I have dynamic page which is loading and preview page from database retrieved values. I did this with successfully. I want to remove parameters from page url. Note that I only used one parameter in url. My url is something like this. (with parameters) http://ads/ad?this=daihatsu-boon-m700s-new-design-2016-nugegoda-2019-04-05-22-49-04 I tried to remove parameters from url, (it success) then my url look like this, http://ads/ad/daihatsu-boon-m700s-new-design-2016-nugegoda-2019-04-05-22-49-04 To do that I added following codes to htaccess file, RewriteEngine On #RewriteCond %{SERVER_PORT} 80 ReWriteRule ^ad/([a-zA-Z0-9-/]+)$ ad.php?url=$1 ReWriteRule ^ad/([a-zA-Z0-9-/]+)/ ad.php?url=$1 Options +FollowSymLinks -MultiViews # Turn mod_rewrite on #RewriteEngine On RewriteBase / # To externally redirect /dir/foo.php to /dir/foo …

+0 forum 0
Member Avatar

I want to add capcha to Mobirise builder's form. When I'm adding the code below, formd doesn't send any messages after that. What should I do? May be someone have solved this issue. <head> <script src="https://www.google.com/reCAPTCHA/api.js" async defer></script> </head> <body> <form action="?" method="POST"> <div class="g-reCAPTCHA" data-sitekey="your_site_key"></div> <br/> <input type="submit" value="Submit"> </form>

+0 forum 0
Member Avatar

Hiya, looking for some help on this bit of code: def save(x,y,z): user=x yourinventory=y score=z allinvent=[] allscore=[] with open("Inventory.txt","r+")as inventory: for line in inventory: allinvent.append(line.strip().split(',')) allinvent.append("\n") for line in allinvent: if (line[0]==yourinventory): allinvent.append(yourinventory) allinvent.pop(line[0:8]) print(allinvent) break inventory.append(allinvent) inventory.close I'm currently working on saving things like inventory, and I'm not sure what I need to use instead of append as I keep getting this error. Traceback (most recent call last): File "\\file1\Student-homes\Intake15\15QuintonSA\My Documents\Year 10\Computer Science\.Adventure Quest v2\main file.py", line 192, in <module> save("pandatron03", invent, 8) File "\\file1\Student-homes\Intake15\15QuintonSA\My Documents\Year 10\Computer Science\.Adventure Quest v2\main file.py", line 19, in save inventory.append(allinvent) `AttributeError: '_io.TextIOWrapper' object …

+0 forum 0
Member Avatar

My score on Google's new PageSpeed tool (web.dev or Lighthouse) is incredibly low. There are things that I'm working on that seem obvious, but I'm stumped with trying to improve the following points: Time to Interactive Speed Index Estimated Input Latency I was wondering if any of you guys are dealing with this. The website is https://www.bairesdev.com/our-services/software-outsourcing/ Thanks a lot in advance!!

+0 forum 0
Member Avatar

## Hey, ## I crated a program which can search a text for a string and gives you every line which conatins that string back. Now I want to create another text file with the output. But I cant get it to work. Actually I have no problems with creating the text file becasue its creating it but its always empty. I just dont know how to gte the results from the top of my code into the output text file. Here is my code: #include <string> #include <fstream> #include <iostream> #include <sstream> using namespace std; int main(void) { string …

+0 forum 0
Member Avatar

Hello Everyone

-1 forum 0
Member Avatar

I am following this **tutorial** to display **custom opacity control** in wordpress **default** color picker scheme, [Click Here](https://github.com/BraadMartin/components/tree/master/customizer/alpha-color-picker) i want my color picker looks like this, after adding opacity bar. ![dani.PNG](/attachments/large/4/735831d60c76788bcc1ce819a383ce49.PNG "align-center") I am using **twenteen seventeen theme** to display alpha color picker in the **apperence->customize->text**, but it is only showing the alpha text field with default set value. kindly help me thanks in **advance**

+0 forum 0
Member Avatar

Part 2 to Salesperson Java Application, still new to this. class SalesPerson { /** * Fixed Salary */ final double fixedSalary = 35000; /** * Current Commission Rate */ public double curCommissionRate = 0.15; /** * Accrued Commission */ public double curCommission = 0; /** * Total Compensation */ public double totalCompensation = 0; /** * Annual Sales */ public double annualSales = 0; /** * Parameterized Constructor * * @param annualSales The Salesperson's annual sales. */ public SalesPerson(double pAnnualSales) { annualSales = pAnnualSales; //set object member curCommission = (annualSales * curCommissionRate); //calculate current commission totalCompensation = fixedSalary + curCommission; …

+0 forum 0
Member Avatar

![Untitled.png](/attachments/large/4/9ac3fb0f01e4139b31b0d2937bdb0d02.png "align-center") Plesae take a look at the image attached. I have created a maven project by the following steps: 1. open eclipse EE 2. file > new > pther > maven project 3. click on 'create a simple project' checkbox 4. click on 'use defualt workspace location' checkbox > next 5. Enter Group id and Artifact id = 'myFirstProject' 6. change packing to 'war' and finish if you look at the bottom right. The loading keeps on going and the project never get created. is there some thing I am doing wrong? I have never seen this.... any help …

+0 forum 0
Member Avatar

Here is a small e-Book for your attention: [The Ultimate Question of Programming, Refactoring, and Everything](http://www.viva64.com/en/b/0391/). This book is intended for C/C++ programmers, but it could be of interest for developers using other languages as well. What makes the book peculiar is the descriptions of real, not theoretical cases at the base of it. Each chapter starts with a code fragment taken from a real application, and then the author gives various tips of how this bug could be avoided. The questions touched upon in this book can help the readers improve the personal coding style and the coding standards …

+0 forum 0
Member Avatar

nononon

+0 forum 0
Member Avatar

I'm getting the following error Syntax Error: Token '{' is an unexpected token at column 6 of the expression [rForm{{] starting at [{4}]. My form code is as follows <form name ="rForm{{$index}}" ng-submit="rForm{{$index}}.$valid && rCtrl.saveResource(api)" style="margin-top:0%" class="form-horizontal" role="form"> I'm using {{$index}} since I'm making multiple forms dynamically. The final html rendered is exactly as I want as below <form name="rForm0" ng-submit="rForm0.$valid &amp;&amp; rCtrl.saveResource(api)" style="margin-top:0%" class="form-horizontal ng-pristine ng-invalid ng-invalid-required" role="form"> But angular is going crazy at my template {{$index}}.$valid and not showing the expected behavior. Please help me solve this!

+0 forum 0
Member Avatar

<option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> My Command : WebBrowser1.Document.All("Value").SetAttribute("02", "02") Dont Works!! Plz Help Me Vb.net

+0 forum 0
Member Avatar

Hi thanks for the help I am new to this so sorry if I’m slow. I am trying to make an Access Database I have a quarry that pulls data into a combo box and then auto fills the below text boxes. I want the user will then fill out the new data associated with the quarry data pulled. And then hit an Add bottom to add it to a new table called report. I keep getting an object error can you please advise. Thanks Matt below is the code Private Sub cboAdd_Click() Dim cnn1 As ADODB.Connection Dim rstcontact As …

+0 forum 0
Member Avatar

I activated the SPF on my mail server. To ensure that it is working, applying the test to send a standard email to the <code> check-auth@verifier.port25.com </ code>, it returns with the status "SoftFail". > SoftFail: "The sender's ADMD believes the client was not authorized to inject or relay mail using the sender's DNS domain, but is unwilling to make a strong assertion to that effect." With each new test e-mail, it sends with a different IP address. How to solve?

+0 forum 0
Member Avatar

I needed a grid layout to display some images. I found this one online http://alijafarian.com/demos/responsive-image-grids-using-css Its displays but not like it should. Through a process of elimination i figured it was a js file causing this, two to be precise. init.js & skel.panel.min.js These js file came with the template and have something to do with the pages structure and display. I cant seem to find anyone having the same problem i tried using no conflict and that hasnt worked. my header ` <head> <title></title> <link rel='shortcut icon' type='image/x-icon' href='images/favicon/favicon.ico' /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="description" content="" /> …

+0 forum 0
Member Avatar

We have a WCF web service hosted on Windows 2008 SP2/IIS 7 accessing an Oracle database. Usually data access works fine but during load testing, it often times out and logs an exception saying: Error occurred when processing XXXXXXXX Web Service Oracle.DataAccess.Client.OracleException Connection request timed out at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck) at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src) at Oracle.DataAccess.Client.OracleConnection.Open() at MyWorkspace.WorkForceDataAccess.CheckStaffIdInRSW() at MyWorkspace.MyClass.MyFunction(MyDataType MyData) To query the database, we use something like this: OracleConnection orConn = new OracleConnection(); orConn.ConnectionString = "user id=xxx; password=xxx; Connection Timeout=600; Max Pool …

+0 forum 0
Member Avatar

Hi All, when i'm trying to call the dll i'm getting runtime error 91 error. below are my findings: 1) i'm able to build the dll without any error 2) i'm able to add reference to that dll 3) all intelesense is working 4) if i add that project to my standard project, i'm able to do without any error syntax i used to initialise dim obj1 as object set obj1=createobject("Dllname.class1") please anyone suggest to resolve this issue. Thanks

+0 forum 0
Member Avatar

Hello, I have a website that uses the user timeline widget from Twitter. A couple of days ago, it stopped displaying the widget and instead just shows "tweets from @username". I haven't changed and javascripts or anything, so I'm not sure whats changed. The error console says [code]TypeError: t is not a constructor Line 1 Widget.js[/code] I've logged back into the Twitter dev control pannel and the widget preview is working fine. I even tried rebuilding and recopying the code, to no avail. Any ideas? Thanks.

+0 forum 0
Member Avatar

I'm trying to compile an old project in Borland C++ Builder 4. I have a working exe and the source files for that, therefore someone must have managed to compile it earlier. However, when I open the project, check if the project has all the necessary files in the resources and try to compile it, I keep getting the following linker error: `[Linker Error] Unresolved external '_fastcall TMapperForm::Button1Click(System::TObject*)' referenced from ...\Unit1.obj` I can see that it cannot find an object in the library but I am not sure how to resolve it, because the obj file with the same name …

+0 forum 0
Member Avatar

How do I repair a PPT file that has the error message:The file may be corrupt, in use, or of a type not recognized by PowerPoint.?

-2 forum 0
Member Avatar

Hi, can anyone pls help to understand why its throwing class not found error, i am trying to learn how JWS works. i just followed this blog, though every thing looks ok.Attaching the files as well. http://examples.javacodegeeks.com/java-basics/web-start/java-web-start-getting-started/ Pallab

+0 forum 0
Member Avatar

Hi guys! i think this is usefull, a lot of the users have problems with .Net Framework installation, Error code: HRESULT 0xc8000222 Do these to solve: a: Click Start > Run. b: Type cmd and press Enter. Please run the following command in the opened window. net stop WuAuServ c: Click Start > Run Type %windir% and press Enter. d: In the opened folder, rename the folder SoftwareDistribution to SDold. e: Click Start> Run type cmd and press Enter. Please run the following command in the opened window.. net start WuAuServ Hope this information helps.

+1 forum 0

The End.