Detect If Abc.exe Is Active/on Top/using Etc?

Mar 30, 2011

With active i meant for example you are using browser now, so its active when you skip to another window, its not active anymore

View 1 Replies


ADVERTISEMENT

VS 2005 Get The Active Control Of The Active Form?

Mar 30, 2009

I want to get the active control (control which has the focus or where the cursor is on) each time the cursor moves to another control or each time a control receives a focus.

View 5 Replies

Get Query Active Directory With The Pc Name And Return It's Path In The Active Directory Tree

May 9, 2006

I'm a developer for a College we have an active directory.I need to query Active Directory with the Pc name and return it's path in the Active Directory tree.

View 3 Replies

FlashWindowEx Doesn't Work While The Application Is Active But Does When Another Application Is Active

Apr 2, 2010

I have a standard Visual Studio 2008 VB.Net WinForm application, running on Vista Business. One of the forms has a timer that passes Me.Handle to FlashWindowEx. This works as intended as long as none of the windows that belong to this application are the Foreground window. If this program is running and another application's window is the Foreground window, then it flashes as intended. If, however, any of this application's windows are the Foreground window, then it doesn't flash.

[Code]...

View 2 Replies

.Net Get Datagridview Which Is In The Active Tab?

Aug 24, 2011

I've got a form, with a TabControl which has a DatagridView on each of its tabs.

I would like to be able to access the datagridview which is on the active Tab.

I guess code could look something like this:

Dim
mydatagridToExport As DataGridView
mydatagridToExport = TabControl2.SelectedTab."Some code to access the datagridview on this tab"

View 3 Replies

Active Directory In .Net?

Jul 1, 2009

How can I get a list of computers and their properties from Active Directory using VB.Net and Visual Studio 2008?

View 3 Replies

Get Active Workbook Name Only?

Mar 16, 2010

how can i find all the open excell workbooks

View 2 Replies

Get Name Of Active Control?

Jul 3, 2011

I would like to get the control name, regardless of if its on the projects form or not. put it in a thumbnail following the mouse...

So if i open up notepad it would give me the active control name...

View 5 Replies

Get Name Of Active Exe On Network Pc?

Oct 30, 2009

How could i get name of Active exe on Network pc?

View 1 Replies

Get The Last Active Control?

Dec 24, 2009

I have 9 textboxes in 1 form and couple of buttons to add unicode symbols inside the last active textbox when the button is pressed. So how do I find out which textbox was last active when the button was pressed.

View 10 Replies

Get The Name Of The Active Control?

Dec 19, 2009

how to get the name of the active control in Visual basic

system.reflection..... that doesnt work

like i use addhandler so if I do that it gets me the name of the adress of the original control

Also, I'm trying to get a toolstripdropdown menu as a bookmarks thing; how can I get the name of the selected dropdown item?

View 3 Replies

Get The Name Of The Active Window?

May 19, 2010

How can i get the name of the active window? like Internet explorer.

[Code]...

View 9 Replies

How To Know Name Of 'active' Node?

Jun 5, 2009

The only way I currently find for it is by the "AfterSelect" event (the 'e' object and then e.node.text). But how do I get the active node.text when I need it by another event?

View 2 Replies

Keep GUI Active While Processing?

Mar 15, 2011

How can I keep the GUI active for my windows form application if I am processing some data in db and my process is waiting for result ?

View 2 Replies

See If Textbox Is Active Or Not?

May 26, 2011

I have 2 textbox control in my form.How do I get my program to know which textbox is active(user is currently typing or the caret/cursor is in the active textbox)

View 6 Replies

.net - Active X Development: VC++ Or VB Or Other Technologies?

Mar 6, 2010

We are in the process of creating active-x controls used within our application. Since Microsoft stopped supporting classic Visual Basic, is it wise to use Visual Basic to develop the Active X control or the latest VC++/ATL/MFC libraries provide more feature where we can create controls faster by leaving Visual Basic flexibility?

We will not be able to use .NET/VB.NET/C# since the application is supposed to work inside containers and containers may not support latest .NET runtime.

View 4 Replies

Access Active Directory Via .Net?

Mar 25, 2011

I having a program built in VB.Net and would like to take in the users windows name and then compatre that with a security group in AD, if they are in a certain group then redirect them to the next page otherwise block them.I have tried many ways using many different snippets of code from different forums, but cannot find a code piece of code that works?

View 6 Replies

Active Directory - ID For Each User?

Feb 15, 2007

I would like to have all properties on a user from active directory. I find some property name as :
distinguishedName, SAMAccountName, sn, givenName, TelephoneNumber, mail
If you have a list of property? As each user has an ID in AD ?

View 5 Replies

Active Directory Display Name?

Jun 17, 2008

I'm having a weird problem with active directory and the display name attribute. I can create an AD account with no problems, the account shows up, I can log on as the account, everything appears to be working as intended. The problem is, our company requires that the display name be in the form of "Lastname, Firstname". Thats all fine and dandy when you create an AD account use the MMC snap-in, you type in the users name as "Lastname, Firstname" in the display name field and when the account is created, the display name shows as "Lastname, Firstname" as you would expect.

The problem I am having is this, whenever I create an AD account programmatically, I can't for the life of me get the display name to show up as "Lastname, Firstname". The displayname property is set as such, checking the AD account using the MMC snap-in shows the display name is set correctly, but when looking at the list of user accounts, the account is always displayed as the users username. The account name I am using is "Test User", see pic below.

if you try to rename the account, the field it tells you it is editing is called Full Name? I can't find a property in AD even called Full Name so I am completely confused, here is a picture of me trying to rename the programmatically created account, as you can see, the display name field is set correctly even though it doesn't display that way. And of course, after renaming the account as seen below, the display name shows up correctly as "Lastname, Firstname"Here is the code I use to create the account, just for reference.

Public Sub CreateActiveDirectoryAccount(ByVal sUserName As String, ByVal sFirstName As String, _
ByVal sLastName As String, ByVal sUserPrincipalName As String, ByVal sPassword As String, _
ByVal sHomeDrive As String, ByVal sHomeDirLocation As String, _

[code]....

View 2 Replies

Active X Image Control?

Mar 14, 2010

The following code lets me insert an image into an Active X Image box using 'GetOpenFilename', however, if I push the Cancel button I get an error saying that the file cannot be found. Can anyone provide me with some advice on how to handle this error, the code is below?

Private Sub Image1_Click()
Dim ImageOneLocation As String
ImageOneLocation = Application.GetOpenFilename

[code]....

View 3 Replies

Asp.net Active Directory Logging In?

May 24, 2009

i would like to be able to login on a webpage using a valid active directory username and password.user name and password are entered in textboxes. if they are correct then i would like to redirect to another page.how can this be coded.in a second task after some code is performed, log in as an administrator using code and unlock the account.i have heard that this is called impersonation. how can i perform the above?i'm using visual web developer 2008 and vb.net

View 1 Replies

Binding With Active Directory?

Jan 11, 2011

Im trying to connect to AD and carry out some basic tasks for a .Net application written in VB .Net. I would like to create the application so when it loads, it automatically binds to the default AD domain that the user is logged onto. This has led me to writing the code

Dim domain As DirectoryEntry = New DirectoryEntry("LDAP://DC=domain,DC=com", Nothing, Nothing, AuthenticationTypes.Secure)
domain.RefreshCache()

But this doesnt work.

View 8 Replies

C# - Active Handler In One Application From Another?

Apr 26, 2010

How I can run handler from one application to another, for example:
In application one I have form1 and button.
In application two I have also form1 and button.
Now how I can run handler for button on form1 in first application from application two?

View 2 Replies

C# - Connect Passive STS To Active STS

Mar 12, 2012

at the moment I have a single active sts. The sts validates the user with a custom user/password validator. The sts is used for different windows services. Now I'd like to write a asp.net application that uses the sts for login. Later I'd like to change the sts authentication method(e.g. to windows authentication).

What is the best solution for connecting a asp.net site to an active sts. Do I need a passive sts?

View 1 Replies

Can Zoom Form While It Is Active

Mar 20, 2012

i want to know is there any way i can zoom my form in vb.net. i could resize the form and byanchoring all controls to left top right bottom i can make it look like zoom. but it is not actually zooming. it is resizing. while font size and other formats are still as same.

View 1 Replies

Checks That The Connection To OPC Is Active And If Not?

May 7, 2010

I am using a third party OPC library.I have a routine that basically checks that the connection to OPC is active and if not, waits 10 seconds and reinitializes by calling a .disconnect / .connect on the third party library's object.The OPC connection somewhere in its chain is using a com object that dislikes this behavior due to the object belonging to another thread.Ordinarily I would invoke a delegate to get the call back on the correct thread, however this base class does not implement ISSynchronizeInvoke.

Is there another way to make sure a a call to to an objects methods occur on the thread they were created on from within a system.timers.timer which is obviously running on another thread?Error message is: "The application called an interface that was Marshalled for a different thread. (RPC_E_WRONG_THREAD)"I know, kind of vague without a whole LOT of sample code, looking for pointers on where to even begin looking.

View 5 Replies

Deduct Method Not Active?

Jan 31, 2010

Trying to make a calculator. What this subroutine is intended to do is filter out the negative numbers before (accomplishes the task) and also increment the count, n=n+2 so a subtraction can occur (not adding to). Alone the program runs but in the whole it does not. After debugging n has not increased which means the inputs between fuse together to make one bigger number which is bad. For the input1 minus input2 to occur the num1lock must latch to get a valid answer (this does not happen).

Private Sub Button12_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button12.Click
'-subtract sign
j = 0
If n = 0 Then

[code]....

View 8 Replies

Determine Active Form Name?

Apr 20, 2010

When debugging in VB6 it was easy to find the name of the active form because it was automatically highlighted in the Project Explorer.

How do I find the name of the active form in VS2010?

View 7 Replies

Determine If TabPage Active Or Not?

Jul 4, 2011

I tried this:

If TabControl1.SelectedTab = TabPage2

But it didn't work.

View 2 Replies

Determining The Active Window Name Or Id

May 1, 2011

im using VB 2008 is it possible to get active window name or id? for example i have active notepad window, now how i can get it's process name or process ?id(better is process id)

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved