473,387 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Working with DLLs

Hello,

With the help from people here, I've managed to make VB export functions and
make my DLL app work from within another application. Now I am required to
implement a functionality that when a user minimizes the main application,
the VB DLL application will get minimized also. So, if the VB DLL B works
inside application A, when A gets minimized, B gets minimized too. So far,
when I run application B inside A, I am only allowed to work within B until
it is closed. Is there a VB form property that modifies a state of a form?
If not, is there anything else I should do? Sorry, I am quite new to VB
environment and its functionalities.

Thank you,
Victor.
Nov 21 '05 #1
4 1121
"victorsk" <vi******@discussions.microsoft.com> schrieb:
Is there a VB form property that modifies a state of a form?
If not, is there anything else I should do?


\\\
Me.WindowState = vbMinimized
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #2
Hi,

Thanks for the reply. I put this code inside Form_Load() method but what it
does is to start DLL application in a minimized state. There is an
equivalent in form1 -> properties -> windowState options. But, I think it
does have to do something with Window state and "Me" data member so I
appreciate the idea.

Thank you,
Victor.
"Herfried K. Wagner [MVP]" wrote:
"victorsk" <vi******@discussions.microsoft.com> schrieb:
Is there a VB form property that modifies a state of a form?
If not, is there anything else I should do?


\\\
Me.WindowState = vbMinimized
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3
Hi,

Sorry, I probably have the weirdest questions here. What basically happens
is when I run my custom DLL app inside a main application, all the
functionalities of main application are disabled while the DLL app is open.
What I need to implement is the enabling of both DLL app and main
(container?) app functionalities which includes minimizing the main app
together with DLL app - such are my bosses' specifications.

Victor.

"victorsk" wrote:
Hi,

Thanks for the reply. I put this code inside Form_Load() method but what it
does is to start DLL application in a minimized state. There is an
equivalent in form1 -> properties -> windowState options. But, I think it
does have to do something with Window state and "Me" data member so I
appreciate the idea.

Thank you,
Victor.
"Herfried K. Wagner [MVP]" wrote:
"victorsk" <vi******@discussions.microsoft.com> schrieb:
Is there a VB form property that modifies a state of a form?
If not, is there anything else I should do?


\\\
Me.WindowState = vbMinimized
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #4
"victorsk" <vi******@discussions.microsoft.com> schrieb:
Sorry, I probably have the weirdest questions here. What basically
happens
is when I run my custom DLL app inside a main application, all the
functionalities of main application are disabled while the DLL app is
open.
What I need to implement is the enabling of both DLL app and main
(container?) app functionalities which includes minimizing the main app
together with DLL app - such are my bosses' specifications.


Notice that the scenario of exporting functions from VB6 DLLs is in no way
supported, although it is possible. There are certain things you'll have to
keep in mind, like potential threading issues. I don't recommend exporting
functionality that deals with VB6 UIs at all, and I would not take a project
with such a requirement.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Richard | last post by:
I am writing an installer for our application. The installer places the application .exe in the install directory and then creates a \bin subfolder and places all .dlls in the \bin subfolder. ...
2
by: Shiraz | last post by:
Hi I just made an installer for an application that uses two external COM dlls. On the surface, everything seems to be running smoothly and the the application runs without any errors. However,...
12
by: Vasco Lohrenscheit | last post by:
Hi, I have a Problem with unmanaged exception. In the debug build it works fine to catch unmanaged c++ exceptions from other dlls with //managed code: try { //the form loads unmanaged dlls...
11
by: Devender Khari | last post by:
Hi Friends, I'm facing a situation as follows, need help on identifying possible issues. There is an MFC application developed in VC6.0, say ABCVC6.exe and another developed in VC.NET, say...
6
by: saju.prabhakaran | last post by:
We have an application developed in c++ and the development environment is visual studio .net 2003. We have added a cpp program to the application which will create a log file containing the trace...
0
by: JeffQ888 | last post by:
Hi, I am currenly buliding a .NET app based on a third party software. Since the third party software was implemented using COM technology, I am using .NET TlbImp utility to wrapper COM...
0
by: rajivtyagi4u | last post by:
Hello, Any body help me ? I m a fresher And have a task in which i want to create a web services which returns me the latest date and name of the dll's used by the customer and here is also a date...
5
by: JohnIdol | last post by:
Hi All, we have a VC++6 application which was working fine on some machines. Production machines arrived and we find out that the app doesn't work properly untill we install VC++6 (Visual Studio)...
2
by: =?Utf-8?B?Vi5DaG9ja2FsaW5nYW0u?= | last post by:
IDE : VS .NET 2003, Platform : .NET 2.0, Hi All, I have my project in VS.Net 2003 (VB.Net). The OS is Vista Ultimate. In a form's Button_Click() event i call a dll which calls another dll and...
10
by: =?Utf-8?B?UmljaGFyZA==?= | last post by:
Hi, I usually deploy my ASP .NET application to the server by publishing, using Visual Studio 2005 publish feature. This creates the Bin folder on the server, with the compiled DLLs. I've...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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$) { } ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.