Found an odd bug in VS today, for a .Net 6 VB project the Application tab of project properties wouldn't open, I got "an error occured trying to load the page":
Same for Package tab.
Wondered if it was the VS 17.2.6, but another new .Net 6 VB project worked fine. Started dissecting the one...
...Sub Test()
Dim totalA As TestCount
Dim counts As New List(Of TestCount)
Dim files = IO.Directory.GetFiles("J:\projects\SomeFolder", "*.vb", IO.SearchOption.AllDirectories)
Await Task.Run(Sub() Parallel.ForEach(files, Sub(file)...
Let's say there is a nested loop where each item has some processing time, each item should be reported (to UI) when finished and the items must be reported in work order. Here is pseudo code of the problem:
for A
for B
process AB
report progress AB
Progress report must be in...
I have for some been getting weird exceptions from code to add items to a dictionary like this:
If Not dct.ContainsKey(item.Key) Then
dct(item.Key) = New List(Of String)
End If
Once every million operations I'm sure I got NullReferenceException before (previous VS version), but could not...
My latest Visual Studio discovery is that vertical scrollbar can be set to map mode for quicker navigating the source code file with a visual preview, see here:
How to: Track your code by customizing the scrollbar - Visual Studio | Microsoft Docs
The article says bar mode is default, and I...
Some thoughts about new Defender feature controlled folder access.
Windows 10 Fall Creators Update includes a new feature for Defender called "controlled folder access", which means folders can be protected from unauthorized changes. By default it is not enabled, but enabled it will protect...
This is basically an update of an old Remoting example I posted here 10 years ago, this example does the same with WCF.
This VS 2015 solution contains three projects, configured as multi-startup:
WCF Service Library, includes the interface and implementation for one method, GetScreen, that...
I used the GhostScript.Net library in a project that needed to show images of PDF pages and ran into a couple of problems.
With simple code like this I got a cryptic FormatException "Input string was not in a correct format." for some files:
Imports Ghostscript.NET.Rasterizer
Dim raster As New...
Anyone tried this? Windows App Studio - Free Tool to create apps in Windows Stores|Microsoft
In short: create Windows 10 apps without programming - as advertised you can optionally extend the apps using its generated code in Visual Studio.
Visual Studio 2015 was released today, here is blog post about it MSDN Blogs and it can be downloaded here: Visual Studio - Microsoft Developer Tools
VB language is now version 14:
Visual Basic .NET - 14 Top Improvements in Visual Basic 14
New Language Features in Visual Basic 14 - The Visual...
Running VS non-elevated will not make debugger request elevation for the debugged app by itself. This is something I had to search a while to find, so I share this simple tip here. Maybe I should have thought of doing that myself, but I had to search a long while before I found this in a forum...
Some interesting news of near future of VB language in VS 2015:
Visual Basic .NET - 14 Top Improvements in Visual Basic 14
#1 'extract method' refactoring has been on my wish list for some time (and researching how to write such extension is on todo list). I usually start with unstructured...
MSDN library now enforces https urls. It is probably the number one learning resource that we link most to here. The old and discontinued vbSEO plugin that provides the very useful functionality "Automatic Title Retrieval for External Links" at these forums does not work for https urls (and...
Since I added a proxy server in local network I can no longer use local help (Help Viewer 1.1), viewer content will only show an error page coming from my proxy. The local help urls are 127.0.0.1 ones. Computer internet settings are set to use a wpad.dat configuration file (that also exclude...
Check this out: Edit multiple lines of code at once in Visual Studio | Fiona TG
This also works in VB 2010 (Express), and I never knew about it until now, so cool! :)
Have any of you tried VS development with a touch screen? Laptop or desktop screen? Any experiences you want to share about that good or bad? Getting arm fatigue and stiff neck? 'Pointer' precision compared to mouse? Can everything you do with mouse be done with touch also?
I have an application that has some data/settings that is stored locally, there's also option to backup/restore which zips the data files to local/remote storage.
Remote storage is used to transfer/sync data between computers at different locations.
Lately I added option to put/get the backup...
The same issue posted here Extra Lines using SyntaxHighlighter for Chrome Only? - Stack Overflow is also seen in this forum using Chrome browser.
It was also reported today in "Issues" at SyntaxHighlighter website here: Many extra lines
I just started using Chrome this summer and haven't noticed...
When trusting a network share (url) at machine level the app runs ok, but when applying same trust only at user level it does not. Anyone knows why?
According to documentation "The set of permissions that an assembly receives is determined by the intersection of the permission sets", so it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.