473,404 Members | 2,195 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,404 software developers and data experts.

Open a form from a diffrent project.

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!

Thanks!

Rudy
May 8 '07 #1
3 1445
kenobewan
4,871 Expert 4TB
Here is an article that may help:
.NET Remoting under IIS - ASP.NET Application as Client
May 8 '07 #2
Hello Kenowbian!

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

Thanks!

Rudy
May 9 '07 #3
Motoma
3,237 Expert 2GB
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

2
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...
2
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...
6
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...
2
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...
4
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.
3
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...
1
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...
3
dnb
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...
0
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 " ....
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
tracyyun
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...
0
agi2029
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,...
0
isladogs
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...

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.