CMD Prompt On VB?

Mar 24, 2010

How can i make it so vb can run a cmd prompt and all the output will be displayed in textbox1.

View 2 Replies


ADVERTISEMENT

Elevating UAC Prompt?

Apr 15, 2010

I have created a VB 6.0 Active-x control for an ASP.NET application.The control is responsible for downloading files from Server to Client machine and installing them.In general will have a set of applications needs to be run in sequence order.Every time i try to install an application it asks for UAC prompt and then proceeds to installation.Functionally it is working fine.But my client requirement is UAC prompt should come for the first process only and should not prompt for the following installations.I am using CreateProcess() API method for installations.

View 5 Replies

Have A Prompt Open Up?

Mar 13, 2012

I am trying to figure out how to have a prompt open up when I open a program.

I am trying to set a size to an Array and I want the Prompt to ask for the size that is needed.

View 2 Replies

Use Of Command Prompt With VB

Apr 19, 2009

I need to sort my code to work for Visual Basic 2008 Express Version, I am trying to open the Command Prompt through Visual Basic and make Visual Basic run through the Command Prompt. By this i mean i need Visual Basic to Send Messages from a text box on my design to the command prompt, e.g to make my program go through the command prompt to do the basic hide files in a picture.

[Code]...

View 1 Replies

ASP.NET VB Changes In Stocks Prices Prompt

Aug 12, 2011

I'd like to ask about the way in ASP.NET VB to detect the changes in stocks prices, if the price inceased, the containing cell inside the grid blinks in green, decreased will blinks in red? ex: if the price now 10.00$ and increased to 10.01$ the containing cell will blink with 1 second in green..

View 1 Replies

How To Prompt Oracle Ask Uid And Pwd When Its DSN Is Selected

Jun 29, 2011

I am trying to import Oracle tables to SQL Server. Now i am specifying user name and password for oracle. But how to prompt oracle to ask user name and password when its DSN is selected and store in variables(user id and PWd)

Through out this process i am using ODBC connections.

View 2 Replies

How To Set Password Using Command Prompt

Dec 24, 2009

I am not a developer but I like tweaking with system, I am recently trying to create an app that can reset admin password, but the problem is that I am not able to run the following command from standard account.

net user user_name * I know it is because of security reason but there must be some way so that software developer can tweak it, can someone guide me..[URl]..

View 14 Replies

IDE :: Prompt Designer To Ask For Control Name?

Feb 17, 2009

I'm using VS2008, targetting the 3.5 framework.I'm getting sick of having to create a Control, then manually rename it later. Is there any way to force the Designer to ask me for the name in a Dialog as it is attempting to create the Control? Or even to autofocus to the Control Name in the Properties menu?

View 2 Replies

Invoke Cmd Prompt From Program?

Jan 31, 2011

I dont know how to invoke a cmd prompt from vb.net window. from the vb.net i have tp ping an ip adress of a system in the cmd prompt.

View 3 Replies

Run DOS/CMD/Command Prompt Commands From .NET?

Apr 21, 2012

The question is self-explanatory. It would be great if the code was one line long (something to do with "Process.Start("...")"?). I researched the web but only found old examples and such ones that do not work (at least for me). I want to use this in my class library, to run Git commands

View 1 Replies

Save Changes Prompt In Formview?

Dec 1, 2009

I have a form with a tabcontrol. Each tab has a formview for adding/updating data. The user could have multiple formviews open at once. I would like a way to prompt the user to save if they are leaving the screen.[code]...

View 3 Replies

Save Prompt If Changes Occur?

Mar 15, 2012

In my application, i have put a question on form closing if the user wants to save the changes?. But right now, i have just put it in default whether they make changes or not.I thought of prompting it on text change.. but the text automatically changes on load as it retrieves data from sql server.

View 15 Replies

Send Commands To Its Prompt?

Mar 15, 2012

What I have done so far is place the compiler inside the bin of my project folder, inside the Debug folder. I managed to call the cmd shell but the problem is whenever I pass commands to that cmd shell, it doesn't work. What happens is it opens a cmd shell and when I pass commands on it, it opens many other shells.[code]...

View 1 Replies

Stop App From Command Prompt?

Feb 22, 2009

Before posting this question I have carried out a few searches on this forum but I am afraid I am struggling because I am very new to Visual Basic and although I do have some programming background, yesterday was day 1 and I took a web tutorial and watched a few video tutorials. (Long way to go!).

OK to the question and I know I should really not ask 2 but It's better to get them both in one post I think.

I want to build a small utility to run a form in full screen to basically hide an old application running in the background.

My old application is a database (Non VB code) which works very well but while it batch exports a lot of data the software displays some pretty ugly windows, I want to call my VB utility from a command prompt with 1 or more switches to display some meaningful text about where it is in the routine.

I also want to be able to send a switch at the end to close it completly.

Q1 - What is the best way to manage command prompt switches ?

Q2 - How do I make it close itself ?

View 7 Replies

VS 2008 How To Create A Prompt

Jun 9, 2009

how to make a prompt

View 2 Replies

Windows Command Prompt With VB

Dec 18, 2009

Windows Command Prompt with VB

View 1 Replies

A Command Prompt Like Code Snippet?

Apr 26, 2011

I am looking for an easy way to have a command prompt like interface for my form. The idea is to make it an interactive text interface. Here is an example of what it might look like > Hi Hello! > How are you? I am fine! >_So it's very much like a chat. BTW, I am not referring to what the example is, just the concept of a command prompt, that I can create a scrollback buffer for. Very much like a MSDOS prompt.

View 5 Replies

Adjust The Size Of The Colordialog Prompt?

Aug 6, 2009

is it possible to adjust the size of the colordialog prompt? is it possible to adjust the size of the sample color boxes within the colordialog prompt?

these are both for vb.net in winforms

View 1 Replies

Administrator Command Prompt Through VB 2010?

Jul 28, 2010

I have this problem where is wont let me create and files through the command prompt via echo xxx> C:xxx in Visual Basic. If I do it sepoaratly and run the command prompt as admin (This is not using vb at all) then it will work. I have tried putting my vb app to require previlidges at both levels at different times, not at once, and I still got the same thing.So is there a way I can use the comman prompt through vb, but also making the command prompt being an admin without turning off UAC?The code that will not work is this.

Shell(Environ$("Comspec") & " /c """ & WDir & "ToolsMediaInfoMediaInfo.exe"" --output=xml """ & WDir & "ToolsMediaInfoMediaInfo.xml""")

View 1 Replies

Argument Prompt Cannot Be Converted To String?

Jun 3, 2011

what line i get this error " Argument 'Prompt' cannot be converted to type 'string' "

Try
If movieTxt.Text <> Nothing And ratingCmb.SelectedIndex <> 0 Then
For a = 0 To i

[Code]......

View 3 Replies

Automatically Prompt A File Download In Asp.net?

Apr 25, 2011

My application in asp.net using vb.net scripting generates a file with system processing outputs, responding to a button click. This file is stored in a folder in the server, and I would like to start a download of this file automatically for the user. How can I do it?

View 1 Replies

Avoiding 'Microsoft Excel' Prompt

Feb 15, 2012

I'm writing the following bits of code for a SaveFile Dialog box in Visual Basic 2010.NET. The code works well as the XLSX file is created and opens in Microsoft Excel. However, the problem that I am having is that if the program overwrites a file, the user is getting two prompts. One prompt is from the program's own SaveFile dialog confirming the choice. The other is from Microsoft Excel asking you the same. It's as if the program is running in the background.[code]

View 1 Replies

Command Prompt Closing After A Second When Run The Program?

Nov 9, 2011

This is my first VB program, but how do i make the command prompt stay ?

Option Strict Off
Option Explicit On
Module Module1

[code].....

View 3 Replies

Command Prompt Text To Textbox?

May 17, 2010

I would like to capture the command prompt text and place it into a textbox.

Process.start("C:cmd.exe","arguments")

this starts the command prompt

But how does one capture the command prompt text and place it into a textbox.

From what I have learned just about anything is possible.

View 2 Replies

Command Prompt Won't Show The Result

Nov 28, 2011

I'm working on some coding katas and managed to finish the algorithms and am now coding it?However, I can't seem to get Command Prompt to display the result.

Here's the code.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

[code]....

View 7 Replies

Communicate Between Command Prompt And Program?

Jan 2, 2010

I wanted to make a vb.net version of this trick used to hide files in pictures: [URL]

In my mind I have to use an open file dialog box to do this.

View 3 Replies

Communications :: Executing Cmd Prompt Commands?

Dec 16, 2010

Okay, heres the deal...I need to open up a cmd prompt, then run a file called adb.exe which opens a shell to communicate with my android cell phone...

My Form1
Code:
Label1.Text = "adb.exe shell"

[code].....

View 3 Replies

Creating An Interface For The Command Prompt?

Aug 29, 2008

I would like to create an interface for the command prompt so users here do not have to type in everything. I would probably use a FileOpen dialog to pass paths, etcfor me would be a link to (or small sample code), that does something like register a .dll.

..open the command prompt in the background and register a .dll using the following: "regsvr32 C:WINDOWSsystem32UTA_CTL.dll".

[code].....

View 6 Replies

Distance Calculator - Input Box Does Not Prompt

Oct 18, 2011

1. My input box does not prompt

2. Then a loop should be used to display in a list box the distance the vehicle has traveled for each hour of that time period.

[Code]...

View 5 Replies

Embed Cmd Prompt In Panel Or Mdi Container?

Dec 13, 2011

This is the code I have been using for capturing notepad and placing it "in" one of my windows forms:

[Code]...

View 1 Replies







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