2,720 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Greg_11

New to this forum and to programming in PHP, so apologies if I miss some detail. I have found some code which does almost everything I need, but I can't figure out how to get the 'selected item' from the results on an secondary page (reading in post) .. this …

Member Avatar for Greg_11
1
459
Member Avatar for pwolf

i was on the site pyschools working through the exercises, but i dont understand why it wont accept the code i input. [url]http://www.pyschools.com/quiz/view_question/s4-q2[/url] Create a function generateNumbers(start, end, step) that takes in three numbers as arguments and returns a list of numbers ranging from start to the end number (inclusive)and …

Member Avatar for Reverend Jim
1
1K
Member Avatar for Onion13

How do you call a constructor to initialize a variable using form1?

Programming c#
Member Avatar for tinstaafl
1
70
Member Avatar for veli can
Member Avatar for Tcll

Truthfully it isn't really that special, but it is a bit cancerous as I only have `atan()` and not `atan2()`... What's special about it is every other function I see seems to be intrinsic with 1 axis needing a `sqrt()` to manage singularities, where what I'm looking to achieve is …

Programming python
Member Avatar for rproffitt
0
299
Member Avatar for Xozz

Hello. Is there anybody here who's eager to help me building a webgame? It's mostly written in PHP and there are some Javascript and CSS files included. I put it on Github. I haven't been using a framework (yet). If you first want to know more, just ask (of course). …

Member Avatar for Xozz
0
126
Member Avatar for bjmolo

I have a database with two tables namely Tblreqs and Tbllib, I used Table A to populate into treeview, i want to use the selected node to fill textboxes with data from Table B. Here are the codes have tried so far, please just new Imports System.Data.OleDb Public Class Form1 …

0
92
Member Avatar for Arnold Christian

I got a java programming assignment in where you will ask: 1.) Ask the user to input item name, price, quantity and payment. 2.) Store the responses in the computer's memory. 3.) Displaying the item name, total amount and change. ( PS: Still new to this site, want some help …

Member Avatar for JamesCherrill
0
75
Member Avatar for jakub.peciak

I neet to build an vb.net app to comunicate to specific Windows app COM object by sending the XML request and then collect the XML response but I have no idea how to do it. Can anyone guide me how to do it? Here is the COM spec: **IPixPosTrans** is …

Member Avatar for pritaeas
0
285
Member Avatar for Excellent_1

Hello guys, It my frist topic in this forum so i hopeI hope you like it?? In this topic we w'll learn how to check internet connection using a simple code. frist make a new project And add a label and timer . second Double click on timer to type …

Member Avatar for Emmason
1
3K
Member Avatar for Nicolas_1

Hi, I am new to php and html, so I need some help with a problem: I am trying to make a form where you can select from a dropbox, but thae data from the dropbox should be retrieved from a sql database. If I save the code bellow as …

Member Avatar for kosikondo
0
6K
Member Avatar for ShadowScripter

I just had to look up the WM_ representation for the mouse scroll, so that I can activate my game camera zoom, more freely, rather than using the arrow keys (which was fun at first) So, I tried implementing the WM_MOUSEWHEEL into the message loop and created a switch statement …

Member Avatar for SHA1962
0
2K
Member Avatar for Tigran

Hello guys, I've been playing with Direct2D lately, and found out (from a presentation) that converting geometries into meshes makes rendering a lot faster So, how do I do this? I tried this: [CODE] hr = RenderEngine.D2DFactory->CreateRectangleGeometry(D2D1::RectF(0,0,10,10), &pGem); hr = RenderEngine.RenderTarget->CreateMesh(&pMesh); hr = pMesh->Open(&pSink); hr = pGem->Tessellate(D2D1::Matrix3x2F::Identity(), pSink); hr = …

Member Avatar for dlayne718
0
994
Member Avatar for Onion13

I am learning to code and I have been working on a game using what I have learned to make it. So I have been making my version of R type C# game and got everything working so far but I run out of ideas how to make this part …

Member Avatar for Onion13
0
327
Member Avatar for Onion13

I've found many tutorials online for unity making homing missiles. I can't find one for people not using unity.

Member Avatar for rproffitt
0
320
Member Avatar for ivanichi

hello, i have table, like this ![id_j.jpg](https://static.daniweb.com/attachments/2/825eb7e4f2658c788c5332dbbe8ea3d9.jpg) i want to create crud for it, this is the new section displaying and retrieving data, with this condition: nama_barang show with autocomplete, ![autocomplete.jpg](https://static.daniweb.com/attachments/2/a7714153a09b5ac0adc585f69d4adc71.jpg) autocomplete works, and displays the data once selected but does not automatically create a number of data and they …

0
118
Member Avatar for santonu98

Declare a class (i.e., a type) called CArea and an object (i.e., a variable) of this class called obj. This class contains four members: two data members of type int (member x and member y) with private access and two member functions with public access: set_values() and area(). Calculate the …

Member Avatar for Dani
0
100
Member Avatar for larry29936

I have the following query which has died after running over an hour on my local mysql 8 server: UPDATE download LEFT JOIN lookup ON download.ip_address between lookup.start_ip AND lookup.end_ip SET ref = ( SELECT lookup.id FROM lookup WHERE download.ip_address between lookup.start_ip AND lookup.end_ip); All ip fields are IPV4 and …

Member Avatar for pritaeas
0
272
Member Avatar for Reverend Jim

Sometimes you want to ensure that only one copy of a script can be run at time. Windows provides a facility called a mutex and you can use it to prevent multiple instances. To create the mutex, all I have to do is varname = GetMutex() If the mutex already …

Programming python
1
2K
Member Avatar for Reverend Jim

###Subclassing python objects Sometimes you want to add just a little more functionality to an existing python object. You can do that by subclassing it and adding on the missing parts. This example is based on a really mindless game of solitaire I used to play as a kid. In …

Programming python
2
209
Member Avatar for pritaeas

I'm looking to build a command-line tool that will enable me to read an arbitrary XML file combined with a mapping to fill an existing (arbitrary) SQLite database with data. What I'm looking for are conceptual ideas on how to solve this. I've got a possible theoretical solution in mind, …

Member Avatar for pritaeas
0
334
Member Avatar for babbu

i want to call the load event of the form inside the click event of the commant button depending upon certain condition how can i do this?

Member Avatar for Nahla_1
0
2K
Member Avatar for vishwas_1

Hii ,I was making a factorial program in python using recursion/ but I have one doubt : if I run the program I get the error as : " result=x*fact(x-1) TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'" But If I run it with the commented statements it works …

Programming python
Member Avatar for Reverend Jim
0
706
Member Avatar for fish786

Hello everyone, Could someone please help me with an Html and CSS issue. I am using asp.net c#. I am stuck in how to create an array of buttons in HTML. I do know how to create 1 button but I need to create about 10-12 buttons. Would like to …

Member Avatar for Emmason
0
324
Member Avatar for Parth_1

I am Developing a project on Face Detection in images for my final year project in university. I am unable to find source code for java. I end up getting source code for opencv or matlab.I need code for face detection on images in java. Face detection as in box …

Member Avatar for hussainmujtaba
0
102
Member Avatar for summer_2

The problem I face is since I use this type of loop to achieve the delete function, i really don't know where should i put the "else" statement when the searching result is not found in the file. Because the while loop need to run whether the result is found …

0
54
Member Avatar for Ivan_35

Hi everyone, can someone please help me and give advice as to which software solution to use for the business process described below: Process description by person : Person1: RECORDING THE SPEECH, CREATING THE VISUALS 1 By using the PowerPoint software, create the background image file by updating the title, …

Member Avatar for Ivan_35
0
49
Member Avatar for Reverend Jim

##This project implements a multiple timer application. It was written in 1. Python 3.8.2 2. wxPython 4.1.0 Feel free to experiment. Here are some possible enhancements: 1. Add the ability to run a program when the timer expires. With a little scripting you could, for example, schedule the sending of …

2
2K
Member Avatar for ddanbe

OK, not completely, I admit. I used some different colors(colours) here and there. But this code will put you on the way. This is a little modification of code I use to show a matrix in a form. Just start a new Forms app and fill in the code. Enjoy!

Member Avatar for jessechunn
2
4K
Member Avatar for bprosic

Hi, how can I use regex or string replace to add missing "p" tags to sentences without tags. I tried matching* and splitting first the whole string matching "h" and "pre" tags but dont know how to merge it. `*let regexRule = /<pre>(.|\n|\r\n)[\s\S]*?<\/pre>/g;` Example - input let someVariable = "Basket …

Member Avatar for Diafol_2
1
1K

The End.