I have an unmanged C++ app (App A) which launches my VB app (App B).
I need the form in AppB to be invisible until App A post a windows message
that App B recognises and shows its form and controls.
I can handle the messaging by overriding WndProc, but I can't get App B
started without showing itself.
Any suggestions on how to do this?
--
Best Regards
Dave 5 1242
"Dave Burdon" <sl****@communi ty.comwrote in message
news:AA******** *************** ***********@mic rosoft.com...
>I have an unmanged C++ app (App A) which launches my VB app (App B).
I need the form in AppB to be invisible until App A post a windows message
that App B recognises and shows its form and controls.
I can handle the messaging by overriding WndProc, but I can't get App B
started without showing itself.
Any suggestions on how to do this?
I would think you would simply tell the App B form in code to hide itself
during the Form Load process.
"Dave Burdon" <sl****@communi ty.comwrote in message
news:AA******** *************** ***********@mic rosoft.com...
>I have an unmanged C++ app (App A) which launches my VB app (App B).
I need the form in AppB to be invisible until App A post a windows message
that App B recognises and shows its form and controls.
I can handle the messaging by overriding WndProc, but I can't get App B
started without showing itself.
Any suggestions on how to do this?
--
Best Regards
Dave
I do that, but still it displays. I guess I must be making it visible
somewhere else.
Thanks
--
Best Regards
Dave
"Mr. Arnold" wrote:
>
"Dave Burdon" <sl****@communi ty.comwrote in message
news:AA******** *************** ***********@mic rosoft.com...
I have an unmanged C++ app (App A) which launches my VB app (App B).
I need the form in AppB to be invisible until App A post a windows message
that App B recognises and shows its form and controls.
I can handle the messaging by overriding WndProc, but I can't get App B
started without showing itself.
Any suggestions on how to do this?
I would think you would simply tell the App B form in code to hide itself
during the Form Load process.
Hi Dave,
What about setting the opacity into 0% ? It should render your form
invisible.
Regards,
Hardono Arifanto
-----------------------
visit my blog at http://sodeve.net
On Apr 28, 5:22 am, Dave Burdon <sla...@communi ty.comwrote:
I have an unmanged C++ app (App A) which launches my VB app (App B).
I need the form in AppB to be invisible until App A post a windows message
that App B recognises and shows its form and controls.
I can handle the messaging by overriding WndProc, but I can't get App B
started without showing itself.
Any suggestions on how to do this?
--
Best Regards
Dave
This should to the trick
Form f = new Form();
f.Name = "InvisibleForm" ;
f.ShowInTaskbar = false;
f.Visible = false;
//TestProps(f);
Application.Run (f);
HTH
Alex
"Dave Burdon" <sl****@communi ty.comwrote in message
news:AA******** *************** ***********@mic rosoft.com...
>I have an unmanged C++ app (App A) which launches my VB app (App B).
I need the form in AppB to be invisible until App A post a windows message
that App B recognises and shows its form and controls.
I can handle the messaging by overriding WndProc, but I can't get App B
started without showing itself.
Any suggestions on how to do this?
--
Best Regards
Dave This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: serge calderara |
last post by:
Dear all,
I have an application which is suppose to start another executable process.
As soon as that process is running, I need to retrive its handle. The
problem of the particular process I am starting is that it has a welcome
window first which gets displayed and then the real windows after a while,in
other words it means that the process name is the same, but the handle I need
to retrive is the one from the final window and not the...
|
by: ceadtinneh |
last post by:
Folks,
We're implementing a software based mirroring solution. This solution
requires that the SQL Server service on the target server be stopped
while data is being replicated from the source server.
One problem we encountered while testing was that the SQL Server
Service on the target server was inadvertantly started when users
selected that server in Enterprise Manager. Is there any way to keep
the service from starting through...
|
by: Andrew Bullock |
last post by:
Hi,
code:
myClass x = new myClass();
x.dosomethingwith(x,y);
How do i make dosomethingwith(x,y) run on a separate thread, and then
inform the main thread when it has finished?
|
by: Arnie |
last post by:
We're using the ServiceController class provided by the .NET Framework,
programming in C#. We are using the Start() method to start a service from
another service. This works fine most of the time, but occasionally after a
system startup (where the service doing the starting of the other is
automatically started by Windows XP) the ServiceController's Start() method
fails to start the other service. It is probably throwing an...
|
by: Jim Langston |
last post by:
I know that functions starting with an underscore, or two underscores, are
reserved by the compiler/c++ and should not be used by the user and may
cause undefined behavior. My question is, how likely is it to actually
cause undefined behavior?
The reason I'm asking is I'm using a game engine where the sockets code is
not working correctly on my computer, but seems to work correctly on
everyone elses. I am not compiling the dll myself,...
| |
by: derik |
last post by:
I hav a text file with N number of lines . i am able to read the file till the end .. in between many lines are starting with #. these lines starting with # are to be omitted. pleast help me in removing the lines starting with #
|
by: sathyan8294 |
last post by:
i want to display the name starting with any letter(A-Z,a-z) in textbox from sqldatabase through datagrid using vb.net windows application.
for example,
values are in datagrid like
companyid companyname contactperson city
1 IBM rajesh Bangalore
2 Wipro kannan Chennai...
|
by: Gustaf |
last post by:
Some error handling code:
catch (System.Xml.XmlException e)
{
Console.WriteLine("Error in " + e.SourceUri + ": " + e.Message);
return;
}
The output:
|
by: ropo |
last post by:
I have a .NET 2.0 app that at one point starts an old MFC App through
System.Diagnostics.Process.Start from a model form/
I then wait for it to finish by calling StartedProcess.WaitForExit();
Problem is:
When I close the MFC app if there is an window behind my .NET app it
will come to the front leaving my .NET app at the back.
|
by: PaulaCM |
last post by:
Hello Again Byters (hmmm... that sounded better in my head!)!
Question on Primary Keys / Auto numbering.
I want to make sure that each record has its own individual ID (hence primary key) but, I just want to choose the starting point. So, instead of starting with record ID 1, I'd like to start with record ID 1024. (I'm replacing a paper system with an electronic one, but would like to keep going from where I left off).
So, ideally I...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |