Search:
Type: Posts; User: i00
Search:
Search took 0.31 seconds.
-
Hi Paul,
This is not suitable for me as I am loading a file from the file system ...
I just did this example up to demonstrate that the image is not filling the space correctly (and to check that...
-
I am trying to draw an image in a panel... The panel is red - the image is 8,8
When I have the following
Private Sub Panel1_Paint(sender As Object, e As PaintEventArgs) Handles Panel1.Paint
...
-
If the programs it needs are yours and they should run in the background - these should probably be run as services; and run your app itself in kiosk mode..
I am not 100% sure - but I think that...
-
What are you using to create the installer?
The icon for add remove programs gets written to the registry by that. e.g:...
-
I did this ages ago and would advise using the DirectX stuff ... it "monitors the application" so if your app crashes it restores the resolution automatically; rather than setting it permanently....
-
I know you did this with a manifest ... but I find it generally better to execute only parts of my program with administrator access...
I detailed how to do this here:...
-
Hi,
I had an MVC project that I did a while ago (orig in VS 2015); and now went to use it on a new computer I am using (2022) and the references all look like they are working; but the code isn't...
-
Well ... you technically could through reflection - you can actually change the CLR in memory (search "emit c sharp")... I would never think that this is a good idea though :P
Yes a variable would...
-
Hi,
Just wondering if anyone else thinks that VS 2022 auto imports is worse than it has been previously?
I have had it add imports to things that:
are completely irrelevant
are not even...
-
Ok... it seems that they are selected in the HKEY_CURRENT_USER part:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png\UserChoice
But when I go to...
-
Good thinking, but it does not make a difference :(...
I did just realize though all of these entries that I have seen have an "OpenWithProgids" key directly under the extension... I am guessing...
-
I understand what you are both saying, but that is NOT what I asked, and I know that some apps may not be installed to open an extension; this is not what I asked.
My point is that some...
-
Ok ... so I need this for a .Net app I am developing.
For years you could look up the ext as follows:
(Pseudo code)
Dim FTypeName = "HKCR\.docx\."
Dim FTypeAction =...
-
Ok ... just found out .StartFigure() ... I had been looking for something to End rather than start it as this is how CloseFigure works :P
-
Hi,
What I want to do is draw some arcs using GraphicsPath.AddArc()
The issue I have is, when I call CloseFigure(), the arc gets filled.
If I do not call this, each arc start is attached to the...
-
I did this in a project of mine from scratch:
183639
And I can tell you - to do it properly is not a trivial task... ~900 lines ... but allows the developer to add custom functions, operators,...
-
Actually jmcilhinney it does = Type if you do it in the designer and set it to Object.
.. it then provides the properties of that type to other controls for use.
Then at runtime you fill it with an...
-
If I create a property on a user control to reference another control e.g:
Public Property BindingSource As BindingSource
I can select a BindingSource control that has been inserted on the form...
-
Hi,
There is a multitude of examples out there that use analyze code within the build process or with VS addins etc... (like this)
But I want to write a light(er) weight standalone app to perform...
-
You can actually completely paint over the tab control without using fixed tabs as I have done here:
https://www.vbforums.com/attachment.php?attachmentid=181503
181503
(yes that is a standard...
-
You could set the BorderStyle to None then house it in a control / usercontrol that you draw the border for.
I have actually done something like this before, as the RTB border isn't the same as...
-
Hi,
I am poking around another app (opening it and manipulating it)
I want to force kill the process in my app, but do not want to use Process.Kill on it as it appears to ask the app to terminated...
-
Are you saying that it uses a message only window and can't be captured?
Also as stated clipboard monitoring will not work, since I need the selection area from the console, by the time it has...
-
Cool, also cheers for the credit on your page ;)
is that a rich text control in your screenshot?
I ask because unfortunately there is no good way to draw over the control.
Also you state "it...
-
Sorry about the delay, will try to be more active on here :P..
How exactly are you trying to notify the user, do you mean the red underlines?
-
I would just use a regex replace and not do the check...
Also with your examples if they end with ous every occurrence of ous in the string will be replaced!
With the $ at the end in your pattern...
-
That seems a bit dodge and won't work anyway...
I need to get the selected text, and when you copy the selection has already cleared; I need the selection to get the formatted selection from the...
-
Hrm.. I really didn't want to use keyboard hooks for two reasons:
- I have seen virus scanners pick any keyboard hook up as a virus
- I am doing A LOT of extending of the console and will...
-
Yes ... I just tried this and it doesn't seem to work (GetConsoleWindow) below:
Imports System.Runtime.InteropServices
Imports System.Windows.Forms
Public Class Module1
Shared Sub Main()
...
-
As I stated in the OP: "cannot by other means" ...
The key combinations I want to capture do not trigger the standard key events!
-
Hi,
Just wondering how we can WndProc for console applications?
I want to capture some key events that I cannot by other means.
Thanks in advance,
Kris
-
Ok ... worked it out .. need to use:
Fill this way with Chr(32) via API:
FillConsoleOutputCharacter(OutputHandle, Chr(32), 1, cord, CellsWritten)
-
How can I clear part of a consoles output??
E.g if I have this:
Console.WriteLine("The quick brown fox jumped over the lazy dog" & vbCrLf & "The quick brown fox jumped over the lazy dog")...
-
-
If you are downloading the file yourself; you may want to download it via "other" methods... such as spitting it out to the file system via a file stream to not cause the blocked attribute to be set....
-
Ok...
It seemed to be at first glance ... but now when entering > 126 chrs with Console.ReadLine I need to press enter 2x to get it to register?
Also Console.BufferWidth = 120 ... so probably...
-
I am actually in Australia ... so all 8's and ∞'s are always written upside down here :P ...
Server 2019:
{System.Text.SBCSCodePageEncoding}
BodyName: "ibm850"
CodePage: 850
...
-
If using 2008 + you should also use using blocks where possible
e.g. on your:
con, cmd, rdr, and ms
See:...
-
Ok ... so in a command prompt:
c:\>echo ∞
∞
...as expected in both Windows 10 and Server 2019
but for some reason when I go (and enter "∞" for the readline):
Dim Data = Console.ReadLine()...
-
OK...
Figured it out :)
Dim Body = Expressions.Expression.Convert(Expressions.Expression.PropertyOrField(pSource, PropertyName), GetType(IEnumerable(Of )).MakeGenericType(TargetType))
|
Click Here to Expand Forum to Full Width
|