Get A Parameter Back After Running A VB Program?

Apr 12, 2010

I need to get a parameter back after running a VB.Net program.

View 6 Replies


ADVERTISEMENT

Creating Stored Procedure To Send Parameter And Receive A Value Back

Sep 25, 2011

I have been having a wonderful Sunday trying to figure out Stored Procedures, created via vb.net and input into Sql Server 2008.

I've created a Stored Procedure... That I pass an Integer in a parameter, I want to get back a String.

Here's the vb.net Stored Procedure Code:

Imports
Microsoft.SqlServer.Server
Imports

[Code].....

View 6 Replies

Running A Package And Passing On XML Config File As A Parameter

Sep 27, 2011

I have a SSIS package that just makes a folder (Child package) and i have a second package (parent) that calls the first package using a script task and the code is like [code]I want to pass the XML file as a parameter ,what the XML file does is that it has Variable for a folder name, so that if i like to change the folder name (making new folder), I can change it in the XML file and the parent pakage will call the child pakage with the XML file as a parameter.

View 1 Replies

VS 2010 : Program To Save Settings To Another Program Without Running The Program That Is Being Edited?

May 5, 2012

is it possible by 1 program to save settings to another program without running the program that is being edited?

View 6 Replies

VB 2005 Program Run A Function Back In The Original VB6 Program

Jan 6, 2011

I have a vb6 program which shells and runs a Vb 2005 program, I would like to be able from that VB 2005 program run a function back in the original VB6 program which called it. Callback?

View 1 Replies

Prevent Program From Running When It Is Already Running?

Jan 20, 2010

I want to prevent my program from running when it is already running.How can I do that in my vb2008 Code?

View 1 Replies

Persist Program Parameter And Variable Settings From One Run Of The Program To The Next?

Aug 2, 2009

I want to hear some discussion regarding what is the best way to persist program parameter and variable settings from one run of the program to the next. I used to often use the ubiquitous INI type file in VB6 programs but I am aware that these are not formally supported in .Net programs. I also have a major aversion to adding to the already overwhelming bloat of the Windows registry by using that to store values.

[Code]...

View 6 Replies

VS 2010 Program Crashes As Published Executable, Not As Program Running In Studio Or Express?

Jun 6, 2012

I wrote this VB program to be able to throw a device we developed into programming mode where we use an ATMEL Flip installer to upload new firmware. I can program one device after another running the application off of Visual Studio Express 2010 or Visual Studio 2010, but when I go to publish this file and run it on another machine, it becomes unstable and crashes after each upload. On those same computers if I run the raw unpackaged program under Visual Studio Express, the system does not crash, and I can program devices repeatedly.

View 5 Replies

Running A Query On Access From VB, Passing Variable Or Function As Query Parameter

Apr 7, 2012

I am trying to run a query an Access db from VB. The general query which I want to run is

SELECT * FROM Patient WHERE Patient.PatientID = ?
or SELECT * FROM Patient WHERE Patient.PatientLname = ?


I tried using an input box which captured the user input and pass that variable to the query, but that failed. Then I read about writing a function and using that, however, I keep getting an error which says Function not defined, but when stepping through the code, it seems to work. Here is my function: [Code]

View 1 Replies

See The Program Running In The Task Manager After Closing The Program?

Oct 10, 2011

have you of any ideas in why does my software in vb 2010 still exist in the task manager (process tab), after i closed the program? i noticed it when i want to delete the .exe file.

View 10 Replies

When Program Executes Must Show An Notification That Program Is Running

May 1, 2009

I want to create a program that will run every start of computer and will check if it is 9:00 AM and can only be seen at the bottom right cornner besides the clock. When the program executes must show an notification that the program is running.

View 4 Replies

Make Program Do A Back-up?

Sep 26, 2009

I'm new to programming and I want to know how to make a program I am writing make a back up and restore procedure.

View 6 Replies

Tell Program To Go Back To A Private Sub?

Jan 18, 2009

I have a code for a tic-tac-toe game, where there's basically 3 private subs. There's a sub called "userturn" that handles the button clicks on the board. The next sub is "compturn" which controls where the computer moves. The last one is "checkforwin" which does what it says.

Here's my problem:

At the end of the "userturn" sub, I have a line that says, "compturn()" to tell it to go to the compturn sub. That sub is executed correctly, but when I try to add the line, "userturn()" to go back to the userturn sub, I get this error[code]...

View 5 Replies

Back Up SQL Server 2008 Using Program?

Jan 23, 2012

Back up my entire database using vb.net. I'm using SQL Server 2008 R2 for my DB.

View 39 Replies

Next And Back Button In Installation Program?

Jul 21, 2009

I'm making a custom installer program and I have a next and back button, and 2 forms, Form1 and Form2. I click the next button and instantly the next form is there. I tried to do that with .show and .showdialog but if I do that another window pops up to either replace or add to the current form.

View 9 Replies

Program Slow Down When I Add A Back Ground Image

Jan 15, 2010

Why does my program slow down when i add a Back Ground Image?

View 12 Replies

Call A Program With Parameter Arguments?

Oct 21, 2009

I build two programs, 1 - bootstrap and 1 - mainprogram

now, mainprogram has 2 constructors, the default and the one which i defined and it accepts an integer the default constructor checks the variable named iscalled a type of integer to have a value of 1 or zero, if its zero then it should shows a message saying "Improper initialization" then exits..

What I mean here is, mainprogram should only run if its called by the bootstrap program.

View 6 Replies

Send Parameter Value When Run Program From Shortcut?

Nov 1, 2011

i write a exe file in vb.net

There is a string variable "filepath" in this program and i want to send parameter value When i run this program from shortcut

exam windows run c:\program.exe -parametervalue

View 4 Replies

Unable To Get Sp Output Parameter Value In Program?

Jun 25, 2009

I am having a stored procedure in sql 2005 the procedure is to retrieve year code between two days it works correctly in sql query analyzer and it returns value [code]...

View 2 Replies

Pass Parameters Back And Forth Between A Windows Service And .NET Program?

Aug 29, 2011

Can I pass parameters back and forth between a Windows Service and .NET program? For ex: I want to pass a compressed/encrypted byte paramater to the Windows Service, who then decompress/decrypt it and return back the decompressed/decrypted bytes.

View 1 Replies

Send Program Created On Fly Back To Client For Download?

Mar 11, 2011

I'm converting a bunch of FOXPRO / FOXWEB apps to ASP.NET.

The underlying DB is still foxpro (for the moment).

I am passing a table to some VB.NET code that I want to have converted to a CSV file and sent back to the client for download. And it works! Sort of ... It works sometimes, but at other times, instead of asking me if I want to download the CSV file, it just spews the file to the browser window. [code]...

View 3 Replies

Sending Information Back To Original Creator Of Program?

Jun 15, 2009

Is there anyway you can send information back to the original creator of the program? Here is a quick example- I made a little program that gives you general information about your computer, when you click a button it sets the text box to specific information. One of the text boxes gives you the Version of your OS. I would like to know if there is a way to send the information in that text box back to me when someone clicks it and they are connected to the internet. FYI I would tell the person who clicks it before so that I am not stealing information, plus what is there to steal from a simple program I made.

View 2 Replies

Add Parameter To Insert Command In Program Code?

Feb 23, 2012

I have two tables and the form contains a text box so I need to add rows of Table 1 to Table 2 and taking the value in the text box for each row is added to Table 2.[code]...

View 9 Replies

Pass Particular WebControl Type As A Parameter In Program?

Apr 23, 2009

I'm trying to create a function that searches up a WebControl's parent-child relationship (basically the opposite of WebControl.FindControl(id as String), but looking for a specific WebControl type).

Example

I have a user control in an ItemTemplate for a GridViewRow. I'm trying to reference the GridViewRow from the user control. The user control may or may not be inside a div or other types of controls, so I don't know exactly how many parent's up to look (i.e. I can't just use userControl.Parent.Parent). I need a function that will find the first GridViewRow that it finds on the way up the parent-child hierarchy.

View 1 Replies

Forms :: Backward Button To Go Back To Form From Opened .exe Program?

Jun 20, 2012

I am currently working on a program that has several buttons in it lined up. Each button goes to different applications (.exe programs). The program I am making is suppose to be a fullscreen program and won't let you see any of Windows when it's running.

Therefore I want to make a "back" button that always stays on top of any application and when I push it it will take me back to my WindowsForm (startpage of the program).I am also wondering if you can make it so all .exe programs only can run ONCE. So if I press one of the buttons saying "open notepad" I want it to work so it can't open Notepad once again making it two notepads open. Just go back to the first Notepad opened.

View 3 Replies

Get The Program To Start Back Over And Enter Another 2 More Words If The String Is Not 20 Characters Long

Sep 27, 2009

I have a program that requires a string. The string is 20 characters long. The string also have to be split into 2 words the first word is 12 characters and the second is 8. If the strings is not 20 characters long I get an error. I wanted to know how can I get the program to start back over and let me enter another 2 more words if the string is not 20 characters long. At the moment after I get the string is not 20 characters long error it continues to read the rest of the program but I want it to stop after an error and let me start over from the beginning.

View 3 Replies

Call A SSRS Report With Parameter From Program Code?

Apr 11, 2012

I have a SSRS report that contains a parameter called @playerID

what coding I need to add so the report can be run using the parameter?[code]...

View 1 Replies

Launch A Program And Send A Parameter From Within Visual Basic?

Feb 18, 2011

I want to use firefox as a default browser for a webbrowser control in a form in Visual Basic Express. How do I do this? How do I launch firefox or an external .exe program from within my application and send a page for it to open or load automatically?

View 4 Replies

User Input In A Form To Set Program Parameter In A CMD Window

Dec 3, 2009

I would like to create a form there I can enter three values (A,B,C)in textboxes and then submit these parameter to a program that run in a dos promt windows. Parameter A , B , C..Program.exe /A /B /C..It would be great if I can have a progress bar as well.

View 6 Replies

Program Not Running Same

Oct 12, 2011

I had the battle system 60% worked out. Went to play some Dragon Age, when I came back nothing was working as the way I left it. I don't know what happened.The richtext box is supposed to disaply the attack monster description, and then it's name, the amount of damage it does. I had it so that I could attack, be attacked, and display damage, and attack discription of both player and monster. when I opened my project to work on it again, hardly anything was working right.[code]

View 9 Replies







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