Search:
Type: Posts; User: Runesmith
Search:
Search took 0.04 seconds.
-
You can start by reading up in MSDN on the Environment class, paying special attention to ExpandEnvironmentVariables() method.
-
If I read between the lines, you probably want the file to open up in notepad, right?
If that is so, use process.start to start notepad.exe, and specify the location of the text file as a command...
-
Glad to be of help, but please don't insult any of the helpful members here. Jmc is one of the most knowledgeable people here, and I have learnt a lot by reading his posts.
-
Your matches1 collection returns all matches the regular expression found. You can find out the number of matches that were returned by checking the count property of the collection (eg....
-
Navigate to the site using internet explorer, then hit F12. Expand HTML section, then expand the Body section. Now look closely inside the body. If a script is being used, you will see a section...
-
You don't need an Else clause here at all. If save() is not true, then don't do anything - the form will not close.
-
Sorry to butt in, but I just wanted to check:
You did remove the line
Dim myCheckBoxes As New List(Of CheckBox) from within the For...Next loop, right? If you didn't, you should do so.
-
You would need to do a recursive search of all folders on every hard disk on the system. This could be very time consuming.
Can't you put the installation path of maingame.exe in a registry entry...
-
Are the values hard-coded, or do you read them off from somewhere (database or text file etc)?
-
Do you mean, you need to get the path to the application data folder?
Dim appDatapath As String = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
-
Let's assume you have a ListBox1 and ListBox2, and a button called Button1 (that does the adding). So all you need to do is, when button1 is clicked, add to ListBox2.Items collection, the...
-
Have you tried using a masked text box?
-
This thread was just discussing the same problem yesterday. http://www.vbforums.com/showthread.php?t=623676
-
Ok, I think I missed this part in your first message: "What I'm basically looking for is to not have to map a drive on the users computer."
Without mapping the shared drive, the users computer...
-
Your description says almost nothing about what you want to achieve.
The first step is to write down an unambiguous description of what you are trying to create. You can't build a physical product...
-
Control is a base class, and does not have the properties of some of the other classes built on this class. You can find a list of the members of the Control class here:...
-
Googling "vb.net impersonate user" should get you started.
-
None of the so-called "standards" stay standards, I'm afraid. I run in to similar problems daily whenever I need to extract data from the medical devices in our hospital for my research projects....
-
Hmm...it seems to have turned to green for some reason. Those are the lines above the red section.
-
Since there is no fixed length to the text file, I guess the loop would be an infinite loop that only ends when the EndOfFile is reached when you attempt to read the next line.
-
Nice thing about the internet is that additional information is often one link away. While you are on the page that TG pointed to, try clicking on the link that says: system.io.filestream
-
No it doesn't. The code closes the current record only if:
Hasdata is true (which becomes true when the first 13 is encountered) AND
TwentyDetected is true (which means at least one line starting...
-
You want to get the number of letters in the text contained in textbox1, right?
Dim NumberOfLettersInTextBox1 as Integer = TextBox1.Text.Length()
-
Ok, then getting the header section separated is simple. You just need to take the first 4 lines of the text file.
So I assume the rule for a record would be: record must start with "13" line (can...
-
What are the rules used in this report file? For example,
1. Is the header always 3 lines?
2. Does a record always begin with "13BP..." ?
3. Is the blue section just one record or is it actually 2...
-
Where do you want to store the length of the text? If you want to store it in an integer variable called Length, you could use:
Dim Length as Integer = asd.length
-
You mean, you have actually managed to write a global keyboard hook in VB.net? Most of the references I've looked up just tell me to forget it and use eventVB.
-
Does anyone with VB6 happen to have a published build of the dll? I can't compile this project on VB.net 2008 as the conversion is a herculean task.
-
First of all, you already know how to get the data from the database, right? You know how to assign the data to text boxes, right? So what is so difficult about assigning the same data to a combo...
-
It would be great if you could post the complete error message, as Hack suggested.
Does the error occur in the first iteration of the loop? Or does it happen only at a specific point, or when it...
-
What level of programming experience do you have?
-
Take a look here,
http://coder000.com/minimize-all-windows-through-keybd_event-in-vb-net/
which shows how to use the keyb_event API to send "CTRL+m" to minimize all windows. After calling the...
-
Add a shortcut to your program in the windows startup folder
-
Is total properly declared as New List (of myObject)?
The only way I could get a null reference exception was when I didn't declare total as a new list. But in that case, it showed up in the IDE...
-
If it gives the "File in use" error while trying to delete, it probably means that the copy operation was not complete before you attempted to delete the file.
You can try separating the copy and...
-
It could be because of the implicit conversion you are doing in the loop, eg. how would the compiler know what "item" is supposed to be?
If you change it to
For Each item as myObject In page...
-
You should separate the questions and post them as individual threads, because different people will be able to help in different areas.
First question:
If you have the first name as a string,...
-
You left out the most important piece of information. What is the error?
-
It is quite easy to get the inner text of the elements in the table rows. If your web browser control is called WebBrowser1, for example, you can access the HTML document using WebBrowser1.document...
-
Wouldn't you get what you need by using element.InnerText instead of innnerHTML?
|
Click Here to Expand Forum to Full Width
|