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]
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
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.
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?
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)?
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.
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.
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.
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" ....
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
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?
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?
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.
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.
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
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.
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.
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.
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?
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.
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.
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?