Communicating With An ASP.Net Application From A Windows Application

Nov 18, 2009

I'm currently working on a project which includes a web application and a windows application. Here's what I want to do:

I want to pop up a msgbox or something similiar on the windows application whenever a user makes an entry into a certain table in the database on the web application. It's going to be like msn messenger's new e-mail notification. All I could think of so far is checking the database for new entries every second or every a few seconds from the windows app. but I think this might add an extra load on the cpu and the internet connection of the client computer.

View 4 Replies


ADVERTISEMENT

Communicating With C++ Win32 Application?

Aug 20, 2009

Alright today im going to make a chat program in C++ and VB.net VB.net will be the server and C++ will be the chat room. Im doing this becuase some people dont have .net and the program fails so im trying this so then everyone can use it. How would i do this? Like C++ sending information to VB.net and printing it out on a textbox

View 2 Replies

Communicating Between Multiple Instances Of Application?

Mar 9, 2009

I have an application which the user can open multiple instances on the same machine. However, a section of the app would have sync problems if more than 1 instance has control over it. This is where I thought of transferring control, or sharing, between them. What should I be looking into?

They would have to be able to identify which one of them has control and to send text information over. I thought IPC or Named Pipes could do the trick, but I'm unfamiliar with them and examples seem to indicate only a single server will work. Here, I have multiple instances of the same app and every one of them needs to be able to listen for that request for control.

View 25 Replies

C# - Communicating With Processeses - Create An Application That Will Act As Some Sort Of Task Manager

Jan 6, 2011

I'm going to create an application that will act as some sort of task manager. For stability reasons I will not use threads but processes instead. I have to deal with several third party libraries and/of COM servers that are not always that stable and can produce severe crashes sometimes. This may (of course) not affect the task manager

Problem with using processes is how to communicate with them? The process must f.e. give a status back of what it's doing every x seconds.

I was thinking of using TCP over a separate port per process, but is this the best way of doing this?

View 5 Replies

Developing Messaging Framework For Windows Application That Sends Messages To Java Application

Feb 9, 2009

I am in the process of developing a messaging framework for a windows application that sends messages to a java application. To be precise when the win app wants to send a message it simply drops the message in a common database table which will be picked up by the java app. The windows application is deployed across 10 application servers (10 instances) over citrix for load balancing.Each instance of the application is capable of sending a message to the java application and each of these messages should have a unique id. From my end I need to make sure every message generated has to carry a unique id so that they can be identified when necessary. All the messages can be cleared every day or two.i am not quite sure about a best method of achieving this. Initially I wanted to create a static method that serves the next available id (incrementing the last id by 1). But this approach willn't guarantee unique number as the application starts only when at least one user is logged on. For e.g .On one server the app starts when a user logs in, he then sends a message and then the application stops when that user logs off. So when a next request for the app comes to that server a new instance will be started.

View 3 Replies

2005 : Crystal Reports Application Or Windows Application To Generate Pdfs?

Apr 13, 2011

I currently have a simple crystal reports application which generates a crystal report and in the built in viewer provided by VS2005. There is a drop down where you can select options to change the criteria of the report. I wish to convert this app to a windows executable which will take all those select options and generates pdfs based on the crystal report. the executable will be triggered by windows task scheduler...or maybe command line app?

Obviously this will be somewhat of a re-write. What would be the best way to start this as? a crystal report application or a windows application.

View 2 Replies

Application Does Not Return From Call To System.Windows.Forms.Application.DoEvents?

Aug 2, 2011

I have a windows forms application written in VB.NET which scrapes information from serveral web pages (who doesn't right)? Anyway, I am having problem with one particular site where partway through the page navigation my application hangs. When I press pause (or break) in the debugger, it stops on a call to System.Windows.Forms.Application.DoEvents.

Resuming execution shows that it really is stuck on this line (it does not reach the next line of code). It also hangs about the same point each time I run it (at least its consistent). Since System.Windows.Forms.Application.DoEvents yields to other threads on the same processor and then resumes execution of the current thread, I think the problem is that some other thread is not behaving well (not returning from some event handling code). I thought Windows 7 was pre-emptive, which makes me
doubt that theory but I really don't know.

[Code]...

The program scrapes somewhere between 12 and 14 pages before it gets stuck on the call to DoEvents. Does anyone have a clue why this would happen? Why would any call to DoEvents hang?

View 1 Replies

Application.DoEvents() Function Halt And Crash Application In Windows Vista

Jul 18, 2011

i made an application for serial communication. for this application i need to set delay time. during this delay time i m doing some other task. So for those task i need to take back control from delay function, for this purpose i am unsing Doevents() function.Its work fine On other OS (XP, Windows7 32/64-bit). But Application.DoEvents() function halt and crash in windows vista.

Private Sub TimeDelay(ByVal DT As Integer)
Dim StartTick As Integer
StartTick = Environment.TickCount()

[Code].....

View 4 Replies

Create Uninstall Command For A Windows-based Application In The Application Folder?

May 27, 2009

how to create a uninstall command for a Windows-based application in the Application Folder when creating a new setup project in visual studio 2008.

View 4 Replies

Re-direct Output From A Console Application To A Textbox In A Windows Forms Application?

Sep 14, 2010

I am trying to use the System.Diagnostics.Process class.I have the following Windows Forms application. It consists of 1 Button and 1 TextBox. The only code is for the button click event as follows.

Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim myProcess As New Process()

[code]....

View 2 Replies

Convert A VB2008 Console Application To Windows Forms Application

Feb 7, 2010

I have a fully functional multi-threaded VB2008 console application that I need to convert to a windows forms application. I am doing this to add additional functionality at a later time. How would I go about doing this?

View 9 Replies

Converting My Windows Form Application In VS 2010 Into A Run In The Background Application

Jan 17, 2012

Final step in my application. I finally got all the requirements working, but now I need to have the application run in the background.

The application was written in Visual Studio 2010 VB, Win form app.

The requirements are as follows:

1.) run the application at start up

2.) no icon

3.) always in focas

4.) always runs in the background.

Here's the full code I have right now (working! whahoooo)

Public Class Form1

Private Property count As Integer
Private s As New Stopwatch

[CODE]...

View 2 Replies

Pass Current Web Credentials From Asp.net Web Application To Windows Client Application

Nov 20, 2011

I'm developing a web application that requires the user to log in using forms authentication. inside the webpage you need to download a desktop application that requires to login to the same system too. Is there a way to transfer the current logged credentials from the web application to the windows desktop application without need to login again?. Both applications shares a Login object from an vb.net interface.I tried to save the IP address in the Database but that don't work for me because the website needs to be accessed inside and/or outside of the company and the user cannot login twice in different machines.

View 2 Replies

Call External Windows Application Form From Application?

Aug 17, 2011

I Have one Windows Application in which i have one MDI Form (Say App1). And I too have another Windows Application in which I have a Child Form (Say App2). So now i want to Call App2 from App1 .. And want to Display App2 form As MDIChild in App1 MDI Form . I am Able to open the Form of App2 , But how to set It As App1' Child .

View 2 Replies

Convert A Console Application To A Windows Form Application?

Apr 13, 2012

I have a console application code below. I am trying to convert this to a windows based form application but I don't know where to start. This code asks you to input a website and then it gives you the IP address for that particular website the user enters. All the code works fine but I want this in a windows form application.

using System;
using System.Net;
using System.Net.Sockets;
class GTest

[code]....

View 11 Replies

Converting A Visual Studio Web Application To A Windows Application?

Jul 17, 2011

I have recently built a website in visual studio 2008.. Now i want to convert it into a desktop application.

View 1 Replies

Converting MS ACCESS Application To Windows Forms Application

Jun 23, 2010

My boss gave me an MS Access application that was developed by our former colleague. He wants me to convert that application to VB.Net Windows form application. I went through the MS Access Application. It contains tables, queries, forms, reports and macros. I could not find the programming (Where is the code written in MS Access?). My boss wants the windows application to be same as the MS Access Application (both in design and logic). I don't how will i develop the windows form. How can I achieve this?

View 2 Replies

Converting MS ACCESS Application To Windows Forms Application?

Jun 23, 2010

My boss gave me an MS Access application that was developed by our former colleague. He wants me to convert that application to VB.Net Windows form application. I went through the MS Access Application. It contains tables, queries, forms, reports and macros. I could not find the programming (Where is the code written in MS Access?). My boss wants the windows application to be same as the MS Access Application (both in design and logic). I don't how will i develop the windows form.

View 4 Replies

Inject A Windows Form Application Into Another Application As An MDI Child In .NET?

Aug 29, 2010

I am creating a program that interacts with another program and I would like to "inject" my program into this program as an MDI Child window. Is this even possible, and if so can it be done in VB.NET? What kind of pitfalls are associated with doing this?

View 1 Replies

MD5 Verifier - Make An Windows Application Or Just A Console Application

Aug 11, 2009

Okay so basically I want to see if I can make an windows application or just a console application in VB.NET that will verify an MD5 Checksum. I have no idea how to start this out, but I have the ideas of what I'd like to make it.

[Code]...

View 14 Replies

When Developing A New Windows Application And Web Application Using VS 2008/2010

Dec 7, 2010

I want to learn programming techniques so can make both windows and web applications more user-friendly, faster, safer, reliable and easier to deploy.

View 4 Replies

Accessing An Application With A GUI (windows Form Application)

Jul 28, 2010

I have a software called Portal sold by Synapse Inc. It is basically software which interacts with microcontrollers.I need only some of the features of that software for my use. So i am thinking of developing a GUI which can emulate those feature and interact with the microcontroller. Am i going in the right direction in starting to develop the GUI?

View 2 Replies

Can A Web Application Support More Users Than A Windows RDP Application

Oct 18, 2010

i am wondering if there are any case studies / white papers available comparing web applications to remote desktop applications on running on comparable hardware? What I am trying to get at is if a web application can support more users, as far as hardware resources go, than the same windows based application running on terminal services?

View 3 Replies

Converting Windows From Application Into A Console Application?

Sep 7, 2009

Is there a way to convert a windows form application into a console application in visual basic?

View 2 Replies

Discussion On Testing An Application (both Windows And Web Application)

Feb 3, 2010

After doing much programming, I came to know that testing and debugging are the most difficult and time-consuming phase of program development. User experience is imperative to an application's success, so ensuring the proper functionality of each feature is important. This discussion is to provide a step-by-step process that will help us to test our applications. It shall present testing best practices and highlight the common issues to avoid.There are many tools available for testing. I know some of them which I am going to mention below. I request msdn.com team and members to reply to this post and add some more points or tools that will help us.

a. Make sure design and page layout is consistent
b. Make sure there are no spelling or grammatical mistakes
c. Make sure the messages (alert, error, etc) are having no spelling or grammatical mistakes and are consistent.

Validate Functionality

a. Make sure all the form validations are done correctly. A program that is not robust will fail if you try wrong inputs like keeping the fields blank, inputting characters in place of numerics, -ve values where +ve is expected, large number of characters, etc.

b. Make sure the functionality desired from the page is complete in all aspects. For example, a page that is supposed to insert/update employee details does so correctly.

Prepare a test case document where you document test.In this document you simply write down the steps that you will perform to execute a test case, and results of test case execution. Complete test cases for the entire application in a similar manner.

View 2 Replies

How To Show Application Name From Taskmanager Using .net Windows Application

Apr 25, 2011

How to remove any applications in taskmanager using vb.net windows application. In taskmanager application tab application is not remove.but process is remove.

View 5 Replies

Page Start Up In Windows Application Like Web Application?

Jul 15, 2010

I have one doubt. I told yesterday that i am new for windows application. I am using web application. In our web application, we can use multiple files and what files we want to run that we give page start up options. But in windows application where is it? I am using two files in single application. I want to change default start up page.

View 4 Replies

Using .net Windows Application.Application Containing One Process With For And While Loops?

Jul 23, 2009

Am using vb.net windows application.Application containing one process with for and while loops.When i click on stop button then it should stop processing and it should losd gui.

View 5 Replies

Windows Application Versus Console Application?

Nov 24, 2010

We currently have +- 20 different console application developed in VS2008 and running at different scheduled intervals, all controlled by Windows schedular. The problem we have come accross is that it is becoming increasingly difficult to manage and maintain these console apps. In some instances a console app will just fail or never run to start with and this creates a lot of problems. In many cases one console app is dependant on another and if 1st one fails well...you see where this is going.

I am looking for a new solution that will help us to trace, debug and manage these console apps better. We are preferably looking for a gui front end, maybe windows app where we can set the intervals for them to sun and view some error reports if they did not run.We are port all the code for the console apps to which ever new appliocation we develop.

View 4 Replies

VS 2005 Communicating With A Windows Service Remotely?

Jul 27, 2009

I have created a windows service that monitors power events on the host machine. The next step that i wanted to do was to send custom messages to the service. To do this i have created a windows application and added a service controller control to it (drugged it from the toolbox). Initially i tried to send messages to my machine which worked fine (both the service controller and the service were running on the same machine)

Dim scSL As New System.ServiceProcess.ServiceController("MyFirstService", ".")
scSL.ExecuteCommand(128)

but when i tried to send a message to a remote machine on the network

Dim scSL As New System.ServiceProcess.ServiceController("MyFirstService", "machine001")
scSL.ExecuteCommand(128) i got the following error:

"System.InvalidOperationException: Cannot open Service Control Manager on computer 'machine001'. This operation might require other priviledges. ---> System.ComponentModel.Win32Exception: Access is denied.

Anyone knows what priviledges i need to set on the machine that has the service controller? Alternatively can anyone recommend a solution to this issue?

View 6 Replies







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