.net - Creating A Web Service To Automatically Get Information?

May 13, 2010

I want to create some sort of method of creating a web service that will run automatically and run DB queries and some API calls which will then store data that I can use/call without taking the processing or time penalty of doing it every time a user access my web service. how to implement something like this

Using vb.net and ASP.net

View 2 Replies


ADVERTISEMENT

Service Starts Then Stops Automatically

Jul 22, 2011

I have a solution that has three projects. One is a service, one is a form, and one is a class library. I use the form for debugging, my logic is complete now I would like to just call.

[Code]...

View 1 Replies

Get Information From Notepad Into A Word Fill Form Automatically?

Feb 23, 2009

get information from a notepad document that is created automatically in another program that I use into a ms word form.What i Have,I have made a ms word form with text fields. i need to write a code in vb to get information from that notepad document to fill the information on my word form.

View 1 Replies

Send A PDF Form - Fill Some Detail Information In The E-mail Automatically?

Jun 18, 2010

I want to send a PDF form from my program.Sending the form is not the problem.But i would like to fill in the Subject, and some detail information in the E-mail automatically.

View 5 Replies

Retrieving Task/Service Information?

Mar 11, 2011

I'm trying to understand how I would retrieve information about a running process on my machine from a VB.Net routine.For instance, Assume I open Task Manager and see a process called "Bob.exe".From Task manager I can see the PID for Bob.exe, the memory it uses, the I/O information, etc.I want to be able to query the machine for this information for Bob.exe from a method within VB.Net.

View 5 Replies

Designing A Program - Click On Something In The List It Will Automatically Open A .dat File Pull The Information

Jan 28, 2011

Im using visual basic 2010 and im building a program that will basically, you click on something in the list it will automatically open a .dat file pull the information that it needs, and then proceed to enter it into a box on the right. Well heres my issue i know how to do everything else but i cant seem to imitate this image, i need to know how i can make a list like this where the whole row is selectable, and the items/subitems are divided.

View 9 Replies

Put A Wrapper Around Some Functionality That Uses A Web Service To Return Some Information?

Nov 28, 2011

This is annoying. I'm trying to put a wrapper around some functionality that uses a web service to return some information. The intention is to wrap all of that communication into a dll such that the user can simply call functions from the dll to get back information, without needing to care about the service.As far as I can tell, that isn't possible, because the service information, as far as bindings and endpoints, HAS to exist in the app.config of the program that references the dll. That means that anybody using this dll won't just be able to add a reference to it and use it, like they would with any other kind of dll, they must also edit their app.config to add in a bunch of information. That's a simple copy and paste job, but it's incredibly unfriendly, and exposes some of the internal workings of the dll to casual inspection.

View 8 Replies

Automatically Creating Proxy For Specific Browser?

Mar 8, 2009

Is there a way to have your program automatically create a proxy for a specific browser, like IE, when your app is running? I was thinking that maybe you could create a VLAN proxy or something and a button on the app to toggle it on and off. But I'm not sure how or if one can do it.

View 1 Replies

Creating An Id Column Which Generates Numbers Automatically?

Oct 14, 2009

how do i go about creating an id column in a form using sql database which generates numbers automatically?

View 2 Replies

Insert Into Database Automatically Creating A Folder

Nov 11, 2011

I was just wondering if this is possible. I have a site that admins use to add products to our database. The database is in SQL Server 2008 and I use Visual Studio 2010 using VB.net and was hoping that upon addition of a new product, it would automatically generate a folder assigned to that product's ID.I haven't found anything online that would suggest that this is a possibility, but it would make it a lot easier for me. As of right now, I have to remember to create a folder in the X: drive for each product that has been added. We are up to 645 products now,

View 2 Replies

DGV CheckBox - Recognise Which Check Boxes Are True And Update Automatically When The Information Is Opened From A Text File?

May 8, 2012

I have code which saves DGV contents including check box columns as a comma separated text file. I also have correct code which will take the text file and re-insert it into the DGV at a later time. This all works.When I'm working on the DGV, I have this

Private Sub DataGridView1_CellValueChanged(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellValueChanged
If DataGridView1.Columns(e.ColumnIndex).Name = "Column12" Then[code]....

So that when the check box is true, columns 1 and 3 turn different colours, and when false, go to a yellow colour.However, when I "re-insert" my DGV info from my text file, the check boxes come back correctly - as true and false on the right rows - but columns 1 and 3 don't change colour. I've tried a "DataGridView1.Refresh" option but not getting it to work.The DGV is unbound. I need it to recognise which check boxes are true and update automatically when the information is opened from a text file.

View 16 Replies

Creating Install Directory - Automatically Find The Desktop For Xp

Aug 19, 2010

im an amateur programmer making a program for somebody else. i need to get it to run out of the box no problems and i need to find a way to automatically find the desktop for xp but it would be nice if the same code worked on vista/7 to but thats only if its convenient.

View 4 Replies

[2008] Web Service - Mysql Connectors To Send And Retreive Information From My Database

Jan 30, 2009

Currently I have been using mysql connectors to send and retreive information from my database. Someone suggested that a web service (wdsl? etc) would be a more efficient way of sending information both ways.

View 9 Replies

Creating A Process From A Service?

Sep 19, 2011

I'm trying to start a process from a service (kind of an on-demand process) using the code bellow:

elproceso = New Process()
Dim informacion_inicio As New ProcessStartInfo(dataReader(2))
elproceso.StartInfo = informacion_inicio
elproceso.Start()

View 4 Replies

Creating Service App With FTP & Cmd Line Params?

Jun 23, 2010

My first post as an absolute last resort. In 8 years of programming, I have never posted to a programming forum and have always been able to wiggle my way out of any diffficult project...Until this project.Every step of this project is new for me (Windows service, ini file, IIS, FTP, cmd line params, comparing file specs programmatically, using a timer, and even VB.NET is still confusing to me after several years in VB6 ). Dreading posting b/c I have so many questions. I have finished the internet, been to the end and back. Found endless suggestions of code and links and forums and only gotten more lost in the process.

I am trying to create a VB.NET app, that most likely will need to be a service, for our external clients' PCs. These PCs are not connected to our network. This app will be invisible to the user and will need to perform several tasks including:

[Code]...

View 1 Replies

Creating A File Using Impersonated Credentials Via A Service?

Nov 4, 2010

I've spent alot of time digging thru the forums to research this problem, and to get the right code. I'm wondering now if this is a system configuration problem, or something else with my code.

Firstly, i'll tell you that i've already put the service account on my machine local security policy that says 'allow to act with/as operating system'.

Running this code from an application, it works just fine:

[Code]...

View 1 Replies

Creating Web Service To Connect With SQL 2005 Database?

Oct 23, 2008

how to write a web to connect SQL 2005 database by having the SQL sa password in the config in encrypted formatted.

View 1 Replies

Creating A Excel Chart From Three Rows Of Information Data

Jun 5, 2011

I have this rather stupid litle excel issue which somehow just doesn't go away by itself;I'm creating a excel chart from three rows of information data. Each row has a header, so far so good. The first row exixt of calender data and I planned it to use them as my x-axis labeling. But somehow excel uses them as variables and changes them in to a third bar. Which is not what I had in mind when copied this litle piece of code.[code]

View 1 Replies

Creating An Mhtml File Based On Information In Cache?

Sep 26, 2011

I have written an application that creates an mhtml file based on information in cache. The MHTML file can be opened in Opera but not Internet explorer. I have attatched an example of an MHTML file(saved as .txt) i have created. Does anybody know what im missing? Why wont it open in IE?

View 3 Replies

Creating Temp File To Hold And Pass Information?

Dec 15, 2009

I'm creating temp file to hold and pass information. What is prefered, XML or text files, and why?

View 3 Replies

Columns Of Listview Can Be Resized Automatically Based On Information In Listview?

Feb 15, 2009

I would like to know if it is possible if the columns of the listview can be resized automatically based on the information in the listview?

View 4 Replies

Threads / Timers Troubles While Creating System Service

Apr 5, 2012

I thought that creating a simple system service under VB .NET would be a piece of cake. Boy, was I wrong. First, I find general postings through Google that say you should use the Windows.Forms.Timer. Then, I found conflicting information that says you have to derive the timer from a timer class through code to make it work. Then, people are reporting all sorts of trouble using the various types of threads available. I can't debug threads using the VS 2010 Just-in-Time debugger for obvious reasons (although, I don't know if there is an alternate method to doing this).My project is an application launcher (similar to cron) that will fire off periodically within a certain amount of seconds. I am trying to use the Process.Start() method. I have a Beep() function as the first instruction, and the Process.Start, along with a Process.WaitForExit method to make it block as the last instruction. I had my code doing this through timers, but now I am starting to use threads. No difference in execution. The over-ridden OnStart method does kick off (as I am certain through debugging), but nothing ever happens when starting the service in production, as if it were ignoring all my code. Putting loops and logic in the OnStart method yields a process that won't start. I know it is a threading issue, but I also know it must be mandatory to use threads. I am now dumbfounded as to how to make this work. I am curious to know the solution.

In addition to the service class, I have a ServiceInstaller and ProcessInstaller implemented that I copied verbatim from MSDN.Here is some of the code I am trying to work with. Note that this simply reflects the current state of my code in trying to implement the logic within a thread instead of a timer (which to me would be optimal):[code]

View 2 Replies

Creating A Small Admin Reporting Tool That Gathers Certain Information On Some PCs

Nov 25, 2009

I am creating a small admin reporting tool that gathers certain information on some PCs. Unfortuantly the user that is running the tool doesnt have access and I cant give access to those particular machines. What I have done is created a user on these machines that can get this information.I would like to then have the reporting tool run certain parts of the code as this user so the information can be obtained, without any intervention from the user running the tool. Can I hardcode this user into the code so that it runs the code as the user?

View 4 Replies

Creating That Displays Pump Information Based On Customers In A Database?

Feb 26, 2010

I have an application I am creating that displays pump information based on customers in a database. I am using VB2008 .NET3.5.I have a combobox that has a selection for a unit of measure. What I want to happen is when that is changes the labels that have a unit of measure change to reflect the change. There are 15 labels total that need to be changed and all there names are the only ones in the project that start with a X if that helps at all.

I would like to avoid creating a bunch of labels and changing the visible property and just change the text value of each one. I have just started learning VB.NET

View 11 Replies

.net - Creating A Program That Runs As A Service And Submits A State To A Database (over The Internet)?

Dec 2, 2011

What I am looking to do is write a VB.NET program, as a service that reports anything on client1 that I want (say the fact it is online) to a database on the internet, so I can look on management1 and see the online status of the machine (assuming management1 has a connection to the online database).

What is being reported doesn't matter, what I am looking at is a starting point to create a system like that. I have googled obviously and come up with nothing, I'd just like a "starting point" or some documentation to look at for creating something like this. The service doesn't look too difficult but the periodic reporting of online status or ANYTHING to any kind of database is not something I am sure how to deal with.

I already have setup a VBS that reports information to an ASP script that then places it in a database but I don't know how I would create say a "keep alive" connection for a vb.net service.

View 1 Replies

Creating A Mortgage Calculator That Display Continuous Information Depending On User Input

Mar 2, 2009

creating a mortgage calculator that display continuous information depending on the user input such as monthly payments, remaining balances, and interest paid. I am attempting to use a list box and am currently stuck. [code] Please use code tags when posting your code. Code tags are used like so.

View 1 Replies

Creating A Reporting App That Pulls Information Off Of A Sql Database And Populates The Data In A Datagridview Control (DVG)?

Mar 31, 2011

I am creating a reporting app that pulls information off of a Sql database and populates the data in a datagridview control (DVG). I am using tab pages (Tabcontrol), and I have about 10 tabs with within the control. What I have done is created a dynamic control that will populate in each tab page once the tab is selected. I am using a split container and in my split container.panel 1 is where all my buttons and search functionality will be. In my split container.panel2 to is where the main DGV control will be. I have got this to function properly, however now I am unable to add anything to my split container.panel1. I would like to add diffrent labels and buttons in the panel1 one without putting another panel on top of the split container.panel1, and also if i do this when I resize my container the panel will just sit there. I am using the selected index changed event to get my split container to show in each of the diffrent tabs

Private Sub searchTab_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles searchTab.SelectedIndexChanged
searchTab.TabPages(searchTab.TabPages.IndexOf(searchTab.SelectedTab)).Controls.Add(splitContainer1)

[code]...

View 4 Replies

VS 2010 Creating A Console Application That Will Create And Store Client Information As A .txt File?

Apr 24, 2012

Basically i am creating a console application that will create and store client information as a .txt file it is going okay but i have come across a slight hick up i want to use something on the lines of this .....

dim lastname as string
Do Until Integer.TryParse(Console.ReadLine(), LastName) = False
Console.WriteLine("Invalid input, Please try again")
Console.Write("LastName:-")

[code].....

this works fine to trap out numbers from letters but the problem i am getting is when the program calls uppon LastName it is recording 0 and wanted to know if there is a way of getting past this ..... so basically i need a way to allow letter but not numbers and symbols and then dispay a pernolised error message but at the same time use Stream writer to save was the answer is in a .txt file.

View 3 Replies

[2008] Creating A User Tool For A Game - Simply Shows Information About My Own Character

Feb 23, 2009

I am creating a user tool for a game I am playing (NOT a hacking tool, it simply shows information about my own character). I have a template of what I need to do with the data I recieve, here is the code, it is coded in PHP

function decode_style($r) {

//get gender
$gender_array = array('Male', 'Female', 'Male 2','Female 2','Male 3', 'Female 3');
$style['Gender'] = $gender_array[round($r / hexdec(4000000))];
//GET AURA

[CODE]...

Ok, I understand PHP a bit (As you know one programming language you can understand just about any) and this is what I have created from this

Dim Style As Decimal
Dim Rank, RRank As Decimal
Dim Gender, RGender As Decimal
Dim Aura, RAura As Decimal

[CODE]...

As you can see, it is receiving a single piece of data from a remote SQL server, I then need to run this data through the above calculations (Seen in the PHP file) although the answers I'm getting are incorrect.

Here are some simple instructions I got in what goes on between values:

gender :
PHP

[CODE]...

aura:
PHP

[CODE]...

View 1 Replies

Creating A Security - Software Start Automatically When Window Start?

Oct 21, 2011

im using vs to create a simple security form, i am successful to create a a form of log but i need some more improve like

1) if the software remain untouch for a minute the login form should be shown as the user try to use it again

2) and how the software start automatically when window start

View 17 Replies







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