Search:

Type: Posts; User: theyikes

Page 1 of 2 1 2

Search: Search took 0.05 seconds.

  1. Replies
    7
    Views
    656

    Re: do while issue.

    ok i think i have an idea of where you're coming from. quick question. in vb6 theres'
    a vbbackspace option. is there any similar option for v.net
  2. Replies
    7
    Views
    656

    Re: do while issue.

    Thanks for the prompt reply wes. i'll be quite honest, your reply confused me. Like i said earlier i'm a new vb.net user. I'm just trying to put together some simple script. You're obviously a...
  3. Replies
    7
    Views
    656

    do while issue.

    hi guys, i'm not sure it the subject for this post is right but i'll try.

    basically i have a piece of code i need to delete the last characters in a textbox. this is what i have so far:



    ...
  4. Thread: loading forms

    by theyikes
    Replies
    12
    Views
    801

    Re: loading forms

    i figured it out. i was loading the wrong form. thank you so much for your help!
  5. Thread: loading forms

    by theyikes
    Replies
    12
    Views
    801

    Re: loading forms

    Using frm = New Form2()
    frm.ShowDialog()
    End Using

    just keeps bringing up the original form.

    Let me explain, i have a form with a dropdown.box with form2 as an item
    i need to Load form2...
  6. Thread: loading forms

    by theyikes
    Replies
    12
    Views
    801

    loading forms

    hi guys. i have a quick question. I have a form with a command button that when i click i want to load a new form. it was easy in vb6 but i can't figure it out in vb.net

    I'd love some help with...
  7. Replies
    8
    Views
    460

    Re: textbox select first character

    sorry wes4dbt, i'm new to this. what you gave me works. What i had written did nothing. there were no error messages it just didn't do anything
  8. Replies
    8
    Views
    460

    Re: textbox select first character

    nothing happens., i just tried

    TextBox1.Focus()
    TextBox1.SelectionStart = TextBox1.SelectionStart + 1
    TextBox1.SelectionLength = 1

    but that failed too!
  9. Replies
    8
    Views
    460

    Re: textbox select first character

    ok..... I tried TextBox1.SelectionStart(0, 1)
    but that doesn;t work
  10. Replies
    8
    Views
    460

    Re: textbox select first character

    yes wes!!! is it possible to highlight the first character?
  11. Replies
    8
    Views
    460

    textbox select first character

    hi! i'm trying to select the first character in a textbox. is this doable?
  12. Replies
    6
    Views
    432

    Re: Ltrim to trim textbox

    Thank you wes4dbt!! That's EXACTLY what i was looking for. I have a related question again using the string

    abcedfg@hijkmnnop@qrstuvwxyz

    now that i can trim everything before the first @ is it...
  13. Replies
    6
    Views
    432

    Re: Ltrim to trim textbox

    Thanks plausiblydamp. I tried looking at the links you gave me but to be honest i didn't quite understand it. Today is my first day to use vb.net I'll keep trying. Thanks again for your help. Love...
  14. Replies
    6
    Views
    432

    Ltrim to trim textbox

    hi. I have a question. I have a form with a textbox which contains a line of text like this

    abcdefg@hijklmnop.

    Is it possible to use Ltrim to remove everything up to the @ symbol I've googled...
  15. Replies
    3
    Views
    917

    vb.net 2012, set dword value

    Hi. I'm messing about with a pet project. Part of it requires that I set a dword value to 1. I've tried looking it up but all the answers are vague and to be quite honest non-descript. Can anyone...
  16. Replies
    1
    Views
    761

    VS 2012 Help with Registry at startup

    Hi! Quick question, I'm trying to set a reg key for Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run but i keep getting an error message saying access is denied. I read...
  17. Replies
    7
    Views
    4,777

    Re: running powershell through vb.net

    I know this command sorts this error:

    Set-ExecutionPolicy -ExecutionPolicy Unrestricted
    but how do i issue the command?
  18. Replies
    7
    Views
    4,777

    Re: running powershell through vb.net

    OK now I'm getting a security issue:

    Errors:
    -------
    C:\mountiso.ps1 : File C:\mountiso.ps1 cannot be loaded because running scripts is disabled on this system. For more
    information, see...
  19. Replies
    7
    Views
    4,777

    Re: running powershell through vb.net

    Never mind i figured it out! I'm still getting error messages but I'll figure them out!
  20. Replies
    7
    Views
    4,777

    Re: running powershell through vb.net

    When I copy and paste your solution i get the following error:
    179002
    Can you help me out?
  21. Replies
    7
    Views
    4,777

    Re: running powershell through vb.net

    would you believe but I already came across that but to be honest it's a bit above my head, i was hoping for something a little more newbie friendly.
  22. Replies
    7
    Views
    4,777

    running powershell through vb.net

    Hi! I'm having quite a bit of trouble running powershell scripts through vb.net. Here's what I have so far:


    Dim psi As New ProcessStartInfo() ' initialize processstartinfo (psi)
    ...
  23. runnnig multiple commands from Vb 2012 form

    Hi! I'm a relative newbie so please bare with me.

    I'm trying to run multiple commands from a vb form.

    Here's what I have


    Dim psi As New ProcessStartInfo() ' initialize processstartinfo...
  24. Replies
    3
    Views
    1,084

    Re: play a tone sound

    Got it!

    Console.Beep(900, 3000)
  25. Replies
    3
    Views
    1,084

    play a tone sound

    Hi! I'm not sure if i'm in the right forum but I'm going to ask anyway.

    I was wondering if it's possible to play a tone in vb.net like you could in the original basic programming language. I want...
  26. Re: transparent form visible controls accessible desktop shortcuts

    Sorry Paul! I was using the wrong colour, your solution worked perfectly. Thanks!
  27. Re: transparent form visible controls accessible desktop shortcuts

    Hi Paul!
    I tried that


    but I can't click on the icons below the form, if you get me?
  28. transparent form visible controls accessible desktop shortcuts

    Hey people! Can anyone help me out. I'm trying to put together a simple form where the form itself is transparent but the controls are visible and the desktop shortcuts beneath the form can still be...
  29. Thread: Kill task

    by theyikes
    Replies
    2
    Views
    859

    VS 2012 Re: Kill task

    got it
  30. Thread: Kill task

    by theyikes
    Replies
    2
    Views
    859

    VS 2012 Kill task

    Hi whats the simplest way to kill a running process?
    I've tried


    Dim proc() as process = nothing
    proc = Process.GetProcessesByName("mytestfile.exe")
    For i As Integer = 0 To proc.Count - 1...
  31. Replies
    6
    Views
    1,587

    VS 2012 Re: Run cmd minimized

    got it


    PSI.WindowStyle = ProcessWindowStyle.Maximized
  32. Replies
    6
    Views
    1,587

    VS 2012 Run cmd minimized

    Hi! Quick question that I hope someone can answer.
    Basically I have a bit of code which when runs opens a cmd window. What I'm wondering is would it be possible to run the cmd window minimimzed?
    ...
  33. Replies
    2
    Views
    1,822

    Re: Running ADB commands from .net

    jmcilhinney Thanks so so much! It's people like you that make forums like this so good!

    Thank you a million times!
  34. Replies
    2
    Views
    1,822

    Running ADB commands from .net

    Hi!
    I'm trying to run the following command from a VB project:


    adb shell "service call iphonesubinfo 1 | toybox cut -d \"'\" -f2 | toybox grep -Eo '[0-9]' | toybox xargs | toybox sed 's/\...
  35. Replies
    3
    Views
    2,272

    Re: if date equals or greater than

    Thats perfect Si_The_geek! Thanks a million!
  36. Replies
    3
    Views
    2,272

    Re: if date equals or greater than

    Came up with this. Seems to be working:

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    TextBox2.Text = "2019/07/10"
    Dim a As String
    ...
  37. Replies
    3
    Views
    2,272

    if date equals or greater than

    Hi! Trying to put together an app that will give me a popup message if the current date goes beyond a certain point? I've been messing around with it but I'm going nowhere fast.
    Thanks
    TheYikes
  38. Replies
    4
    Views
    2,071

    Re: run ProcessStartInfo as hidden

    I know the user will be prompted to run it as it's being run as admin but I just don't want the final cmd window to be displayed....... If you get me?
  39. Replies
    4
    Views
    2,071

    run ProcessStartInfo as hidden

    Hey again! I'm trying to figure out how to run the following as hidden:


    Dim psi As New ProcessStartInfo() ' Initialize ProcessStartInfo (psi)

    psi.Verb = "runas" ' runas = Run As...
  40. Replies
    4
    Views
    1,313

    VS 2012 Do infinite loop.

    Hi! This is a real newbie question but I'm trying to do an infinite loop.

    Say for example i want to issue a command repeatedly until the program is closed.

    I'd appreciate any help.
    Thanks...
Results 1 to 40 of 79
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width