VS 2008 Discover A Window Class Name

Jun 21, 2009

how can i Discover a Window Class Name ?

View 3 Replies


ADVERTISEMENT

Way For Software To Discover Others On Network

Feb 5, 2010

I am developing a system where multiple client apps are going to communicate with a server app. I will probably use TCPIP classes to facilitate the communication.

However, is there a way that a client install can automatically discover the location of the server software on another machine?

View 1 Replies

Discover If Excel Running In Browser?

Feb 1, 2012

I have VSTO Excel addins (.net 3.5) and need to know when the Excel wookbook is being opened in a Browser rather than the Excel client. I haven't figured out a way to do this nor found a solution online and I suspect I am just not using the right seach words. Does anyone know how to do this?

View 2 Replies

Discover The User's Desktop Folder?

Jun 24, 2011

I'm making a little application in visual studio which loads a ROM in an emulator. I have two emulators and 20 ROMs.I made a form and added a few buttons. When you click the Button it opens a new form and closes the old one. Then on the new form I have four buttons: each one loads a different ROM in an emulator. So when you press Button1 this code is triggered:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles yellow.Click
Shell("C:UsersshiftyDesktoppokemon gamesEmulatorVBAVisualBoyAdvance.exe ""C:UsersshiftyDesktoppokemon gamesRomsYellowPokemon Yellow.gb""", vbNormalFocus)
End Sub

It works fine - I click it and it loads the game in the emulator. The bit im having trouble with is the file paths. If I send this application to a friend, it would still look for "C:UsersshiftyDesktop" - but that's on my computer, not his.Is there a way to make the application look for the file on his computer (without changing the file path to (C:Users""his user name""Desktop))

View 4 Replies

Make A Program Discover Its Own Directory?

Oct 7, 2009

I am trying to make a program that is able to find out where it has been saved on the computer, and take that directory and save the output of the program, which is a text file, to the same folder that it is in.

I have already made it so that I can type in the directory in my code, but i want it to be more adaptable.

View 3 Replies

VS 2008 When Logon Window Is Run The Splashscreen Still Open Like Maximized Window

Mar 29, 2011

When I run project splashscreen is popup and then Logon window is run. But unfortunately when Logon window is run the splashscreen still open like maximized window and I cannot see Logon window. How to fix that problem?

View 1 Replies

Application To "discover" Wireless Networks In The Vicinity?

Apr 29, 2011

I would like to create my own application that will simply discover the wireless networks in the area, similar to how the wireless card software works. I don't really know where to start, except with maybe the System.Net namespace.

View 2 Replies

C# - Manipulate A Window Object From Another Class In WPF?

Aug 28, 2011

I'm new in WPF and C#. I know a lot of VB.NET and I'm used to the way when I call a form object like textboxes, etc. I'm calling it from another form. Now, I'm using WPF, I'm confused. Because I have a Main Window. And I want to add and item to a listbox in the Main Window from a Class. In VB.Net , its just like this.

[Code]...

View 2 Replies

How To Refer To Main Window Class

Sep 6, 2011

I created a modal dialog as a WPF window that changes some settings in the main window application. How can I refer to a member of the main window?

View 2 Replies

Class Variables - Preserve The Last Window Position

Jun 4, 2011

I have two forms that are called by the main form. One is named frmEdit, and is invoked by the ShowDialog (modal) method. The other is named frmSearch and is invoked by the Show (non modal) method. In both cases I want to preserve the last window position so each form (class) begins with Public Class frmEdit (or frmSearch):

Dim lastx as Integer = -1
Dim lasty as Integer = -1

in the Shown event handler for each form I have the code
If lastx >= 0 Then
Me.Left = lastx
Me.Top = lasty
End If

and in the FormClosing handler I do
lastx = Me.Left
lasty = Me.Top

What I don't understand is why the frmEdit (modal) form remembers its previous position but the frmSearch (non-modal) does not. frmSearch always invokes with lastx and lasty equal to -1.

View 5 Replies

Refer To WPF Window From Custom Class File?

Apr 14, 2009

I am writing a custom class file which I intend to use with a WPF application. How can I refer to a WPF window from the class file?

View 2 Replies

VS 2010 IDE - Vertical Split Of Class Code Window

Oct 1, 2011

I'm trying to use one project as a reference for writing another project, and I want to see as much code as I can from that project on another monitor. Since Code is only so wide (assuming you break-lines), I have a lot of wasted horizontal space. Is there any way in the IDE to do a vertical split of a class code window? I know you can do a horizontal split, but although that shows you two sections of code at once, it doesn't increase the amount of code you see, because it sacrifices one code's space for another.

View 5 Replies

VS 2008 Adding Class Object To List Or Array In A Different Class

Jun 21, 2010

I am trying to create an list or an array of a class.Here is my "Ingredient" class that I am trying to create a list of:[code]In my "recipe" class, I am want to create a list (or array) and I am drawing a big blank on how to do it. Can anyone point me in the right direction?

View 2 Replies

VS 2008 Component Class - Drag And Drop Control Onto New Class

Nov 21, 2009

I am searching for the Component Class. When I go to "Add New Item" ,in my project their is no Component Class Item in VS 2008. I would like to Drag and Drop control onto my new class and I can't see how to do this ?

View 6 Replies

VS 2008 Reference Parent Class From Inside Child Class?

Apr 11, 2009

I have a 'property management class' that contains several functions and properties. I have several other classes that use the 'management class' as a property to derive the value of several of its other properties.Is there a way for me to reference the outer class from the 'management class' functions without having to pass it as a parameter? I ask because several different classes can have this 'management class' as a property and am having a hard time typing the parameter.

View 7 Replies

VS 2008 Class Within A Class (Inheritance)?

Jan 11, 2010

i have a class call it clsFamily this class contains properties that make up a family object. This class works fine with no issues. Now i need a new class (called MyAccount) which contains 3 properties, an ID a user name and a clsFamily object. I have declared both classes as Friend from within my globals Module and define the clsFamily as family, however when i try to put this type within my 2nd class i get an error "Type 'family' is not defined" what am i doing wrong? i know i could get it to work fine by adding the ID and User Name properties to the clsFamily object but i need to define this as a new type of object as the ID and User name are not normally part of this class.

View 12 Replies

Class C Inherits Class D Is Class D A Superclass Or Parent Of Class C?

Dec 16, 2009

If Class X is within the scope of Class Y, is X a subclass of Y?If Class A is a sub Class of B, then is Class B considered a super class of A?if Class C inherits Class D is Class D a superclass or parent of Class C?if Class E extends Class F then we can consider Class E a child of F?if Class G inherits Class H and is within the scope of Class I then who is the parent of Class G? Classes that inherits Class J and classes that are within Class J are all sub classes of Class J?

View 1 Replies

Form Inheritance - Error1Base Class 'MenuStrip' Specified For Class 'Lesson2' Cannot Be Different From The Base Class

Apr 15, 2010

I have put this code in the global form Inherits System.Windows.Forms.Form. And then in the form that will inherit this from the global Inherits MenuStrip. "MenuStrip" is what the global form is called. But keep getting this error: Error1Base class 'MenuStrip' specified for class 'Lesson2' cannot be different from the base class 'System.Windows.Forms.Form' of one of its other partial types.

View 5 Replies

VS 2008 - Getting Window Name

May 1, 2009

Im wounder how would I find the name for a window and place the name in a textbox, EX: The form will look for all the window name running an paste all the names in the textbox1, I looked on google theres only VB6 O.o, How would I do this?

View 3 Replies

VS 2008 - How To Put Different Window On Top Of Everything

Dec 21, 2009

I've been looking for the API to put a different window on top of everything and focus but I only found a vb6 version [URL].

View 3 Replies

VS 2008 Get Top Window?

Nov 9, 2009

Im using sendmessege to send key "h" to notepad, it works fine SendMessage(notepad, WM_CHAR, 104, 1)Im wanting to know how to get the hwnd of the top running program and send h to it.

View 1 Replies

IDE :: Excluding Forms To Convert A Window Forms Application To Class Library Application

Jan 16, 2012

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.

View 4 Replies

Register The Class File - Not Recognizing My Class.Even The Intellisense Is Not Picking Up Te Class

Jul 22, 2011

I have a class (see below)

Imports Microsoft.VisualBasic
Imports System.Data.SqlClient

Public Class ClientProfile

#Region "Variables"

[CODE]...

It is in the file ClientProfile I have placed in both App_Code and also App_Code/Models

In my code behind I have the following

[CODE]...

The last word, "ClientProfile" has the scary squiggly red line below it. It is not recognizing my class.Even the Intellisense is not picking up te class. Do I have to register the class file in any way?

View 4 Replies

VS 2008 - Child Window - Yet Not Child Window

Aug 23, 2009

I have a 3rd party program that puts up a pop up box and asks the user for input. In Spy++ the original program (I'll refer to this as Window A from now on) is a top level window, and the popup (Window B) is also a parent window. However, when I use FindWindow(Nothing, "Captcha Challenge") it returns 0. I've also used a code snippet from the forums

[Code]....

View 1 Replies

VS 2008 - Bring App Window To The Top?

Aug 7, 2009

I wan my other app window (not vb form) to appear on top of all other windows and give it top priority (with focus or without don't matter). And when I'm done working with it, take priority away and select another window. What commands should I use?

[Code]....

View 5 Replies

VS 2008 - Exceptions In Immediate Window

Feb 21, 2010

I have a simple piece of code that checkes if the connection to the database failed or not.

[Code]...

View 8 Replies

VS 2008 - Get The Process Name Of The Window?

Oct 31, 2009

For Each MyProc As Process In Process.GetProcesses If MyProc.MainWindowTitle <> "" Then ListBox1.Items.Add(MyProc.MainWindowTitle) Next How can I get the Process name of the Window?

View 3 Replies

VS 2008 - How To See If Window Is In Focus

Sep 30, 2009

How can I see if a specific window is in focus?

View 6 Replies

VS 2008 App Setup Window

Dec 8, 2009

after installing the program, I want to have a setup dialog (for configuring the app) to display (maybe on first run, or before, not sure yet) But this only needs to run once, so how would I do this?

View 3 Replies

VS 2008 Creating An Over-Lay Window

Dec 17, 2011

I was wondering if it is possible in VB8 to create a GUI that over-lays over a full-screen application (IE, a movie full screen, games or something that takes over the entire screen)

What I want to know is it possible to be watching a movie and click a button and without minimizing or losing focus on the movie a GUI is displayed. This could be handy in many ways to me to create say.. a clock that I can display so I don't have to minimize etc. to check.

I don't want to interact with the GUI, just display it!

View 1 Replies







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