.net - Pass A Message From One Program To Another?
Mar 3, 2009
I have a .Net 3.0 application that needs to pass an integer to another program on the same machine. I was using a WCF service to do this, but ran into user rights issues when trying HOSTING the service on the local box.
View 4 Replies
ADVERTISEMENT
May 14, 2011
I have created an application which consists of 3 Layers: GUI-BLL-DLL. When I am loading a flat file I am doing this in the DLL but I want to show to the user the process through a progress bar in the GUI. So I want to pass the variable LineCounts from the DLL to GUI. I know that I have to use EVENTS
View 1 Replies
Nov 19, 2009
I have a form for end user (EU) to search for a certain code to check if it is an active code or not, i have the search bit working but i want to be able to have a message box saying "the code (code) is an active (product) code!"
So far i have:
Sub UpdateGrid(ByVal sqlStr As String)
Dim var As String
[code].....
View 1 Replies
Apr 11, 2010
I've got a program which can send email with html format...is it possible that i pass all my body's contents into an attachment and send?
View 2 Replies
Aug 13, 2009
I'm trying to program in a true object oriented manner and its causing me to re-learn a few things. Specifically, I'm having some trouble with error handling. I have all of my data access being performed by an adapter class in a seperate project. I can catch duplicate records without any problems, but I want to be able to send a message back to the user. Here's what I have so far:
[Code]...
View 11 Replies
Sep 30, 2010
I am really confused! My program doesn't work if I don't have Visual Studio here in my PC. To test it I have uninstalled Visual Studio. But my program doesn't work though Flash Player is present there (I have used Flash animation in the first form).
To be more sure about it I have installed Flash. But it's not working! That means the Flash animation file (.swf) is not making a problem! It needs support from Visual Studio to start. Doesn't it mean that some files are not attached with a setup file as a result it needs Visual Studio to run? Let me tell you how I create a setup file of my program.
CODE:
When I click on the icon of my program it shows the error message
CODE:
Reporting details: This error report includes information regarding the condition of WindowsApplication1. When the problem occurred the operating system version and computer hardware is use; your Digital Product ID, which could be used to identify your license; and the Internet Protocol(IP) anddress of your computer.
View 1 Replies
May 5, 2011
The program has errorhandle and write log function, however, it could not catch the error message in the program.
The following error message in Event Viewer. Error Module: oleaut32.dll ,version 5.1.2600.5512, error code: 0x000048f9
View 1 Replies
Nov 28, 2009
Suppose I save a file as *.tar (this extension is my own making) using a vb6 program. Now when the user clicks this file, the window asks 'with what program to open this file' and he/she selects the exe of my program. Now I want to pass the name of file clicked to my program. Like when we click *.xls file, the exe of Excel program knows which file has been opened or clicked. Is there a way?
View 5 Replies
Mar 5, 2012
I am making a download manager in VB 2010. I need to be able to pass the download link from an HTML page to the VB Application. This is what i think i need to do in the HTML:
[Code]...
View 1 Replies
Oct 1, 2011
I'm trying to pass a callback function from a C++ dll to a VB.NET application.Here is my current C++ code :
void DLL_EXPORT registerEvent( void (*callBackFunction)(string str),string str)
{
callBackFunction(str);
}
void test(string str)
[Code]...
View 1 Replies
May 8, 2010
I know I gotta get a book or something because things are just way too hard for me. But before that happens I have what I think should be an easy question.
I want to create a variable in xaml, the angle that a control is currently at, and then use this variable in my VB code (event handler).
Or even better can I, while in VB code, check the current angle a specific control is at so that I can add to the number when setting the new angle?
View 8 Replies
Mar 24, 2010
I have a form and from this I call
dialogPrintDiet.ShowDialog()
which launchs my dialog. I need to pass a string value and need the easiest way to do this in VB.NET .
View 3 Replies
Jul 29, 2009
I get a compile error Type "ctltype" is not defined with this code.
This is .NET 1.1 legacy code so not good I know.[code]...
View 1 Replies
Dec 15, 2010
I have tried a lot of things but I cannot get this to work. I can pass and receive ordinary strings (char*) to C++, but I cannot receive Unicode strings (w_char_t *) in C++.[code]...
View 2 Replies
Nov 24, 2010
So I'm pretty new to operating in the VB.NET environment, so this might be really basic. But my issue is this. I am writing an application to get the next available computer name within active directory. I have an VB program that queries active directory and finds the next available name. I also have a VB form that will allow you to set the name of the computer and which Active Directory OU it should go into. I would like to have the program that finds the next available name run right away when the app is opened, and then pre-populate the computer name field in the VB form with the next available name from Active Directory. However I'm having a very difficult time finding how to do this. I've tried adding the first program in the ApplicationEvents startup area, but I'm not sure that it's running, and I can't find how to programatically pass the result from the first program into a textbox field.
View 6 Replies
Feb 20, 2010
Is possible? I plan to backup mysql database using vb.net.
View 1 Replies
Jan 26, 2010
Would anyone happen to know how to pass a variable to a hyperlink? This is my code howver it gives me an error when I try to Pass the variable(irow("BarUrl")) as the hyperlink address link[code]...
View 2 Replies
Aug 22, 2010
In a threaded app in VB 2010, I can do this[code]...
View 6 Replies
Jun 13, 2010
How can I pass information from my textbox in my program to the username box on [URL] as well as password, and then execute log in?
View 2 Replies
Apr 23, 2009
I'm trying to create a function that searches up a WebControl's parent-child relationship (basically the opposite of WebControl.FindControl(id as String), but looking for a specific WebControl type).
Example
I have a user control in an ItemTemplate for a GridViewRow. I'm trying to reference the GridViewRow from the user control. The user control may or may not be inside a div or other types of controls, so I don't know exactly how many parent's up to look (i.e. I can't just use userControl.Parent.Parent). I need a function that will find the first GridViewRow that it finds on the way up the parent-child hierarchy.
View 1 Replies
Mar 14, 2012
I am developing an VB.NET application that reads data from the serial port and tcp socket, then I'm processing this data and store it in Database server. This application will be started all the time as long as the computer is started. On the server there is installed an apache server with some php scripts representing the "visual interface". From there the users can see the readed data from the VB app. The need is when an event appear in the apache server (such as button pressed), some data to be passed to the running VB app, and eventually trigger an event on it. I've considered some variants like start an timer that reads continuously some tables from the database that the php script writes onto, or read an xml ot text file, but I think that this may slower the communication and it is a source of exceptions or errors.
For example: An user opens a webpage, just to say test.php. On the page there is a button. The user pushes the button. The result of pushing the button has to trigger an event on the VB app and cause sending data trough the serial port or tcp socket. OR - The VB app has a timer that scans for pressing the button on the test.php.
View 3 Replies
Apr 18, 2010
I would like to make my program do nothing for a few milliseconds.
View 17 Replies
Oct 30, 2009
Is it possible to pass data between a MODULE in Access and a VB2008 app?
To be more specific, suppose a VB app calls a MODULE in a access DB and the job of the module is to count the number of records that have "Joe" in a column. I know this can be done with a SELECT within the bindingsource BUT in some instances, it is much faster to pass the task to Access and return the result.
So - can an Access MODULE RETURN a value back to a VB app?
View 17 Replies
Aug 29, 2011
Can I pass parameters back and forth between a Windows Service and .NET program? For ex: I want to pass a compressed/encrypted byte paramater to the Windows Service, who then decompress/decrypt it and return back the decompressed/decrypted bytes.
View 1 Replies
Mar 5, 2009
I am relatively new to VB but have written a few VBA applications.I want to write a context menu item for Firefox that allows the user to right mouse on a field that is being displayed and take some action.Is it possible to identify the field the cursor is on and pass the entire value to the vb program? If so which namespace should I be searching for methods? Can this be done without selecting the field's contents or does the user have to select the field?
View 3 Replies
May 23, 2012
im using visual basic.net and this is my problem i have 2 form which have a two datagridview . when i update the datagridview in the form 2 its working fine and when i exit it in the form 1 its also update , but when im trying to to click again the edit button(from form 1) the program is automatically exit or crash.
the code from my form2 exit button
form1.showdialog
me.close
form1 edit button
[Code].....
View 4 Replies
Dec 26, 2009
How can I add a progress bar in vb.net while sending an email message?
View 3 Replies
Oct 2, 2009
tell me how to insert log message into application eventlog from VB6 program? Do I need any permission to add log messages in event log?
View 6 Replies
Jul 18, 2009
I'm trying to put a scroll in the final message box that populates when you run the program but I can't seem to get around it.
Option Explicit On
#Region "Description"
#End Region
Public Class Week3
[code]....
View 3 Replies
Mar 16, 2010
how can i send a message to a different program to press a button on it without me doing it with my mouse?
View 2 Replies