473,700 Members | 2,523 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Open a form from a diffrent project.

2 New Member
Hello all!
Working in vb.net, with VS 2003.

I have 2 projects in a solution. Pretty much a client server setup. Project A controls when a message box open up on Project B. Click a button on A, and the message box will open on B. and the message box in this case is a small form. Pretty much all the control I have is the forms. Depending what button you press on A, that will react on project B by a certain form opening up. Some forms are just message boxes, other are forms a user can do somethng with. And then the forms close on there own with a timer, or by the user.

So I have been using filewatch process to make this work. Form A creates a file, with a diffrent extension on it. Based on what the extension is, will tell project B when form to show. Then the file will be deleted. This has worked pretty well until recently.

Now I have 13 of these file watch processes going on. And at one time, they were very reliable, but now, I can't get them to run all at once.

So how reliable are file watches, should I be able to get this to work, or should I try another way? And what is a better way? The form "Message boxes" are only displayed for about 5 to 7 seconds. The forms that can be used by a user are only open from 20 to 15 seconds.

If your interested, can give you some code. It's rather lengthy so I will let you be the judge of that. I'll post if some body needs to see it. I have tried .Net remoting, but I couldn't get it to work right, and at the time this seemed like a simple way to go. The only thing that bugs me about this, is the file watch process keeps going all the time. And I need the pro0gram to be fast. In the same sence, I need it to open a form on 10 to 20 diffrent pc on a small network almost at the same time. At least a within a second. And thefilewatch does that for me.

Any thoughts or suggestions would be greatly appreciated!


May 8 '07 #1
3 1456
4,871 Recognized Expert Specialist
Here is an article that may help:
.NET Remoting under IIS - ASP.NET Application as Client
May 8 '07 #2
2 New Member
Hello Kenowbian!

I forgot to metion this is a windows appliclication, not a web.


May 9 '07 #3
3,237 Recognized Expert Specialist
Is what you are trying to do beyond the scope of message passing or IPC?
May 9 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Brian Henry | last post by:
Hi everyone, What I am doing in my application is I have a base app, then a bunch of plug-in dll files. Well this gets confuseing to diferentiate between the real plug-ins and the actual link libraries that are not to be used as plugins (in reality they are both DLL files) is there anyway I could make VS.NET compile my VB.NET DLL plug-in projects into a diffrent extension but still be DLL files? (i dont feel like changeing tens of...
by: yatharth | last post by:
I am facing a problem ,the situation is like this. I have a home page named "Index.html" ,on which there is login link,when i click on the login link the login popup opens and user enter the login information in it. Now when the user click the submit button then new popup window
by: Rudy | last post by:
Hi all, I know this is easy, just can't seem to get it. I have a windows form, and a text box, with a value already in it. I need to add that value to a table. It's just one value, so the entire row doesn't get filled. I have a connection and all that stuff. Private Sub btnPlaceBet_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPlaceBet.Click ' Dim Myds As Footbet.DStable '...
by: zoneal | last post by:
Ok I got 3 problems and I aint very good at this, but here goes. First problem: I got an application with an listbox and a richtextbox and three buttons, when I press the diffrent button the listbox xhanges(nothing wrong with that), then I have assigned cases to the diffrent rows of the listbox for when I klick on 1 row it will show diffrent things in the richtextbox, but the problem is I dont know how to show diffrent cases for...
by: ShayHk | last post by:
I want to Open Form2 from Form1 when Button pressed. When Form2 Opens I want it to be opened in the same window..but diffrent login ... Like Explorer.
by: bsturg21 | last post by:
Hello, I have a windows form that has a series of linklabels on it, and I need to have each linklabel, when clicked, open a separate windows form that has a single paramter passed into it. The form that has the System.Windows.Forms.LinkLabel controls on it is in a different project and under a different namespace from the file where the LinkLabel_LinkClicked events are, so I can't just do frm.ShowDialog under the LinkClicked method. ...
by: SePp | last post by:
Hello together, I have a main form which includes a Datatoolstripmenu. From one of these items I want to call a Form which includes an DataGridview. I want to use this form and datagridview as template and call It a lot of time from diffrent menu items.( But with diffrent data (views)) What is the best way to do that. My problem is to find a way to say: If this menu item is clicked load the template form with the template
by: dnb | last post by:
Hi Friends, I make project in vb6.0. i need some data save in diffrent language in access data base.like 1st field in english and 2nd field in hindi etc.......... How can i do this? Plz give me solution of this query..... thanx in advance....................
by: GhOsTTeCh | last post by:
Hey everyone , i am trying to submit a form 4 times with diffrent inputs. i have 2 files main.php $p = 1 while ($p < 5 ){ file_get_contents("submit.php?p=" . $p); echo "Submited form " . $p . "<br />"; $p++;
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
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: 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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
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: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
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: 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...

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.