VS 2008 : Communication Between .net Programs?

Jun 15, 2011

I have a Windows Form Application which has been developed in vb.net 3.5. It is a charting program and shows stock market charts to users. Now I have made another program in vb.net (same .net version) and I want this program to interact with the one I made before. The new program is like a small scripting language. So for example: if I run a script then its output should be reflected in the other program. How can the two programs communicate ? Both will be running on same systems. No remote stuff. I mean passing arrays,strings or possibly structures.

Plus I have several functions which are written in first program. Is it possible for the other program which is an .exe also to call the functions of the other one if I make sub/function public or something. The reason is we can calls functions or subs if we include a dll. But can one exe calls functions/sub of another exe (if both program are in .net).

View 10 Replies


ADVERTISEMENT

VS 2008 - Communication Between Programs (Tag Property)

Apr 19, 2010

Is it possible to get the Tag property of another .NET form running in a seperate process?

View 11 Replies

Infrared Communication On The Desktop Infrared Connectivity Through Mobile In .net Programs?

Feb 17, 2009

infrared communication on the desktop infrared connectivity through mobile in vb.net programs?

View 3 Replies

VS 2008 USB Communication?

May 9, 2010

I made a device (it's a remote-control your computer thing). Is it possible to interact with it using USB & VB.NET? If so, how? I've looked around and it doesn't seem to be part of the framework, but maybe there's some API I could use? I could always use serial ports, but I don't really want this device to require a battery. Is it possible, and if not, is there another way I could do this?

View 16 Replies

VS 2008 Using TCP Communication For IM?

May 13, 2009

I am currently using the code from this thread:Click Here Using the code how would i allow the user through the client to send a message to the server which specifies the user the message is intended for as well as the message. I know how to send messages as there is a function for that in the code supplied in the link.Though how do i associate usernames with each client? As i saw a username property has been created in the code but how do i use it for the purposes i want?

I also need to be able to test the username and password fields for a login system..

View 12 Replies

Build A Class Or A Part Of A Program That Can Be Add Into Other Programs To Be Used In That Programs?

May 27, 2011

I am sure this can be done, as Visual Studio is basically built this way. What I want to do is simply make a class that my other workmates can use. But rather than have it in a code form, I want to build it (partially), and then my workmate can add it into their programs (sort of, like the add reference for the .NET stuff).

View 4 Replies

Serial Communication Using Threading In 2008?

Jul 5, 2009

how to do serial communication using threading in vb.net 2008,

View 1 Replies

VS 2008 Communication Between Separate Applications?

Dec 7, 2011

I'm thinking of creating some applications that will process search and storage requirements.

I want these to be separate applications - so that I could eventually move them to different servers for scalability.

What methods are available for me to have these app's communicate with each other?

View 4 Replies

VS 2008 Form/BLL Communication, Best Coding Practice?

Apr 18, 2010

Question is related to rather simple programs typically presenting some data in a few datagridviews, charts etc. And consisting typically of a main form and one or two settings forms.I'm trying to program in a layered structure, pulling every bit of code out of any form class, and having a seperate "program class" for any form that I make. Now.. So far you can't complain on that I guess, but how to do this in best coding practice? In the form class I make a member object of the program class, hence making the program class a child of the form. Now I'm able to create events in the child class, and have handler methods in the form, without writing delegate classes (it seems). Now, that is fine, as it enables me to update the form controls with such events happening in the program class. However, how do I send events the other direction, from the form (parent) to the program class (child)? I guess I don't have to use events, I could just use the member object to access public methods in the program class directly, with passing of parameters from the form controls.. however, is that good practice? Or should I use events also that direction, and how to make that work, do I need to introduce delegate classes

View 21 Replies

VS 2008 - Sending Data From Client To Server (No Communication)

Oct 13, 2010

I'm not sure what I have done wrong, I am trying to get my program to send data (UsernamesPasswords) from client to server, then the server says if it's right or wrong.

The error is on this line:
Dim networkStream As NetworkStream = TcpClient.GetStream()

Heres the Client:
Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
If TextBox1.Text = "" Then
MsgBox("You must enter UN/PW!")
[Code] .....

View 4 Replies

Write Using Visual Basicprogram 2008 (for Serial Communication)?

Mar 22, 2011

I am working on a porject that interlinks a PC and PIC using the USBtoUART programmer for Serial Communication.

I have just started using and reading the Book on Visual Basic 2008 Professional and read the book by ROD STEPHENS <VB 2008> Programmer's Reference.

However, I would like to know where should I start working from?

I personally want to start from building the Visual Basic interface that enables serial communication between PC and the USBtoUART converter.

View 2 Replies

Coding Programs That Interacted With Other Programs?

Feb 2, 2010

I started with VB 6.0 back when i was 14, I was mostly into coding programs that interacted with other programs. Recently I installed VB.net 2005 pro i got from school, and i grabbed few source codes that teach show interaction, I feel so dumb, i dont remember anything lol. It be great if you guys can share some source codes and other stuff in this field. also other day i was in dream spark and i am able to get copy of VS.net 2010 ultimate edition, are there a lot of major changes, cause i got 2 thick book for VB.net 2005..

View 1 Replies

Distributing Programs: Getting Programs To Users Who Might Want Them?

Feb 23, 2009

When you've finished a program and you're trying to distribute it to the mass public. How is the best way to go about doing this? What sites would you post your program on and getting the word out that there is a new program on the block and it does xyz. This is directed to freeware so there wouldn't be any advertising.

Sorry for not explaining it very well the first time.

View 2 Replies

Programs From VB6 To VB 2008 Express?

Sep 21, 2011

I am trying to move my programs from VB6 to VB 2008 Express. My initial problen is with getting data from my Jet database. I've searched for samples but haven't been able to find anything to help me. I would like to be migrate the Jet database to the vb 2008 system.

View 3 Replies

VS 2008 Hijacking Other Programs?

Apr 1, 2011

the only way I can get reading from an instrument is through proprietary software. even though it is connected with USB. the instrument - a Cary 500, with a GPIB interface.the problem is with instrument commands, like "reset" or "change wavelength" or "instrument reading" They reside inside a primitive Basic shell provided by the instrument software. I'm looking at expencive National Instruments, is there another solution with VS/NET?

View 3 Replies

2008 Programs Won't Open On Any Other Computer!

Mar 31, 2009

They are all working on my computer,but they are not working on any other computer(I tested it on about 10 computers). They are working when i start making it,but after they are not working. When i try to run it on other computer it is not opening(there is not any error message), or there is a crash report(application crashes). So they are working on beginning of programming, and after they aren't.

View 1 Replies

Bug In 2008 Programs Running Under 64 Bit Windows 7?

May 27, 2010

I know there are compatibility problems with 32 bit code running on 64 bit machines, but this doesnt seem like it should happen.

View 3 Replies

Can't Open Existing Programs In VB 2008

Feb 22, 2009

I will do a program then save it and close it out but when I go back to open it it won't open. It just sits there. I'll click on Recent Projects and they won't open. I'll click on Open Project and select a existing file and it will just put it in Recent Projects but won't open it up.

View 2 Replies

Macbook-computers Run Programs From A Vb 2008?

Jun 6, 2009

Can Macbook-computers run programs from a vb 2008 .net, Windows Vista computer?

View 6 Replies

Running VB 2008 Programs On Windows 7?

May 16, 2010

I've coded this program in Windows XP 64 Bit. I also compiled it in Windows Vista 64 Bit. I've ran this program on 32 bit machines before and never had any problems. I purchased a new laptop with Windows 7 on it and i'm getting a "Not a valid Win32 Application" Error.

View 3 Replies

VS 2008 - Get HDD ID In Textbox When Programs Loaded

Oct 20, 2011

I am new to VB and want to make a software that as soon as the programs load, the HardDisk id of the pc appears in a TextBox...

View 5 Replies

VS 2008 API To Get List Of Installed Programs

Dec 2, 2009

I'd like to mention that getting a list of the installed programs via the registry is not a viable way to receive a full an accurate list. The two main areas where the programs in the registry are stored, are mainly MS programs. Some manufacturers put their keys here as well, but most don't. And since it's impossible to know where the manufacturer has stored the key, let alone the name of the key that would give the list and the uninstall capability, it's not ideal to use the registry.

That being said, I was told that there is a COM API that Microsoft has made and uses in the Windows OS and was hoping someone knew what that API is and how to maybe implement it in VB.

View 38 Replies

VS 2008 Get A List Of Programs From Registry

Oct 29, 2009

Is there a way to get a list of programs from the registry?

[Code]...

View 1 Replies

VS 2008 Listing All Installed Programs?

Apr 22, 2009

I'm trying to find a way to get all of the programs that are installed by accessing the information from the registry. I googled it and was able to find the following code

Private Function Getinstalledsoftware() As String
'Declare the string to hold the list:
Dim Software As String = Nothing

[code].....

View 8 Replies

VS 2008 Program To Monitor Other Programs?

Nov 3, 2010

This question may be vague but I was wondering if anyone has ever implemented an application that basically creates a UI to list and monitor all running applications you have running. This applies to many developers who might have multiple programs running continuously and it would be great to have an app that monitors these programs..or does anyone think it is just unnecessary.

View 1 Replies

[2008] Monitoring Programs Starting?

Jan 14, 2009

First of all, Hi to everyone, I'm new here..I'm currently investigating a way of doing the following and seem to be coming up with dead-ends!I am trying to create a windows service that sits in the background waiting for programs to be started. When the programs start I want to be able to check a unique bit of information for each program (I believe GUIDs may provide this) to see what the program is. If the program is not allowed, I aim to provide a warning to the user and possibly close the program. The aim of the application is to identify when users are attempting to install additional software on to the computer so simply monitoring for a certain executable wouldn't work as msiexec is called for all MSI's and as I only want to stop blacklisted programs...this wouldnt work.

View 14 Replies

Minimal Active X SDK Installation For VB 2008 Programs?

Jun 22, 2009

1. Is there a way to use a smaller Active X SDK installation rather than the full (~450 MB) one to play MP3 in VB 2008?2. Is there a loop command (as with a wave file) in case using Media Player to play MP3 in VB 2008?

View 1 Replies

Use Microsoft Search Server 2008 With Programs?

Feb 24, 2009

I'm installing Microsoft Search Server 2008 express with a view to indexing some content for an intranet application.

Having not used Search Server before, i am looking at ways of my asp.net app (.net 3.5) querying the search server.

I'm just starting to look into Search Community Toolkit to see if it is relevant to what i want to achieve. But was wondering if you guys can point me in the right direction (code, articles, etc).

View 2 Replies

VS 2008 - Grabbing List Of Installed Programs

Aug 31, 2009

I'm currently using the following to code to grab the installed programs and list them in a ListView:

vb.net
Dim SoftwareKey As String = "SOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Products"
Using rk As RegistryKey = Registry.LocalMachine.OpenSubKey(SoftwareKey)
For Each skName In rk.GetSubKeyNames
[Code] .....

What I don't understand is when I run the code, I get a NullReferenceException was Handled on this line:
vb.net
If name.ToString <> "" Then
I haven't been able to find much on the error. It seems like it is a pretty generic one and can fit into a lot of different scenarios.

View 9 Replies

VS 2008 - Networked (or Connected) Multiple Programs

Jul 27, 2009

I'm planning to make multiple projects, which could connect (or comminicate) together. It's like a designing Network Program. There'll be a main program and some sub programs. These sub programs will send the informations about other computers which is on my network to the main program. If you ask "Why do you need to get infos about other computers?" ,then let me explain. I'm using limited internet connection and I'm not the only one who's using this wireless network. If I get over the limit, I'm paying some limit-upper fee. So, I've to control others internet usage to not to get over the limit. I've just made a small download counter program for my pc, but as I said, I want to convert it to a bigger project, with network solution. Could anyone refer me any resource, or show me any starting point?

View 4 Replies







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