Make A Simple Program Shell?

May 4, 2009

I'm trying to make a per-user shell for a Vista box to simplify use of a particular system for my users. I have no problem making a program that I want to use and I am familiar with the process of editin the registry to make my program the users shell but I've run into a snag.

Whenever a user with the custom shell logs on, there is a delay just after they enter their password where the system will sit at "Preparing Desktop" for about 30 seconds. I know for a fact that the user desktop is already made and this shouldn't be taking that long.

I've poked around on the web and see various places saying that winlogon is waiting for the shell to flag a "shell ready" flag of some sort but I am unfamiliar with any such flag.

Anyone know of such a fix for the long login time or anything about a shell ready flag?

View 10 Replies


ADVERTISEMENT

VS 2008 Make A Shell Replacement For The Windows Default Shell

Aug 1, 2009

I'm going to attempt to make a shell replacement for the Windows default shell: explorer.exe. I'm not sure if its possible using Vb.Net, but I can't seem why not. My end goal is to use a custom made shell for a Windows Preinstallation Environment instead of the default command prompt. I plan to use a 3rd party program to compile the program with the .NET Framework. Otherwise, it wouldn't work because Windows PE does not support the .NET Framework.

View 1 Replies

How To Make Simple Program

Jul 2, 2009

i want to make a simple program that can be used of add,delete,edit,save,, thats all, so that i will understand the basic of programing.so that in that program i will developed it and also connection of vb2005 to sql server 2005.. i am amateur here using this vb2005 and sql server 2005.

View 4 Replies

Simple Button That Executes A Shell Command

Oct 24, 2011

I haven't touched VB or Visual Studio in an incredibly long time, so I appologize if this sounds ignorant.

Right now, my application (pictured below) is a simple button that executes a shell command. I was thrilled that I even managed that, but it got me to wondering if my application could execute that command, rather than sending the process to cmd.exe.

View 4 Replies

How To Make A Simple Folder Locking Program

Jul 27, 2009

how to make a simple folder locking program and sorry don't have any code for it.

View 2 Replies

Make A Simple Program That Detects If A Game Closes?

Feb 10, 2011

I'm trying to make a simple program that detects if a game closes, and when it does, it shuts down the computer.

View 1 Replies

Make A Simple Program That When For Eg A User Enters 4 It Gives This Figure ****?

Mar 1, 2009

i was wondering how i can make a simple program that when for eg a user enters 4 it gives this figure **** and so i want that if the user enters 5 it gives ***** etc.

View 9 Replies

Make A Very Simple Asynchronous Method Call In Program?

May 1, 2012

I just have a simple vb.net website that need to call a Sub that performs a very long task that works with syncing up some directories in the filesystem (details not important).

When I call the method, it eventually times out on the website waiting for the sub routine to complete. However, even though the website times out, the routine eventually completes it's task and all the directories end up as they should.

I want to just prevent the timeout so I'd like to just call the Sub asynchronously. I do not need (or even want) and callback/confirmation that it ran successfully.[code]...

View 2 Replies

Make A Very Simple Program That Connects To A MySQL Database Using .NET?

Feb 27, 2011

I am trying to make a very simple program that connects to a MySQL database using VB.NET. My program only has one form and one label. I setup my MySQL database to have a table and one field (a VARCHAR)called "Tab1". I manually inserted the value "CLOSED" into the Tab1 field using PHPMyAdmin. I want my program to change the value of the field to OPEN/CLOSED and I also want the label text on my form to change too when it's clicked.

[Code]...

View 3 Replies

Make Some Simple Program For Encrypt / Decrypting Message Using VB?

Jun 29, 2010

i want to make some simple program for encrypt / decrypting message using VB, my problem was when i want to decrypt the message, the result was incorrect,

Code:
Dim decryptor As Integer = TextBoxhasilencrypt.Text
Dim privatekey As Integer = Labelprivatekey.Text
Dim modulus As Integer = LabelModulus.Text

[code]....

the logic error on the program was when the "power of" are odd

View 2 Replies

VS 2005 Make A Simple Client-server Program?

Sep 27, 2010

I was wanting to make a simple client-server program.I saw some code for it and it was easy to understand but it was with winsock.

The program is:

Client: Clicks button.
Server: Recieves Text written in clients textbox.

Is there a reasonably easy way to do this?Maybe Net.Sockets or something similar?

View 3 Replies

Make A Simple Program To Convert Ascii In Its Code Format?

Jan 11, 2010

I am trying to make a simple program to convert ascii in its code format

Example: Chr(53) & Chr(53) & Chr(54) & Chr(100) & Chr(52)

to a readable format. I understand that this can be easily accomplished by writing in the ascii code into the code will do it but I am trying to create a more interactive method of doing it so I can copy and paste a long length of code into a textbox and have it update a label with the conversion.

View 6 Replies

VS 2010 Make A Simple Program That Can Create A Text File With The Content?

Aug 23, 2011

Im learning Visual Basic 2010 on my programming class and we reached the part of file handling. Here i tried to make a simple program that can create a text file with the content of what i type on the textbox, basically i create the file if it doesn't exist, and if it already exists i append the content to it. Once the file is saved i can read it using the "Open" button. Unfortunataly, whenever i try to create the file, the compiler gives me an error saying that it cannot modify a closed file, although i've followed up the execution instruction by instruction and i can't find the error.

Imports System.IO
Public Class Form1
Dim body As String

[code]....

View 6 Replies

Make A Simple Browser With Some Simple Addon's?

Dec 9, 2011

Trying to make a simple browser with some simple addon's. What Ive done is setup a menu(forum) for the user to enter their email providers web address and it will save it in a xml file. When they click on the email link, it should load the email xml iformation and place that info in the tb_html.text and navigate. I keep getting a null exception and im not sure what going on here. Here is the code:

Browsers:
Private Sub btn_Email_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Email.Click
'Load Action
Dim SavedEmailObj As Storage

[code].....

View 2 Replies

Make A Simple Install Wizard To Install The Program?

Nov 10, 2009

I'm looking to make a simple install wizard to install my program (I know Visual Studio 2010 already has an installer) but anyway, I would like to make it myself, kind of line reinvent the wheel?

View 3 Replies

Shell A Program As Administrator?

Mar 3, 2010

I am writing a setup program that runs as administrator. If I shell a program from the setup program will it also run as administrator?

View 6 Replies

Shell Not Executing Program

Dec 3, 2011

I am trying to execute the shell script in vb.net.[code]...

The script doesn't create the outfile mentioned in -out switch. The path mentioned is correct and also the command with switches is correct. It runs well in command prompt but not in the program. [code]...

View 1 Replies

.net - Check If Shell Program Has Opened?

Jan 5, 2010

I'm launching an Access ADE, using Tony Toews auto FE program. The AutoFE programs will, if newer version available, copy the latest version of the ADE from the server, then launch it. My code looks like:

Dim stAutoFE As String = "V:Appsautofestartmdb.exe /cmd /inifile: " & """" & "V:AppsAutoFESSP.ini" & """"
Shell(stAutoFE, AppWinStyle.Hide, True)
System.Threading.Thread.Sleep(1000) ' Time delay

[code]....

I had to put the Sleep delay in, otherwise the GetObject would open the ADE a second time.But I don't know how long the copy from the server will take, so I need to remove that Sleep line and check that the ADE has opened.

View 2 Replies

Getting Information From A Shell'ed Process Into The VBA Program?

Jul 1, 2010

So, let's say that I have a VBA application inside of whatever Office Application. I have created a command-line VB.net program to do all of the fun web-services stuff.Okay, the VBA application calls Shell() to run the command line program. Now, what is the best way to get information (a tracking number for a package) from the VB.net program back into the VBA program?

View 1 Replies

Shell Non Funtional After Converting Program

Jun 15, 2010

visual basic 2010 after converting a program from visual basic 2008 is stating that the Shell function is a namespace and cannot be used as an expression. this can be fixed with the create sub feature but when debugging causes an error stating that there is a nohandled exception.

View 5 Replies

Call A Program From A Unix Shell Script?

Jun 11, 2012

I need to be able to kick off a vb.net program on a windows server from a unix shell script on an AIX server. What what I need to do to make this possible? I'm a newbie on the .Net side, but I was thinking, maybe make the vb.net program some sort of web service then have the unix shell script invoke that somehow

View 2 Replies

Launch A Program With Specific File Using Shell?

Jun 22, 2010

Whenever I use this code, I get a File Not Found exception, even though the file paths are all correct. [code]...

View 3 Replies

Program Freezes Until Shell Interaction Finishes?

Aug 9, 2010

im working on a little project what executes a bat file on a button click using this command:Interaction.Shell("read.bat", AppWinStyle.NormalFocus, True, -1)however when this is executed the program will become unresponsive while it is running... this may be simple but is there a way i can make my program be responsive and for it to execute in the background?

View 5 Replies

Shell Program - Cancelling Background Worker

Nov 15, 2010

I have the following problem. I have a worker in VB .net (2010) which runs a shell-program. The shell program is a service and output stuff like:
Server initializing...
Server opening port...
more info...

I am able to 'catch' the output of the shell and add it to a textbox (using set text function). And I am able to Cancel the worker by clicking on a stopbutton, however when there is no more output by the shell I cannot stop the worker anymore. At least I suspect that's the case. I've tried checking for endofstream (commented section) but that doesn't work. I've also tried to same code with some test text in stead of 'clsProcess.StandardOutput.ReadLine' and that also works. So I came to the conclusion it must have something to do with clsProcess.StandardOutput.ReadLine being at the end?

Try
clsProcess.StartInfo.UseShellExecute = False
clsProcess.StartInfo.RedirectStandardOutput = True
clsProcess.StartInfo.RedirectStandardError = True
clsProcess.StartInfo.FileName = serverpath + config_executable
[Code] .....

View 1 Replies

Using Shell To Run Program On Server That Requires A Dialog Box

May 8, 2009

I am using this statement

CODE:

The command procedure calls a Java program that opens a dialog box, the cmd and java exe shows up in task manager, so I know it is being called, but no dialog box. I know normally having anything show up on a server that requires user interaction is a bad idea, but in the case, the users remote into the server to do their work. (They have to because of the environment) So, there is no problem with them being able to respond to a dialog box. I just need it to show up.

(I cannot rewrite the Java program as the latest source is not the right version) Running, Framework 2.0, 3.5.

View 7 Replies

Place Line From Text File In A Shell Program?

May 19, 2011

I am assuming there is a way to have this sub in? I am assuming Do Until Loop is the way to go[cod]e...

View 1 Replies

Use Shell To Have Application Call An External Application But Its Not Working - Error: 'System.windows.shell'

Jun 3, 2011

I'm trying to use the Shell to have my application call an external application but its not working...I don't understand why. I get the following error: 'System.windows.shell' is a namespace and cannot be used as an expression!

Heres my code....any ideas what I'm doing wrong. Its got to be a simple...stupid error.

Private Sub mnuUpgrade_Click(ByVal Ctrl As Microsoft.Expression.Web.Interop.Legacy.CommandBarButton, ByRef CancelDefault As Boolean) Handles mnuUpgrade.Click

[CODE].....................

View 2 Replies

How To Make A Simple Messenger

Feb 6, 2011

Is there a way to accomplish a messenger of that style:The application has a listbox, a textbox, and a button Every user with the program on his pc can type something in the textbox, press the button and this appears on his listbox but also on every other listbox of people that have opened the program.Is there also a way to get another listbox with the nicknames of the people that are in the program?

View 11 Replies

Make A Simple Application?

Jun 24, 2009

i want to make a simple application [URL]

View 8 Replies

Make A Simple Web Browser In VB 2008?

Jan 16, 2010

I am trying to make a simple web browser in Visual Basic 2008 (with Visual Studio 2008 Professional Edition) that uses the Gecko engine via a tool called GeckoFX and the XULrunner's dll's and resources.About GeckoFX - geckofx - Project Hosting on Google Code The book I am learning VB with hasn't covered this aspect yet but I almost have it all set up - this is just a side project I decided to play with because it looked really easy.

The Problem:

[code]...

I have downloaded both the GeckoFX package and the XULrunner package and unzipped them and placed the GeckoFX folder and the XULrunner folder in C drive.I have right clicked Choose Item in the toolbar and chosen the GeckoWebBrowser control to use in my form app.I know the path to the XULrunner runtime is C:xulrunner My browser only has the windows form with a text box, a button and the GeckoWebBrowser control.Now I need to set the call for the uxlrunner startup path where it needs to be. I have read that if I right click the project in Solution Explorer, I should see this option under properties.. but I do not see anyplace to do this

View 5 Replies







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