15,742,655 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View Javascript questions
View C++ questions
View Python questions
View Java questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by RickZeeland (Top 200 by date)
RickZeeland
15-May-23 12:39pm
View
Sadly not much on GitHub for C++, but maybe I searched with the wrong keywords ...
RickZeeland
8-May-23 15:36pm
View
Skip that if it is not a valid mouse click, then it will not be processed.
Before modifying the example code, use the debugger to see what the return codes of this method look like.
RickZeeland
8-May-23 14:57pm
View
I have not used this code myself, but it seems to me that you only want to pass the hook information to the next hook procedure in chain when it is a valid mouse click. You need to program some logic for this.
RickZeeland
9-Mar-23 12:49pm
View
See the updated solution above, good luck!
RickZeeland
9-Mar-23 9:00am
View
Try the second example, its written for VS2015
RickZeeland
7-Mar-23 7:45am
View
5d! Tested this on the [Sales].[CountryRegionCurrency] table of AdventureWorks db, and it works!
https://dbfiddle.uk/yYXzWUpp
RickZeeland
4-Mar-23 6:30am
View
Do you want to make an app for a mobile phone? if so please specify the OS: Android or iOS.
RickZeeland
27-Feb-23 15:45pm
View
C++ is harder to learn and not as forgiving as VB.NET. If you are interested in a professional career C# is a better choice, as sadly VB is frowned upon by most "professionals".
RickZeeland
22-Dec-22 8:07am
View
I agree, draw.io is one of the best free online diagram tools.
RickZeeland
9-Dec-22 4:18am
View
Sounds to me like you are the confused person ... :)
where did you get the idea that this is a winforms question?
RickZeeland
19-Nov-22 15:48pm
View
If the data comes from a database, then it might be better to use SQL to do the sorting.
RickZeeland
18-Nov-22 0:35am
View
That's a no-Go then :)
RickZeeland
17-Nov-22 4:10am
View
I understand, but you can look at the Go code to glean how it works and then write your own C# code ...
RickZeeland
15-Nov-22 8:37am
View
Ah finally, a satisfied customer!
:)
RickZeeland
15-Nov-22 8:34am
View
Hear hear!
:)
RickZeeland
14-Nov-22 8:34am
View
and what happens when you try the hello world example?
RickZeeland
14-Nov-22 6:39am
View
Sadly I'm not an ASP.NET developer, but maybe it could be a security thingy?
RickZeeland
14-Nov-22 4:37am
View
Guess it's easy for me to say, as I have enough experience with both batch files and .NET
:)
RickZeeland
14-Nov-22 3:10am
View
As you have been struggling with batch files for some time now, maybe you should consider another approach, batch files are not really suitable for what you want.
I would recommend using C#, VB.NET or PowerShell, as .NET makes these kind of things much easier.
RickZeeland
12-Nov-22 15:26pm
View
Then be more clear and specific in your question, we don't have crystal balls ...
RickZeeland
11-Nov-22 15:29pm
View
Are you using multiple monitors maybe? then SendKeys won't work.
RickZeeland
8-Nov-22 2:41am
View
Maybe the problem is in the second line: Cd /d D:\
RickZeeland
3-Nov-22 6:00am
View
Dear "Drive-by-downvoter", if you have problems with my answers then post a comment explaining why.
RickZeeland
3-Nov-22 5:57am
View
Did you use the GitHub solution?
RickZeeland
3-Nov-22 2:08am
View
I agree with Dave, avoid using SendKeys, even with only one other application active it won't work when this is placed on a second monitor.
RickZeeland
2-Nov-22 15:53pm
View
Hooray! then you can mark this as solved.
RickZeeland
2-Nov-22 7:34am
View
It' confusing stuff and I'm not familiar with it either, maybe you can search further on GitHub for more information.
RickZeeland
1-Nov-22 13:30pm
View
In case you're wondering about the people at CodeProject, most of us are volunteers, but there are some paid specialists that maintain the website etc.
RickZeeland
1-Nov-22 11:06am
View
Why do I hear the song "private investigations" playing in my head now?
:)
RickZeeland
1-Nov-22 10:28am
View
Thanks! these "drive by downvoters" are really irritating.
RickZeeland
1-Nov-22 8:14am
View
What is not working? my examples?
RickZeeland
1-Nov-22 6:56am
View
Can the person who downvoted this explain why?
RickZeeland
28-Oct-22 1:35am
View
I see you added an example of what result is expected, can you also specify what programming language you are using?
RickZeeland
21-Oct-22 3:07am
View
I had problems too when switching between VS2019 and VS2022, it might be best to delete the resource and start with a new one, and stick to working with the same VS version.
RickZeeland
5-Oct-22 13:19pm
View
And also:
"The PdfFileWriter supports embedding data files in the PDF document. Full example of embedding file is given in the page 7 of OtherExample.cs"
RickZeeland
5-Oct-22 13:16pm
View
Well in the article it says:
"Clicking anywhere within the cell's area will cause the PDF reader to activate the document link, web link, video, audio or embedded file."
RickZeeland
28-Sep-22 4:40am
View
Posted this as an issue on GitHub and got a response from Eric Woodruff (not related to Bill btw), but by then I already solved the problem by referencing the dll's instead of the project files.
So thanks for all the suggestions everyone!
RickZeeland
27-Sep-22 14:30pm
View
Thanks!
RickZeeland
26-Sep-22 8:14am
View
Maybe your PC needs a reset? or another app is still using .NET 6 ?
RickZeeland
24-Sep-22 5:15am
View
It's a big mess I'm afraid, tried to follow the ongoing discussion here:
https://github.com/dotnet/runtime/issues/3393
But the relevant link at the end of the discussion seems to be gone :(
RickZeeland
24-Sep-22 4:34am
View
A form is a Windows form with all kinds of controls like menu's, buttons etc.
But now I understand what you are trying to do, you want to modify the Visual Studio IDE, can not offer any help on that I'm afraid.
RickZeeland
24-Sep-22 4:26am
View
Just double click on a form and it will open in the designer.
But if you do thing programmatically you can not use the designer I'm afraid.
RickZeeland
13-Sep-22 2:13am
View
Are you using the Hikvision SDK? then it might be better to ask Hikvision support for more information.
RickZeeland
12-Sep-22 14:11pm
View
Sorry, I don't have any experience with PdfSharp, only with the CodeProject PDF File Writer.
It is best to post this as a new question, probably other CP members know the answer.
RickZeeland
12-Sep-22 2:10am
View
5d! heh, heh :)
RickZeeland
11-Sep-22 4:03am
View
Can you show the declaration of the Timer? several timers are available in .NET.
RickZeeland
11-Sep-22 3:57am
View
Can you provide some more information like:
- is it a WinForms or WPF application
- what database is used
- do you use databinding or do you fill the gridview using your own code
(also add some of the relevant code used please)
RickZeeland
21-Aug-22 2:09am
View
Oh now I see the first link does not work, I can not find the ER diagram anymore, I will update the solution.
RickZeeland
21-Aug-22 1:56am
View
It is working for me, even without signing in, maybe your anti-virus is blocking it?
RickZeeland
28-Jul-22 3:04am
View
Maybe you can use this library: https://github.com/radek-k/FFMediaToolkit
RickZeeland
22-Jul-22 5:02am
View
Are you using SQL Server or another database?
RickZeeland
22-Jun-22 15:24pm
View
I never used this library, but you can try to ask the author of the article for more information. Good luck ;)
RickZeeland
22-Jun-22 5:51am
View
If it is a console application, make a menu and use ReadKey to get user input, then execute the code you want. If it is Winforms make a main form and run the form you want from there.
RickZeeland
22-Jun-22 2:19am
View
He mentions: "However, the focus winds up on one of my buttons"
RickZeeland
20-Jun-22 6:35am
View
Thanks for the info, I have updated the page on Slant.
RickZeeland
17-Jun-22 8:00am
View
What Windows version are you using? it seems to run only on Windows 10.
RickZeeland
14-Jun-22 7:06am
View
Don't do that, even if you find (bad) examples on the internet and some "experts" say it's safe to do!
RickZeeland
6-Jun-22 9:51am
View
That's a brilliant answer!
why didn't I think of that ...
RickZeeland
6-Jun-22 2:05am
View
Almost, updated the solution again ;)
RickZeeland
5-Jun-22 16:01pm
View
Ok, updated the solution.
RickZeeland
5-Jun-22 15:56pm
View
That is problematic I'm afraid ;)
RickZeeland
5-Jun-22 15:21pm
View
Thats strange, I get World Hello, are you sure that's a space in between?
RickZeeland
19-Mar-22 17:04pm
View
I never heard of a "in visual studio webcam", is this some new feature?
Or are you running some kind of program?
RickZeeland
19-Mar-22 1:53am
View
Thanks, but I get the feeling that this has not solved his problem :)
RickZeeland
16-Mar-22 15:41pm
View
Don't think so, but I can only speak from a C# background.
RickZeeland
16-Mar-22 15:34pm
View
Maybe you have also set a cursor property somewhere for a control in the designer?
RickZeeland
7-Mar-22 7:31am
View
It could be that your spam blocker does not trust the redirect to the webpage (Slant earns money this way I assume), on the Prefix page it states that it supports .NET and also other languages like Java, Python etc.
But as I never used it, I can not tell for sure ...
RickZeeland
18-Jan-22 15:29pm
View
Amazing!
5ed!
RickZeeland
18-Jan-22 9:56am
View
I'm not a Java programmer, but I suppose you could use a PDF library like https://pdfbox.apache.org/ for that.
RickZeeland
31-Oct-21 2:26am
View
As you mentioned "words with the letter 'a' at a specific position" it searches for the letter at position 3, which is the fourth letter as arrays in C# start from 0.
RickZeeland
20-Oct-21 12:34pm
View
That's right, I did not want to mention named pipes and stuff like that :)
RickZeeland
20-Oct-21 12:31pm
View
Yes, most beginners think that SQL Server is the only route to take, but there are more and better options IMHO. It is good to point that out to them. I used SQL Server for years and was hard to convince too to use another database, but after working with PostgreSQL I never want to go back to SQL Server anymore.
RickZeeland
9-Oct-21 11:26am
View
Absolutely !
First feeding the hungry, second, quenching the thirsty
:)
RickZeeland
5-Oct-21 13:57pm
View
myC ? never heard of it and can't even find it when Googling, are you sure you spelled that correctly?
RickZeeland
3-Oct-21 5:21am
View
If you start with a new datagridview you will see that the problem is not in AllowUserstoAddRows, but probably in one of your routines. You can use a Try..Catch to catch errors, and you should check before getting values from the datagridview if the values are valid.
RickZeeland
2-Oct-21 2:35am
View
Sorry, I'm too busy with work right now, maybe someone else can help you.
Besides I stopped using SQL Server years ago, did not like it at all :)
RickZeeland
1-Oct-21 15:14pm
View
That's an interesting idea :)
RickZeeland
1-Oct-21 14:51pm
View
Have you tried running Access as administrator?
RickZeeland
11-Sep-21 2:53am
View
Some consider the VS installer a "Dead end" as it is not supported in newer versions of VS, so I would recommend using something else.
RickZeeland
24-Aug-21 14:50pm
View
It's been long ago that I struggled with a similar problem, and being an old fart I can't remember how I solved it sadly ... maybe after a good night's rest :)
Oh, and custom controls are controls too !
RickZeeland
1-Aug-21 5:27am
View
See: https://stackoverflow.com/questions/2729751/how-do-i-draw-a-circle-and-line-in-the-picturebox
The second answer shows how to use the paint event of the picture box.
(you should post this as a new question btw)
RickZeeland
11-Jul-21 2:26am
View
I'm not a Java programmer myself, so I can not tell, it will be trial and error I fear. Good luck!
RickZeeland
6-Jul-21 7:52am
View
Ah, then that can not be the problem :)
RickZeeland
20-Jun-21 8:24am
View
I'm afraid I can't quite follow you, isn't that app in your server a Windows application?
Your question was: "How to use a windows / linux application" ...
See the last note about Cameyo, it allows you to run Windows applications in a browser.
RickZeeland
20-Jun-21 1:52am
View
Did you also try Nuget restore from the command line in the solution folder?
RickZeeland
19-Jun-21 15:50pm
View
Ah, very patient of you :)
Then maybe the last note might shine some light on this, otherwise you could post this as an issue on GitHub.
RickZeeland
7-Jun-21 5:07am
View
Exterminate! spoken in true Dalek style :)
RickZeeland
7-Jun-21 2:11am
View
That's a mystery to me too, good question for the language designers :)
RickZeeland
24-May-21 15:50pm
View
Maybe I misunderstood but isn't your question about connecting to Microsoft Office?
RickZeeland
22-May-21 3:26am
View
Sigh :{
RickZeeland
20-May-21 3:09am
View
Yes, see the updated solution above.
RickZeeland
19-May-21 3:38am
View
There still seem to be some problems, working on it ...
RickZeeland
15-May-21 6:17am
View
Did you modify the Program.cs file maybe?
RickZeeland
8-May-21 8:04am
View
Maybe not, but let's stay friendly and give some hints for those who are really desparate :)
RickZeeland
27-Apr-21 8:31am
View
I never tried this project, so I can't tell, it was more to show how you can call ffmpeg. Good luck!
RickZeeland
25-Apr-21 2:05am
View
You will have to contact the author of the program, or a dedicated forum for that, this is a general question and answers forum.
RickZeeland
4-Apr-21 4:31am
View
Please don't post this as a solution, but use the 'Have a Question or Comment' button if you have more comments, otherwise I won't be notified.
RickZeeland
22-Mar-21 13:00pm
View
Updated the solution with an example that shows how you can use it :)
RickZeeland
21-Mar-21 13:53pm
View
Thanks Maciej :)
RickZeeland
20-Mar-21 16:28pm
View
Then I would recommend edX https://www.slant.co/topics/965/viewpoints/30/~best-websites-to-learn-to-code~edx
These are free courses from universities, you will only need to pay for the certicate.
And for getting a well paid job, certificates are quite important.
RickZeeland
20-Mar-21 15:58pm
View
FreeCodeCamp seems to be very popular, but it's not my cup of tea as a lot of popular languages like C# seem to be missing. Also I have some objections to the article as it seems more salary oriented than focusing on becoming a good programmer. But if salary is your prime concern that might be an option for you.
RickZeeland
14-Mar-21 8:43am
View
No, using a library is probably overkill for what you want, only if you could use the extra functionality it would be of interest I think.
RickZeeland
14-Mar-21 7:15am
View
Yes, this way your UI thread will remain responsive, it is recommend to study Async first if you never used it, there are many pitfalls.
RickZeeland
2-Mar-21 12:01pm
View
Congrats, 5 points!
RickZeeland
2-Mar-21 2:08am
View
Hmmmm, so the problem seems NuGet related.
RickZeeland
28-Feb-21 3:12am
View
I think you will run into problems this way, in the past this would have worked well with MS Access databases, but SQL Server is more difficult. I would recommend using backup files instead. Personally I stopped using SQL Server altogether in favor of PostgreSQL and never regretted it.
RickZeeland
27-Feb-21 15:41pm
View
Deleted
Are you using SQL Server or other database(s) ?
RickZeeland
27-Feb-21 15:22pm
View
Ah, recognition finally :)
RickZeeland
27-Feb-21 12:21pm
View
Thought that was something of the past, but it still seems to exist :)
RickZeeland
27-Feb-21 6:32am
View
Beat me to it :)
RickZeeland
24-Feb-21 2:42am
View
Ji...5d :)
RickZeeland
22-Feb-21 3:01am
View
To err is human :)
RickZeeland
22-Feb-21 2:58am
View
Maybe add "01-" at the begin of "04-2020" ?
RickZeeland
22-Feb-21 1:15am
View
That's the "final countdown" :)
RickZeeland
22-Feb-21 1:14am
View
5d as you did most of the work :)
RickZeeland
21-Feb-21 14:48pm
View
popular does not say anything about security I'm afraid :)
RickZeeland
21-Feb-21 7:38am
View
Hi Ralf, your routine is fine, but OP probably calls it from Form1_Load() and then it won't work (at least not in my test application).
RickZeeland
20-Feb-21 16:15pm
View
Don't use a messagebox but a form which will not block and will be closed with the main application.
RickZeeland
19-Feb-21 13:04pm
View
The problems I encountered were with a datagridview placed in a usercontrol. I also think Anchor is easier to use when you want other controls like e.g. Buttons aligned next or under the datagridview. But all this might be a personal preference of course :)
RickZeeland
19-Feb-21 12:47pm
View
That was my advice, I prefer not to use Dock as I had some problems with it in the past.
RickZeeland
18-Feb-21 7:42am
View
Your "small section of JSON" is missing
RickZeeland
18-Feb-21 6:15am
View
He probably can not put his finger on it :)
RickZeeland
18-Feb-21 5:24am
View
Don't forget to mark your solution as answer :)
RickZeeland
18-Feb-21 2:35am
View
Congrats, then you can mark this as solved.
I'm still curious why you could not get the Anchoring working, I think this is an important concept that you should master (in the future)
RickZeeland
18-Feb-21 1:12am
View
Looks ok to me!
RickZeeland
17-Feb-21 15:19pm
View
Deleted
Congrats, but what do you do when you want to send data back to the main form?
:)
RickZeeland
17-Feb-21 15:19pm
View
Congrats, but what do you do when you want to send data back to the main form?
:)
RickZeeland
17-Feb-21 6:56am
View
Good :)
If my answer was helpful, you can mark it as solved.
Btw, what solution did you choose?
RickZeeland
17-Feb-21 3:20am
View
That should not be the case, check if you did not set some other properties wrong.
RickZeeland
17-Feb-21 3:13am
View
Ah, already 5d your answer :)
RickZeeland
17-Feb-21 2:39am
View
Wow, but in the results I see only see Denver and Chicago?
It seems to work with: WHERE minr>0 OR maxr=1
RickZeeland
16-Feb-21 15:44pm
View
Then take a look at the answer by OriginalGriff, he suggests to pass a null value for the column, that should do the trick (don't know if this will work in Linq to SQL however)
RickZeeland
16-Feb-21 8:33am
View
Dock can sometimes be problematic, try to turn it off and use Anchor instead.
RickZeeland
15-Feb-21 10:04am
View
Calling Async "simple" would be the understatement of the year :)
Take a good look at how the example uses a combination of Tasks and Async.
RickZeeland
15-Feb-21 8:46am
View
Congrats!
RickZeeland
15-Feb-21 7:36am
View
Seems to be an Async problem, what happens if you make the FormatResponse() a normal method?
RickZeeland
14-Feb-21 13:17pm
View
What could also help is upgrading to a newer .NET version 4.5 or higher if you are still using an older version.
RickZeeland
14-Feb-21 13:00pm
View
In the title you say: "this browser is no longer supported"
RickZeeland
14-Feb-21 12:30pm
View
Are you using the standard WebBrowser control in your form maybe?
RickZeeland
14-Feb-21 10:22am
View
That sounds like Client-Servant architecture to me :)
RickZeeland
14-Feb-21 9:41am
View
5d :)
RickZeeland
14-Feb-21 8:46am
View
Hope you are not using a "form in a form" that is a bad idea!
RickZeeland
14-Feb-21 6:30am
View
Did you try to set ActiveForm.BackColor or this.BackColor ?
RickZeeland
13-Feb-21 2:17am
View
Do you mean to connect to a database? if so what database are you using?
RickZeeland
13-Feb-21 1:56am
View
You can also add a header to your CSV file if that is easier
RickZeeland
13-Feb-21 1:40am
View
You probably have no header in your CSV file, as it says in the error message:
set the configuration HeaderValidated to null
RickZeeland
12-Feb-21 7:35am
View
Ah, I see, working on it ...
RickZeeland
12-Feb-21 7:11am
View
You mean storing the read values in an array?
RickZeeland
12-Feb-21 5:48am
View
hehe :)
RickZeeland
12-Feb-21 5:45am
View
Then maybe this is more your cup of tea:
https://www.codeproject.com/Articles/368258/I-dont-like-Regex
RickZeeland
12-Feb-21 1:13am
View
Can not say more about it, as I'm not a network expert. But I can say that in our main software written in C# we never send large chunks of data via TCP, we always break it up in smaller chunks, so I guess that's because of experiences in the past with networks that couldn't cope.
RickZeeland
11-Feb-21 23:36pm
View
In computer networking, out-of-order delivery is the delivery of data packets in a different order from which they were sent. One of the functions of TCP is to prevent the out-of-order delivery of data, either by reassembling packets in order or requesting retransmission of out-of-order packets
RickZeeland
11-Feb-21 13:40pm
View
Gitea supports SQL Server, but I have only used it with PostgreSQL.
More info here: https://docs.gitea.io/en-us/database-prep/
RickZeeland
11-Feb-21 13:29pm
View
We have Gitea running for 2 years now on a virtual machine without problems.
GitHub has the option of private repositories, but that could be a paid option.
If you are used to GitHub you will find Gitea easy, as the interface is almost the same.
RickZeeland
11-Feb-21 9:39am
View
Hard to say, guess it depends on the situation and how your code looks, let's wait and see if someone comes up with anything better :)
RickZeeland
11-Feb-21 9:17am
View
https://en.wikipedia.org/wiki/NUnit
RickZeeland
11-Feb-21 9:10am
View
Click the link :)
RickZeeland
11-Feb-21 5:16am
View
Ji..haa, then you can mark the solution as solved!
RickZeeland
10-Feb-21 15:47pm
View
It sure seems to be popular according to the upvotes on Slant, haven't used it myself though as I like doing things the hard way and made my own custom controls :)
RickZeeland
10-Feb-21 14:27pm
View
Ah, Mr.Zeeland, like the sound of that :)
But I think you were correct that C basically does not have graphics capabilites, you need extra libraries for that, and there are lots of them.
RickZeeland
10-Feb-21 7:12am
View
Then try with 4.5.1 or higher
RickZeeland
10-Feb-21 7:00am
View
What .NET framework version are you using? I'm on 4.5.1
RickZeeland
10-Feb-21 6:47am
View
That's strange, when I test it both links work, maybe you have something blocking it like an Anti-Virus ?
RickZeeland
10-Feb-21 5:33am
View
And when you try the CodeProject URL I gave you?
RickZeeland
10-Feb-21 5:12am
View
Maybe you need an extra slash: "/Modules/ ..."
RickZeeland
8-Feb-21 3:02am
View
The problem is that I wrote this code so long ago that I don't remember exactly how it works, added a CustomTabPage to the solution.
RickZeeland
8-Feb-21 1:48am
View
Have you tried setting the ForeColor too ?
RickZeeland
7-Feb-21 13:29pm
View
Bummer, usually it is not allowed to save files directly from a browser this is a safety measure that's baked into the system.
RickZeeland
6-Feb-21 5:54am
View
As you seemed to know the answer already please don't post as a question, but create a TIP instead on CodeProject.
RickZeeland
5-Feb-21 13:54pm
View
Data binding might seem strange and frightening to you at first, but it is well worth learning. Sadly I'm not a VB.NET programmer so I'm not going to invest a lot of time trying to fix your code, sorry!
RickZeeland
5-Feb-21 4:07am
View
He's one of the knights who say "ji"
5d :)
RickZeeland
5-Feb-21 4:04am
View
"Sorry - but we can't fix that for you!"
You could buy a better monitor for him :)
RickZeeland
5-Feb-21 1:34am
View
You are correct! updated the solution :)
RickZeeland
4-Feb-21 8:05am
View
As my answers are downvoted I will refrain from answering any more questions about the subject, besides it takes too much of my time as I'm not a VB programmer but used to programming in C#, sorry!
RickZeeland
4-Feb-21 7:09am
View
Take a look at Richard Deemings solution, that's the correct way to pass parameters to a query
RickZeeland
4-Feb-21 6:59am
View
That's not possible with the standard DateTimePicker, but you could write a usercontrol that derives from the DateTimePicker, something like this:
https://stackoverflow.com/questions/10023158/hiding-datetimepickers-text-and-usercontrol-resize
RickZeeland
4-Feb-21 6:55am
View
I think it cannot be blank, but you can set the Checked property to false initially
RickZeeland
4-Feb-21 4:27am
View
How do you log? e.g. using log4net or other library?
RickZeeland
3-Feb-21 15:03pm
View
You are probably right, but when it is done immediately after defining the dictionary it should work I think.
RickZeeland
2-Feb-21 7:42am
View
As Richard already pointed out it might be better to change |DataDirectory| to another location.
RickZeeland
2-Feb-21 5:39am
View
Bummer :(
RickZeeland
2-Feb-21 1:18am
View
I think the last part of the path will probably be the same, but you should test that on different machines to be sure.
RickZeeland
1-Feb-21 3:04am
View
Thanks for the warning!
RickZeeland
1-Feb-21 2:23am
View
Use foreach(file in files)
File.Delete(file);
RickZeeland
31-Jan-21 10:04am
View
We can't tell where you save your text files, only you know :)
RickZeeland
29-Jan-21 4:29am
View
Sorry about that, it should be:
System.Diagnostics.Process.Start(@"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", arguments);
But that does not seem to work either ...
RickZeeland
28-Jan-21 3:11am
View
Did you set any breakpoints maybe? do you see any errors?
RickZeeland
27-Jan-21 12:19pm
View
That seems like the Excel file is using macro's to fetch the data. You will have to try to open these macro's which are mostly written in VBA to know what they do. If you can't, ask the manufacturer for more information.
RickZeeland
26-Jan-21 4:46am
View
Can't you use an alternative CI software that runs on Windows?
For .NET development TeamCity would be a better choice.
RickZeeland
24-Jan-21 8:43am
View
From the above example you only need the attr.Value to display the values you want.
RickZeeland
24-Jan-21 7:36am
View
As you can see in the above example you can also get the text without using any classes, this is probably the simplest way for you.
RickZeeland
20-Jan-21 7:08am
View
Do you see "Access denied" ? then try running as administrator.
RickZeeland
19-Jan-21 12:18pm
View
Thanks for the warning, could have known by the name "TutorialDost" that the site was DOS oriented 😊
RickZeeland
19-Jan-21 5:45am
View
Just Google "quarter dates 2021" to see the standard dates
RickZeeland
19-Jan-21 3:46am
View
A miracle! 👏
RickZeeland
19-Jan-21 2:50am
View
Thanks, sadly no beer icon here :)
RickZeeland
18-Jan-21 7:13am
View
So you want each client to have it's own database (SQL Server I assume) ?
RickZeeland
17-Jan-21 14:45pm
View
Do you have the source code? if so what language is it?
RickZeeland
17-Jan-21 9:28am
View
Deleted
The name alfa for your variable is confusing to me, you don't mean alpha transparancy here? See: https://docs.microsoft.com/en-us/dotnet/desktop/winforms/advanced/how-to-draw-with-opaque-and-semitransparent-brushes?view=netframeworkdesktop-4.8
RickZeeland
17-Jan-21 3:27am
View
Take a look at button2_Click() in the last example, it does not open a new form.
And remember: I do not have your complete code with all the forms and datagridview!
Show More