Search results for query: *

  • Users: Luc
  • Order by date
  1. Luc

    Getting a VB prog to interact with a running app

    I think I had the same question a while ago. http://www.vbdotnetforums.com/showthread.php?t=13475
  2. Luc

    compA to tell compB to start/exit program using Vb.net and WMI

    You can show the window by adding processstartupinformation. If you want the window to show then you can do it like this: Dim procStart As ManagementClass = New ManagementClass("Win32_ProcessStartup") Dim ps As ManagementObject = procStart.CreateInstance...
  3. Luc

    compA to tell compB to start/exit program using Vb.net and WMI

    I think the reason it only shows up in the taskmanager is cause it is run by a different user and will only pop up when the program is run as the user who is logged into the machine. At the moment I'm pretty bussy but as my current project requires me to do the same thing you're trying to do...
  4. Luc

    compA to tell compB to start/exit program using Vb.net and WMI

    Download the WMI code creator, then query the remote machine for its processes and the handle of it. Then invoke the Terminate method and insert the handle parameter. For example: closing firefox on a remote computer: Private Sub btnTerminate_Click(ByVal sender As System.Object, ByVal...
  5. Luc

    Configuring DHCP & DNS

    Hey I'm currently writing a program wich allows the user to configure the DHCP, DNS, WINS and the AD of the server. So far all is going really well. I've been able to complete the modules wich aids the user to configure his AD and server settings except I have no idea how to programaticly...
  6. Luc

    anagram program

    About the progressbar thing: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim intCombinations As Integer = 1 Dim ScrambledStrings(limit(txtString.Text.Length) - 1) As String Dim rndCombination As String...
  7. Luc

    anagram program

    Poses some problem cause all the possible of a string with more then 10 characters are more then a billion :( But if you keep the string small my code should work, probable someone else with superior code here :rolleyes: : Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As...
  8. Luc

    Windows shares

    Does the drive show up when you open your explorer? Isn't this kind of hard when you have 100+ users all with different shared maps on your server? thx
  9. Luc

    anagram program

    There are probable people on this forum who'll give you some better code then this, but its better then nothing, this is to scramble the letters: Dim chrText() As Char = TXTtext.Text Dim chrscrambled(UBound(chrText)) As Char Dim intExclude(UBound(chrText)) As Integer, j...
  10. Luc

    Textbox question

    Does this help? Private Sub TXTnumbers_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TXTnumber1.TextChanged, TXTnumber2.TextChanged, TXTnumber3.TextChanged, TXTnumber4.TextChanged, TXTnumber5.TextChanged Dim txtnumbers() As TextBox = {TXTnumber1...
  11. Luc

    How to hide a process in Task Manager?

    http://www.vbdotnetforums.com/showthread.php?t=14554
  12. Luc

    webclient is causing stack overflow

    Its like my computer has a mind of its own, it works now :confused:
  13. Luc

    webclient is causing stack overflow

    I'm new to asp.net 2.0 and I'm trying to make a simple newspage wich can be changed by changing a textdocument, the code goes as following: Partial Class _Default Inherits System.Web.UI.Page Dim logged_in As Boolean = False Dim first As Boolean = True Dim wc As New...
  14. Luc

    Editing batch files from input of VB.net Text Boxes

    DO you mean something like this? Dim sr As New System.IO.StreamWriter("batchfile.bat") sr.WriteLine("c:") sr.WriteLine("cd\x") sr.WriteLine("terminate\ipaddress " & TXTIP.Text & " user " & _ TXTUser.Text & " password " & TXTpass.Text & "...
  15. Luc

    WMI Code Creator 1.0

    Thanks it has proven extremly usefull to me!
  16. Luc

    Simulating mouse and keyboard

    You have to use sendmessage API. For example if you want to type the letter A into the Notepad program. Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As IntPtr Private Declare Function...
  17. Luc

    Hexdecimal Binary converter code needed

    you can use .NET functions like Convert.ToInt32("00FF", 16) or if you really want an example of coding it yourself here it is, I wrote this a verry long time ago.
  18. Luc

    Control other application

    It works now, thx allot. :) I downloaded a small program wich returns the classname of the button I'm on and I saw that I had to input "Button" for my classname and "Button1" as my windowname.
  19. Luc

    Control other application

    Still doesn't work, I'm thinking that I might be using the wrong API to press my button but I can't find the one I need, can someone help me how to locate the handle to my button. Any Help is grately apreciated since I need this for my Master work in school.
  20. Luc

    Control other application

    Thx for the quick reply, I think I'm finally getting somewhere. I created a little test form called form1 with a button called button1, when the button is pressed a messagebox appears, I compiled it and saved it on my C drive. The I created an other form called testing with a button. When the...
Back
Top