VS 2008 Shell Not Working

Jan 22, 2010

I've tried this with several different files and verified the path, spelling and capitalization (I've also copied the path right out of the Start & Run text box), yet I can't get Shell to execute or open any file, does anyone have any thoughts or suggestions about this?[code]

View 1 Replies


ADVERTISEMENT

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

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

Batch File Not Working When Called From Shell

Apr 30, 2010

We are attempting to run a batch file that will result in a submission to a help desk ticket system. When we run the batch file from command line on our W2003 platform, it works successfully. When we run the same file, called from our vb program, using shell or process info, it does not. With shell, we can see the batch file being called, but it is not resulting in update to the help desk ticket system. The vendor of the system believes it is a security issue. We are signed on as Administrator while running this. We set security permissions of cmd.exe to include Batch, per KB867466. What else should we be doing or looking at?

View 8 Replies

Shell - Process Redirect Output Not Working

Mar 1, 2012

I'm trying to redirect the output from a command-line application in VB.NET, and for some reason it fails to redirect the output. Here's my code:

Dim myProcess As Process = New Process
myProcess.StartInfo.FileName = "g++"
myProcess.StartInfo.Arguments = CMDLineCommand

[Code]......

View 1 Replies

VS 2008 Shell( Tskill ) Process?

Sep 21, 2009

I need to kill a process programatically. I have xp home on the computer, and I use this:

[code...]

but for some reason, the program is not terminated.

View 3 Replies

VS 2008 Entry In Shell Context Menu With Icon

Aug 30, 2009

Seeing how Notepad++ does this, is it possible to achieve something like this:using Registry class?

View 1 Replies

VS 2008 Managing/theming Other Apps (developing A Shell)?

Jan 12, 2010

I'm developing a shell (think LiteStep or SharpE) for Windows using Visual Basic .NET, and I have reached the point where I will need to get into theming other windows that doesn't run inside the shell itself.Modifications I will need to do is to change their title bars - probably using some kind of API call - to match the design I've integrated into the shell itself, if that is even possible. Having Aero on windows running in a shell that doesn't even look like Aero at all isn't very pretty.) Is there a chance I might be able to do this, or will I have to use a 3rd party application and/or develop my own little programming language for shell-specific applications (which would be a pain)?

View 2 Replies

VS 2008 Automatically Paste The Clipboard Contents To Richtextbox After The Shell Command?

Feb 27, 2010

is there a way that i would automatically paste the clipboard contents to my richtextbox after the shell command?

my code goes this way..

shell("ocr")
richtextbox.focus
richtextbox.paste

my code won't paste the clipboard details after it has finished the shell process.

View 1 Replies

VS 2008 Cannot Seem To Get A Working Filter In Working Order

Jun 18, 2009

It appears that my favorite thing in the world is tackling projects that are beyond my current knowledge and abilities. I have a little project that I am working on which is a simple image viewer stocked with (upon completion) your standard Load..., Next/Previous, Zoom In/Out, Actual Size, and Full Screen capabilities. However, I am running into a few snags:

(1) I've been able to get my "Load..." button to display a file dialog box, but I cannot seem to get a working filter (with which only image file types are allowed to be selected) in working order.

(2) I have a PictureBox object (entitled PictureBox1) that displays the image selected via the file dialog box, but it loads images in their full size (1:1/100% zoomed) state without scrollbars, etc. to allow me to navigate the loaded image. I would like to have it load the image, initially, to fit within the dimensions of PictureBox1 and from there be able to zoom in/out via my "Zoom In/Out" and "Actual Size" buttons and be able to scroll if the zoom level is beyond the dimensions of PictureBox1.

(3) It dawned on me that I haven't the faintest idea how to get my "Next/Previous" buttons to allow the user (me) to navigate, in succession, the images contained in the folder in which the currently loaded image is stored. [code]

If it is deemed that this thread is inappropriately requesting help, I ask that it be locked/deleted quickly as I recognize that this is a large community with many discussions going without need of unwelcome posts.

View 9 Replies

VS 2008 Call Shell("explorer.exe ") - Keeps Hitting/missing At Random?

Apr 5, 2010

Ok i cant seem to trace why this happens, i have a button which simply opens a folder (from a list of folders shown in a listbox) in windows, using this Dim folder12 As String = ListBox1.SelectedValueCall Shell("explorer.exe " & folder12, vbNormalFocus)The problem is it keeps working then failing, ive managed to trace it down to the size of the folder thats making it fail, it works fine if the selected folders size is sub 300mb, but anything above and it fails ad opens the 'my documents' folder instead.

View 2 Replies

VS 2008 Working In VB 2008 Designer View - Add Another Item In The Menu

Aug 5, 2009

I have been working on an app that was basically a vb6 app but had to be changed and I did it all using VB 2008. works well, great. One of the problems that I had was to work on different groupboxes or frames. Since they are layered on top of each other, working on one frame would mess up the others. Eventually it all went okay. but now if i want to add another item in the menu and hence add another groupbox (or frame) in the same app - it would definitely be a nightmare.

[Code]....

View 8 Replies

VB 2008 : CSV Not Working In 2010 WPF?

Jun 23, 2010

I recently got microsoft expression studio and VS 2010..To test out expression, i created a sweet looking UI, and transferred an old program from VS 2008, but the CSV writing function I have written in the '08 doesn't work with my WPF form in '10.

CODE

Private Sub ReadTimer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ReadTimer.Tick
CurrentPosition.Read()
CurrentPositionValue.Text = CurrentPosition.Values(0).ToString()

[code]....

specifically, the error is, "Computer is not a member of My" ....

View 1 Replies

VS 2008 : KeyDown Not Working?

Jul 5, 2009

Well I'm currently in the middle of adding a few fine details to a program I'm busy with. Basically whats happening though is that I want to be able to delete some settings on the fly instead of individually, I also want to accomplish this through a simple key press.

Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.KeyCode = Keys.F1 Then
MsgBox("Do you wish to remove all entries and clear all relative data?", MsgBoxStyle.YesNoCancel)
If MsgBoxResult.Yes Then

[code]....

View 4 Replies

VS 2008 : Working With A Database?

Jul 16, 2009

When you are working with a database, is it then possible to make the program save stuff, so when you close and open the program, it could etc. save a text in a textbox?

View 5 Replies

VS 2008 Code Not Working?

Aug 17, 2008

Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs)
If WebBrowser1.DocumentText.IndexOf("FAILED LOGIN") > -1 Then

[code]....

Now the number 40 shows up in the web broswer so why isnt the ELSE showing the message box saying Login OK and the others?

View 9 Replies

VS 2008 Exit For Not Working?

Sep 9, 2010

what is wrong about this code? it dosnt exit for and fo to next

vb
For Each sWord As String In word.Items
If sChat.Contains(sWord) Then

[code].....

View 4 Replies

VS 2008 Getting .exe File Working?

Jun 21, 2010

However I am trying to get my program into one little file. And I read how to Build Project and go to inRelease and get it from there. However it says this once I actually move it from its other files

Quote:

"*Program Name* has encountered a problem and needs to close. We are sorry for the inconvenience."

I get that as soon as I load it up. If there is any way at all to get it one simple file rather then like 3,4 files it would be so great.

View 6 Replies

VS 2008 Lockbits Not Working

May 22, 2010

I have this code to blur an image (a rewritten one from my Vista Forms project):

[Code]...

And it works fine for blurring a picture, but when I pass it a rectangle (and I know the rectangle is correct), it ends up stretched and very thin. I've attached a screen-shot of it "working". The red rectangle is the rectangle I pass, and the warped sort-of red area is where it seems to be blurring.

View 1 Replies

VS 2008 Performclick Not Working

Jun 23, 2009

i have button3 in the 3rd tab and button1 in the 1st tab when i put in button3 this code [code]

View 10 Replies

VS 2008 Replace Is Not Working?

Sep 15, 2010

I am trying below code to replace <?xml version="1.0" encoding="utf-16"?> with "" But is not replacing anything.

Dim value3 = result.Replace("<?xml version=""1.0""encoding=""utf-16""?>", " ")

View 2 Replies

VS 2008 SetPixel Not Working At All

Apr 3, 2009

its the first time im trying to use SetPixel , it doesn't seem to work at all,
im trying to draw anywhere in the screen (where the mouse is), there must be something im doing wrong

[Code]...

View 13 Replies

VS 2008 Why Is Bit Mask Not Working

Jul 13, 2011

Here is the

Option Strict On

Dim mask As ULong = &HFFFFFFFFUL
Dim result1 As ULong = 20L And mask '//disallows implicit conversions
Dim result2 As ULong = 20L And &HFFFFFFFFUL

If you put that into the IDE with Option Strict On, it will not let you compile because of 'result1'. I'm not sure I understand why. In the 'result2' assignment, I am explicitly saying to use an unsigned long, however it's not giving me any grief.

View 19 Replies

VS 2008 Word Add-in Not Working?

Dec 18, 2009

Ok I created a template project of type word 2003 add-in. this is my 'ThisAddIn.vb' vb

Imports System.Runtime.InteropServices
Imports office = Microsoft.Office.Core
Public Class ThisAddIn

[Code]...

Do I need to add more references or something? or a function I need to implement. I've never made an add-in before, and quite frankly the "tutorials" I've found online are either more complex or just dealing with an particular issue of someone's addin, not how to's really.

View 1 Replies

VS 2008 Working On A LAN Messenger

Oct 7, 2009

So I'm trying to code a lan messenger in vb.net 2008, but I cannot figure out a good way to do it, i would love it if someone could work one on one with me to develop the code as I would like to learn from this and not just blindly copy code.

View 4 Replies

VS 2008 Working With Arrays?

Jan 28, 2010

working with arrays is not something I am too good at,Currently I have a form with 2 text boxes and a single button. I have two arrays, one populated with user names, the other populated with password. The user names and passwords match up in position in each array. I am thinking I might need to create a multidementional array of these two arrays.

[Code]...

If I do this however, any user name gets matched to any password, pending both exist. I would like to be able to compare the user name and password of a single user. Right now the user names and passwords are stored in separate arrays. Should I merge the two into a single array? If so how? And if so how do I go about matching the text box entries to the array(s) and making sure that the user name and password matches?

View 12 Replies

VS 2008 Working With Offsets

Mar 11, 2010

Im creating a application called FS Acars for a game called Microsoft Flight Simulator. In my acars there is a feature where you can Get the fuel load from the plane, And then you can load the fuel back on. To get the fuel from the plane, You have to use the following code;

CODE:

Ok, so once you press a button called 'Get Fuel', The amount of fuel on the plane will be shown in a Label and also be put on a Track bar, Both in a Percentage Value. Now I want the user to be able to modify the track bar, And once they have done that, They can press another button called 'Load Fuel', Which will get the value of the trackbar, And send it back to the plane to load the fuel. Can anyone tell me how I mite do this. I can allow teamview access to show an example.

View 4 Replies

VS 2008 Working With Tables

Apr 29, 2009

I want to create a table with an option of increasing rows on clicking a button which will be on the side of tableAfter user puts data into table, that should be updated in oracle database table.

View 1 Replies

VS 2008 Working With The Registry?

Mar 5, 2010

Dim rk As Microsoft.Win32.RegistryKey
rk = My.Computer.Registry.CurrentUser.OpenSubKey("SYSTEMCurrentControlSetControlSession ManagerBootExecute", True)
rk.SetValue("BootExecute", "autocheck autochk /p ??C:")

I'm trying to make a application that will start "Check Disk " on boot time.But i get this error

Object reference not set to an instance of an object.

View 3 Replies

[2008] Functions Not Working?

Jan 8, 2009

This was sort of discussed in another topic i made, but it went a little off topic, so i'm making a new thread. Anyways

vb
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim archiveHandle As IntPtr
Dim archiveName As String = "C:Users#DesktopWarcraft IIIwar3.mpq"

[code]....

Notes:I Also have a feeling it has to do with the flags on MpqAddFileToArchive, because i'm using 0 but the documentation has flags like MAFA_COMPRESS, though i have no idea how to use them?

View 6 Replies







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