Executing A File Hidden?
Dec 2, 2009how would i got about executing another file from my application with hidden attributes so its not visible?
View 5 Replieshow would i got about executing another file from my application with hidden attributes so its not visible?
View 5 Replieswell i tried to make this vb code execute another app *hidden*(as in window not visible) and it didnt work because the window is still fully visible.. i dont know why, i think its just because of this particular kind of exe or something..
is there another way to really execute this file hidden? i dont know how to do it but i heard about mabye threading it or making it a windows service? will that solve this?
[Code]...
I want to make 5 attachment options in that 4 out of the 5 are hidden.but when he clicks "more attachment" link it will show the other 4.Im using ASP.NET with VB?
View 2 Replies"Thumbs.db" is a hidden file.. how can i delete in a folder together with the files are not hidden?
View 9 RepliesHere's an example code so you can understand my problem:
Dim test1 As String
Dim test2 As String
Dim test3 As String
[code]....
shell.Run("""testProgram""test1 test2 test3 test4") 'I know this is wrong.My problem is in the last line. I want the contents of the strings to be printed, not the names of the strings, and I don't know how to do that.
I'm trying to make a program that has command buttons, each running a different file. I have added some files so far, but I encountered a problem with a couple of them.
For example, I want to run Zuma's Revenge! right from the program, but it is not working. If I run the game from outside the program, it runs perfectly, but when I try running it from the program, it keeps saying "Zumas Revenge! - Adventure has stopped working."
What really confused me, is that the game is running normally if I run it from its folder or by using the shortcut, while from the program it isn't.I'm using Windows 7, with Visual Basic 2010 Express.
'Here's the code I'm using:
Private Sub Zumas_Revenge_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Zumas_Revenge.Click
Process.Start(My.Application.Info.DirectoryPath & "umas Revenge! - AdventureumasRevengeAdventure.exe")
End Sub
How can I copy file and make it hidden .... I want to make file when the user click on create I want to copy file and make it hidden ....
View 2 RepliesI have an application that will execute a batch script. I want to make this hidden, yet if I do so, the user won't be able to overwrite the command the Batch file is issuing as it prompts in the CMD window "Y or N" to overwrite.
View 1 RepliesI am executing pdf2text in vb6 but not getting output file my code is
Call Shell("pdf2text -f example.pdf abn.txt")
it does not show any error but not giving any output
create an app that can modify file attribute like hidden, archive, read-only.
View 3 RepliesI am uploading Excel File and below is my code. I have no problems so far with filling my dataset but when I tried to validate required fields, I get the error that some values are missing. I checked the Excel files and noticed that there are hidden rows that the user was not able to checked when he's adding values.[code]...
View 2 RepliesI am trying to execute Plink from a Windows Service. I have tried creating a bat file and executing directly as a command and neither works. I the bat file it acutally initiated the command but it didn't execute, just sat there till I killed it. in a bat file
[Code]...
Trying to integrate the google closure compiler in a batch job of mine and having difficulty getting it to work.Using command prompt I can enter the following command and get my scripts compiled. (The command is a self explanatory example)
java -jar "compiler.jar" --js_output_file="myOutput.min.js" --js="input1.js" --js="input2.js"
I have tried to replicate this using the System.Diagnostics.Process object but thus far have failed.I have tried
Dim command As String = BuildCommand(CompilationScripts, Me._Output)
Dim process As New Process
process.Start("compiler.jar", command)
And I have tried
Dim command As String = BuildCommand(CompilationScripts, Me._Output)
Dim process As New Process
process.StartInfo.Arguments = command
[code]....
I need to execute the following commands from my application:
Echo Y | DEL C:Folder1cache*.*
DEL C:Folder1file.abc
DEL C:Folder1file.xyz
[code].....
How do we embed / attach a pdf file (100 page file) in one of our form and the users should be allowed to download the same while executing /using this tool.
View 5 RepliesI am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not underlining the G until I press the ALT key.Is there a way to have this underline the text that I put an ampersand in front of when the form/application starts instead of having to have the user press the alt key?
View 1 RepliesI have a little trouble with my code. You'll see. I'm using the developer express ridControl tool. I have a Gridview in it with a table bound to it. The control lets you filter your info. I have a Select all button that works, the only problem is that if you filter the data and press the select button it selects all the rows, not only the ones that are actually shown on the grid, and I need only the shown ones.
View 1 RepliesI have a grid column, of which, row X is hidden. I want to pick the values of each column's row x, perform some calculations at client side and display it in row y(through client side code). I am not able to pick values from hidden field in client side. Is there a way I can put those values in a client side array using javascript code, and use it for my calculations. Also when page posts back, the array should get updated with latest values.
View 2 RepliesI'm trying to find out a way to where you can tell if an HTMLobject is hidden or not. The code for the hidden object is in the document, but how do I tell if its being hidden in the browser or not?
View 7 RepliesI'm trying to find out a way to where you can tell if an HTMLobject is hidden or not. The code for thehidden object is in the document, but how do I tell if its being hidden in the browser or not?The HTML code is here.
<div><spanid="ctl00_cphRoblox_UserNameAlreadyTaken"style="color:Red;">This username is already taken!</span><spanid="ctl00_cphRoblox_SuggestedUserName"style="color:Red;">This username is already taken!</span></div></div>
[code].....
I'm trying to run a console window hidden while using CreateProcess(I can't use the ProcessStartInfo class because I have to run it with some other special settings)I have tried to use the CREATE_NO_WINDOWS flag, but somehow, the console still pops up. This is the code I have:Dim ProzessInfo = New Process_InformationDim StartInfo = New Startup_Information, PS = New Security_Flags, TS = New Security_FlagsIf CreateProcess(Nothing, target, PS, TS, False, PROCESS_CREATION_FLAG.CREATE_NO_WINDOW,othing, Nothing, StartInfo, ProzessInfo) = 0 Then MsgBox("Couln't st
View 1 RepliesI'm using Windows Task Scheduler Wrapper to schedule the tasks (basically to launch an exe console every two minutes or so) in a .net desktop application.However, I don't want it to pop-up the console every 5 minutes or even once. How do I hide it? I understand if I was using vb.net to launch the exe, there are several things I could have done. However, I am using windows task scheduler to launch it.
View 1 RepliesI have a new application, and for some unknown reason, it's hidden behind other opened applications. It is shown when launched on desktop only if desktop is empty. How do I force my application to be in front of desktop ?
View 1 Replieson localhost its fine but on the webhost it gets hidden I can't figure it out.
This is the url where its hidden: EDIT: Removed url...
Followed Rob's webcast, did as he did, watched T4 generate the code, went to use the new namespace and oh. No namespace. I can see the namespace Test.Data in each of the generated .cs files, the tt files are included in the project as is subsonic.dll, there are no errors (I managed to get rid of a warning for the duplicate directives) but I just can't see the namespace. To test it out I am building a simple vb.net console application so wondering if there is a conflict there. Using v2.2 against the same db works fine.
View 1 RepliesI have a combo box that is tied to a binding source that loads a list of users from a table. Currently the list of users is a List of String object type. When a user selects one of the users from the drop down, a list is filtered down based on the selection. To do that I currently have to requery the User Table to grab the UserID column of the user selected, which seems a bit inefficient to me.
Is there a way that I can assign a custom object with two properties (UserName, UserID) and have only the User Name is displayed and when I have to filter the list, I already have the UserID, so there is no need to requery the database.
[Code]...
I am designing a program that will backup a user's profile in Windows XP. So far, the only snag I've come across is copying the 'Signatures' folder from 'C:Documents and SettingsUSERNAMEApplication Data$MicrosoftSignatures' I believe the issue is that the 'Application Data' folder is hidden. [code]...
View 10 RepliesI have made a validation application, the application runs in the tray and responds to events of another app such as save document, on this event my application runs, validates the document and creates a pop up message of errors in the document. However the pop-up is hidden behind the other application, the other application is locked because it is waiting for my app to finish. I have tried combinations of show(),activate(),bringtofront () with no success i have also tried SetForegroundWindow() and SwitchToThis Window() for win api but with these the app still just flashes orange in the taskbar behind the other application which is locked.I think it is almost definatly a problem with stealing focus from the other application but im not trying to make an annoying pop-up, it is needed and only appears when there are problems with the document the other application is locked and will not respond untill okay is clicked on the pop-up and it is easy to miss the flashing icon in the taskbar
View 1 Replieshow can I set to visible = true those hidden rows in my datagridview?. When the form loads, I set some rows to visible = false due to some reason. Now, I cannot find away to unhidden them.
View 1 Repliesi can get all runing process info with that code, but some applications runing as hidden and this code can not catch the hidden process, how can get all runing process on the pc ?
Dim myProcess As New Process()
Dim ps As System.Diagnostics.Process [code].....