dcsimg

Search:

Type: Posts; User: theyikes

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    133

    Re: if date equals or greater than

    Thats perfect Si_The_geek! Thanks a million!
  2. Replies
    3
    Views
    133

    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
    ...
  3. Replies
    3
    Views
    133

    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
  4. Replies
    4
    Views
    151

    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?
  5. Replies
    4
    Views
    151

    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...
  6. Replies
    4
    Views
    187

    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...
  7. Renaming file with error Access to the path is denied.

    Hi folks!
    I'm trying to rename a file using the following line:

    My.Computer.FileSystem.RenameFile("C:\Program Files (x86)\Jasc Software Inc\Paint Shop Pro 7\psp.exe",...
  8. Replies
    2
    Views
    230

    VS 2012 Re: Registry key change access denied

    Thanks si_the_geek. Not quite the answer I was hoping for but what you say makes good sense. Thanks for taking the time to reply.
  9. Replies
    2
    Views
    230

    VS 2012 Registry key change access denied

    Hi.
    I'm trying to add a path to the registry, When I run the program as Administrator it's fine but when I launch it as a standard user it gives me this error:

    "Access to the registry key...
  10. Re: Change directory and issue command with ffmpeg.

    got it again it was my mistake: I forgot to add the following:

    Try
    Process.Start(psi)

    Catch
    MsgBox("User cancelled the operation", 16, "") ' User pressed No...
  11. Re: Change directory and issue command with ffmpeg.

    got it finally. I used :


    Dim psi As New ProcessStartInfo() ' Initialize ProcessStartInfo (psi)
    psi.FileName = ("cmd.exe")
    psi.Arguments = ("/k cd c:\temp" & " && " &...
  12. Re: Change directory and issue command with ffmpeg.

    got it finally. I used :


    Dim psi As New ProcessStartInfo() ' Initialize ProcessStartInfo (psi)
    psi.FileName = ("cmd.exe")
    psi.Arguments = ("/k cd c:\temp" & " && " &...
  13. Re: Change directory and issue command with ffmpeg.

    I can get it to change directory to C:\temp but I cant get it to run a basic ffmpeg command.


    Dim psi As New ProcessStartInfo() ' Initialize ProcessStartInfo (psi)
    psi.FileName =...
  14. Change directory and issue command with ffmpeg.

    Hi,
    Iv'e got a quick question:
    I'm trying to run a cmd.exe with two other commands:
    basically what I'm trying to do is change the directory to C:\temp and then run an ffmpeg command inside...
  15. Replies
    2
    Views
    217

    error handler failure

    Hi guys! Back with another question. Iv'e got a piece of code that I;m trying to add an error handler to but I'm having problems. Here's the code:

    On error goto mistake
    If...
  16. Replies
    3
    Views
    218

    Re: Select specific line in RichTextBox

    I found this but it only deletes the last 7 characters. I need the last 7 !


    Dim str As String = TextBox1.Text
    Me.Text = RTrim(str.Substring(0, str.Length - 7))
  17. Replies
    3
    Views
    218

    Re: Select specific line in RichTextBox

    Figured it out I used
    TextBox1.Text = RichTextBox1.Lines(14) to select line 14 and add it to the textbox.

    Now my question is how do I copy the last 7 characters of the textbox?

    Sorry for...
  18. Replies
    3
    Views
    218

    Select specific line in RichTextBox

    Hi people!
    I'm trying to load a text file into a richtextbox and then have it select a specific line. I can load the file fine but I don't know how to select the line.
    Here's what I have so far:
    ...
  19. Replies
    9
    Views
    462

    Re: Run cmd.exe and execute command

    Figured it out just use the following:


    psi.Arguments = "/c " & TextBox1.Text & " && " & TextBox2.Text & " && " & TextBox3.Text

    it's the && that's important.
  20. Replies
    9
    Views
    462

    Re: Run cmd.exe and execute command

    Figured it out just use the following:


    psi.Arguments = "/c " & TextBox1.Text & " && " & TextBox2.Text & " && " & TextBox3.Text

    it's the && that's important.
  21. Replies
    9
    Views
    462

    Re: Run cmd.exe and execute command

    Thanks .Paul! But I was hoping I could run all 3 from the same cmd. Not even sure if it's possible but I just thought I'd ask. No harm being curious!
  22. Replies
    9
    Views
    462

    Re: Run cmd.exe and execute command

    Ok this works wonderfully, Thanks for the quick reply. But now I have one more question If I want to run more than one command in the cmd windows how do I go about it?
    Here's what Iv'e got so far
    ...
  23. Replies
    9
    Views
    462

    Run cmd.exe and execute command

    Hi. I'll try and make this as basic as i can.

    I'm trying to open a command promt as admin and then have it execute a command such as the dir or tree command.

    Here's what I have at the moment....
  24. Replies
    2
    Views
    283

    Re: ffmpeg shell or process.start

    Got it i used
    Shell("ffmpeg -i " & """" & (OpenFileDialog1.FileName) & """" & " -ac 1 -ar 16000 C:\users\theyikes\desktop\1.wav") Dropped the -acodec pcm_s16le
  25. Replies
    2
    Views
    283

    ffmpeg shell or process.start

    Hi guys. Trying to quickly convert an mp3 file to a wav file using the following. PLEASE keep in mind I'm a total noob!

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles...
  26. Replies
    6
    Views
    361

    Re: mp3 Pitch control with 3rd party OCX

    Thanks. Just out of the house at the moment. I'll research all the advise you guys have given me and I'll let you know how it goes.
    Thanks for the help!
  27. Replies
    6
    Views
    361

    Re: mp3 Pitch control with 3rd party OCX

    Hi DigitalShaman (Wicked name) I'd like to play it at normal speed but with the pitch shifted. As for the ocx the site referenced no longer exists. I tried emailing the programmer but got a failed...
  28. Replies
    6
    Views
    361

    Re: mp3 Pitch control with 3rd party OCX

    Is there any other dll or ocx that would allow me to change the pitch of an mp3?
  29. Replies
    6
    Views
    361

    mp3 Pitch control with 3rd party OCX

    Hi guy's. I'm trying to change the pitch of an mp3 in vb.net. I found the following OCX file but I can't figure it out. Here's the file http://directdigitalbeaware.com/rspmp3ocx320sw.rar
    I would...
  30. Replies
    3
    Views
    364

    VS 2012 Re: Zoom in on image over mouse co-ordinates

    Sorry guy's having some pc trouble. I'll look at your answers in more depth when I'm back up and running. Thanks!
  31. Replies
    3
    Views
    364

    VS 2012 Zoom in on image over mouse co-ordinates

    Hi Guys! I have a question. Is it possible to zoom in and out on a picturebox based on the location of the mouse pointer. I've found this code.
    It's good but not quite what I'm looking for. Can...
  32. Replies
    2
    Views
    254

    Re: Open executable from within VB app

    I figured it out I'm using Process.Start and it's working fine now. Thanks guys!
  33. Replies
    2
    Views
    254

    Re: Open executable from within VB app

    Iv'e just figured out that it only fails when i try to launch a file from within the Program File (86) folder.

    also I've modded the code it's now just
    shell(openfiledialog1.filename,...
  34. Replies
    2
    Views
    254

    Open executable from within VB app

    Hi guys. I having a bit of bother trying to run a certain file from within my VB.net app
    Here's what I have so far



    Dim filenum As Long
    filenum =...
  35. Replies
    5
    Views
    284

    Re: Add files to list box

    Oh my, That was so blooming obvious. Thanks PlausiblyDamp
  36. Replies
    5
    Views
    284

    Re: Add files to list box

    got it i used this instead
    For Each fi In finfo.GetFiles("*.*", IO.SearchOption.AllDirectories) is there anyway i can filter the results to say .jpg files?
  37. Replies
    5
    Views
    284

    Re: Add files to list box

    Thanks 4x2y
    Get the following error when i tried it.
    Error 2 'SearchOption' is not declared. It may be inaccessible due to its protection level.
  38. Replies
    5
    Views
    284

    Add files to list box

    Hi guys. I'm trying to use an FolderBrowserDialog1 to add files to a list box. Here's what i have so far
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    ...
  39. Replies
    3
    Views
    280

    Screen size on secondary monitor

    Hi. I'm working on an app that uses 2 displays, one screen is the control panel and the second screen is for the output. Anyway I can get the width and height for monitor 1 using screen.width and...
  40. Replies
    1
    Views
    419

    Re: VB6 Select list item

    Got it.
    List1.Selected(0) = True
    Thanks anyways!
Results 1 to 40 of 45
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width