Click here to Skip to main content
15,890,282 members
Everything / Application

Application

application

Great Reads

by Christoph Buenger
Describes PHP application development with the free Scavix Web Development Framework (Scavix-WDF).
by Graeme_Grant
This article comprehensively covers the Microsoft ClickOnce Installer with a bare bones WinForm/WPF C#/VB Silent Updater framework plus covers how to implement, troubleshoot, test locally, to release.
by Evoluteur
A generic Web User Interface for CRUD applications generating all screens at run-time based on external metadata. It comes with sample applications for address book, memo pad, to do list, restaurants list, wine cellar, and database structure documentation that are easily customizable.
by pdoxtader
Learn how to view a remote machine's file system using your own explorer like window, and transfer files and folders by dragging and dropping in C# using the TcpComm TCP library

Latest Articles

by Graeme_Grant
This article comprehensively covers the Microsoft ClickOnce Installer with a bare bones WinForm/WPF C#/VB Silent Updater framework plus covers how to implement, troubleshoot, test locally, to release.
by vblover Programmer
Adding ContextMenu's MenuItem to the SystemMenu of Form in Windows Forms Application
by Satya Karki
This article describes the options to restore and backup database in SQL Server and explains how to Export BACPAC from SQL Server Management Studio.
by DotNetLead.com
Azure AD for authentication and authorization of users for your website

All Articles

Sort by Updated

Application 

16 Apr 2024 by mbue
This code is obsolete since win2000 because every process has its own wave mapper. The code seems to try if the wave mapper (win95) is already in use - not a specific audio file. To try if a specific file is in use you should open the file...
13 Mar 2024 by Uzbek Tv yangiliklari
I don't have any strong enough knowledge to build this kind of app, console-based. As far as I have info about how to build this kind of console-based app, it requires Windows Audio Internal API, if i am not mistaken, it's WASAPI. But since I...
6 Mar 2024 by Andre Oosthuizen
The error is quite obvious, as you stated yourself, the report writer is trying to connect to your database, you gave it no login details and it will thus ask you for the detail. You need to specify the login details before you call the report so...
5 Mar 2024 by Member 8651586
while verifydatabase from vb.net web application for the cristal report gives Log on failed.error. here is my code. I am using project data (class defined in my visual studio project) as Database Fields do it should not need any logon I belive. ...
28 Nov 2023 by taersious
Wrap this in a function (script block). $block = { ... your custom method ... } Then put the function call in a loop that runs on a list of servers as shown here: foreach ($Server in $Servers) { if (Test-Connection...
28 Aug 2023 by Member 11164293
Add N char befor you quated stרingת for example insert into #tabname (f1) values (N'כן')
6 Aug 2023 by Graeme_Grant
InvokeRequired (Microsoft Learn)[^] is only required if calling from another thread other than the main UI thread. So what you need to do is work out why the first time you're on a different thread and the second why you are on the main thread....
6 Aug 2023 by Bhavin Pokiya
I have created windows forms application with target framework 4.7.2. I am doing USB communication with device. I have 4 buttons on UI from which 2 button enable(connect and disconnect) and 2 disabled(download data and download log), when I click...
6 Aug 2023 by OriginalGriff
If you look at the Reference Source for Control.InvokeRequired:Reference Source[^] it shows you the code: public bool InvokeRequired { get { using (new MultithreadSafeCallScope()) { ...
21 Jun 2023 by terrable
I have a project that I've been struggling with. Half of my program works and the other half doesn't but there aren't any errors.Process A and B work but C D AND E do not. Can someone please help me. Here is what i'm trying to doPerformance RequirementsWrite a program that will perform...
20 Jun 2023 by Faizal bandukiya
I would like to know if c# has the capacity to detect when a print job has been sent to the printer. I have write a small program, where c# windows application detect a page to sent to printer What I have tried: i have tried searching the...
20 Jun 2023 by Richard Deeming
Not sure what terms you searched for, but a quick Google for "c# monitor print queue" produces a lot of results. For example: Monitor jobs in a printer queue (.NET)[^] A Simple Approach for Controlling Print Jobs using WMI[^]
19 Jun 2023 by Member 16032850
so I want to make a winform app that scans a barcode and a countdown of 2h starts once the barecode is scanned any help? What I have tried: this my first time working with barcode so I don't know what to do
19 Jun 2023 by OriginalGriff
Most barcode readers come preconfigured to act as a keyboard: you scan the code and to your app it looks exactly like the user typed the number in. That's probably not helpful to you! However, most scanners can also be configured to provide...
23 May 2023 by saiche nouh
I am developing a React Native app that requires two buttons: one to initiate a Viber free voice call and another to initiate a WhatsApp voice call. I have tried multiple packages in React Native, including creating a native module in Java using...
27 Mar 2023 by Member 10736689
Below is the code i am using, it works locally but the web application published to a server it does not work. I have tried impersonation and still nothing. It gives no error message it just does nothing. Any help?Dim openthis As String = System.Environment.CurrentDirectory ...
2 Mar 2023 by Richard MacCutchan
See Overview �|� Geolocation API �|� Google Developers[^] and Google Maps Platform �|� Google Developers[^].
2 Mar 2023 by Jack Dann
Need to fix an exact delivery location for the purpose of delivery person for unwanted location distraction. What I have tried: I just asking to our community to quick resolve this...
10 Jan 2023 by alessandro salvi
customers who want this application do not want their databases to be online and therefore would prefer to have them locally. What I have tried: ho cercato per parecchio tempo ma nessuno ha una risposta
10 Jan 2023 by Richard Deeming
If every user of the site will have their own completely separate database, then you may be able to use the IndexDB API: IndexedDB API - Web APIs | MDN[^] However, this will be tied to a specific browser. For example, a user who uses your site...
10 Jan 2023 by OriginalGriff
No. Web apps run in a sandbox in the browser and have no direct access to the client computer filesystem for security reasons. And your server has even less access! You would have to write a client native application, which could access the...
9 Jan 2023 by Graeme_Grant
This article comprehensively covers the Microsoft ClickOnce Installer with a bare bones WinForm/WPF C#/VB Silent Updater framework plus covers how to implement, troubleshoot, test locally, to release.
13 Dec 2022 by vblover Programmer
Adding ContextMenu's MenuItem to the SystemMenu of Form in Windows Forms Application
8 Dec 2022 by HarrySto
Hello, I have a poorly written product price change function that takes into account many different conditions. You need to refactor, since the function itself is poorly readable. Tell me where and what is better to read or what practices to use...
7 Dec 2022 by Graeme_Grant
A. You are using many Magic String Values. These can make readability and maintainability difficult. You could move them into constants. B. Keep your code DRY - Don't Repeat yourself. If you have repetitive calls, write them as a method with...
16 Nov 2022 by Member 11212591
hi i try import csv file to database sql server without header this code work good but with header how can skip the header what the code that delete or ignore to import csv with out header to database in c# windows application my csv format below . thank you...
14 Nov 2022 by Nikhil Yogi
Hello Everyone! What is this message : # IDE059 which appears frequently ?In a C# winform application error list, The message "IDE059 Unnecessary assignment value to 'result' shows up. But it is not troubling me while compiling or running the a...
14 Nov 2022 by Franc Morales
You can use IntelliSense 'Quick Actions': Suppress or Configure issues -> Configure IDE059 Severity -> None
14 Nov 2022 by OriginalGriff
If you don't understand an error (or in this case a rule flag) message, google it: IDE059 Unnecessary assignment value to 'result' - Google Search[^] This leads to MS: IDE0059: Remove unnecessary value assignment - .NET | Microsoft Learn[^]...
19 Oct 2022 by fulvio.fabiani
In a vb application, i wanna connect via imap to a server with ssl and download new messages from an account, i was trying with Net but it doesn't allow ssl protocol, how can i? Thanks. What I have tried: Private Sub...
19 Oct 2022 by Richard Deeming
Rather than trying to implement an IMAP client from scratch, I'd strongly recommend using a ready-built one. MimeKit[^] GitHub - jstedfast/MailKit: A cross-platform .NET library for IMAP, POP3, and SMTP.[^] This library is recommended by...
21 Sep 2022 by Faizal bandukiya
Selected multiple checkbox with combo box combine using in form. I have latest C# windows form application code with details information and demo for understanding for my project related query. What I have tried: I have so many tried but failed
21 Sep 2022 by OriginalGriff
A ComboBox cannot select more than one item: it does not support multiselect options. This may help though: A multi-selection Drop Down List using a generic Abstract PopUp class[^]
5 Sep 2022 by NSIS 2022
Hello guys, How to hide or remove following row if cell value meet the condition. Exaple Column1 Column2 Column3 A. 1 H H. 7 g L. 9 f ...
5 Sep 2022 by George Swan
I am not sure how you are binding your data table to the view, but here are a couple of suggestions that may be useful. If it is permissable to exclude the row where Column2 is equal to 7, you can use TakeWhile. IEnumerable query=...
4 Sep 2022 by Maciej Los
First of all - you can fetch into a datatable object only the data you want to get, by filtering a database in a query: SELECT ... FROM ... WHERE Column2 7; Second - you can filter datatable object: DataTable.Select Method (System.Data) |...
8 Aug 2022 by Sai Darshan 2022
We have a requirement to change our application's IIS app pool password everytime it expires. Currently, we have to manually login to each server adn run a snippet of PowerShell code which changes the password. Here is the code we run on each...
22 Jul 2022 by ONKAR MEHRA
I have been trying to nest stack navigator inside bottom tab navigator and which has been nested into drawer navigator. In terms of nesting, bottom tab navigator is at the top, then bottom tab navigator and then at the end stack navigator. I have...
22 Jul 2022 by Member 15714599
You have good approach but the problem is that we can not use these navigations from React but instead we can use Flux one.
4 Jul 2022 by Member 15692979
I fixed the problem by opening the registry editor and navigating to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CodeProject.AI Server I modified the ImagePath by adding quotes to the string. Specifically, I changed the ImagePath from...
4 Jul 2022 by Member 15692979
I have installed the CodeProject AI Server on a Windows 10 PC and intend to use it with the Blue Iris Video Security program, but the CodeProject AI Server service will not start. The Windows system event log showed the error below... The...
4 Jul 2022 by Venkanna M 2022
protected void Button1_Click(object sender, EventArgs e) { int[] mynumbers = { 2, 4, 6, 8, 17, 25, 27, 30, 32, 45, 89 }; String item = TextBox1.Text; int target = Convert.ToInt32(item); int...
4 Jul 2022 by OriginalGriff
Compiling does not mean your code is right! :laugh: Think of the development process as writing an email: compiling successfully means that you wrote the email in the right language - English, rather than German for example - not that the email...
27 Jun 2022 by Member 15689284
I have a C# Desktop Application. when i make release its generated with setup file. and i always need to setup the app first. and i don't need that step.any help ? What I have tried: all ways i've tried generate setup.exe file
27 Jun 2022 by OriginalGriff
To add to what Richard has said, the biggest problem may be your selection of .NET framework: Windows since Vista has included a version of the .NET framework, but if you have built your app to run with a later version than the OS default, you...
27 Jun 2022 by Richard Deeming
If the user has already installed all of the prerequisites, then you can just copy the compiled executable and its supporting files to a folder on the target computer and run it. If not, then you either have to provide a setup file, or you have...
24 Jun 2022 by Madhukumar N
Hi Everyone,Im Getting a Peculiar Problem here My Menu Form is the MDI Container here Im Opening a Form in Maximized Mode and on That Form a Button Click has Open another Maximized form but here im Getting a Error Thrown as Object Reference not set and its Taking me to a Dilogue What May Be...
24 Jun 2022 by Kingsley Bainn
This is what I did. I created a method at the just below the the mdi form constructor like below: public MainRibbonForm() { InitializeComponent(); } private void SetMaximizedChildFormsToNormal() ...
31 May 2022 by mycenean
The drag/drop associated events in WPF (DragEnter, DragOver, Drop, etc.) are fully fired and handled beautifully for "FileDrop" data originating from Windows explorer, as well as browsers (at least Firefox). However, they seem to be completely...
6 May 2022 by Nandinii
In else if part, it showing error i.e, Cannot implicity convert type int to System.EventArgs Operator '-' cannot be applied to operands of type System.EventArgs and int. What I have tried: namespace WindowsFormsApplication10 { public...
6 May 2022 by OriginalGriff
Look at your code: private void equal_Click(object sender, EventArgs e) { ... h = e - b; ... } e is a parameter to the equal_Click method: so it "hides" the version at class level. There...
20 Apr 2022 by Member 15609255
Read data from a file(monthly sales) and create a bar graph using graphics. What I have tried: I tried reading data to array but kept on getting error.
20 Apr 2022 by OriginalGriff
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for...
11 Apr 2022 by Kanaga Lakshmi from Delhi
I am trying to display the images from Project folder(solution explorer) to datagridviewimage column cell. i got the following error: An exception of type 'System.IO.FileNotFoundException' occurred in System.Drawing.dll but was not handled in...
11 Apr 2022 by Chris Copeland
If you're including it as part of your project/solution and want it deployed with your executable then you probably want to look at using embedded resources. At compile-time these will get embedded within your exe and remain accessible to the...
9 Apr 2022 by Kanaga Lakshmi from Delhi
I have to show image from my project folder( from solution explorer) instead of pdf file names in columns where the file exists What I have tried: Image imgCalibration = (Image)e.RowIndex.FindControl("imgCalibration"); ...
6 Apr 2022 by Kanaga Lakshmi from Delhi
folder path is saved in a table database i have to show all the datas from the table in datagridview and when click the "file_name.pdf " ,that pdf file has to be downloaded please help i got the error that adobe reader does not read the pdf...
6 Apr 2022 by Chris Copeland
If you're saying the file is saved successfully but Adobe Reader is throwing an error it's probably because you're not actually copying the file correctly. If you look here: var byteData = Encoding.UTF8.GetBytes(Calfilename); using (var...
1 Apr 2022 by Kanaga Lakshmi from Delhi
I try to set the value for combo box selected value as current year(2022). i got the following error when i try to save in table database What I have tried: private void BindYear() { ddlYear.SelectedValue = null; ...
1 Apr 2022 by OriginalGriff
This is one of the most common problems we get asked, and it's also the one we are least equipped to answer, but you are most equipped to answer yourself. Let me just explain what the error means: You have tried to use a variable, property, or a...
30 Mar 2022 by Kanaga Lakshmi from Delhi
I have to download the pdf file from the folder where i have stored already in c:\ drive using Datagridview cell content click in c# windows application. pdf file downloaded and adobe reader couldn't read that file Adobe reader could not open...
30 Mar 2022 by OriginalGriff
You open the file: if((mystream = sfd.OpenFile()) != null) You close the file: mystream.Close(); But all that does is delete any existing file of that name, and create a new, empty file. Adobe won't be able to read...
28 Feb 2022 by Alex_bonbons
Hello ! I am making my own version of an open source project call Mission Planner (it's an app that allows to control many types of drone so I configured it to be more effictient for my drones). I am know trying to build an installer for my...
28 Feb 2022 by Maciej Los
Why to force doors wide open? Take a look here: Create custom installer for ClickOnce application - Visual Studio (Windows) | Microsoft Docs[^] and ClickOnce Deployment - Windows Forms .NET Framework | Microsoft Docs[^] InnoSetup[^] is very...
16 Jan 2022 by RickZeeland
You can find some options here: frameworks-for-developing-cross-platform-mobile-apps[^] This list is far from complete however. If your needs are simple, you could also consider: no-code-development-platforms[^] and: app-builder-platforms[^]
15 Jan 2022 by Vaibhav0001
I want to create mobile application for IOS and Android platform. Project has multiples modules and individual modules contains multiples functionalities. Which technology is better for future reference?? What I have tried: I'm confused in...
21 Nov 2021 by zainemma
I am developing a windows form application in .net c#, All I want to know is how to validate the Indian phone number, if a user inputs in a textbox.
21 Nov 2021 by Snigdha Sidhan
private void mobile_Validated(object sender, EventArgs e) { errorProvider2.SetError(mobile, ""); } public bool ValidMobile(string mobileno, out string errorMessage1) { Regex ph...
21 Oct 2021 by Luc Pattyn
You can't "run" a Form without a message loop/pump. To get one, you need to call Application.Run() Without a pump the Form will be dead, no events will occur, the PB will not show anything. But then, with a pump, your Console App basically got...
21 Oct 2021 by gggustafson
I am attempting to implement an image viewer in a Console Application. The viewer will be ported to a Raspberry Pi and executed using Mono replacing the debian-installed feh image viewer. I am replacing feh because that program uses a fixed...
21 Oct 2021 by User 9916080
The problem is that you forgot to add the picture box control to the form. I modified the code to work correctly. It's been tested and it works. The lines I added have the comment "Added" to it. if (File.Exists(image_path)) ...
18 Oct 2021 by Buzzard 2021
First off my application is C# WinForms .NET so I want to make a standalone or use just 1 or 2 dll files. However when I build it I get a ton of xml files from the KryptonUI Package. I also have a dll files which are not the biggest problem for...
18 Oct 2021 by Member 15329613
I suggest getting rid of the open source UI code. If you just use .Net then you'll only need an exe.
3 Oct 2021 by Dave Kreskowiak
First, if by "help" you mean "write my code for me", that's not going to happen. Now that the boundaries are out of the way... You describe no problems, no error messages, and do not explain why you are trying to do this with a ComboBox. What...
28 Aug 2021 by Darshil Shah 2021
I have been learning android dev in android studio for the past 20 days from the book "Head First Android Development" and as I am starting new chapters, there are always new methods, inner classes... of new widgets getting introduced to me and...
28 Aug 2021 by OriginalGriff
This isn't a problem that is specific to Java, or Android: modern frameworks are very complex and full featured with the result that it's pretty much impossible to remember everything in it in detail. Or at least, that certainly the case for me! ...
6 Jul 2021 by Hemant L Patil
i want to create c# windows Application for client-server application send message on same wifi network like TCP/IP how to connect/disconnect client-server on wifi network? how send/Receive date on wifi network ? What I have tried: If any...
6 Jul 2021 by OriginalGriff
Quote: i want to create c# windows ... Quote: please share demo application While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting...
30 Jun 2021 by Dave Kreskowiak
Again, There's no way to determine those times. An open tab is "viewable", but you have no way of knowing how long it's been that active window, and even that doesn't mean it's being "view". There's no such thing as "user visits a website for...
29 Jun 2021 by Richard Deeming
No, as we told your classmate last week: Get actual time spent browsing websites by user C#.NET[^]
29 Jun 2021 by Richard MacCutchan
No, because there is no way to find out how much time is spent looking at a particular website. I have open tabs on my browser which have been open for weeks but the actual amount of time spent looking at each one will be measured in minutes.
18 Jun 2021 by FullStackVale
Issue: IN windows form Application, Application is deployed on three server, on two server same users are able to access the feature of application. But when users try to access same feature in the application remaining one out of three server ...
27 May 2021 by slex1one-Musdy
Can i style the python desktop app ? (e.g like CSS) What I have tried: I found a library named "Eel". But i am not sure if it works for app.
27 May 2021 by Richard MacCutchan
The only way to find out is by reading the Eel documentation. Python is a simple 'scripting' language and has no standard features to create GUI applications. There are various libraries available that may offer what you want: Graphic User...
9 May 2021 by Member 11893460
I have a windows application in C#. An application may have multiple Users with some Roles assigned to them and multiple forms. What we want is to restrict a logged in user according to his role. i.e for e.g. Admin is free to allowed to view all...
9 May 2021 by ScarryJerry
Make sure your logic surrounding the roles and how they are defined/stored/retrieved from the database is correct. You need to account for a role having enough granularity to be able to assign different roles and get the right list of forms they...
6 May 2021 by Prasanna Ravi JR
I am doing a machine learning project on analytics and I have no idea how to do it, can someone help me with it, please... What I have tried: I am new to this. I don't have any knowledge about how to do it. someone please help me.
6 May 2021 by Patrice T
Quote: I am new to this. I don't have any knowledge about how to do it. someone please help me. For anything, Google is your friend. Obviously, we can't teach you machine learning in the scope of this forum. First, find some reference page to...
6 May 2021 by CHill60
If you had read the posting guidelines when you clicked on the "Ask a Question" link, then you would realise that this is the wrong forum to post such a "question". Get yourself a good book or sign up for a course. This is not a tutorial forum....
6 Apr 2021 by Satya Karki
This article describes the options to restore and backup database in SQL Server and explains how to Export BACPAC from SQL Server Management Studio.
2 Apr 2021 by Richard MacCutchan
This is the same issue as How do I one form register record and then another form2 in form 2 button on click then not open form if user not permission to access form in C#[^]. Please do not repost.
30 Mar 2021 by Member 11893460
I have 10 checkboxes, if selected 2 checkboxes(form1,form2), then I should open 2 selected forms and the rest of the forms should not be open on button click in c# in c# winform thanks for advance What I have tried: i have no idea how to do...
16 Mar 2021 by Ivan Caunca
i want to search all the the values of @s below in one text box from one table. so i have created stored procedure for it named as SearchMain, but when i start to run it, it has error on this line comm.Fill(dt);. what would be the best code for...
16 Mar 2021 by #realJSOP
0) Put the code into a try/catch block. try { con.Open(); SqlDataAdapter comm = new SqlDataAdapter("SearchMain", con); comm.SelectCommand.CommandType = CommandType.StoredProcedure; ...
12 Mar 2021 by sagarjkhatri
With the code of MainActivity.java of android studio I can get my URL loaded correctly, but, I get "ERR_UNKNOWN_URL_SCHEME" when trying to tap on links that starts with tg: (Telegram). Anyone can help me to solve this issue, please?...
10 Mar 2021 by Richard MacCutchan
Same answer as your previous question: What cross platform framework to use to build a children's educational app for mobile?[^]. Unless you have some programming skills you are unlikely to make any progress. The first thing you need to do is to...
9 Mar 2021 by Member 14866662
A walkthrough of building a MySQL Database Connection Tester application in VB.NET