hi..
i am new to vb , how to hide windows status bar while running my .exe file...
plz help me
2 2617
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: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |