199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Alfred_6

How do I get an item in my drop down menu? I know with .value I can get the value of the item selected, but what I need is the name of the selected item. For example, I have this drop down menu with contains two items: Class 1 and …

Member Avatar for essential
0
288
Member Avatar for Loulou_1

I want to draw a checkerboard on Python, but I only get one black square. Can you help me fix this program? import turtle def filled_square(size, color, x, y): turtle.setpos(x, y) turtle.color(color) turtle.begin_fill() for i in range(4): angle = 90 turtle.fd(size) turtle.lt(angle) turtle.end_fill() turtle.up() import sys n = int(sys.argv[1]) s …

Programming python
Member Avatar for happygeek
0
3K
Member Avatar for Niloofar24

Hello! Can you give me an example of Button widget in Kivy language? I can creat the button but don't know how to use it's callback. I mean how can i set a command for the Button in Kivy?

Member Avatar for M_12
0
5K
Member Avatar for muralibobby2015

I have developed Laravel application which allows dynamic subdomains. I mean single code for all tenants.each tenant will have separate database. But how can I setup crons for each subdomain?

Member Avatar for cereal
0
451
Member Avatar for tor-arne

Yes i do know this have been posted atleast two times before, but i can hardly get anyhelp out of it. So back to my post, trying to figure out what i am doing wrong, and why my class wont compile. So i am not really sure what to do, …

Member Avatar for JamesCherrill
0
2K
Member Avatar for divinity02

hi I am trying to build a triangle calculator that can tell you if you can form a valid triangle, I have reach the calculation part as yet just the part of the gui and that is the part with the error. something is wrong and i cant seem to …

Programming gui java java-swing
Member Avatar for divinity02
0
628
Member Avatar for Steve_37

gerard4143 explained 6 years ago how to store binary code in memory and then execute it. See https://www.daniweb.com/programming/software-development/threads/353077/store-binary-code-in-memory-then-execute-it#post1500738. In the example, we create an array of unsigned char containing these values: 0x50,0x57,0x56,0x52,0xe8, 0x00,0x00,0x00,0x00,0x5e, 0x48,0x81,0xc6,0x24,0x00, 0x00,0x00,0x48,0xc7,0xc0, 0x01,0x00,0x00,0x00,0x48, 0xc7,0xc7,0x01,0x00,0x00, 0x00,0x48,0xc7,0xc2,0x0e, 0x00,0x00,0x00,0x0f,0x05, 0x5a,0x5e,0x5f,0x5a,0xc3, 0x48,0x65,0x6c,0x6c,0x6f, 0x2c,0x20,0x57,0x6f,0x72, 0x6c,0x64,0x21,0x0a,0x00 This works fine when I use the …

Member Avatar for rproffitt
0
354
Member Avatar for kay_1

Hi, I am not able to destroy a hash table. I have put the destroy function below: void desTable(ListNode* v[10]) { ListNode* temp; ListNode* tempNext; for (int i = 0; i < 10; i++) { if (NULL != v[10]) { temp = v[10]; while (NULL != temp) { tempNext = …

Member Avatar for jkon
0
450
Member Avatar for happygeek

So, the [VeraCode 2017 DevSecOps Global Skills Survey](https://info.veracode.com/analyst-report-devsecops-global-skill-survey.html) recently found that software developers are not receiving the training they need to be successful as DevOps. Some of the numbers that caught my attention included 70 percent stating they don't think the 'security education' they have got is adequate for the …

Programming
0
343
Member Avatar for Anil_15

Select quray is working but delete query not working. <table border="1", align="center", width="98%", margin="auto", cellpadding="auto"> <caption><h2>View News</h2></caption> <tr> <th><input type="Submit" name="" value="Delete"></th> <th> S.No. </th> <th> Title</th> <th> Description</th> <th> Delete</th> <th> Edit</th> </tr> <?php $sel="select * from add_news"; $exe=mysql_query($sel); while ($fetch=mysql_fetch_array($exe)) { ?> <tr> <td><input type="checkbox" name=""></td> <td> <?php …

Member Avatar for benanamen
0
316
Member Avatar for Mereinid

Hello all, I am having a bit of an issue with a problem in my Web Dev Class. I am unable to get my "localhost" to pull up, it keeps giving me an error of; Parse error: syntax error, unexpected '<', expecting end of file in C:\xampp\htdocs\xampp\Chap19\Fig19_9.php on line 19. …

Member Avatar for diafol
0
530
Member Avatar for davy_yg

Hello, I start using the file manager, yet there is something strange happening. I cannot upload the image through mouse click. Nothing happen when I click the image in the file manager with my mouse. While my friend, able to click the picture with his mouse and the picture suddenly …

Member Avatar for davy_yg
0
347
Member Avatar for Mario_6

I was making this score calculator to take user input so they can add as many numbers as they want, entering the score works fine and so does adding, displaying the score total, displaying the score count, displaying the average, the last thing I have to do is find the …

Member Avatar for peter_62
0
395
Member Avatar for nadiam

Hello, so I have this program which should be creating a file called output and appending some content from another file,data.txt, accordingly. Creating file called output works but then the output file is empty. what am i doing wrong? Oh and Im suppose to use method print() but that gives …

Member Avatar for JamesCherrill
0
522
Member Avatar for davy_yg

Hello, Please cek this site: www.advance-web-studio.com I am having problem with seeing the icons that I have made. I can see the icons in handphone but not through pc. Any advice?

Member Avatar for diafol
0
196
Member Avatar for Ade Ihsan

long waitingTime(vector<int> tickets, int p) { // bool flag indicates whether it's Jesse or not queue<pair<int, bool> > aQueue; for(int i = 0; i < tickets.size(); i++) { aQueue.push(make_pair(tickets[i], i == p)); } long long nTime = 1; while(!aQueue.empty()) { pair<int, bool> aItem = aQueue.front(); aQueue.pop(); nTime++; if(aItem.first == 1 …

Member Avatar for rproffitt
0
1K
Member Avatar for victoria_5

I am making a bank program with functions.1 called displaymenu that produces a menu d(make deposit),w(make withdraw),b(check balance) and q(quit).2nd function is getdeposit which accepts balance as parameter and asks user for amount they want to deposit then add amount to balance and return it to main function.3rd getwithdrawal same …

Programming c
Member Avatar for Reverend Jim
0
600
Member Avatar for JModak

how to Generate Auto Alpha numeric Inv. number in SQL Store procedure i used Sql Server 2008 r2 and vb.net 2012 I got a error ---- *Msg 245, Level 16, State 1, Procedure P_GetAutoIDPurchaseInv, Line 13 Conversion failed when converting the varchar value '17-18/00002' to data type int. * When …

Member Avatar for hericles
0
292
Member Avatar for dwlamb

Is it possible to attach a jquery autocomplete input to a form initiated by ajax editing a table? I have the following method for making a table cell editable using AJAX. I.e., user clicks on the cell and it transforms to a mini form. Hit Enter and the changes are …

Member Avatar for RobinR
0
497
Member Avatar for Nicht

I'm fairly new to programming so this question might be dumb. So what I'm trying to do is to create a new div with other divs and images inside it when I press a button. I've tried many things from other websites but they didn't quite do what i wanted. …

Member Avatar for RobinR
0
312
Member Avatar for mldardy

I'm trying to code this in C# so it will output the values for each element in XML. Sample XML: <APIVersion>4.0</APIVersion> <PackageTrackingInfo> <TrackingNumber>123456789</TrackingNumber> <PackageDestinationLocation> <City>Seattle</City> <StateProvince>WA</StateProvince> <PostalCode>98107</PostalCode> <CountryCode>US</CountryCode> </PackageDestinationLocation> <PackageDeliveryDate> <ScheduledDeliveryDate>2004-09-15</ScheduledDeliveryDate> <ReScheduledDeliveryDate>2004-09-18</ReScheduledDeliveryDate> </PackageDeliveryDate> <TrackingEventHistory> <TrackingEventDetail> <EventStatus>LK</EventStatus> <EventReason>AQ</EventReason> <EventDateTime>2004-08-22T11:00:00- 08:00</EventDateTime> <EventLocation> <City>SEATTLE</City> <StateProvince>WA</StateProvince> <PostalCode>98107</PostalCode> <CountryCode>US</CountryCode> </EventLocation> <SignedForByName>JOHN GALT</SignedForByName> </TrackingEventDetail> </PackageTrackingInfo> Here …

Programming api c# xml
Member Avatar for mldardy
0
7K
Member Avatar for annya

Hi, I have an app that worked very fine before Iam enabling the SSL to my domian name, I used an web url Ex: api.domian.com for getting detils to the app like login, result etc. some days before I have added an SSL (lets encrypt) the subdomian name suddenly the …

Member Avatar for annya
0
326
Member Avatar for NicAx64

Well inside the windows operating system there are predefinided dialog boxes. We can use it freely with little effort. Think that you have to get a input file name or file path. The traditional way of doing this is parsing the command line arguments.But here we are in win32 , …

Member Avatar for Y_2
0
19K
Member Avatar for Mario_6

If their is anyone who can help me I'm having a problem in my score calculator in which it's suppose to calculate the user input of as many numbers they wish giving the score total, score count, and score average but when the user enters the numbers they wish to …

Member Avatar for tinstaafl
0
6K
Member Avatar for vhycko

I want to filter data by day and month only excluding the year. For example I want to find people born from day 1 to day 15 in september without including years so what i did is like... Private Sub ButtonFilter_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonFilter.Click …

Member Avatar for vhycko
0
415
Member Avatar for Stefce

Hello all, is there some python code or program to crawl instagram? I would like to get the user Username, Bio and 5-6 random pics. - Thank you

Member Avatar for peter_62
0
666
Member Avatar for gahhon

Hi guys, I am new to Mobile Development. I do have some Assignment question want to clarify. **Task 3 Create an app. that will make use of 3 icons (from the Icon pack provided). Your app must display all 3 icons below some relevant text. - You must take a …

Member Avatar for annya
0
363
Member Avatar for dongtrien

After installing win7 and install SQL 2005 opens the error, see the video attached: http://www.mediafire.com/file/wmuzvn8wx3yii0u/ErrorConnectSQL2005.swf you know how to fix this error ?

Member Avatar for rproffitt
0
136
Member Avatar for davy_yg

Hello, I wonder why this code won't work: HomeController.php `$content = $email."\n".$phone."\n".$select; ` I expect that it goes to the next line after \n

Member Avatar for diafol
0
333
Member Avatar for dongtrien

Suppose you have 3 tables: TABHDBH, TABHDBHCHUYEN and TABHDBHCT Table TABHDBH has the following fields: NGAY DateTime; IDHDBH int ... Table IDHDBHCT has the following fields: MAHDBH int ... TABHDBHCHUYEN NGAYCHUYEN datetime MAHDBH int ... RELATIONSHIP OF 3 TABLE TABHDBHCHUYEN.MAHDBH head n TABHDBH.IDHDBH head 1 TABHDBHCT.MAHDBH head n DELETE T1 …

Member Avatar for AndrisP
0
347
Member Avatar for dongtrien

You see attached image. Do you know what controls in the control image that of Devexpress (red zone) ? you see attach file http://www.mediafire.com/view/azxg6ai2px8b12a/Thuvienanh.jpg

Member Avatar for dongtrien
0
138
Member Avatar for Daron_1

public class StudentListings{ private String name; // key field private int ID; private double GPA; private int next; private int size; private StudentListing[] data; public StudentListings(){ this.name= name; this.id= ID; this.gpa=GPA; } public StudentListings(){ next=0; data= new StudentListings[Size]; size= Size; } // end of constructor public boolean insert(StudentListings newStudentListing) { if(next>=size) // the structure is full return false; // store a deep copy of the client's node data[next]= new StudentListing.deepCopy(); if(data[next]== null) return false; next= next + 1; // prepare for the next insert return true; } // end of insert method public StudentListings fetch(String targetKey){ StudentListings studentListings; StudentListings temp; …

Member Avatar for AssertNull
0
459
Member Avatar for Robert_66

Hi, I'm trying to make a program that sets up the hight dpi compatibility mode programatically on Windows 10, so that I don't have to set up manually the properties of every legacy *.exe program I use, there are hundreds. When you set up that on a local drive, Windows …

Programming c c++ windows-10
Member Avatar for rproffitt
0
1K
Member Avatar for Mona_1

How to make a program that input 5 names and each names consists of 3 quizzes using array.

Programming java
Member Avatar for ddanbe
0
144
Member Avatar for idaryl

I have this function (woocommerce) and it changes the product descriptions tab titles from the defaukt.... add_filter( 'woocommerce_product_tabs', 'wc_change_product_description_tab_title', 10, 1 ); function wc_change_product_description_tab_title( $tabs ) { global $post; if ( isset( $tabs['description']['title'] ) ) $tabs['description']['title'] = '★ Product Information'."\n".' ★ Ingredients'."\n".' ★ Sizes'; return $tabs; } The problem is, …

Member Avatar for idaryl
0
304
Member Avatar for Var_1

I'm currently developing a webpage that when user input the data needed in Advance Filtering and click on the button'Search Result',the table will show the data needed,but the problem is i get the error of DataTables warning (table id = 'DataTables_Table_0'): DataTables warning: To retrieve the DataTables object for this …

Programming javascript
Member Avatar for Var_1
0
473
Member Avatar for sanus

I have the following code <a href="<'. Url::to(['site/campaign']) .'" class="pull-right text-green"> '. HtmlPurifier::process($camp['CampaignStatus'] < 1 ? 'Intiated' : (($camp['CampaignStatus'] < 2 ? 'Drafted' ))) . '</a> but it's giving me the following error: ParseError syntax error, unexpected ')' Can anyone see what's going wrong here or how to fix it?

Member Avatar for hericles
0
283
Member Avatar for hkdani

Using tasm32. GetStdHandle returns INVALID_HANDLE_VALUE in eax register. .386 .model flat extrn GetStdHandle:PROC extrn ExitProcess:PROC .data .code start: push -11 call GetStdHandle push 0 call ExitProcess end start Other APIs work fine. just having problems with GetStdHandle. Any ideas?

Member Avatar for hkdani
0
374
Member Avatar for Quang_1

I use cPanel hosting sometimes the error message "500 Internal Server Error" when accessing your website. Help me how to fix it ?? Thanks

Member Avatar for santhoshsocial
0
386
Member Avatar for shabzo

I have an excel template with 30rows starting from A19:J19 TO A49:J49 From a50 to a65 i have clauses etc. How do i get my datagridview with 55 items to export to the template and then open another page 2 for the balance of the items on the datgridview. private …

Programming
0
90
Member Avatar for divinity02

hi james Been a while since I have been here. am trying to do this program for the longest while. I have tried read and writing to a text file in java and i am getting a runtime error. can someone tell me where and why I am getting the …

Member Avatar for JamesCherrill
0
311
Member Avatar for janicemurby

hi all im wondering what i can do to stop this happening advsearch_result.php?city=&country=&gender=a+man&fage=18&lage=99&accomodate=I+can+Accomodate&minheight=152&sexuality=Straight&bodytype=&race=&piercings=No+piercings&tattoos=No+tattoos&dodrink=&smoker=&pincode=&multipleint=&seeking=a+man&meet_type=&travel=I+can+travel&maxheight=213&partner_sexuality=Straight&partner_body_type=Athletic&partner_race=&partner_piercings=No+piercings&partner_tattoos=No+tattoos&partner_drinking=Don't+drink&partner_smoker=&button.x=90&button.y=19 every time i click submit on a form all this come in address bar after file name the code is currently set as $male = $_GET['gender']; $seek = $_GET['seeking']; $age1 = $_GET['fage']; $age2 = $_GET['lage']; etc ... …

Member Avatar for diafol
0
231
Member Avatar for Loulou_1

I have to draw an n sided polygon using an isosceles triangle function. It should be only 3 lines inserted under def draw_pie(n, r). Can you help me figure out how? import math import turtle def draw_pie(n, r): """Draws a pie divided into radial segments. n: number of segments r: …

Programming daniweb-bug
Member Avatar for rproffitt
0
441
Member Avatar for sunil_20

hi have tried sending mail from html through from php, but the message shows message sent succefully but nor recieved in inbox. please help me with this. 1. html page <div class="form"> <form id="contactForm" name="sentMessage" method="post" action="http://thehealcom.com/corona1/js/contact_me.php" validate> <div class="row clearfix"> <div class="col-md-12"> <div class="row"> <div class="form-group col-md-12"> <div class="form-group-inner"> …

Member Avatar for diafol
0
200
Member Avatar for sanus

I have a problem in my Yii2 app that when i upload multiple images it will become totally unaligned. This is how it is https://i.stack.imgur.com/TfIla.png I want to align contents vertically one after other when uploading multiple images . This is how i want https://i.stack.imgur.com/N30u6.png And this is the code …

0
209
Member Avatar for karthikprs

Hi, I'm creating a program were logs files in a certain directory are presented in a table format. My issue here is, I created a filter option in which the user can filter data available in a particular year and month. I currently retrieved all the file dates and its …

Member Avatar for geniusvishal
0
223
Member Avatar for Divij

Hello all members, I am new to this this website. I am working on an assignment and I have a scenario where I have to find the key attributes, entities and keys. Below is the scenario, An international courier, express and parcel Services Company is setting up a package shipping …

Member Avatar for pty
0
988
Member Avatar for Sarlacc

I wrote an application using pthreads which had 5 threads. 4 of the threads filled up 4 buffers and once they had been filled the main thread would be combine these together. This was achieve using barrier so the main thread would wait until the 4 worker threads had reached …

Member Avatar for Ben_27
0
7K
Member Avatar for Dhelandel

Is it possible to integrate Perfect Circles of the Golden ratio geometry in designing logo based on these link ( https://goo.gl/images/7eYZoG ) to recognize flower.. What do you think guys? Im planning to have a research on this.

Member Avatar for rproffitt
0
288
Member Avatar for WebDevGuy32145

Hey everyone, So for some reason my while loop wont populate my select/option field with data in my database. I'm trying to get the values stored in database to show as well as return already submitted data. Here is where my while loop is: <select class="form-control" name="permissions"> <option value=""<?=(($permissions == …

Member Avatar for cereal
0
446

The End.