Search:
Type: Posts; User: riov
Search:
Search took 0.03 seconds.
-
At least in one of my PCs that is really the case. I will check my other setups a little bit later. However, issue still remains for console apps.
-
I have tried it on VS 16.2.0 and VS 16.5.5. I have different PCs, which have different OS.
-
Not in my case:
https://snipboard.io/EVix7A.jpg
-
OK, I have installed the latest version of VS and I have tried it again. It is not working.
Sub Test()
Static foo As Integer = 5
Stop
Console.WriteLine(foo)
End Sub
-
There is an old bug that does not allow you to debug static variables in VS. Can I please ask you to vote on this issue so that it gets fixed? Link.
-
Yes, Pretty listing option is turned off in my VS. I was not aware that it and Format Document do the same thing.
On the further investigation it looks like there is no way to disable this...
-
' Before
Select Case value And &B00111111
Case &B00000100 :
Case &B00010000 :
Case &B00100001 :
End Select
' After
Select Case value And &B111111
Case &B100 :
-
When I use a Format Document feature (Ctrl+K, Ctrl+D), my binary literal gets reformatted so that all the leading zeros are removed. For example, &B0001 becomes &B1. How can this be avoided so that...
-
You do not know what I am trying to use it for. To put is simply, it will be used to visually recognize patterns in data sets. I see absolutely nothing wrong with having many columns in this case.
...
-
I am facing a issue that ListView becomes extremely laggy when I add many SubItems. For example, when I try to do a horizontal scroll, it takes about 1 second to update/repaint and that is not...
-
Unfortunately, it does not help.
-
Is there any way to force FileDialog's locale? Setting thread's culture has no effect.
Dim t As New Thread(Sub()
Using o = New OpenFileDialog
o.ShowDialog
End Using...
-
Unfortunately, under further investigation it looks like it is impossible to hide that Help button. The reason is that it has no hwnd as it is drawn by DirectUIHWND. I can get a list of its...
-
Yes, I can find that button, it is called "&Help". Given that IModalWindow::Show is a blocking call, it would be complicated to use ShowWindow API to hide it. I was hoping to use IFileDialogCustomize...
-
Is it possible to hide/remove Help button in Vista style dialog?
-
I believe using MyApplication.UnhandledException as the single global unhandled exception handler would yield unexpected results.
For example, this exception will not be caught when placed in...
-
Thank you for such an extensive answer.
1. I must say there is quite a lot of contradiction on this matter. For example, here it is suggested to use the first two events, here - all three events and...
-
As far as I know, there are 3 events that are fired when unhandled exceptions happen within Windows Forms application: Windows.Forms.Application.ThreadException,...
-
I know how to build a basic structure and basic class, I also know that structure won't work with my given example as it is not a reference type, hence adding values to the list won't be possible...
-
I don't see how namespaces solves my issues.
I am trying to make the above code to work without errors and I have listed two requirements.
-
I want to create a bit more complicated class, but I am not sure how to do this. Here is an example of what I want:
Dim foo As StructSubstitute
Class StructSubstitute
ReadOnly Property Main...
-
It lists some, but not everyone. For example, I don't get "Adobe Photoshop CC 2014 Object Library" and some others that I am looking for. I have tried changing InprocServer32 to InprocServer64, but...
-
How can I get a list of all COM references that I see in Reference Manager?
NET 4.5.
-
-
Can anyone provide a working example how to read Shell's StdOut under VBA7 (64-bit) using CreateProcess and ReadFile APIs? There are many working examples how to do it in 32-bit mode (e.g....
-
My current project is made of 4k+ lines of code. I really don't want to paste it here.
And my sample project is made of 2 Subs (BackgroundWorker1_DoWork & Button1_Click), all the rest is commented...
-
Here is a video: http://screencast.com/t/R8L5fLvetfVa. As you can see after pressing Button1 UI freezes, then it becomes responsive.
But here is the thing, if I remove those two buttons (#2 and...
-
As I said in my previous post, BGW class is not helping in this case.
I dare to disagree that Task.Run is sync. This code is not freezing UI:
Task.Run(Sub()
Do...
-
Private Sub BackgroundWorker1_DoWork(sender As Object, e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
Dim ba As Byte()
ba = File.ReadAllBytes("C:\1GB_file")
...
-
It does not help. UI freezes as before.
-
How to read huge file into memory and not freeze UI? Speed is important.
Threading does not seem to help:
Task.Run(Sub() ba = File.ReadAllBytes(fp))
-
Mystery solved. VS by default adds icon to every new project. Its size is 10.1 Kb. If I remove icon, I get exe which size is 14.3 Kb. That's good enough for me.
-
Sure. No problems with that.
One question remains unanswered, why there is exe that is more than 2x smaller and is not empty. In that case overhead is about 10 Kb, and I want to achieve that.
-
I got curious why empty project (WFA with an empty Form; only two references in the project; Release mode) generates exe which is 24,6 KB big? I have found by accident exe file which size is only...
-
ident, spot on, thank you!
techgnome, nope, I am trying to modify List, I don't care about UI and I don't want to alter anything on it during DoWork.
-
So, can anyone suggest anything?
Even if I choose to go with Control.Invoke, I can only think of a way that would invoke control on each update (that means 10k+ times) and that does not sound great.
-
I wasn't originally passing List, but then I found this example.
Yes, you are right, += needs to be changed to &=.
-
Not sure how can I explain my goal simpler.
1) I read some data from many files into List(Of ListViewItem), when completed
2) I update ListView using AddRange (I don't need to update it on the go),...
-
And I don't want to - that's the point. I want to edit List, I don't want to edit control, but VB does not give me such an option.
I am trying to edit List here:
For Each item As ListViewItem In...
-
kebo,
It is quite interesting that MS calls it a feature. Btw, moving code to Form1_Shown does not change anything. I can put for example this and get no error: Dim a, b, c As Integer : a = 5 : c =...
|
Click Here to Expand Forum to Full Width
|