None of them worked. Unicode and UTF32 made my batch file unreadable causing an error when executed. However UTF8 seemed to work but again it didn't remove that shortcut.
Hello, I made a batch script using VB.NET which deletes shortcut on my desktop. The problem is that shortcut title contains unicode characters so batch doesn't work. However if I remove that unicode character from the shortcut and batch script it does delete the shortcut. How can I make it...
The thing is that I use a complicated way of calculating the progress of an installer. But it errors in some cases, if the decimal sign is nonstandard. So I need a workaround.
Hi,
I m working on a windows application using VB.NET. Using borderless forms. Can anybody tell me how to minimize / restore that application by clicking from taskbar. (I already added minimize button into the form) but also want the functionality from taskbar. Thanks in advance.
Yup I was thinking the same. Ok so here's the code that I have
Public Class Form1
Dim batch As New Process
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.Hide()
Me.Visible = False...
Yeah you're right the code was a bit wrong. Anyway your method didn't work, the uninstaller doesn't even load anymore O_O. Good thing I came up with another code and now this case is solved.
Imports System.IO
Module Module1
Sub ProcessTree(ByVal Dir As String)
Dim DirObj As New...
Thanks for your reply. I did everything you told. However I get an error saying that scrrun.dll does not exist though I checked it myself and it does exist.
Hello, I searched the forum for solving this issue, but couldn't find one. I made an uninstaller which uninstalls certain application. However this application have lots of read-only files and folders and my uninstaller isn't able to remove any of them. So I need a code that would do so. Thanks...
Hello, how can I make load "DXSETUP.exe" at center screen position using this code? Thanks.
Private Sub Panel3_MouseClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Panel3.MouseClick
Try
Me.Hide()
Threading.Thread.Sleep(2000)...
Well I managed to create a code but now I get an error within a code
Imports Microsoft.Win32
Public Class gui_dx
Dim regkey As RegistryKey
Dim ver As Decimal
Private Sub gui_dx_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
regkey =...
Hi folks I'm creating a WindowsForm application and I need a code to check target's machine installed version of DirectX.
If the reg key doesn't match with provided one >>> load the form and launch the DX installer "redist\directx_Jun2010_redist\DXSETUP.exe"
If the reg key matches with the...
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.