Send Messages Between Matlab VB6 And .NET Programs?
May 16, 2009
We are upgrading a suite of data acquisition and analysis routines from VB6 programs to a mixture of VB.NET, VB6, and Matlab programs. We want to keep the system modular (separate EXEs) so we can easily create specialized stand-alone analysis programs without having to constantly upgrade one massive application. We have used MBInterProcess to send messages between EXEs when all the programs were written in VB6 and this worked perfectly for us (e.g., to have the data acquisition EXE send the latest file name to a stand-alone data display program). Unfortunately, this ActiveX cannot be used within Matlab or VB.NET to receive messages. We are wondering what is the simplest string message passing system (pipes, registered messages, etc) that we could adopt. Right now we are just polling to see if new file was written in a specific folder, which can't be the best solution. Our ideal solution would not require a huge investment in time learning nuances of Windows (we are biologists, not full-time programmers) and would work in both WinXP and 64-bit versions of Windows.
In response to the queries, we have wrapped the entire Matlab session within a VB6 program that has the MBInterProcess ActiveX control. That works but is not a great solution for us since it will probably lock us into WinXP forever (and certainly will prevent us from using the 64-bit version of Matlab). The latest version of Matlab (2009a) can access .NET functions directly, so we assume one solution might be to use the .NET library to implement pipes (or something similar) across programs. We would like to recreate the elegantly simple syntax of the MBInterProcess ActiveX and have a piece of code that listens for a message with that program's top-level Windows name, and then call a specific Matlab m-file, or VB.NET function, with the string data (e.g., file name) as an argument.
View 2 Replies
ADVERTISEMENT
Jan 5, 2011
In my program I am using a MySQL database and I want to allow users to send each other messages ("Emails"). How can I go about something like this? I'm not wanting someone to do my 'homework'
View 4 Replies
Oct 26, 2011
I need to send string messages between applications (many clients and one server). When I tried using PostMessage/WndProc, then my message got split up in strange portions [URL]. So that was a no go.Second I tried using Pipes, but couldn't make it work with multiple clients.Third I tried using TCPIP, but couldn't make that work too.
View 2 Replies
Apr 4, 2012
I used to send small messages to users on a network through "SendMessage" under the user tab of the task manager. Now I have 2 virtual servers where users connect through remote desktop sessions, and I can no longer send messages to all users this way. Therefore I wanted to put this function in a application.
View 1 Replies
Aug 3, 2009
How can i send messages via vb.net, i cant find anything working on the internet.[code]...
View 4 Replies
Jun 27, 2012
I want to send an SMS message to many people. I have the person type and phone number for each person in a MySQL table. Using a stored procedure, I am calling a stored procedure in the database to get a list of phone numbers for all the people of a particular type and store it in a DataTable object. I have one URL that I need to use to send all the messages for all the people of that same type. The variable s in the below code is the person type which comes from a drop-down control[code]...
How do I loop through the resulting DataTable and send the SMS message to each one using the URL? The variable dt has the list of phone numbers for the people who match the type stored in s. Please help me solve this problem. I am new to VB.NET.
View 1 Replies
Feb 11, 2010
I know how to send emails, but is it possible to send out text messages?
View 20 Replies
Jun 15, 2009
I've got a curious problem that I can't crack. I have 2 applications, app A and app B. Application A runs continuously doing various things. On the same machine I have application B that runs infrequently at random. I need for application B to tell application A to do something. Both are vb.net apps that I've written and can tweak to make this work. I can't figure out how to get app B to communicate with app A while app A is already running?
View 4 Replies
Aug 25, 2011
i've been wanting to do this for a few years now and it amazes me that no one can come up with a solution.i want to write a program (preferably in vb.net) that can send a message to another computer (or device) that is connected to the same network as me. I want the message to appear on the other computer (or device) in a popup message box. Also, it would be ideal if this could be done through some sort of bluetooth connection, if not then local ip connection will do. I don't know how i would go about doing this but i know it's possible because i've seen some programs do it... in fact i've seen a program called blackrain that without any additional software installed, can display messages on an ipod touch screen to instruct the yser what to do, and then display the results from their input on the computer screen, almost instantly. I would like to know how that works as well if anyone has any thoughts please feel free to share them!
[Code]...
View 1 Replies
Oct 18, 2010
I have the following issue: i want to make a vb .net application that can send any string message to any other application opened in windows(more specifically to an application created in visual c++ 6.0). To tackle the problem i firstly created 2 forms in my project and tried to send a message from one to the other. I have tried 2 ways[code]...
View 1 Replies
Sep 26, 2011
I am currently making an app in visual basic that I plan to make a chat server. I know that somehow I'm going to get the program to send and recieve data across ports on a certain ip address with variables such as maximum connections, etc.
The part I am mostly stuck on is firstly the code that you would need, or how to make a function to interact with ports across an ip.
Secondly, would it be a good idea to make a backround service to run for it to work on a host, and also how the other computers are going to find a host.
View 2 Replies
Sep 2, 2010
I'm wanting to transfer data between two programs. Basically, I have one program which is the "monitor" program. It opens another program and will fill a textbox in said program and then click a button on the program. When everything is done after clicking the button, the program will need to send something back to the monitor to tell it to close the program and open up another one to start the process over again.
View 4 Replies
Jun 11, 2011
I've finished developing a simple game with visual basic and I'm ready to send it to some friends so they can give it a go. So I log onto my gmail and attach all the necessary files, but when i try to send the email, 3 of my 5 files get blocked, including the .exe file which is crucial to running the program. I tried on my Microsoft outlook as well and no luck. Does anybody know of a way to send a program over email (or know of any emails that accept these types of files). Or maybe somebody knows of different file formats that I can convert my visual basic stuff to and then send it. Or maybe even somewhere i can upload my programs privately and then have my buddy downbload it there.
View 8 Replies
Apr 20, 2009
I am making a program where you can send text messages to people. And as you can see I ran into a problem. I am trying to load everything from text boxes because I want everyone to be able to use it. So dose anyone know how to fix my code? [code] When I run this it says it dose not work and it says it needs to load properly.
View 5 Replies
Jan 27, 2009
Is it possible to send window messages from one computer to another through Dot Net 2008.suppose i have 2 computers on a domain, now i want to send message from one computer to another.
View 3 Replies
Jul 14, 2010
how to send/receive messages via RS232 from my programme. I have a USB-serial adaptor
Can anyone recommend any places to look? Is this something that you would expect would be fairly easy to do for someone with a few months of coding practice?
View 2 Replies
Feb 24, 2009
we know that vb using windows messages for raising events etc.. so if we move mouse cursor windows sends mousemove message to our application (WM...) or something like that. my question is: can we send windows messages to an application? i know usage of sendmessage api but its not working. im simply wanna send wmkeydown message to notepad and notepad should get message and write it to the text area right? am i wrong? i tried several ways but didnt worked.
View 2 Replies
Sep 13, 2009
How do i make a messager in vb that should be able to send and receive messages from the server?
View 2 Replies
Apr 15, 2012
I want to make a facebook bot that will answer questions that get sent to me. I need to know how to make my application send and receive messages.
View 3 Replies
Apr 27, 2010
i m giving u some code here i have created a client server application in which we can send messages and view the screen of the desktop server.I can send messages but can see the server screen
[Code]...
View 9 Replies
Nov 5, 2008
I Was Wondering Is It Possible To Send Data/Text Across Programs During Runtime. I've Heard Of Something Called API, I Heard It Somewhere and It Sounded Like It Had Something To Do With What I Want. Or Not, I Don't Know. Anyways Heres a simple example Of What I Want To Do
[Code]...
View 2 Replies
Feb 19, 2012
I want to send my Visual Basic Programs to a backup email address that will allow me to save the .exe files.I have spent years developing programs for dictionarys/translators of foreign languages, but my problem is that I keep loosing all my research and the places that I have been living in. So I need an online email address to send all of my work to this way..I will be able to continue development.
View 2 Replies
Jun 5, 2009
I'm trying to make a LAN IM client using the net send command and I was wondering if there is any way to capture the text of the messages received through net send and display them in a label.
View 6 Replies
Feb 17, 2009
I'm trying to get my program to send very simple text email messages. I did do a search beforehand, and found that I was having the same issue as someone else, but the specific question I have was not answered --
I've learned that if you're trying to send mail, you need an SMTP server... I found this list here but every one of them I've tried yields the same "Failure sending mail" error.
Here's my
Dim mail As New MailMessage()
mail.From = New MailAddress("me@mycompany.com")
mail.To.Add("destination-email@whatever.com")
[CODE]...
Is the problem that I need to show "credentials" (i.e. user/pass)? If so, what would those credentials be? Can I use my yahoo email SMTP server with my login info to do it? And is this all I'd need to add to add the credentials?
smtp.Credentials = New NetworkCredential("MyUsername", "MyPassword")
(before the smtp.Send, of course)
View 4 Replies
Aug 24, 2010
I have build an application to send "massive" SMS messages, for mobile phones.For doing this, I use 4 GSM modems connect to my computer.About the aplication, it will be used for emergency calls, for firefighters, in my corporation.
The question is:- I can't use SMTP for send sms, cause I dont have Internet conectivity every time. So, this way its not possible. I make the app, sending AT commands to the GSM modems.But, it gives me some problems, some messages are not send, the modems "hangs" frequently, and its necessary restart the computer.
I have heard, that exist another better ways for doing this, but who are using thisr ways, don't tell me how make it.
View 9 Replies
Dec 10, 2011
I want to use spy++ or Winspector But from what i Read they Dont work on windows 7 64bit Correct ? Im trying to read WM_COMMAND Messages from a App.And whenever i Select 'Log Messages' And find the windows etc.Nothing show's up. Is there a alternative ?
View 3 Replies
Sep 24, 2008
here I am again I have written a small class called 'Messages' that holds the user messages.The case is that I am not being able to import it. Here it is:
[Code]...
View 4 Replies
Dec 24, 2009
I am working on a project, in which I have to run a MATLAB program in VB.NET In the project there is a VB.NET GUI, which contains a browse button. The user has to click on the browse button and select an image for processing. The user then has to click on the Process button for processing the image. After clicking the process button the image selected by the user has to go as input to the MATLAB program.
Q1) I want to know how to give the image selected by the browse button of VB.NET, as input to the MATLAB program for processing?Also while the image is being processed in MATLAB, a message such as "The image is being processed" must be displayed on the VB.NET GUI.
Q2) how to display the message "The image is being processed" on the VB.NET GUI, while the image is being processed in MATLAB?After the image has been processed in MATLAB, the image must be displayed on the VB.NET GUI.
Q3)how to display the image from MATLAB program in VB.NET GUI?
View 1 Replies
Nov 14, 2006
I need to know how to execute some MATLAB functions in a VB.NET code. Please guide me in details to the steps should go inorder to do this.
View 3 Replies
Oct 28, 2010
i want to read MATLAB file using VB .net, the extension of the matlab file is .mat. how to handle this data? i need some reference...
View 2 Replies