Click here to Skip to main content
15,895,746 members
Everything / Express

Express

Express

Great Reads

by Sander Rossel
The second in a series on MEAN web development.
by Arthur V. Ratz
The readers of this article will find out how to use Clarifai API for Node.js to create and deploy a lightweight vehicles images classification web-application.
by Sander Rossel
The fifth in a series on MEAN web development.
by Sander Rossel
The last in a series on MEAN web development.

Latest Articles

by Arthur V. Ratz
The readers of this article will find out how to use Clarifai API for Node.js to create and deploy a lightweight vehicles images classification web-application.
by Издислав Издиславов
Easy prototyping with desktop console like UI, Skia drawings and several REST like node.js hosted services
by Shashangka Shekhar
MongoDB, Express, AngularJS, Node.js abbreviated as MEAN - these development tools all use Javascript. In this sample, we are going to use MSSQL Server instead of MongoDb.
by Sander Rossel
The last in a series on MEAN web development.

All Articles

Sort by Score

Express 

27 May 2015 by Sander Rossel
The second in a series on MEAN web development.
31 May 2019 by Arthur V. Ratz
The readers of this article will find out how to use Clarifai API for Node.js to create and deploy a lightweight vehicles images classification web-application.
16 Jun 2015 by Sander Rossel
The fifth in a series on MEAN web development.
21 Sep 2015 by Sander Rossel
The last in a series on MEAN web development.
11 Feb 2024 by Ralf Meier
When seeing your Solution I want to suggest you some little modifications : Private Sub Button7_Click(sender As System.Object, e As System.EventArgs) Handles Button7.Click Cursor.Position = GetCenterOfControl(Button6) End Sub ...
30 Oct 2015 by Sergey Alexandrovich Kryukov
Using SendKeys for UI development is the sign of some abuse. As to the on-screen keyboard, it's simply useless, if you want to make your keyboard system-global. Many applications (notably, WPF) don't even windowed controls for input controls, they will ignore your emulated keyboard messages. The...
31 Mar 2017 by Graeme_Grant
Google Search offered this: SQL SERVER - Fix : Error : 40 - could not open a connection to SQL server. - Journey to SQL Authority with Pinal Dave[^] More answers for the same question asked here before: SQL SERVER ERROR 40 in C#[^]
21 Sep 2017 by Richard MacCutchan
What is the best? The one that works for you. This is such a subjective question it is impossible to give a valid answer.
29 Oct 2015 by Member 12088427
I am working on a program that needs to print to a label printer. I need to print images and some text on the label. (by label I mean roll printers)I am wondering what would be the best way of achieving what I want. My first thought is to create a form with all the items I want printing and...
30 Oct 2015 by Member 12088427
Think I have cracked it. I have added all of the textboxes in a array and send the name of the active text box as an argument to the Findnext function. The function finds the next item in the array and returns focus to it.
23 Nov 2015 by Rene Bustos
Hi.Almost every printer label or thermical printer, has their own SDK to develop an application over several IDE.Could you provide the brand of your printer?Regards.
30 Nov 2015 by vsiddi
Hi,i have to connect server sql db in my local system sql ...when i am using LAN connection great...when i am using reliance dongle the error will come like ...: provider sql network interfaces error 26 - error locating server/instance specified sql server 2008i have tried lot of...
1 Dec 2015 by George Jonsson
Have you read this article?SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified[^]
23 Mar 2016 by Luiey Ichigo
Hi,1) Is there any way to automatically for MSSQL 2012 to send data to Azure when new data is insert? Which mean, every new data inserted will trigger some SQL Script to send the data to Azure too..is it exist?I want to search for my question here but I don't know proper words for...
23 Mar 2016 by CHill60
If you are saying that you have a database on a local server (or PC or VM) and also want that data sent to a database on Azure then "Replication" would be a good start point.This blog implies that there are things to come - Transactional Replication to Azure SQL DB now in public preview |...
10 Dec 2017 by dumbasian
So here's my code...string connectionString = null; string sql = null; connectionString = "Server=(localdb)\\v11.0;Integrated Security=true;"; using (SqlConnection cnn = new SqlConnection(connectionString)) { ...
30 Mar 2016 by ZurdoDev
The error comes from sending an object as a parameter value. It needs to be a string, int, bool, etc. It's probably email.From. Call .ToString() or somehow pass as string.
18 Jul 2016 by rtorkelson
I need to change the url for an MVC project. Code running in partial views stores user data in the session. When I change the IIS Express url from http://localhost:65000/ to http://localhost:65000/test, other partial views which saw the session variable see it as null. If I change the url...
15 Jul 2016 by Vignesh Mani
Hi, You Need to set starting page in RouteConfig.cs. It is located in App_Data.In your URL Missing Controller Name.
26 Aug 2016 by shobhit saxena1988
I used mongodb and nodejs and create REST API(for example "http://localhost:3000/Records") but now i want to connect this API to angularjs application.What I have tried:CREATED rest API METHODS LIKE HTTP://LOCALHOST:3000/DETAILS.
26 Aug 2016 by David_Wimbley
To access a rest API from angular, inside your controller for whatever portion of your app is accessing it, you'll need to use $http.get to access it.app.controller("YourNameForController", ['$scope', '$location','$routeParams', '$http', function ($scope, $location, $routeParams, $http) { ...
23 Jan 2017 by Rene Bustos
Hi guys.I have this case.Right now, im try to install an app. AND use SQL Database Desktop Engine 2000but , so far when i try to install my App in OS windows 8 or higher, then in the installation throw me an error of Compatibility, is for that, 'cause i need upgrade my Data base engine,...
20 Jan 2017 by Dave Kreskowiak
OK, I figured this out in about 15 seconds just by trying the Custom and Download Media options.Yes, you can download just the core engine installation (411MB) and install that. Just click the Download Media button and click the "Express Core (411MB)" option. Give it folder to download to...
24 Jan 2017 by Member 12966769
The SMTP server rejected the message 'test mail' due to an incorrect From: field. The reply given by the service provider was '553 sorry, Authentication failed or timed out. Please do get messages first to authenticate yourself.(#4.4.3)What I have tried:tried changing the smtp address
24 Jan 2017 by OriginalGriff
The error is pretty clear:... an incorrect From: field. The reply given by the service provider was '553 sorry, Authentication failed or timed out. Please do get messages first to authenticate yourself.(#4.4.3)The "From" address you have supplied is not fully configured on that server - or...
31 Mar 2017 by Member 13098407
good night Sorry for a question on my machine I have sql server 2005 express there I have some databases and from one moment to another it does not let me start the server and I mark this error "Error 40 Can not open a connection to SQL Server, error 2" Apart from not letting me start the...
22 Feb 2018 by ilhomelv
//Client JS File var socket = io.connect(), userEnterDiv = document.getElementById('userEnterDiv'), userNameErrorMsg = document.getElementById('userNameErrorMsg'), userNameInput = document.getElementById('userNameInput'), enterBtn = document.getElementById('enterBtn'), ...
22 Feb 2018 by ilhomelv
//in case If front page Chat #userEnterDiv{ } #mainDiv{ width: 600px; height: 500px; margin: left; border: 1px solid...
1 Apr 2018 by Member 13757366
The req.isAuthenticated() function of api.js always returns false regardless whether the user is logged in or not. This particular function doesn't seem to work. I don't know what to do. I am stuck on this for a long time. Any help is highly appreciated. I am testing my code on advanced rest...
18 May 2018 by Cadmos
My issue is that conn.end() in my initial route dashboard.js does not work and breaks the app with the following error. I need to use it because MySQL connections are flooding the system till Database stop accepting more of them since they all stay open each time that are used. For this post...
2 Jul 2018 by Mike Hankey
I've got an MVC5 Web Api web application that I'm trying to send sensor data to. My controller; [HttpGet] [Route("api/Sensor/GetByTopic")] public IHttpActionResult GetByTopic(string name) { string url = "getByTopic/" + name; ...
12 Jul 2018 by CHill60
This is not a code-writing service - although there are such services out there be prepared to pay and the less you are prepared to pay the lower the quality of the product you are likely to receive. I strongly recommend that you edit your post and remove your email - this is an open forum and...
2 Aug 2018 by Skipton Corp
Hello, I recently installed Microsoft SQL Server 2012 Express and I have added some databases which are blank. I would like to delete these custom databases and keep only those that came with the installation (if any). Does anyone know how to take it back to the original, default settings or...
2 Aug 2018 by MadMyche
There is more to it than deleting the DBs that you created; there are all of the server principals (users) as well. As @CHill60 suggested, SSMS would be the best tool to get and then you can delete away on an as needed basis. You can retrieve a list of all databases not created by SA (System...
9 Aug 2018 by Rene Bustos
Hi guys. I'm here to search support about: How implement a silent installation from SQL express 2014 I had search in google but all the examples show all the params, but nobody show how to put the SA password. Some examples show how to do the silent installation even without password, but there...
24 Mar 2019 by David_Wimbley
Your question is beyond the scope of a quick answer forum. You are asking people to re-architect and design a system with an extremely small amount of information. What you are looking for would take hours of back and forth before someone can give you a solid answer (providing you find someone...
5 Apr 2020 by WardenGrey
Hello I have been stuck on various issues while following a guide on how to setup a shopping cart in nodeJS/Express/MongoDb. The guide is a few years old , and I have been trying to find help in the comments with no luck. My issue is that when...
28 Jul 2020 by Sam_k_khan
const express = require("express"); const exphbs = require("express-handlebars"); const path = require("path"); const hbs = require("hbs"); const app = express(); const bodyParser = require("body-parser"); const viewpath = path.join(__dirname,...
14 Aug 2020 by Sam_k_khan
$('input[name="unit"]').on("ch...
14 Aug 2020 by Richard Deeming
innerHTML is not a jQuery function. Either use the html function[^]: $("#subunits").html(data); Or go directly to the element and set its innerHTML property: document.getElementById("subunits").innerHTML = data; Element.innerHTML - Web...
29 Aug 2020 by Richard MacCutchan
See What's Installed | WinForms Controls | DevExpress Documentation[^]
6 Nov 2020 by Sam_k_khan
I have a form on Handlebar. It generates dynamic textboxes and dropdowns based on which type of form it is. Now I have to submit this form to a nodejs route. There i ahve req.body. We generaly process form field by like req.body.name,...
26 Jan 2021 by Akbarhussain Patel
I think you can iterate over the body if it is JSON using the forEach or map that is built-in JS.
2 Feb 2021 by slex1one-Musdy
I just wanted to ask a simple question about MongoDB and javascript (express js). Here are my requirements: I am trying to create a back-end service for films and series. I created most of the basic routes and functions. I want to pick a film...
9 Feb 2021 by SaraK.M
I'm uploading a video and an Image(to use as the thumbnail for video) from an ejs form, using multer, they successfully upload and I have access to them however, I can't update/edit them properly, since I have to reupload both files every time...
14 Feb 2021 by User 15037770
I am trying to send array of object using form in express.js but It is sending array of each properties not the array of object as following. "group": { "groupName": "Kai Hess", "user":{ "name": [ "fynetin", ...
1 Mar 2021 by Deep Dipe
I am trying to create a program that allows users to create lists and save data inside lists. I have created two pages first page has the data and second page where you create a list. Let me tell you the problem, as if I create three lists and I...
1 Mar 2021 by W Balboos, GHB
You have to first consider that security makes it impossible to for a web page on your client to access another webpage - UNLESS - the targeted page is a child page of the one that sending the data. If that's the case, you can use the DOM to...
22 May 2021 by Ammu Varughese
I want to display the updating count of vehicles on a particular road in my google maps w.r.t to a marker I have placed.I am using the MongoDB database from which I retrieve the count value and want to display this real time count in my map. Is...
10 Jun 2021 by Richard Deeming
Don't try to use the IP address or the MAC address. The public IP address will be shared by multiple users. The local IP address is meaningless beyond the user's local network, and will be duplicated on other local networks. Instead, store a...
19 Aug 2021 by Tiago Tavares 2021
I am able to post, get but not update the items that I create using the form. The items already present in the API database by default can be edited by my form, but not the new ones. Current local database object on Express.js: 1: { ...
24 Aug 2021 by Member 15335083
I had the exact same error in my axios.post method, and this link helped https://stackoverflow.com/questions/50687064/method-post-with-axios-giving-error-404-reactjs I solved it by adding the whole url in the post method. in your home.jsx...
25 Sep 2021 by Member 15371426
I am using passport to implement a login function on my application. However, every time I try to authenticate the user, I cannot get passed the authentication and am redirected to the failure URL. I have confirmed that there is a user in the...
18 Feb 2022 by Member 11746136
I am building an application where my client required to upload some images and download them back when required I am using Mysql Database for rest application so I have decided to save all images as Blob file in my database in this I need to...
18 Feb 2022 by Member 11746136
I have found Solution on YouTube in this video that We can display images in html img tag or embded tag from base64 string so I have changed my code of uploading Image on MySql Server and instead of uploading buffer I have converted buffer to...
17 Apr 2022 by Member 14479161
hi i have a code for submitting a form to database and i am using express.js in that when submitting the form it works well but when i click on the refresh page or F5 the for is re-submitted i need to know how can i solve this issue 1-controller...
6 Jun 2022 by jimmy emanon
Hello :). I am stuck in a node.js Blog project. I am using the templating engine edge for an online course that I am taking. The instructor has chosen to use edge as the templating engine. I am not sure if edge is the problem? When I use: ...
3 Jul 2022 by JackF007
Hello, I'm trying to pass this HTML element so I could use it in the backend of my express/node app. ...
3 Jul 2022 by JackF007
I'm tryingto send or post the checkbox element below to express that act as the backend of my app, in my case from the app.js to index.js(express). APP.JS file const checkbox = document.createElement("checkbox"); checkbox.innerHTML = ` ...
20 Sep 2022 by jon773599
i want to get url of item but getting null string Link tag in xml const link =...
4 Oct 2022 by JackF007
Hello, I'm having an issue with my Front-end/ back-end "communication". Basically I am developing a software that take some data from local folders (through express readDir method), then from this data I filtered, created arrays and return a...
23 Oct 2022 by priyamtheone
Using Node, Express and Mongoose, I'm trying to insert data into MongoDB through a POST method. The fields I'm trying to insert has a phone field on which I'm trying to assign a validation that will check if it has minimum ten digits. Otherwise,...
23 Jan 2023 by Andre Oosthuizen
The dot before the _id is probably causing the problem - const orders = await Order.findOne({ customerId: req.user._id }); You are receiving the req.user detail which then should be concatenated to the id i.e. you have returneda user with name...
1 May 2023 by TooSmallToSee
I am trying write a program using nodejs-express and mongodb. I would send a post request and the filtered data from mongodb will be displayed on the html page. The program works but the connection is being made only at the beginning. Once...
29 May 2023 by Bárbara 2023
Hi everyone, Im tryingto to list the data coming from the mongo db in a file handlebars. But the problem is that when I load the screen, only the message "Category Listing" appears and the names of the categories do not appear as requested: ...
6 Aug 2023 by Nikhil Kumar 5
Below is my gateway.js file const express = require('express'); const app = express(); const bodyParser = require('body-parser'); app.use(bodyParser.urlencoded({ extended: true })); const PORT = 9999; app.use(bodyParser.json()); const {...
29 Oct 2023 by Pete O'Hanlon
There are two ways to upload PDFs to WhatsApp using their Business API. You either have to host the PDF in a public location, or you have to upload the PDF to the WhatsApp servers first, and then use that. If the POST message you send to WhatsApp...
29 Oct 2023 by M Imran Ansari
This is because Twilio requires the media file to be hosted on a publicly accessible URL to be sent through WhatsApp. To accomplish this, you can upload the PDF to a cloud storage service such as Amazon S3, Google Cloud Storage, or Azure Blob...
8 Feb 2024 by OriginalGriff
The Location of a control is always relative to its container: if you have a GroupBox on a Form, and the GroupBox contains a Button, then myGroupBox.Location is relative to the top left corner of myForm.ClientRectangle, and myButton.Location is...
9 Feb 2024 by Member 16123720
Thanks to OriginalGriff and Ralf Meier... Their guidance led me to the solution pasted below. But first, I need to clarify my originally posted scenario. It seems that the code line below WILL work if there is no other form opened during the...
8 Feb 2024 by Member 16123720
Using VB 2008 Express. I have a Main form that has a number of Group Boxes. As desired, I can successfully position a Wait Cursor on a control on the Main Form that is NOT within a group box using the following code lines: (assume Button1 is NOT...
27 May 2015 by Sander Rossel
The first in a series on MEAN web development.
20 Feb 2018 by Shashangka Shekhar
MongoDB, Express, AngularJS, Node.js abbreviated as MEAN - these development tools all use Javascript. In this sample, we are going to use MSSQL Server instead of MongoDb.
26 May 2015 by Sander Rossel
The fourth in a series on MEAN web development.
23 Oct 2022 by Richard MacCutchan
You have defined phone as a Number with a minimum value of 10. If you want to validate the number of digits then it needs to be a String. See Mongoose v6.6.7: Validation[^].
11 Dec 2015 by mlowry
I have a small test app developed using a websocket connection. Can I test it in VS2015 IIS Express or do I need to use the full IIS with websockets enabled?I have found a Microsoft statement that says it is supported in IIS Express 8, but I can't find any discussion of how to test it.
2 Feb 2019 by Издислав Издиславов
Easy prototyping with desktop console like UI, Skia drawings and several REST like node.js hosted services
30 Oct 2015 by Member 12088427
I need to simulate the tab function in a on screen keyboard. I will have 2-5 textboxes, I want The onscreen tab button to tab to each textbox in order. I can write a function using select case, but just wondering if there is a simpler way. I have looked at sendkeys, but it seem it is...
3 Oct 2017 by Jaydeep Shah
hey, i am asp.net MVC developer. i want to make chat application so i want to know what is latest technology is available. and what technology is use for audio/video call. i got webrtc first when i search. but plase give me some more technology . What I have tried: i serch on google i got...
23 Jan 2017 by Rene Bustos
Well, the Solution that i did, was to Remove the Folder in Start up programs hahhai know, this is not the best solution but, works for me, because i don't want that the client play with SQL tools Thanks for your time guysBest regards.
9 Dec 2017 by Member 13567672
cmd = New SqlCommand("insert into EquipmentType values(@EquipmentTypeID,@EquipmentName)", conn) cmd.Parameters.AddWithValue("@EquipmentTypeID", txtEquipmentTypeID) cmd.Parameters.AddWithValue("@EquipmentName", txtEquipmentTypeName) cmd.ExecuteNonQuery() ...
18 Oct 2022 by kingspace
I am learning to connect my React app to my nodejs backend by following a video tutorial from YouTube. I did everything so far based on the tutorial but I am getting error at this stage and I can't seem to figure it out. Google couldnt help me...
26 Jul 2022 by Member 15718386
just restart your server by typing npm start in both client and api directory
5 Nov 2023 by pooja pooja 2023
I am creating a project using React and Express JS. Here, I try to send pdf to whatsapp using twilio, but it shows a few errors to show pdf and tells that I have to save pdf in public url. What I am expecting is to send pdf to Whatsapp by saving...
3 Oct 2017 by Thiruppathi R
I have an experience angular & MVC. You may choose SignaleR With Angular. These technologies are easy to develop in .Net developer aspect.
24 Mar 2019 by suresh shewale
I have Created business logic in Database which is as bellows 1. There are lots students data in tables 2. Bases on their rank in respective courses I fetch students (Student near by 1 Lakh) 3. Loop through preferences and find in Steps find whether candidates fits any seats.Then Allocates...
6 Aug 2020 by Sam_k_khan
router.get("/api/services", async (req, res) => { try { let msg = await Services.find({}); res.status(200).json({ msg, }); } catch (e) { console.error(e); res.status(500).json({ msg: "Server Error", }); }...
29 Aug 2020 by marackarasm
Hello to All, Please help me .I want Add devexpress controls to to the toolbox in vb.net 2013 already download DevExpress 20.1 What I have tried: Hello to All, Please help me .I want Add devexpress controls to to the toolbox in vb.net 2013...
29 Aug 2020 by Sandeep Mewara
Based on the support and compatibility, seems v20.1 will work with VS2013: Prerequisites | WinForms Controls | DevExpress Documentation[^] As per their documentation: What's Installed | WinForms Controls | DevExpress Documentation[^] Quote:...
10 Jun 2021 by Ayman Ghandour
I am writing a Node.Js server, I uploaded it to Heroku, I'm using IPs to make a temporary cart for each user (device), I want to distinct also every device in the same network, I mean I want to make a cart for every user, (also in the same IP) I...
28 Jan 2022 by NOOBLAKHINA
This is my code for the parent component:- {isAuthenticated && } {/* }/> */}...
27 Jun 2022 by Alfa Zero
Hallo evrey one , i am trying to authenticate the user like if he registerd before cant register again and wanna to authenticate the password if it the same one , here iam using just a jason file to save the data but when i save the data its save...
24 Aug 2022 by Vishal Aug2022
I have to integrate a third-party API for uploading the documents but file uploading will be done on our server and from there I want to send the uploaded file to their api(third party). File type is binary. I have to achieve this by form-data...
23 Jan 2023 by tan25
orderController.js const Order = require("../../../models/order"); function orderController() { return { store(req, res) { const { phone, address } = req.body; if (!phone || !address) { req.flash("error", "All fields...
8 Jan 2024 by Blainecode
API respond time in Chrome: 20.37ms API respond time in Firefox: 0.5ms - 1ms as expected. OS: Fedora Linux 38. What I have tried: I have an Express server and a client in the AWS which EC2 free service, but my server's respond time have...