Search:
Type: Posts; User: moeur
Search:
Search took 0.16 seconds.
-
You might want to consider using BeginInvoke instead of Invoke. This way your background code doesn't have to wait for your foreground updates. This is assuming you don't need strict synchronization...
-
I have plenty of ideas. why don't you try programatically sending mouse clicks to the coordinates of the button.
-
The people who write the flash player purposely work to prevent you from doing things like this. They are trying to protect the content of their customers so restrict what can be done via code. It...
-
The book is not wrong. The problem is in the way you express the interest rate.
a 3.7% rate should be expressed as 0.037
Putting that number in for r gives you 0.03734 or 3.734%
-
try rebuilding your project to see if the error goes away.
-
If you have found C# code that does what you want then post a link here and someone can help explain it to you.
-
The nice thing about BeginInvoke is that it performs the action asynchronously (so it must run on a separate thread) So, if you want your form to load right away and have it be responsive while the...
-
The reason to make the loading of listview items asynchronous is to prevent the UI from locking up.
This is how I would do it.
Public Class Form1
Public Delegate Sub...
-
Here is a method of "subclassing" external process windows. It was written for VB6, and then converted to VB.NET. It relies on a dll written in C++ that is supplied in both source code and...
-
You are probably right that it is a format problem. Try examining the bits returned by returning a pointer to a byte array.
<DllImport("NetTEMPer16.dll")> Public Shared Function...
-
see here:
http://www.vbforums.com/showthread.php?t=385497
or here:
http://www.vbforums.com/showthread.php?t=445006
-
to check for null values in a database use
If Form1.dTable.Rows(ii).Item(g) isNot DBNull.Value then
-
From my experience, you can only set fullscreen mode while the player is playing. So, what I do is insert the code to go fullscreen in the playstatechange event.
player_PlayStateChange(sender...
-
I'm still confused about what you are trying to do. Will SetCapture work?
-
Why do you want to send the mouse clicks to your program via a message? You already have the mouse click data in your MouseProc routine. And, this routine as written (sans the PostMessage calls)...
-
Yes, you can install a WH_MOUSE_LL hook and reject any WH_RBUTTONUP messages. The advantage of this hook is that it can be run from VB and you won't have to create a C++ dll.
-
Can you explain in more detail what the program needs to do? For example, do you want it to ignore all mouse clicks until you press f12? What is the point of the mouse down and up messages?
-
If there are any spaces in the path string then you must enclose the whole path in double quotes.
ex: Shell("""C:\Program Files\display.exe""")
-
I'm saying that you can't do what you are trying to do.
-
There is no way around this that I know of. You'll have to think of another way to do whatever you are trying to do.
-
DirectX does not rely on Windows messages to recieve keyboard input. Instead it gets input directly from the keyboard driver. This being the case, you will not be able to inject keypresses into a...
-
curElement.GetAttribute("href")
-
if you want to use the window handle try this API function
Public Declare Function SetForegroundWindow Lib "user32" Alias "SetForegroundWindow" (ByVal hwnd As IntPtr) As Integer
-
Make sure you set dwOutBufLen to the size of your buffer.
-
I guess I don't see the problem.
-
Have you tried calling the appactivate method before launching your dialog?
-
Does this help?
http://support.microsoft.com/kb/178456
-
Which function are you calling. The Windows API functions usually have a variable passed to them that allows you to tell them how large your array is to prevent crashing. If the array isn't big...
-
In your error trap you could set the element of your list = nothing rather than deleting it. Then before you perform any operation with your elements make sure to check whether they are nothing.
...
-
Wow, fast bump
I would catch the error and remove the client from the list on error:
Dim clientsList As New List(Of TcpClient)
...
For Each client As TcpClient In...
-
Try something like this:
For Each temp As HtmlElement In wb.Document.Links
If temp.GetAttribute("ClassName").Equals("twtr-user") Then
...
-
What you are doing here is sending a Set Text message to another window (form). This will change the caption of the form to your new message and you can then retrieve the message by reading the...
-
If Winlirc works fine then I suggest you use it. I couldn't get WinLIRC to work while any video was playing.
I suppose the problem you are seeing could be coming from one of several sources:
...
-
To detect the first pulse edge, monitor the com port's Pin Changed event.
Private Sub CommPort_PinChanged(ByVal sender As Object, ByVal e As SerialPinChangedEventArgs) Handles...
-
Homemade Infra-red remote control [VB 2005]
If you are building a Home-Theater-PC (HTPC) one of the things you need to install is a remote control and its driver. Even without Media Center this...
-
-
It is not a trivial thing to convert VB or C++ to C# when working with API's.
Here is a working example in C# of accessing a listview's column data....
-
how did you get the handle to the listview?
-
A while ago I tried to do this and finally had to give up. It is very complicated.
See my previous attempt.
http://www.vbforums.com/showthread.php?t=327589
-
The problem with getting items from a listview in an extrnal process is that the Windows operating system doesn't know how to marshal data for any user defined message. Yes, LVM_GETITEMTEXT is a...
|
Click Here to Expand Forum to Full Width
|