2,619 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for zambetta

hi im new to c# and am looking for a way to radomly shuffle an array and split it into 2 groups. i cant find a way to do this so far :( any steps in the right direction would be gratefully recieved many thanks z

Member Avatar for adajames
0
1K
Member Avatar for Catherine King

How to pass the linkbutton text to the modal popup. Now Im only getting a empty popup <script type="text/javascript"> $("#linkbutton1").click(function(){ var text =$("#linkbutton1).val(); $("#modal_body").html(text); }); function openModal() { $("#myModal").modal('show'); } </script> <div> <div id="myModal" class="modal fade" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h4 class="modal-title"> Modal Title</h4> </div> <div class="modal-body"> …

Member Avatar for Dani
0
876
Member Avatar for bklynman01

I have an application that opens up Excel, reads some information, then closes Excel. I developed this application using Microsoft Office XP 2007. A few weeks ago, my company upgraded to Microsoft Office 2010. The applications still works fine, but I can not compile in VS 2008 anymore. I get …

Member Avatar for shahidul263
0
599
Member Avatar for Nine_2

I have this form where users are adding their sessions: ![week.png](https://static.daniweb.com/attachments/4/ec419c458d6ed1f8c7b2bde71ac330e6.png) What I want to do is to show the week number in the input "week" id. My HTML tag for the service date that is on the image is: <div class="row mt-2"> <div class="col-lg-3 col-sm-6"> <div class="form-floating"> <input id="serviceDate" …

Member Avatar for Dani
0
298
Member Avatar for venanciodayao18
Member Avatar for Dani
0
222
Member Avatar for Deyns

HI GUYS I'M DEEPLY DESPERATE TO KNOW HOW TO CONVERT THE CODE FROM PHYTON TO JAVA, MY TASK IS DUE TOMORROW PLEASE HELP MEEEEE T_T

Programming java python
Member Avatar for adajames
0
149
Member Avatar for fnjomwas

My code is this. Dim strSQL As String, strSQL2 As String Dim db As Connection, rst As ADODB.Recordset Set db = New Connection db.CursorLocation = adUseClient db.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=C:\River Syde RMS\RiverSyde.mdb;" strSQL = "SHAPE {SELECT * FROM Sales where Date1=#" & DTPicker3.Value & "#" Set rst = New ADODB.Recordset If …

Member Avatar for Dani
0
141
Member Avatar for MagnusTheRed90

I have a question about encryption. So I have a code sample that has a key size being chosen, something like 32 bits or something, and I am basically either filling the key size buffer with the password and then zeroes, or null bytes, or a word repeated over and …

Member Avatar for adajames
0
133
Member Avatar for Ben_913

I am a novice in assembler programing, I will will appreciate if someone could review these NASM assembler code for me. Is about encoder decoder. The encoder performs the following: 1. pads the shellcode with NOP opcodes so it is 4 bytes aligned 2. a random byte is generated for …

Member Avatar for Dani
0
114
Member Avatar for borobhaisab

Hi, On this link: https://www.php.net/manual/en/function.mail.php It states: // To send HTML mail, the Content-type header must be set $headers[] = 'MIME-Version: 1.0'; $headers[] = 'Content-type: text/html; charset=iso-8859-1'; Is the charset modern or out of date or old version ? Should it not be 'utf8mb4' ?

Member Avatar for Dani
0
100
Member Avatar for Iram_3

A team has two types of players: Batsman, Baller. It is required to assess their performance in a particular tournament and thus find out the best player in each of the categories. The assessment criterion for each type of player is different. For batsman, it is the average of his …

Programming c++
Member Avatar for Dani
0
95
Member Avatar for Quoc_4

I have a question. do we have any function in C++ to get back the previous value while running the program? For Example: First Name: Anthony Last Name: john Gender: the pointer is at the Gender value right now soo is there any way to get back up at the …

Programming c++
Member Avatar for toneewa
0
82
Member Avatar for kazmi9527

There are 6 bit operations: 7 P "@ 3 D5 Q '] &And operation 5 J5 W: I! o% L/ ] |Or operation ^Exclusive or operation! {$ V2 U b; h. Y- ?8 p" e ~Non operation (complement) >>Shift right operation < < left shift operation - r, S _! …

0
74
Member Avatar for رسمة فنا

Hello i want to ask How can i learn aflutter and ux/ui to make my app an Design it

Member Avatar for logandavid
0
68
Member Avatar for Dani

Here is the function that I use here at DaniWeb to manage flood control. It keeps track of how often a specific user or IP address is making a request, and increments a counter. If there have been no requests after 5 minutes, the counter resets to 0. It returns …

Member Avatar for Dani
4
461
Member Avatar for borobhaisab

Hello, You use raw_urlencode() on the file path. Does that mean you have to exclude the domain name part ? <?php echo '<a href="http://example.com/'. rawurlencode('Sales and Marketing'). '/search?'. 'query='.urlencode('Monthly Report'). '">Click Me</a>'; ?> Imagine the above is my link listed on one of my pages. Now, why is it necessary …

Member Avatar for Dani
2
304
Member Avatar for Dysiah

I need help to create a class named rectangle that contains -fields for length and width -setters and getters for the fields -a constructor that accepts length and width as parameters -an overloaded 0-arg constructor that sets field values to 0 -a method named computeArea that accepts no parameters and …

Member Avatar for Dani
1
178
Member Avatar for jnbgames.dev

The program below is written in **C** and is used to convert numbers to words. These operations are beneficial during the development of word processing applications. The program takes the **input** file that contains the number and **outputs** the results in an output file. Let me know if you find …

Member Avatar for Dani
0
459
Member Avatar for jnbgames.dev

The program below is written in C and is used to perform fast number operations. These operations are beneficial during the development of spreadsheet applications. Let me know if you find the code below helpful and if you have any additional suggestions:

Member Avatar for rproffitt
0
240
Member Avatar for usmanmalik57

I recently worked on a research project where I had to find the inter-annotator agreement for tweets annotated by three annotators. Inter annotator agreement refers to the degree of agreement between multiple annotators. The quality of annotated (also called labeled) data is crucial to developing a robust statistical model. Therefore, …

3
222
Member Avatar for Schol-R-LEA

I've been working on the GUI portion of my [C++ Connect-N game project](https://github.com/Schol-R-LEA/ConnectN), and have gotten it to would could charitably be called a working state. However, the game AI, not to put it to finely, stinks. I was wondering if anyone here has more experience in implementing a minmax …

2
95
Member Avatar for Chloe_6

**Reposting again due to coding problem, I have attached the files** I am having trouble getting my button to submit the words in the text box over to the table on another page. What can I do to fix this? Thanks

Member Avatar for Dani
2
332
Member Avatar for dimitrilc

## Introduction ## Welcome to part 2 of the Selenium scrolling tutorial. Please follow the directions in [part 1](https://www.daniweb.com/programming/software-development/tutorials/538448/perform-scrolling-actions-in-selenium-part-1) to set up your project. In part 1, we learned how to let Selenium decide how it wants to scroll to elements. In this part 2, we will learn about a …

Member Avatar for Klint
2
239
Member Avatar for dimitrilc

## Introduction ## In the [last Selenium tutorial](https://www.daniweb.com/programming/software-development/tutorials/538447/basic-interactions-with-web-elements-in-selenium), we learned how to perform basic actions such as clicking and sending keystrokes. In this tutorial, we will learn how to do another action, which is the scrolling action. ## Goals ## At the end of the tutorial, you would have learned: …

Member Avatar for Klint
2
147
Member Avatar for jnbgames.dev

The program below is written in **C** and is used to create a **learning management system**. This program is beneficial during the development of an **e-learning** desktop application. Let me know if you find the code below helpful and if you have any additional suggestions:

Member Avatar for Dani
1
452
Member Avatar for jnbgames.dev

The program below is written in C and creates a stack that holds the values of a maze. This structure is beneficial during the development of a desktop game that uses a maze. Let me know if you find the code below helpful and if you have any additional suggestions:

Member Avatar for Dani
1
325
Member Avatar for jnbgames.dev

The program below is written in **Java** and is used to develop a Web Server that supports these status codes: **200** OK, **302** Moved Temporarily, and **404** NOT FOUND. The code can emulate an **HTTP** server in your local machine. Let me know if you find the code below helpful …

Member Avatar for JamesCherrill
1
164
Member Avatar for aimannafis12333

Can you guys help me to convert this C++ to C https://padlet.com/aimannafis12333/el9ytegudkw69o8e

Programming c c++
Member Avatar for Dani
1
135
Member Avatar for jnbgames.dev

The program below is written in C and creates a structure that holds the values of a text editor. This structure is beneficial during the development of text editor applications. Let me know if you find the code below helpful and if you have any additional suggestions: /*----------------------------------------------------------- * Description: …

Member Avatar for Dani
1
86
Member Avatar for Catherine King

How to display text in modal popup from the grid's cell by clicking the hyperlink In jquery part I used window.open the code I wrote opened a new popup window so I changed it to modal popup but it loads while pageload before the click of hyperlink and blurs the …

Member Avatar for Dani
0
860

The End.