Block Some Application From Running .net?
Nov 29, 2011
I'd like to block unwanted application from running in my system, mostly setup until given access by my application. I would have a white list of allowed application.
how do i imoplemnt this in vb.net
View 1 Replies
ADVERTISEMENT
Jun 14, 2011
How to block a program from running twice. Show a message box when the program is executed twice
View 1 Replies
Apr 24, 2010
I had done one application using api which send the message to given number. The working of software is very fine without any error working on windows XP SP2. I heard that vista already contain the .net frame work so didnt installed .net frame work in machine. I checked in vista it shows .net frame work is in machine. But when same code i tried to run on Vista it gives the error. Error is as follows
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at SmsSendingApplication.frmSingleMessage.InternetOpenUrl(Int64 hInternetSession, String& lpszUrl, String& lpszHeaders, Int64 dwHeadersLength, Int64 dwFlags, Int64
[Code].....
View 7 Replies
Aug 18, 2010
We have a current implementation of a log file manager where it's two main purposes are to 1. rename files generated by other programs with a date/time stamp so they create new ones, and 2. delete files older then X amount of days from a specified folder. The program also makes it's own log file which records when these events happen.Do you think the Logging Application Block would be useful in this instance? The old file manager is written in VB 6.0 and an upgrade to VB .Net would not take too long, but is it worth it to try and implement LAP into it?
View 1 Replies
Dec 3, 2009
I'm having a problem with some users, my vb tools always check at the splash screen a response from a server with a simple:
Dim MyResult as string = oWebclient.DownloadString("www.mydomain.com/page.php")
This actually works for most users but in some clients the firewalls I think they block this call or bypass or something like that, I found that after telling the user to turn off the firewall everything works ok, now I have some users that according to them they don't have a firewall or they already disable and still they have the problem.
You can see from the image the error message they receive, so my question is do you know any kind of free tool that I can send to the user to maybe log what program or whatever is blocking the program to connect?
View 6 Replies
Nov 24, 2009
So I created an application with vb.net, I added Messenger type Api in preferences, compiled my program and everything was fine. However I can't run the program from other directories. It says that the .dll is missing. I'm trying to include the .dll to the program somehow - no success, how that should be done? Friend tried to help me and said I should add "Application block" something to the references. I can't find that though.
View 6 Replies
Oct 2, 2009
I have a block of code in an application I have written. I have tried two different variations.Below are examples of the method I used: [code]
The second example adds only three more lines of code. Yet, the app would run at about 10% of the speed as it would in the first sample.
View 9 Replies
Jun 4, 2011
what account for this error message in ls beta 2?'' The last change wasn't successfully persisted.Please shot down the running application.
View 1 Replies
Oct 7, 2010
Is there a way to intercept a MsgBox() from an external application and block it using VB.Net?
For this discussion, let's say the MsgBox Title is "SQL Application" and the Message is "SQL Error - Try Again".
I have found some examples of looking for the MsgBox to pop-up (by watching for the Window title) and then sending key(s) to press OK, but I was curious if the whole process could be avoided. Otherwise, the user still sees a MsgBox or a "flash", even if it's only temporary.
View 1 Replies
Dec 10, 2009
I'm a college student just starting out programming in VB and am having a lot of trouble trying to get my drawing program to work. Currently i am using Microsoft Visual Basic 2008 Express Edition and whenever i try to debug my program the window it's supposed to run in is just a gray block. I'm not too sure if this is the right place in the forum to post this so if it is just let me know and ill move it. c:
[Code]....
View 2 Replies
Mar 31, 2009
Is there a need to explicitly close the connection in this Microsoft Data Access Application Block for .NET? i am encountering timeout expired pooling errors in the sql server 2000. I am wondering if the unclosed connection is the problem
View 2 Replies
Oct 18, 2011
I am using logging application block for EL 5.0. I defined listener like below.
<add name="FlatFile TraceListener" type="Microsoft.Practices.EnterpriseLibrary.
Logging.TraceListeners.FlatFileTraceListener,
Microsoft.Practices.EnterpriseLibrary.Logging"
[Code].....
View 2 Replies
Sep 13, 2010
When using WCF together with Enterprise Library 5.0's validation application block, is it possible to customize the error messages which are sent back to the client? I've added the ValidationBehaviour-attribute to my service contract and the FaultContract-attribute to the operation:
[Code]...
The service returns ValidationFault as it should, but instead of having the error message and tag which I've defined, it uses some generic values. Is this a bug or am I doing something wrong?
View 1 Replies
Jul 12, 2011
Which is the best way to store application and user settings of an application running with multiple instances?My problem is that using the vb's "Application Settings" one instance would overwrite the other one.I want to identify each instance with a number passed via command line argument. I could use this number to identify the appropriate settings of the running instance, but I see in a local INI o XML file a better way to handle that.
View 1 Replies
Jul 13, 2009
We are working on an ASP.Net/VB.Net application using Enterprise Library for our data access (DAAB).
We are trying to store DateTime values in an Oracle Date field. However, the precision is being lost. Currently only the year, month, and date are being stored. We need better precision than this.
Oracle Dates are supposed to "includes not just the month, day, and year, but also
the hour, minute, and second. "
View 1 Replies
Apr 9, 2011
Let's say 10 desktop shortcuts, all with different names/icons, point to and can start the same exe application from the same directory. Is there any means for the application to know the distinct name of the shortcut that was doubled_clicked. Also is there any means for a running application to know if it was started by command line, by a double_click on the exe, by a double_click on a shortcut that points to it, or by another process' call?
View 4 Replies
Oct 21, 2010
I am trying to use Setup project. Want my setup to create a desktop shortcut with my application.I donot understand how to do it. Clicked on User's desktop, I created Shortcut to User's desktop, changed the properties Target and Working Folder as 'Application Folder'But it does not connect with MyApplication.exe When I ran the setup and tested Desktop short cut, it took me to the folder where application was installed, instead of running the application.How to make the application run using this shortcut?
View 1 Replies
Dec 25, 2011
I need to run an external JAR file (which is minecraft) within the window (form) of a VB.NET application, so like having the program in the center and additional text I like around it.
Is this possible, and if so, how?
View 1 Replies
Mar 15, 2012
Is it possible to reload a form of the running application from one computer when I executed a function from my other computer with the same application? co'z I want to see the changes of data on my datagrid view?
View 2 Replies
Oct 21, 2009
I am not sure if it proper forum for this question. anyone explain how to run a easy VB.net program in a website.I know there are other programming tools for this purpose but I'd like to use VB.net.
View 3 Replies
May 11, 2009
I have an application that provides core services for a series of other applications.When another of these applications is started, I want to check that the service application is running and if not shutdown.What is the best method to check for the existence of the other app? I'm thinking that I should be using a global mutex in the services app and checking for it's existence in the other apps. Is this the correct way to proceed?
View 4 Replies
Apr 12, 2011
how to get the name of control on the screen that is running in a different appliation. The getwindowname only gets the title bar and controls don't have title bars. I can get the text from each control , but I can seem to find a way to get the name of it.
View 6 Replies
Mar 21, 2009
I am using Windows XP and Visual Studio 2008. Now, i am writing an application which under testing runs fine under XP but when i try to run it under Vista, when i click on the program i keep getting an error saying:System File Intergrator has stopped working.How do i get my application to run on Vista as well as XP?
View 11 Replies
Jan 21, 2009
I want to be able to test if an Excel application is already running on the computer. If it is, I want to use it to create and save a new file. Excel will remain open.If no Excel application is running, I will open Excel, create and save a new file, and then close Excel.
View 8 Replies
May 16, 2010
I am trying to delete a running application is this possible. Here is what i meanIf you have a program running you know when you try to delete it, a message pops up " this program is being used Bla Bla Bla ..." want to delete that program even if its being used.
View 5 Replies
Aug 4, 2009
Is it possible to disable F12 key when my application is running using framwork 2.0
View 1 Replies
Mar 9, 2010
I can't find why my application is working in some pc's. i have install the net framework 1.1 and when i run it i am getting system runtime.interopservices.comexception occurred in system.windows.forms.dll additional information class not registered i understand that something missing because i am usuing also activex controls i does't seems to be register problem because in some other pc's is working.if io install vb6 the problem is solved.what is missing?
View 6 Replies
Oct 4, 2011
So I'm writing this VB.NET application, and it's doing things. But whenever I press a button to start some process, it does what it does except I can't click the window until it's finished. Otherwise the whole thing freezes. This essentially stops me from doing more than 1 thing at a time, because if I click another button (or anywhere) when something's running, it just freezes my program.
View 1 Replies
Aug 3, 2011
At user login, launch an app I have created. This app opens a web site in a webbrowser control, logs the user in to the web site, and parses links from the resulting web page. These links are links to launch citrix sessions on another farm.
Create another app that appears on the start menu for the logged in user. User clicks on this app, it communicates with the launch app to basically click the href associated with the citrix app within the webbrowser control. Then this app will go away...
I have already coded the first app and figured out how to click links within the webbrowser control. What I can't figure out is how to go about implementing the second app, that runs as a separate app, but communicates with the first app to do its business. I see a plethora of options such as MFC, AppDomains, RPC, and so on. My question is which is the best practice to have one app interact with another and have the other app take actions based on that interaction? I prefer to stick completely to vb.net.
A good example of how I would like this to work - a web browser (IE, FF, whatever) is open on the desktop, user clicks a link in an email, link opens in running browser. An action in the mail client causes action in the browser.
View 4 Replies
Nov 2, 2010
will .net framework3.0 application run on 64 bit operating system
View 5 Replies