3,030 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Jeyaraman_1

Imports System.Data.OleDb Public Class Form1 Dim pro As String Dim connstring As String Dim myconnection As OleDbConnection = New OleDbConnection Dim command As String Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click pro = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\sinthu\Documents\Database1.accdb" connstring = pro myconnection.ConnectionString = connstring myconnection.Open() If myconnection.State = …

Member Avatar for Reverend Jim
0
706
Member Avatar for Aman_24

Write a function that takes as argument a string containing multiple words and returns a string containing the same words in reverse order. Eg., input = 'India is a democracy'; output = 'democracy a is India'

Member Avatar for AndrisP
0
587
Member Avatar for Joseph_49

how would one convert this to python? var unlockedState = 1000; var lockedState = 2200; var motorPin = 14; var buttonPin = 4 var ledPin = 17 var blynkToken = 'blynk_token_here'; // *** Start code *** // var locked = true //Setup servo var Gpio = require('pigpio').Gpio, motor = new …

Programming javascript
Member Avatar for rproffitt
0
568
Member Avatar for ankushgarg

I am skilled in Core PHP, JavaScript, Mysql, Ajax, HTML, CSS, jQuery and Codeigniter and having 4+ years of experience in Web Development. I have very vast knowledge in dynamic and static website development.

Member Avatar for Dani
0
477
Member Avatar for ravi142

I Have **"user_chat"** table name his 4 columns "msg_id" Auto Increament "chat_from_id" "chat_to_id" "chat_msgs" SELECT `chat_msgs` from `user_chat` where chat_from_id='2'AND chat_to_id='10' LIMIT 0,10 Also I have used **DESC** using above queary but not worked I want to fetch last **5 recent records** from **"chat_msgs" columns** Suggest me. Thank you

Member Avatar for Purvi_1
0
436
Member Avatar for codiene bryant

I am doing this program for a cs class. I am trying to create menu based system that will allow the user to input the number that corresponds to the option they want to choose. Then based on that option they will input their customer id (this is a banking …

Member Avatar for dexblack_1
0
375
Member Avatar for chris_58

can someone help me take a look i face (oledbexception was unhandled (too many fields defined)) below is my code . Private Sub btnBrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBrowse.Click Properties='Excel 12.0;HDR=NO;'" Dim Chosen_File As String = "" If openFileDialog1.ShowDialog() = DialogResult.OK Then Chosen_File = openFileDialog1.FileName End …

Member Avatar for pritaeas
0
312
Member Avatar for Xozz

Hello. I'm stuck with my Yahtzee project. The first five lines are filled with a brief explanation of the case. Please read them /* I'm writing Yahtzee in C++. So far so good, but I'm stuck now on the recognition of staights and full houses. It's about the lines 131 …

Member Avatar for Reverend Jim
0
265
Member Avatar for Ryan_42

Is it possible to autofit a generated text inside a div? I have a button that creates a text inside a div element using javascript. The problem is there are some long text that are generated which overlaps the div that contains it. Is there anyway to auto fit like …

Member Avatar for AndreRet
0
260
Member Avatar for Xozz

I'm busy writing Yahtzee. Now, I want to fill a const char[] with the field names: 1's, 2's, 3's, ..., "Full House" "Small Straight" etc. But I get this errors #include <iostream> #include <stdlib.h> using namespace std; /* 1 2 3 4 5 6 3 of a kind carre full …

Member Avatar for DGPickett
0
249
Member Avatar for Abardean

Hi all I need assistance with the below code snippit. It calculates how many of salaries entered exceeds R100 000 or how many is below. With the below entries the lower count totals to 4 instead of 3. What am I doing wrong? Still new to this so please excude …

Member Avatar for Reverend Jim
0
204
Member Avatar for Luah

{% for i in coupontesting %} <center> <div class="rectangle"> <span class="right">Store Link</span><span class="left">{{ i.seller_store }}</span> <div class="coupon-frame"> <div class="coupon-left-div coupon-align-center"> <div style="padding: 1.125rem;border-left: 1px solid #d4d4d4;"> <div style="position:relative;"> <div class="coupon-left-img-div text-center coupon-align-center orange pt-32"> <span class="bold-18">{{ i.name }}</span> </div> </div> </div> <div class="coupon-ticket-frame"> <div class="coupon-ticket-frame-style"> <div class="oupon-ticket-frame-line"></div> </div> </div> </div> …

Member Avatar for Dani
0
203
Member Avatar for Kumar_1975

What is the c program for airline ticket reservation system using file handling?

Member Avatar for Reverend Jim
0
191
Member Avatar for Gtr_1

1. Write a program with one user-defined function to convert weight from pound to kg. 2. By using three user-defined functions, you are asked to write a program to calculate the area of a circle. Function input – ask user to input the radius Function calculate_area – calculate the area …

Programming c++
Member Avatar for DGPickett
0
189
Member Avatar for rezzo_1

Hello, I want to read the url (m3u) from this link, unfortunately I get the following error message. what's wrong. I'm relatively new to php sorry url = `https://www.hdtvler.tv/show-tv-canli-hd-yayin-izle/` want read this block `https://hdtvler2.etvserver.com/live_sd/showtv/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9My8zMS8yMDIwIDQ6MTk6MDUgUE0maGFzaF92YWx1ZT1mejM4UjdDNWQxYjlXODhieU5FL2hnPT0mdmFsaWRtaW51dGVzPTU="` my code <?php $homepage = file_get_contents("https://www.hdtvler.tv/show-tv-canli-hd-yayin-izle/"); preg_match('#"contentURL": "(.*?)"#', $homepage ,$m3ual); stripslashes($m3ual[1]); header("Location: ".$m3ual[1] ); ?>

Member Avatar for rproffitt
0
188
Member Avatar for Ruba_3

class Node(object): def __init__(self, data): self.data = data self.nextNode = None class Queue(object): def __init__(self): self.head = None self.tail = None self.size = 0 def enqueue(self,data): self.size += 1 newNode = Node(data) if self.head is None: self.head = self.tail = newNode else: newNode.nextNode = self.head self.head = newNode def dequeue(self): …

Member Avatar for rproffitt
0
173
Member Avatar for Saboor880

Hi! I am now using androidx libraries in my andriod application. But the problem which I am facing is that the Image view of androidx library does not show/display any image on android 5(i-e lollipop) real device. But if I run the app on emulator , then my imagview shows …

0
127
Member Avatar for Nightocoder201

Hello, I am working a program that starts at a direction and goes to the destination and reverse. I have reversed the list and used a if statement for the switching the directions from R (Right) and L (Left) but it doesnt want to work properly. My question is how …

0
110
Member Avatar for Solomon_1

Apostle “Kojo Safo” popularly known as “KANTANKA (KTA)” is one of the renowned entrepreneurs in Ghana. He manufactures cars, agriculture light and heavy duty machinery just to mention a few. His products have attracted many investors both local and foreign. However, sales of his manufactured cars in particular, have seen …

Programming c++
Member Avatar for Solomon_1
-1
287
Member Avatar for shantuli

hi everyone, i am very new in java. can anyone help me to solve the following problem: A school conducts a 100 mark exam for its student and grades them as follows: Grade: Grade A: Marks>75 Grade B: 75>Marks>60 Grade C: 60>Marks>50 Grade D: 50>Marks>40 Write ajava program to calculate …

Member Avatar for zunam
-5
81K
Member Avatar for Hannesvz

Hi, I want to copy the data in the PayJour table to the ARCPayJour Table using the Clients Table where the StatusCo = 108. The problem is that the Clients table stop at the first 108 it gets and then do the copy prossecc, but do not go through the …

Programming first-post
Member Avatar for Hannesvz
0
521
Member Avatar for VIPER5646

Hi all I have a datagridview with 2 columns. fist column is Datagridview combobox the second is a datagridtextbox. I'm trying to fill the second column based on the combobox selection . The Method that captures the selected item does not track which row is being edited. I have tried …

1
371
Member Avatar for Stefce

I want to make this table with HTML and CSS but somehow the image cant appear in the browser... Can you help me? https://prnt.sc/rmo2xl .box-border { display: inline-block; border: 1px solid; height: 80px; width: 100%; } .image-position { display: inline-block; } <div class="box-border"> <div class="image-position"> <img src="igniteLogoImage.png" alt="asdasd" width="42" height="42"> …

Member Avatar for Stefce
0
759
Member Avatar for imagetvr

Hello I wish to call crystal report in my VB6 Application. For showing data report i used following code ; Example Date report name : datareport1 Code for showing report Load datareport1 Datreport1.show I have crystal report named "studentregister". please explain me how can show the crystal report in my …

Member Avatar for Nilesh_11
0
6K
Member Avatar for Ryan_42

Can I relocate to a new url after click the ok button using sweet alert? this is my javascript file, where should I place here the code if its possible thank you $(document).ready(function() { $('#formA').on('submit', function(e) { //Don't foget to change the id form $.ajax({ url: 'includes/Aenduser.inc.php', //===PHP file name==== …

Member Avatar for Biiim
0
2K
Member Avatar for YpowT

Hi all, I am building a GUI application using Python and Tkinter to mimic a Pay-At-Pump system. Currently, I am at stage where I have coded and defined the relevant frames and widgets that help to traverse through those frames, these are organised into classes. However, I am trying to …

Member Avatar for YpowT
0
1K
Member Avatar for killhha

ok i dont really know how to explain this but... c:=readkey; case (c) of #13:Halt; #27:goto menu else goto quit; as you can see above if you press Esc(which is 13) the program quits and if you press Enter(which is 27) it gos to the menu. I want to know …

Member Avatar for RandomGuy2606
0
1K
Member Avatar for SoftBa

Hi, I have form1, and second form2 When I call second form2, form1 is disabled for any interaction. customer.Show() Me.Enabled = False Close button on form2 code is Private Sub Closebutton_Click(sender As Object, e As EventArgs) Handles Closebutton.Click Me.Close() Form1.BringToFront() Form1.Enabled = True End Sub As you can see, I …

Member Avatar for Minimalist
0
769
Member Avatar for reidhosatria

Hello everone my name is reidho i have a problem with my code, i want to mirroring a api output from somesite using file_get_contents but the results is not like the original. Original Result : ![original.png](/attachments/large/4/14437b652ccca077d00e29e8793eb1d4.png) My Mirroring Result : ![result.png](/attachments/large/4/c348c82de5722906792fb5ec8f7e1a52.png) The Code : $ping = "https://api.hackertarget.com/nping/?q=8.8.8.8"; $pingkeluar = file($ping); …

Programming php
Member Avatar for Dani
0
553
Member Avatar for chris_58

I have 2 form there are form 1 and form 2 my program current situation is when user click delete it will pop up a login form. When user click cancel button from login form the data on the database will be delete ![login_form.PNG](/attachments/large/4/44621e202c33a0c03d1931bb384694fa.PNG) when user click cancel it will …

Member Avatar for Reverend Jim
0
533

The End.