I am trying to implement a blackout window for a application that I am developing. What I want is the run the task when the time is outside the Blackout window.Here is what I have developed so far, but I am not sure if there is a more efficent method of doing this.Blackout window goes from 10pm at night to 7am the next day...everyday.
Dim Time As Date = DateTime.Now
Dim BlackoutStartTime() As String
Dim BlackoutStopTime() As String
For example, a user logs in and sets his status in SQL Server to active. While using the program, it suddenly blacks out. The status in SQL Server remains active. When the user logs in again, he can't access the same account in the program because in SQL Server the status remains active. How can I set the status to inactive during blackouts?
Excuse me for posting this, but I have searched both Google along with this forum before asking this question, maybe I'm not using the right keywords but I apologize if it's easy to find.I would like to know how one could close a third-party window (application) if a specified string was found in the window title.
If you have ever noticed in the Task Manager, when you right-click on the running task, you have many options which include 'Minimize' and 'Maximize'. Is there anyway to do achieve this in vb?
I have some coding which basically edits my text file and removes the duplicates. For some reason when I run it, it hangs my application for like 10 seconds - the coding does work just hangs my application..[code]
I am in need of a small application, that will allways be topmost and will send keystrokes to the last active application (typically notepad or an explorer window). My problem is retrieving the current active form (or application), when my application is started up. Every search seems to return old and rather complex solutions using Win32 library functions, but I was kinda hoping, that .Net allowed for a neater and more simple solution.I need a code example or link on how to retrieve the currently active application window from another application just starting up.
Say we have a DataGridView on the main form. I can chose to establish its properties by code or by selecting them in the Properties panel. Is there a difference between these two techniques, a loading time penalty in any of the cases especially?
I need to run an external JAR file (which is minecraft) within the window (form) of a VB.NET application, so like having the program in the center and additional text I like around it.
I am not able to find the Exclude Command in VB 2010 Express. I have no idea which version of Visual Studio it is working with. I've got one 217MB VB 2010 Express file and many 2008 VB Express files with one of them measuring 31 MB. There many other SQL files and .Net Files.
i want to launch the calculator within my vb main window.i have used this before in another app but can't figure out how to duplicate it using vb.net 2010
I use VB with Visual Studio 2010.I have use the example code from the Microsoft Homepage: [URL]Its work fine!Now I have an application on my computer, there I want to send keys via SendKeys to another application.In the sample code is listed:
Dim calculatorHandle As IntPtr = FindWindow("SciCalc", "Calculator")
How to use httpUtility.encode and decode in window application. I implemented a window application. This application use web request to web server. The web server response http encode version. So, How I decode in window application.
developing chat server which as a console application but i want to open that console when i click on to the window form button and another button to close that console application. so how to do that in window form to open console
i have a window form application, now i want to run it into browser on server so that user can run it on server. What is the best way to do that The language is vb.net
I need to write a program that works like a parent midi form to an external windows based application.The reason is that the application needs to be in a kiosk mode when running, and my wrapper midi form will manange the launch and closing of the windows based application.
I have a VB.NET form that takes up the whole screen. On Windows XP, the taskbar is not displayed when moving the mouse to the bottom of the screen. I have auto-hide set, and the taskbar is not locked. I tried the same thing on a Vista computer and it works fine. What am I missing on Windows XP? I need the auto-hide feature to work for my app like it does for other Windows apps.
I am developing an application for the first time and need guidance.Developement Env: Visual Studio 2005 Pro, Visual Basic 2005 , Windows XPApplication Target: Windows XP & VistaI developed the application under a screen resolution of: 1680 x 1050 pixels. When the application is installed on any computer with lower resolution, my application window does not size properly and many of controls end up "messing up". How can I fix this issue?Also, I have noticed when I resize my application by dragging the bottom right-hand corner the application does not really re-size, it just gets covered. I am attaching 2 skeleton snapshots of my application below....Image before resize (1680 x 1050 pixels) Image after resize (1680 x 1050 pixels)
I want to create a button that can hide an exe application. As example: this application will start spider.exe when page loads. I need a button that can hide & show the spider.exe. How can I do it with VB.NET, C#, or Java?
In my solution I have 3 project and I want to create the single config file for all project, I mean instance of creating config file for all the 3 project I am creating one config file in the solution level that serve the purpose of all the project.
Now when i am reading the config file I am writing like this , in one of the project-
I'm creating window application with VB.NET and Access2003.the problem is : how do i store the connection string in the app.config file that include the application.startup path? Dim connectionString As String = "Provider=Microsoft.jet.oledb.4.0;data source=" + Application.StartupPath + "db1.mdb;Jet OLEDB:Database Password=hello"
i connect it in each form but i don want this as i want to change it in one place.
I'm attempting to make a program that will simply draw a guide (consisting of two perpendicular lines) on another program's window. I tried using a form with a transparency key and TopMost set to true, but then whenever the user inadvertently clicked the guide, it would un-focus the application. The only lead I could find was a suggestion to "Draw directly on the other application's window". I can't find anything that tells me how to do this, or if its even possible...
So I need to know one of three things: 1) Is it possible? 2) How do you do it? or 3) is there some way to make a form completely un-focusable? The effect I'm trying to get is so that it looks like someone physically drew the line on the monitor itself.