for those of you familiar with acronis cmd i need to create batch file scripts quickly to restore tib images to hard drives, i am able to redirect the output of the CMD window to my form but i need a way to search the output and grab the disk and partition info from the output and stick it in text boxes, here is what the output looks like...
C:Program FilesAcronisTrueImageEchoEnterpriseServer>trueimagecmd /list /filen
ame:"I:gateway MT6733.tib"
Num Idx Partition Flags Start Size Type
What I am trying to do: There are three powershell scripts with different time delays as shown below.I am trying to run them asynchronously in .NET and I followed this article to implement Asyncrhonous programming. Where I am stuck:The I am not able to retrieve output after the events are invoked.The scripts are being called but then the program ends and it shows "Press any key to continue" in console windows.I don't what I am missing here.
Info: JobRequest is a class that I use to pass around information keep track of jobs.
At the moment I'm developing an application (Similar to Swiftkit.net's) that will aid users when playing Runescape.My next major project on the program is to Make a highscores look-up. (If you dont know about the Runescape highscores, HERE)Now, i want to grab data from that webpage, and add it to a form on my application. The form in particular, will display a specified persons levels on that form under labels.First of all, i have NO IDEA on grabbing stuff from the web in VB. Second, i have searched far and wide for something similar, but everyone that has something similar is not very willing to part with their hard earned code.
I'm trying to make a program where when you click a button it will retrieve each value of certain things on a webpage. I.E; [URL] On that webpage it shows Clan,Kills,Etc. I want to make it to where a Label will Say "Kills:" And another label next to it will have the value of kills retrieved from that webpage, and each time the button is clicked the stats will update if they are changed..I think it's simple to do, but I don't know how..
I would like to know how to enable my programs to rip image files off the web to display them in a picture box. all i know is how to use the web browser object to load the site with the image file on it
[URL]
i would like to know how to now transfer that image from the web browser to a picture box or just save it locally
Okay this should be a quicky what i was to do is like say i have richtextbox This is the code in the rich text box and i wanta grab letter 14 so it does this This is the code in the rich text box so here is an example
I've recently been working on some VB.NET programs, grab the value of the color of a pixel on my screen(Out of my WIN32 Application).
I need this so I can make a little bot that automatically pushes buttons for a online game called "JamLegends"(http:jamlegends.com). Its kind of like Rock Band, and if I can grab the color, then I can simply used 'sendkeys' to press buttons to make the bot work.
Edit: This is for a project in school. We need to make something that will make a program that will make something easier to work with or use(In my case, JamLegends). I have nothing to work with, I've researched a bit but I found nothing that can grab pixel color values.
Is there a way i can read a text file without downloading say at [URL] and show that textfile data in a text box or label? Also, can i get it to download say ZIP files from the site and unpack it? Or can i only download and you have to manually unzip it? Im pretty sure ive seen an unzip function somewhere.
I've made a listbox and imported multiple paths into it (writing the app in VB.NET 2.0).For example:
C:Path1file1.txt C:Path2file2.txt C:Path3file3.txt (varies depending on what the user selects)
I need to be able to grab each path seperately without having to get the user to select a particular item so i can do a batch of all the paths selected.
I would like to find a way to grab the assigned IPv4 and IPv6 addresses to different interfaces and being able to determine which interface they're tied to.
Currently I am looping ' System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces ' and able to grab interface specific information:
So I have a list of book branches in an array called _branches. I need to write a procedure that adds branch names to branchNameListBox. Then I have to write a procedure that displays the information on the branch currently selected in the list box. The information should be displayed in sealPictureBox (branch image), cityLabel,nEmpLabel, and totalSalesLabel.This is what I have but the _branches are underlined in blue and it says the it cannot be indexed because there is no default property. what does that mean and how do I fix that?
Public Class BranchInfoForm rivate branches() As BranchInfo = getBranches() Private Sub BranchInfoForm_Load(ByVal sender As System.Object,
ok so I am trying to grab a bunch of phone numbers from my html page. I have successfully grabed the first one but I dont know how to get it to loop around and grab the next one and list them out into a listbox. here is the code I have for getting the first value, but how can I make it go in a loop. I have been searching for hours and trying tons of different kinds of loop code but get errors every time.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.Navigate("my html page")End SubPrivate Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox1.Text = WebBrowser1.Document.Body.InnerHtml()End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
but, i need it to grab the code from different ids not just this specific one every link has id=????????? so i just need to grab the numbers no matter what they may be.
I have a form for which the objective is to show a field for each timezoneinfo stored in systemtimezones. Here are four segments of code, designer and form input code windows
I'm working on adding a de-captcha into one of my programs but I can't seem to be able to grab the captcha from the web browser.I don't think I can just parse the URL and use webrequest to download it as it'll be a different string once it's reloaded.
I am trying to grab a small piece of information from imdb. Using Toy Story 3 at this link: [URL] It currently has a rating of 9.4. Now what I am trying to do is grab that 9.4/10. It is within the following html code.
I have a combo box with 20 items in it, i was wondering if it was possible to grab an item at random and display it, i'm not sure what code i would need
I have set my webBrowser a URL and I have searched for examples but they didn't work and just return a blank screen.[code]And others and I know how to get a screenshot but not a webBrowser screenshot.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Microsoft.VisualBasic.Interaction.Beep() System.Diagnostics.Debug.WriteLine(3 + 2) End Sub
Why I don't see in Output window number 5 as output?
I'm trying to grab information entered in textboxes. I'm trying to grab a name, an age, and a movie title from three separate textboxes, and put them into a single label like this:
"Name" is "age," her favourite film is "movie title."
after clicking the "Show" button.
I know it's a click event for the show button, but I can't quite figure out how to make the concatenated message.
I have an app that contains a DataTable that I must summarize. In that table is a Status column (also the index order) and I want to write a loop in which I compute the count for each status. So I wrote my loop and tried to use the compute function of the Datatable class, but I cannot get it working due to some constraints - specifically this...
[Code]....
You can see what I am doing here is grabbing the string value of the Status column, and then trying to get a count of how many records have that Status. My ultimate goal was to cycle the Table and count each time the status changes. But the error I get has to do with where I store the Status in a String, and then issue the second parameter on the Compute function which contains a variable (sumString) and this is where Compute is crashing - and of course, I can see why - my Status is not literal and thus not in quotes.
Generally speaking, is there any way to manage this kind of thing? In my (very) old FoxPro days one would use a macro such as "Status = &sumString" and VFP would translate sumString to its literal. I have never discovered a way to do that in .NET.
i am currently working on a form that looks like this: When i click on any textboxes under Plan Code, the plan form will pop up. When i click on a field in lbType, field will appear in my lbCode. When i click on a field lbCode, i want to be able to insert information into the textboxes.
The problem i have is that i can only get the form to work for the first row of textboxes. Because my code looks like -
Private Sub lbcode_selectchanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lbCode.DoubleClick addNewClientPolicy.TextBox1.Text = Me.lbCode.SelectedItem
Is there a way to write a list of all paths and file names of currently open files. The best I can do is use the System.Diagnostics.Process class to grab the processes of the applications in which I am interested and then get the file name from the main window title for each process. There is no way to get the path for these files, however, with this approach.
The below code for some reason isn't working with filefront. I'm grabbing the URL that returns the file to download but the wc.downloadfile() code doesn't download the file. It creates an empty file called 100.rar in my temp directory on C: but doesn't have any data. Is there something I'm doing wrong or is filefronts redirect messing something up? If I put the URL I get with the fixUrl variable, it pops up the file to download in my internet browser fine.