Search:
Type: Posts; User: ZenDisaster
Search:
Search took 0.04 seconds.
-
Well you gentlemen certainly have my thanks for asserting yourselves on my behalf. I'll bookmark this thread and update it if I'm able to make an progress.
Quick update. I decided to run the call...
-
Hi minitech, I was hoping you'd bring your oversized brain into this.
I agree with you. However, in the back of my head I have an idea for a future project that would enable me to macro other...
-
Option Strict is now on!
I've been able to execute the program, but I'm getting an invalid handle. Let me update the code here.
Private Declare Function GetStdHandle Lib "kernel32.dll"...
-
I'm working on a roguelike similar to nethack (a console game where the graphics are simply unicode characters). However, I have reached a barrier when trying to identify what character the cursor is...
-
You could use the MaskedTextBox to easily restrict and format input.
The mask property of the MaskedTextBox would be something like 00:00:00
See this for further information on it.
-
change:
sw.WriteLine(ListBox3.Items.Item(i))
to:
sw.WriteLine(ListBox3.Items(i))
-
You might try avoiding the stream.
Using sw As New StreamWriter(fname)
-
If you want a list of window titles you could use something like this;
For Each MyProc As Process In Process.GetProcesses
If MyProc.MainWindowTitle <> "" Then...
-
For Each MyProc As Process In Process.GetProcesses
If MyProc.MainWindowTitle = "VBForums - Visual Basic and VB .NET Discussions and More!" Then
Return MyProc.ProcessName...
-
Did you add a reference to the dll?
-
-
I'd like to hide the contents of a picturebox while still preserving it's imagelocation, width, height, borderstyle, top, left, and sizemod properties. Is this possible?
-
Right on, changing the constants worked great, thx Chris.
-
Although my monitor didn't shut off, I got a 0 responses with this;
#Region "API"
Private Const HWND_BRODCAST As Integer = &HFFFF
Private Const SC_MONITORPOWER As Integer = &HF170
...
-
There is a system message if your monitor supports suspend mode. WM_SYSCOMMAND and the SC_MONITORPOWER flag.
http://msdn.microsoft.com/en-us/library/ms646360(VS.85).aspx
-
-
ListBox1.Items.AddRange(l.ToArray()) should come after the Next
Dim i As Integer
Dim l As New List(Of String)
For i = 0 To 999
If Not...
-
GetDC returns a different value than GetPixel yet you're setting the return value of GetPixel to your hdc var. Try separating the calls.
-
-
-
try that one. I mistook numbers for an array then saw it was a collection of regex match objects.
-
For i As Integer = 1 To 3
RichTextBox1.Text += numbers(i).Value & ", "
Next
RichTextBox1.Text = Strings.Left(RichTextBox1.Text, Len(RichTextBox1.Text) - 2)
-
RichTextBox1.Text += numbers(i).Value & ", "
-
-
Maybe something like this?
Dim xEleList As XmlNodeList = xmldoc.GetElementsByTagName("Tanggal")
xmldoc.InsertAfter(NewElement, xEleList.Item(0))
-
I would try something like this;
Using SW As New System.IO.StreamWriter("c:\somefile.txt")
For iCount As Integer = 0 To ListBox1.Items.Count - 1
...
-
Not sure what exactly you are trying to do. Are you looking for the index of the HTML element, the image URL, the X,Y coordinates? I'm pretty sure you'll get some help if you can give some details to...
-
Hm ya, HTMLLinkElement would require a reference to either the Microsoft HTML Object Library or the IETag library. Try taking away 'As HTMLLinkElement' and see what happens. I don't have VB6...
-
Can do for IE but haven't delved into mozilla api's at all.
-
Not sure what you named your text box so I just named it txtURL.
Dim MyLink As HTMLLinkElement
For Each MyLink In webbrowser1.document.links
If MyLink.innerText...
-
There's a little utility included in vs to convert your vb6 projects to .net but it just made a big broken mess every time I used it.
There's really too much to talk about here so I would say just...
-
This should fix the problem of more than 3 occurences of "/".
Dim num As Integer = Strings.InStr(9, bloglink, "/", CompareMethod.Text)
If num > 9 Then bloglink =...
-
Your version increments with every publish, not every build.
-
Your predicament reminds me of this post.
-
You may want to check out the WebBrowser's DocumentComplete event to grab that data. This way whenever a page is loaded your code is ran once, and only once, exactly when it is needed.
I'm...
-
If I'm understanding you correctly, you are only required to know the hundreds?
If that is the case, you only need ignore the left side of the number when it grows over 3 or 4 digits.
Here's a...
-
If you're going to use a busy waiting loop, use the one in the link provided by CDRIVE as it is not as likely to turn your processor into molten silicon.
-
Try Doc.selection
Public Function GetSelection() As String
GetSelection = CurrentDoc.selection.createRange().htmltext
End Function
-
getElementByID does not return a collection of elements but rather a single element.
Try removing .Item(0) from your first example.
-
Hi Rick, it sounds like you're on the right track. A standard module should work just fine. You need to hunt down which references are broken when you move the code and import those references into...
|
Click Here to Expand Forum to Full Width
|