hi..
i am new to vb , how to hide windows status bar while running my .exe file...
plz help me
2 2614
Hi Ramesh,
you need to have a little bit knowledge on API to be able to do that.. good luck my fren.. :)
Hi Ramesh,
try out the code segment below.. it works for me and hope it works for you too.. good luck my fren.. :)
Declarations
You just copy this code into the declarations section of your project. -
Declare Function SetWindowPos Lib "user32" (ByVal hwnd _
-
As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, _
-
ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal _
-
wFlags As Long) As Long
-
-
Declare Function FindWindow Lib "user32" Alias _
-
"FindWindowA" (ByVal lpClassName As String, ByVal _
-
lpWindowName As String) As Long
-
-
Const SWP_HIDEWINDOW = &H80
-
Const SWP_SHOWWINDOW = &H40
-
Code to Hide the Taskbar -
Dim Thwnd as Long
-
Thwnd = FindWindow("Shell_traywnd", "")
-
Call SetWindowPos(Thwnd, 0, 0, 0, 0, 0, SWP_HIDEWINDOW)
-
Code to Show the Taskbar -
Dim Thwnd as Long
-
Thwnd = FindWindow("Shell_traywnd", "")
-
Call SetWindowPos(Thwnd, 0, 0, 0, 0, 0, SWP_SHOWWINDOW)
-
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Glenn |
last post by:
I've tried both the FileInfo class as well as the old VB
file io methods to access a file on a netware server from
a Windows Service build using VB.Net and no method I've
tried works. I get a...
|
by: scorpion53061 |
last post by:
This is a windows vb.net app that is using SQL Server.
I have 1(one) customer who receives this error out of the 400 or so that use
this software. The error and statement are below. I also know...
|
by: M O J O |
last post by:
Hi,
I've developed a Windows VB.Net CRM application for my company.
I need my own CRM application to be able to replicate it's calendar
with my Pocket PC 2003 Outlook calendar.
Understand...
|
by: Rothariger |
last post by:
hello i have an windows vb app, that must to connect to an webapplication
asp.net the problem is that the site have basic authenticacion...
ok i have done this...
Dim strURL As String =...
|
by: Adrian |
last post by:
Hi
No sure if xlst is the correct choice! or if it is how I would use it
from within a windows VB application!
I had XML data help in an xmlelements object and I want to format the data
and...
|
by: shil |
last post by:
Can any one help point me in the right direction?
I am building a small application in Windows app using VB.NET.
I have a Datagrid which is bound to a set of controls in another
pane below it...
|
by: shil |
last post by:
Is there any possible way to create an email attachments from an URL
in windows vb.net application? I'm using frame work 2.0,
System.Net.Mail component.
If I attach a file from my file system,...
|
by: LegalIT |
last post by:
Hello,
I have an application that loads a set of database records into memory. I then have buttons to move to the first, next, previous or last record.
I would like to add a horizontal scroll...
|
by: brendan_gallagher_2001 |
last post by:
Hi
I am seeing some strange behaviour on a windows (vb.net 1.1) service.
Basically, what I see happening is that when the Timer1_Elapsed event
fires, it attempts to execute Timer1.Stop() but...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM).
In this month's session, the creator of the excellent VBE...
|
by: MeoLessi9 |
last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: Aftab Ahmad |
last post by:
Hello Experts!
I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
|
by: Aftab Ahmad |
last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below.
Dim IE As Object
Set IE =...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: marcoviolo |
last post by:
Dear all,
I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
| |