[vb2010] Detect The API Calls Of A Specific Application

Oct 30, 2011

Someome knows some utilities that can detect all the API calls of a specific external application? The application I would like to detect is a console application and, being without form, Spy++ don't find it.

View 2 Replies


ADVERTISEMENT

Using Specific Sessions Calls In *.aspx Pages?

Apr 22, 2009

I am using specific sessions calls in my *.aspx pages and i have 2 questions related to this:

1-Is there a difference between using this type of session declaration in your aspx age?

HttpContext.Current.Session.Item("Whatever") VS Session("Whatever")Would this give the same information for a specific user?

2-Is using Session really User Specific data? I know you can share information using cache but is there possibilities that we have 2 different users (different browsers) that would share information threw sessions. Keep in mind that i am using SQLStateServer for my sessions

View 4 Replies

VS 2010 How To Detect A Keypress In Vb2010

Feb 13, 2010

I would like the program to detect a key press and then report that key to a MsgBox

I have the code for the message box thats easy, and I have

View 3 Replies

[vb2010] Topmost ONLY For A Specific Window?

Jun 4, 2011

If I set the TopMost property of my form =True , it becomes and remains the top most window over ALL the desktop windows.how to make my form TopMost ONLY for a specific window (external to my program), knowing the Hwnd of the external window itself?

View 2 Replies

Win32 API - Equivalent To Making System Calls Abd And Library Calls In UNIX?

May 8, 2010

What the Win32 API is? I have looked around but no where really outlines what it is. Is it basically a set of procedures, outlined by Microsoft for programmers in order to get services from the operating system? In essence is it the equivalent to making system calls abd and library calls in UNIX? And yes I now Windows makes library calls too.

View 2 Replies

VS 2008 Can Set Up A Series Of Calls At Application Load

Apr 15, 2009

I have a VB6 project that I'm converting to VB 2008. There is a routine in this project to LoadArrays.By passing the proc name and arrayName I want the info loaded into, I can set up a series of calls at application load and have these arrays available throughout the application (Info is used in many areas to populated controls)This routine makes use of Getrows.Example:arraydef = rs1.GetRows.This will load all fields and records into the array.Is there an equivalent in 2008?

View 1 Replies

Replacing DbTransaction Calls With Calls To TransactionScope?

Mar 4, 2010

I have been using DBTransaction for my current projects that access a single database. However, I read some documentation on TransactionScope and was wondering in which scenario would using TransactionScope be better? Or should I be replacing DbTransaction calls with calls to TransactionScope?

View 2 Replies

Detect For A Specific Character In A String?

Jul 11, 2011

so in a program I'm working on in VB.NET I'm trying to make it so I can take in a list of strings (each on a different line). For each line I want to take in the line, and break it up into three parts. The first part goes from the beginning of the string to the first colon in the string, the second part goes from the first colon to the at symbol, and the last part goes from the at symbol to the end of the string.

For example, I'd take in a line of the series of lines: hello:world@yay

I'd want to break it into three separate strings of "hello", "world", and "yay".

How would I do such a thing in VB.NET?

View 3 Replies

Automated Process - Create An Application That Will Make Calls To An API

Dec 16, 2009

I am trying to create an application that will make calls to an API. I want this process to be fully automated to run a few times a day. What kind of application in vb.net can be automated? I've created windows applications in the past, but never automated anything.

View 8 Replies

Detect Specific Word In Text File

Feb 16, 2009

I have a function read the text file line by line, i have to detect a specific word in the text file befere proceed to another action. But I can't use substring because i not sure exact location of the word.

View 1 Replies

Detect Whether A User Has A Specific Redistributable Installed In .NET?

Jun 16, 2009

I have created a class which builds a Crystal report and displays it in a report viewer. However, without the Crystal Redistributable, the code crashes. How can I programatically detect whether the end-user has the Crystal DLL installed? The code I am required to include is:

[Code]...

View 5 Replies

Loop To Detect Specific Popup Windows

Jun 9, 2011

I am very new to vb.net. I need to be able to see when a certain popup window appears in another application. The time time it takes to appear varies so I need to know when it appears and in some cases when it has closed.

View 1 Replies

Program To Detect If A Specific Point Has Been Drawn On?

Mar 26, 2012

I have a picturebox that the user can draw on and I need the program to detect if a specific point has been drawn on. For example, I need the program to detect whether the user drew at location (8,8) and give a basic True/False answer.

View 4 Replies

.net - Why Does A Large Amount Of AppSettings Calls To A None Existent Key Cause Application Crashes

May 23, 2012

There is a very strange problem with a Windows Service I am working on that I would like to understand why it occurs. The service loops every 5 minutes and then within that loop it loops through keys containing webservice URLs that are numbered such as:

<add key="URL.1" value="http://dummy1.com/Service.asmx"/>
<add key="URL.2" value="http://dummy2.com/Service.asmx"/>
<add key="URL.3" value="http://dummy3.com/Service.asmx"/>

The code that does this check is:

If String.IsNullOrEmpty(AppSettings("OM." & intCount & ".Name").ToString) Then

When it hits a key that doesn't exist an exception is thrown and the service stops and waits for 5 minutes until the next loop.This usually works great but every week or two the Windows service will crash on that line without any Exception. The application log has a line from before that line but nothing after, none of the Try Catches are hit (the main one is catching the base "Exception" class).In the Event Log for Windows is the following:

Faulting application name: MyService.exe, version: 1.1.2.0, time stamp: 0x4fa22a24
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
Exception code: 0xe053534f

[code]....

The weird part is that this line of code is executing fine 300 times a day for at least a week which is around 2000 times before that one time it causes a full crash of the application. why this is occurring? I have changed that line of code to not rely on Exceptions and it has been working fine for a week now with no crash so could be something to do with too many Exceptions - maybe causing a stack overflow?

View 1 Replies

Detect That A Specific File Is Present In System32 Folder?

Mar 15, 2009

i have created an application using vb.net 2008 which will maintain backup of the database in system32 folder

View 2 Replies

Draw Over A Form, Detect Drawing In Specific Areas?

Mar 27, 2010

[URL] In my Windows Form, I wanted the user to give an option to draw all over the form. But, if the user while drawing, enters the region 1, I want to assign a value to variable, say a=1. Correspondingly, if the user without leaving the mouse button previously enter the region 4, I want to b=1.After the user leaves the mouse button, I wanted to compare a and b. If both of them are equal, then Result=Done else not.

View 3 Replies

Application - Conversion From VB6 To VB2010?

Sep 1, 2010

I'm wanting to use a bit of code to in a VB2010 application, however the code is in VB6. How would I go about converting this from VB6 to VB2010? I've personally never done a conversion of complete code like this.

Here is the link: [URL]

View 7 Replies

VB2010 - Call Application.Run() In Application Without A Form - "Object Reference Not Set To An Instance Of An Object

Nov 12, 2009

My problem is when i try to call Application.Run() in a application without a form i get "Object reference not set to an instance of an object." when i run it outside VS. but if ran in debug or release mode it works just fine. i may just be forgetting to setup application right, but ive done it before in this same manor and it worked fine.

Sub main() 'this runs first.
AddHandler Application.ApplicationExit, AddressOf ExitEventHandler
dbg_f("handle added")

[CODE]...

Commented out init_timer and init_ready, and now it causes the same error for the myName line. there seems to be something wrong with class Application. btw theres seems to be something wrong with the forum code formatting.

View 4 Replies

Getting A Compiled VB2010 Application To Run On 3.5 Sp1 Framework

May 16, 2010

I have made a simple vb application and have used vb 2010 to create it, which all of you would know, uses .NET Framework 4.0. I wanted to use this application at work, however, I found out that my work uses .NET framework 3.5 sp1.

So my question is, is there a way to compile something in VB 2010 that will work on .NET 3.5 sp1? If so, how?

View 2 Replies

Vb2010 Application Not Working In Windows7?

Apr 10, 2011

i created an application with vb 2010 in my windows xp pack 3 now i want to use it in windows7, but its not working!

View 9 Replies

VB2010 Equivalent To VBA Application.ScreenUpdating?

Jul 1, 2011

I'm developing a forms application with VB2010; and I'd like to be able to freeze the screen / form while the code populates the form for display on the screen. Then unfreeze the screen when the form is populated, to display the populated screen text; in a similar way to the VBA commands Application.ScreenUpdating = False and then Application.ScreenUpdating = True.

View 2 Replies

Windows Service Application VB2010?

Feb 14, 2012

I made a program that makes backups of a database when the user runs the application, etc. But now my new work is to make it as a Windows Service, to run on the days and time that the person choose, how do I do it ? I never created something like this. I got all the code to make the backup, now the problem is to create it as a service.

This is my form to the person choose the days and the hour to the process runs and install it as a service, and when it runs to be minimizated on the windows icons near clock and date and another option on another button to make it a service too, but now to load all the time that the windows starts :s

View 10 Replies

Is .NET Framework V4 Necessary To Run An Application Created By Vb2010 To Run On Other Computer

Jun 15, 2010

is .NET framework v4 necessary to run my application created by vb2010 to run on other computer??? cause its large file to download....

View 4 Replies

Procedure For Build And Deploy And Application In VB2010?

Feb 23, 2011

What are the steps to build and deploy an application using VB2010?Were the deploy package and files are located after the deployment?My experience is deploying under the VB6 enviroment or Install Shield.

View 2 Replies

Detect If The Application Is A Console Or WinForms Application?

Sep 24, 2010

detect whether the current application is a console or a winforms application.The reason that I want to do this is that I am developing a library with a global error handler in it and I need to know what type of application it is in order to be able to subscribe to the appropriate exception event.Obviously I could get the user to pass in a parameter specifying what type of application it is, but I would rather deal with that automatically so its all encapsulated from the user of the class.

View 1 Replies

VS 2010 Developing Application For CRUD In VB2010 To Access2003

Apr 4, 2011

So I'm developing an application in VB2010. The idea is to perform CRUD operations (more or less) to an Access2003 Database. The database is relational, yet I haven't grasped the best architecture to make an application to interact with it. I tough doing a Business layer with a domain model would work. Controllers for each Use case (which are basically CRUD operations) would create Domain Layer object. Yet I don't know yet how to manage the mapping of the objects to/from the database.

View 8 Replies

Thread State - Thread In An Application Which Calls A Sub Routine Main()

Jul 26, 2010

I have a thread in an application which calls a sub routine Main(). The Main sub routine in turn call several sub routines/functions from with the same module,several different classes in the same application. Also some sub routines/functions call routines from a class library. Now say the routine/function in class library goes into a infinite loop and never returns. I would like my thread in the application to raise a event and display message to the users about the infinite loop. I am giving some sample code for the application.

Imports System.Threading

Module VMain
Public gbSuspend As Boolean

[CODE]...

View 7 Replies

How To Detect The First Application Run

Jan 31, 2012

I want to ask the user a barrage of questions regarding configuration settings within the application. All that is handled, except that I want to ask them on the first run. (Kind of like a "Welcome form".) My question is, what is the easiest way to detect the first run and how would I go about doing so? Side note: regarding the link above, which location would be a good location to set a key value? (I've never really worked with the registry much until now.)

View 10 Replies

Detect If .net Application Closes?

Nov 15, 2011

I've been looking around the internet and I haven't really found any solution to my problem. Is there a way to perform a function when a user closes the form either by pressing the X button in the top right hand corner? I am using a database that saves what form the user is currently looking at, and when the application is closed I want to say "offline."

View 4 Replies

How To Detect And Close An Application

Dec 2, 2010

how do I check to see if an application is running on the computer and, if it is, then close it? For example, I want to see if "myprog.exe" is running and, if it is, send it a message telling it to

View 3 Replies







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