Php - Run Some Calls To A Site As Test?
Mar 30, 2011
I need to run different consecutive calls to a web service with no particular response needed to be read, just need execution.What is the simplest approach? I can run either asp.net or php script.
[URL]
View 2 Replies
ADVERTISEMENT
Nov 5, 2011
I have a 'health check' program that I have scheduled to run every 10 minutes. When it detects a problem, it sends a message to my cell phone.
Right now I have it checking databases by connecting to them, and trying to open them - that seems to work fairly well. I also have it checking web sites but all I'm doing to test them is[code]....
View 3 Replies
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
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
Mar 26, 2010
I am not sure if this is possiable but I am looking to build an application that will login to a web site, navigate the site and download files. I would like to do this all in code and able to run multiple instances of the program to get information from many different web sites. Is something like this possiable in VB.net?
View 3 Replies
Feb 9, 2010
Ive got an app that holds a list of site we have, At each site there are a few devices. The idea is when they click on a site all the details for the site are loaded and then a second thread sits and pings each device to see if its live. Im trying to do this in a seperate thread so if they click another site while its still pinging them it doesn't wait before it switches site. This all seems to be workling fine except if you click through the sites quickly, when you do that it will eventually come up with
Quote:
{"Collection was modified; enumeration operation might not execute."}
The error flags up on the "Next" line in "ThreadedPing"
Thread stuff
Public Sub ThreadedPing(ByVal dt As DataTable)
Try
Dim dr As DataRow
[CODE]...
View 2 Replies
Oct 13, 2010
When i publish my program i choose to let the application check for updates via a website and if their is one update automatically when the program starts. Is their a way were on the main user form i can make it so that the user can change the update site with out me building the program again with the new site. I want to do this becuase the site i use goes down alot so when i changed the update url no one was able to download the update for the new update server.
View 16 Replies
May 19, 2011
I'm deploying a VB.Net app (VS 2010 Pro) that requiers the user click a command button to open IE to a financial WEB site and download informaion from the site. The app works fine in every detail when installed on the development computer. But, on the target computer when the command button is clicked an unhandled exception occurs which says: System.IO. FileNotFoundException:File Not found.My code behind the button is Shell("C:Program Files (x86)Internet Exploreriexplore.exe www,fidelity.com",AppWinStyle.NormalFocus)
This works fine on the development computer. Do I need a way to code this as a relative path? If so,can you tell me how this is done?Throughout the app I have written relative paths to needed files using paths like (Open(Environment. GEtFolderPath (Environment. SpecialFoldder.Desktop) + "File Name). They all work fine when deployed.
View 7 Replies
May 18, 2012
I'm being asked to maintain several internal-only web apps for my company. For testing, after making my changes, I've created some staging sites which make use of separate databases. As such, if my users were to mistakenly use this site as if it were the production site, they may enter important data and wonder where it "disappeared" to thinking it was the production server.
I'd like to create a big banner of some sort across the top of the staging site (which ONLY appears on the staging site) to remind my users that they are on the test site. I'd like recommendations on the best way to do this, with the following considerations:
IDE: Visual Studio 2008
Server: Windows 2003 with IIS 6
Language: VB.NET 2.0
View 2 Replies
Jan 8, 2010
i want to know how can i code my button when i click it will open my site ... i Think i was clear.
View 1 Replies
Sep 25, 2010
I don't understand the error, Argument not specified for parameter 'test' of 'Public Shared Function TestThis(test As String)'.
Partial Public Class Form1
Shared Sub ReceiveCallback(ByVal ar As IAsyncResult)
Form1.Invoke(TestThis, New Object(){"test"}) 'error
[code].....
View 6 Replies
Oct 21, 2010
when i am surfing in one site,i want to see the another URL...without going URL directly access the login......for example this is the login page url i want know automatic login to this page [URL]
View 1 Replies
May 25, 2009
[code]...
and from VB6 project I reference to Test.dll but an error messege was appear A reference to Test.dll file could not be added (If I create VB NET project and reference to file Test.dll it OK )
View 10 Replies
Sep 20, 2011
Probably a dumb question, but can you write a unit test project in one language to test against another project in a different language?I'd like to translate one of our VB assemblies into C#, but want to build unit tests to verify the results. I've tried to set a unit test project up to do this, but I can't seem to access the VB code within a unit test... I can't figure out if I'm just missing/doing something stupid, or it really isn't allowed.
View 2 Replies
Jan 12, 2012
I want to get a list of all students who were at one of two events. Here's my function to get an attendance list:
Private Function AttendanceList(ByVal Mode As AttendanceListLookupMode, ByVal AttendaceTypeID As Integer, ByVal EventID As Integer, ByVal EventOccurenceDate As Date) As IEnumerable(Of Integer)
'Get the attendance table for specified event[code].......
View 1 Replies
Nov 21, 2009
i want to know how to use api calls in vb.net2008. in visual basic 6.0. we can find the list of api calls in add in manager . in vb.net2008 how to find it..
View 2 Replies
Jun 16, 2010
For some time ago I have notice that my App on every start make a call to csc.exe and starts it. I have google-it and found out that csc.exe is some kind off on-the-fly compiler for C# (If I understand it correctly ) but my App is in VB.net. VB.Net code to make my App on every start calls csc.exe?
View 13 Replies
Dec 13, 2010
This should be fairly basic, but say I have a Public property as local variable on my WCF service, and I set this in one call to the service. Is there a way to preserve that data for another call to the service? (Without writing the data to xml or a db, and re-referencing it or anything like that)
Executing the calls from the Winform:
Public Class ClientSideWinForm
Private proxy As ServiceReference.Client
Private Sub Client_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
[Code]....
View 2 Replies
May 5, 2009
I have an application which has been succesfully installed on a number of different client machines.
The problem I now have is that I have been asked to allow third party applications, possibly written in a non .net language set to plug into my application and execute some of the code. Just a handfull of properties and half a dozen methods.
Now I can wrap up these properties/methods, make them public and have them in their own project which will be part of my solution but I have no idea where to go from here.
How do I make this portion of my application accessible to a third party application written in unmanaged code ?
View 1 Replies
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
Apr 2, 2012
I have a CRM application that I would like to programatically post new records and updates to, based on values in other tables getting inserted or updated. Problem is because of how this CRM app was designed I cannot use straight SQL insert/update SQL commands. This is because the database has some proprietary account#/record ID generation algorithm, and also writes to a log table using some pretty cryptic looking values.
The only way to ensure the integrity of the data is to use a the COM based API they provide. How can I send calls to this API from SQL Server code, I'm guessing a CLR user defined function? Can anyone point me to such tutorial on the web?
The updates I am making MUST be in real time, that is why I need to use a trigger that calls this app's API.
View 2 Replies
Jun 12, 2009
I'm having some trouble finding the syntax for making function calls to unmanaged DLLs in VB.NET. Let's just assume there's a function "Connected" in unmanaged DLL "Connector.DLL". I want to call this function by creating an abstract function call to it.
I've seen some code out there that looks something like
[DllImport("Connector.DLL")]
Public Shared Function Connect(ByVal intPort)
But that syntax doesn't work for me.
View 2 Replies
Mar 3, 2012
I have my main app that calls a dll with a form in it. Is there a way to make my main app be the owner to the dll form?
View 7 Replies
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
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
Jul 12, 2011
I have a VBNET app to scan my Active Directory using WMI calls and return some basic informaiton such as Dell Model name, current user logged on, Dell Service Tag etc my issue is the app becomes unresponsive whilst it scans and i have to wait for it to finish looping before i can work with it, in the past a do events used to suffice
I think Multithreading is the way i may need to go, whats the best approach? I tried to use Delegates but it doesnt seem to have made any difference
below is my for next loop code that calls the functions, the last section "Private Sub Button1_Click" down is the Delegate code i attempted
[Code]...
View 3 Replies
Jun 24, 2012
I have problem setting up the mock to fail if the user has attempted to log in three time with failure. My code looks like this[code]...
View 2 Replies
Jun 23, 2010
i recently upgraded from vs2k8 to vs2k10 and after loading up some of my programs i couldntbut notice the error window saying "A call to PInvoke function bla bla has unbalanced the stack. bla bla bla..."This is very annoying since the exact same code worked perfectly in vs2008 and theres no apparent reason for their sudden failiure, i tried different kinds of calling conventions but i get the same error on each turn. The error message only seems to appear upon callingg
View 4 Replies
Oct 1, 2009
I'm working with the DevExpress XtraGrid control.I have a routine that goes thru and adds all the controls on the current form dynamically, and launches on a seperate thread the routine for a given control to initialize it to the value that will be displayed to the end-user. Some of the controls are displaying calculated values, and take some time to return their values, so that's why we are doing it on a seperate thread.
[Code]...
I'm using a similar snippet of code for any control properties that have to be updated, and all work fine. On the above code when the actual Invoke is called, it APPEARS that the thread just ends and never calls the delegate, and doesn't return to finish either.
View 2 Replies
Mar 16, 2010
My app is basically talking to a device via RS232. I need to 'listen' to the data received and do certain things based on it, update labels, etc. When I started, I only had a couple cross-thread calls and I used JMC's example to get by that. Now my app is bigger and I am calling the ThreadProcSafe all the time. I am hoping there is an easier way so I don't have to create sub routines for every control. Here's the relevant parts of my code.
Private Sub StepperSerialPort_DataReceived(ByVal sender As Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles StepperSerialPort.DataReceived
Dim ReceiveBuffer As String
[Code].....
View 4 Replies