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


ADVERTISEMENT

Create Automated Backup Files In Application?

Jan 12, 2010

How to create automate (or) schedule backup files in vb.net application using window services

View 5 Replies

Create Automated Bookmark Url?

Nov 4, 2011

how to create automated bookmark url using vb.net?

View 3 Replies

Avoiding Cross Process Calls When Doing Word Automation

Oct 5, 2010

I've got a Word Addin in VB.net and VSTO that exposes a COM compatible object via Word.COMAddins.Object, so that the addin functionality can be called External to Word, without accesses to Word itself being cross-process.The technique worked in VB6, but with VB.net, it still works, but it's much slower than the same code running directly from the addin via a task pane, as if the calls are all cross process when they shouldn't be.Anyone who's ever done Word automation knows that code that runs perfectly acceptably INPROC with Word (in this case the instance of the ADDIN that Word itself loads), will generally run unacceptably slowly out of process (or cross process).[code]And slow as in a factor of about 10 to 1; what takes 3 seconds to run when run directly from the ADDIN via the task pane, takes ~30seconds to run when called from external code through the COMADDIN.object object. I'm guessing that I'm running into some sort of issue with .net APPDOMAINS or something and what +really+ constitutes cross proc calls in .net, but I've found nothing so far that would even hint about this sort of thing.My next step, barring some mystical insight, will be to code up a repro, which could get tricky because of the shear number of elements in play.

View 1 Replies

How To Create An Automated Excel Files

Jun 8, 2011

i want to create an atomated excel files actually this software exceLINX ( my research software) build in excel files.then this exceLINX software is the main software to trigger my data acquisition equipment. thus

i need a coding in VB/macro to trigger the excel in the exceLINX software to start my measurement for the experiment.

View 11 Replies

Make An App That Can Be Automated In The Same Sense That Get MS Word?

Mar 10, 2012

Firstly please see this thread.>>[URL]..In the code in that thread the code calls on MS Word to check its dictionary and then report back TRUE / FALSE if the word is found or not.

Rewriting the code slightly for a Windows Form application with one Button on the Form I now have.>>

Option Strict On
Option Explicit On
Option Infer Off

[Code]..

View 2 Replies

VS 2010 - How To Make Automated Task Queue

Sep 22, 2010

I'm trying to make a program that will allow people to queue certain tasks at certain intervals. (i.e. the task is done every 15 minutes, etc.) They can make as many tasks as they want, at whatever intervals they want. How can I possibly make a task queue? Like, how can I queue up code that I already have made to be run every so and so often, according to what the user inputs? And, if 2 tasks are started at the same time, they will both still be done, it's just that one will be done as soon as the first one is complete.

View 4 Replies

Form Exit Click - Sql Database Should Create Automated Backup

Feb 19, 2010

i need to run sql database backup tasks everytime i click on Exit button. Suppose my database name is -myauthor which contains tables,views,procedures and this is my windows forms. as soon as i click on Exit button i want my database myauthor should create a backup file or is there any other way to do with windows forms.

View 2 Replies

Can't Make Calls To Other Forums

Feb 20, 2012

Trying to make a call to another forum to chance some text boxes on it and update it. I had it working I thought but the values were not holding when I closed the box so I came up with this solution but Im getting null exceptions.[code]....

View 11 Replies

Make Login And Using Calls VB?

Jan 28, 2010

Once I click Sign in, I want the application to test to see if the user has internet. If it does I want it to call another sub. If the network is not available I want a message to come up and say Error, no internet connection.

This is what I tried but can get it to work If My.Computer.Network.IsAvailable Then Call testnet()
else Messagebox.show("Error", "Truoble connecting to data base")

View 2 Replies

Make Pc To Phone Calls?

Jan 11, 2009

i wanna make a program with vb that can make pc to phone calls and i wanna know if it is possible with vb or if i need another program because im new to this programing thing

i added a tool in toolbox called phonecall but however i cant use it i dont know why

View 6 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

Make A Multiple Asynchronous Calls Using .NET?

Jul 12, 2011

The scenario is that an ASP.NET webforms page will call a web service in an async manner to make about 8 web service calls to various providers for data. I would like to run them in parallel to speed things up. I also need to wait for them all to come back before moving on.

View 1 Replies

Avoid NullReferenceException - Make Two Calls With The Datareader

Dec 17, 2010

I'm fairly new to .NET programming. I am trying to check if there are settings in a database table and if not, create some default settings. The problem is that when there are no settings I need to make two calls with the datareader and it keeps giving me problems. I originally was only using one datareader but made two to attempt resolving my issue, didn't work. Then I tried closing the datareader and I get errors because it returned a nullreference.

[Code]...

View 3 Replies

Cannot Make Twitter Calls Using Twitterizer Silverlight/Async

Jan 26, 2012

Using the code example on the Twitterizer website I am trying to post a tweet to twitter with this code:

Dim asyncResult As IAsyncResult = TwitterStatusAsync.Update(
tokens.Tokens,
Tweet.Text,

[Code]....

View 1 Replies

Use A DB Queue To Make Http Calls And Update Status In Db?

Feb 28, 2012

I want to use a database table as a a queue...but the processing of these messages cannot be done from the database.I have a table that stores the requests i get from a .Net component. I now have to read the data from these tables and make http calls to 2 webservices. Based on the response received from the webservices, the data gets archived or deleted.I had a few specific questions:

1. How do i make sure that if i pick a record for processing and the http call fails I should be able to go on to the next record, and then come back to this record at the end of the run

2. Is there an alternative to using the database as a queue(like MSMQ etc.), which option is better

3. I want to maintain an audit trail of the record status. Is creating a trigger to log the changes before the edit the best way to do it?

View 1 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

[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

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

How To Make Thread-safe Calls To Windows Form Controls

Sep 20, 2011

[URL]

In my program, I created a list of a class that contains 5 picture boxes, a button, a label, an identifier, and some other stuff. I've got roughly 65 of these in this list. I'd be stupid to hard code all that in. The identifier is a 2nd way of identifying which specific location I'm working on.

Anways, all this is created at compile time. Works perfectly fine.

I then manually start a background worker that pings a collection of components. Based off the success of those pings, the picture boxes are enabled or disabled. Basically a proactive way to see if a collection of devices over multiple locations are actually working.

It's the background worker that fails because of thread-safe calls.

Private Sub bgwStatus_DoWork(ByVal sender As Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles bgwStatus.DoWork
Dim status As Integer

[Code].....

View 1 Replies

VS 2008 - Make An Automated PIREP System. PIREP Stands For PIlot REPort

Jun 10, 2010

I am the CEO of Virtual American Eagle airlines. I am looking for some help on how to make an automated PIREP system. PIREP stands for PIlot REPort. What I need it to do is connect to my site, make the pilot login, connect to FSX (Microsoft Flight Simulator X) and FS9 (Microsoft Flight Simulator 2009). It needs to track: that the engines are off, the speeds or takeoff, climb, cruise, and decent. Then I want it to track the time that the wheels hit the runway, the time that the engiines go off, then automatically put it into a list and with the push of a button, send it to our site.

View 10 Replies

VS 2008 : Make An Application That Can Create Exe Files?

Sep 4, 2009

how i would make an application that can create exe files.Like i make an app that has the options:

Form name:
Form icon:
Message to display:

and then you click build, and it builds an exe with the options set in the original form as the settings for the new exe.

View 2 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

Control The Tool Tip Popup Or Make Calls To The Text That Displays Based On A Integer Value?

May 12, 2012

how I can control the tool tip popup or make calls to the text that displays based on a integer value. I'm wanting it to display a text based on a interger value inside an if statment for a picture box. So if the ingteger = 1 then tooltip.text = "" else tooltip.text = "" but that is not the correct syntax.

View 2 Replies

Make Application To Automatically Create Preset Folders With Files?

Apr 11, 2011

how I can make my Application to automatically create preset folders with files when installing the application? The files should be under user/documents/MyApplication/Newpresetfolder

View 5 Replies

VS 2008 - Registry - App To Create A Reg Key - Make My Application Start Up On Any Machine ?

Feb 3, 2010

Ive got my application running at startup on my computer. But how can i make my application start up on any machine ? Do i need my app to create a reg key ? Also what path do i use for it to start up on other machines ?

Heres the code im using to start it up on my machine.

Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
If CheckBox1.Checked = True Then

[CODE]...

View 10 Replies

VS 2008 Create An Interface Between A Third Party Application Which Can Make Use Of C/C++ DLLs

Nov 30, 2010

I am trying to create an interface between a third party application which can make use of C/C++ DLLs, but no interface directly to .NET. What I was hoping to accomplish (not sure if possible though), is create a very basic C++ DLL (not .NET), which the third party application would call directly. This DLL would contain a basic method such as "DoSomething()". Somehow, from my .NET application, I want to "listen" to this DLL and "takeover" the DoSomething() method, and then returning the result back to the DLL, which will in turn return the result back to the calling third party application.

I don't even know if this is possible because I'm sure I would somehow have to get a hold of the memory space of the DLL as initiated by the third party application. Also, it seems that creating a managed DLL does not work, based on feedback from other individuals who have tried this.

View 1 Replies

IDE :: VB Express 08 - Create A Word Application From VB - Set Out A Format, Make A Small Table

Aug 6, 2009

I am trying to make my program print out a requistion slip but I don't want to make a report using VB b/c sometimes the printer is not connected and it is better to have a Microsoft Word document and save it as such. So how do I create a Word application from VB? I basically am going to set out a format, make a small table etc. and then whatever the user types in the textbox, it will appear in the slip. (I am using Word 2003)

View 1 Replies

Make A Root User Interface That "calls" The Functions And Subs Remotely?

May 25, 2010

I have an application that I am reworking. It has many reports and a pain to compile and roll out.I'd like to make a root user interface that "calls" the functions and subs remotely.I was concidering pulling them and making formless exe's of them, passing the needed criteria via command line. Yet still be able to update and control them.

View 4 Replies

VB Application Book - Entire Development Process Of An Application (Prefered: WPF ,LINQ ,ADO)

Apr 17, 2012

I am looking for a VB.net book that strings me through the entire development process of an application (Prefered: WPF ,LINQ ,ADO). I have read a few books on OOP and VB.net with small code samples demonstrating the specific idea of the chapter.I think it would be really helpful if there was a book that programmed an entire application that uses a sql database (Northwind , Adventureworks).

View 1 Replies







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