Search:

Type: Posts; User: dbansal

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Re: [2005] Comverting program to console application??

    I will still need to have two .exe files yes? As my program is not that large I think it maybe logical to create a new console application.
  2. Re: [2005] Comverting program to console application??

    yes, both.
  3. Re: [2005] Comverting program to console application??

    Public Class DPL_Validator
    Shared Sub Main()
    Dim cla As String() = Environment.GetCommandLineArgs()
    If cla.Length = 1 Then
    'No commandline args so show a form. ...
  4. Re: [2005] Comverting program to console application??

    j,

    can you please explain what this piece of code does:


    'There are commandline args so don't show a form.
    Dim arg As String
    For index As Integer = 1 To...
  5. Re: [2005] Comverting program to console application??

    I put in a .vb file, and I cannot switch to that in the startup form in the property dialog. Can someone please help me on setting this up?
  6. Re: [2005] Comverting program to console application??

    and obviously change the startup form in the property dialog
  7. Re: [2005] Comverting program to console application??

    So I have to create a new .vb file with an arbitrary name and have sub main() in the code?
  8. Re: [2005] Comverting program to console application??

    Will I be able to keep GUI functionality as well while mantaining the ability to run the program from a console using specified arguments?

    Thanks!
  9. [2005] Comverting program to console application??

    Hello,

    I would like to call certain subroutines in my program from a console application (command line in DOS), with the addition of some arguments (to obviously replace buttons in the VB app).
    ...
  10. Re: Streaming in text file to variable instead of textbox

    Dim linesout() As String = builder.ToString.Split(New String() {Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries)



    If (result =...
  11. Re: Streaming in text file to variable instead of textbox

    I get value of string cannot be converted to 1 dimensional array string
  12. Re: Streaming in text file to variable instead of textbox

    how come this doesnt work?

    Dim linesout() As String = (builder.ToString)
  13. Re: Streaming in text file to variable instead of textbox

    .cmd files are just a type of file that our company uses. Currently, it reads just like a .txt file.
  14. Re: Streaming in text file to variable instead of textbox

    I would like to open .txt files as well as .cmd files.
  15. Re: Streaming in text file to variable instead of textbox

    .paul.

    thanks for the quick reply! However, I also would like to use the .lines member that is available for textboxes for the string also. (My program attempts to find some strings from the text...
  16. Streaming in text file to variable instead of textbox

    Hello,

    Currently I am using the following code to read in text files to an "invisible text box" i.e. visible = false. How can I read the files into an array or a variable instead?


    Using...
  17. Replies
    3
    Views
    638

    Re: [2008] Spell Checker

    Is there anyway to use a third party dictionary and not use MS word?
  18. Re: getting length of line x in textbox and highlighting it

    Perfect, THANKS!
  19. Replies
    1
    Views
    505

    Getting current date/time

    Hello,

    I would like to append the current date/time and insert it into a text file via:

    builder.AppendLine((String.Format("{0} Output Summary: ", theTime)))

    thanks in advance!!
  20. [RESOLVED] getting length of line x in textbox and highlighting it

    I have the following code:

    linnum = tb.GetFirstCharIndexFromLine(i)
    tb.SelectionStart = linnum
    tb.SelectionBackColor = Color.LawnGreen
    ...
  21. Replies
    25
    Views
    2,583

    Re: How to get all files of a folder?

    That Worked, Thanks!
  22. Replies
    25
    Views
    2,583

    Re: How to get all files of a folder?

    klein,

    sorry for the delayed response, and again, thanks for helping!!

    This is the process that I want:
    1.user selects multiple files using open filedialog or
    user selects multiple files via...
  23. Replies
    25
    Views
    2,583

    Re: How to get all files of a folder?

    I am using the same savefiledialog for both the files that I open through the openfiledialog and savefiledialog....

    It just doesn't make sense to me why if you open the file from the...
  24. Replies
    25
    Views
    2,583

    Re: How to get all files of a folder?

    Well one thing I dont understand is that it outputs all the files into the same directory as the files that I opened ONLY if I use the openfiledialog to open the files.

    However, if I open the...
  25. Replies
    25
    Views
    2,583

    Re: How to get all files of a folder?

    Yes, I am using that however, the dialog itself does not come and ask the user to save (i did this intentionally so the process is streamlined and rather, I wanted to use my.settings to specify the...
  26. Replies
    25
    Views
    2,583

    Re: How to get all files of a folder?

    hmmm, but I do not have a save dialog come up. I am trying to save without the save file dialog coming up...
  27. Replies
    25
    Views
    2,583

    Re: How to get all files of a folder?

    I changed my savedialog code to the following:


    Using SaveFileDialog1
    SaveFileDialog1.InitialDirectory = "C:\"
    Dim filename1 As String =...
  28. Replies
    25
    Views
    2,583

    Re: How to get all files of a folder?

    klein,

    Thanks for the reply. However, if i'm not worried about where I open my directory from but rather where I save my files i should only be concerned with the .initialdirectory of the save...
  29. Replies
    25
    Views
    2,583

    Re: How to get all files of a folder?

    Alright, so I found where the files were being saved to:

    C:\Documents and Settings\Darshan\My Documents\Visual Studio 2005\Projects\Drawbase DPL Validator\Drawbase DPL Validator\bin\Debug

    It...
  30. Replies
    25
    Views
    2,583

    Re: How to get all files of a folder?

    I seem to be having a problem:

    I have this function to get all the files under a folder:


    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
  31. Replies
    25
    Views
    2,583

    Re: How to get all files of a folder?

    Repped..
  32. Replies
    25
    Views
    2,583

    Re: How to get all files of a folder?

    Thanks To Both Of You!
  33. Replies
    25
    Views
    2,583

    Re: How to get all files of a folder?

    Hello All!

    How can I filter for a specific extension for the string S?


    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
    ...
  34. Re: [RESOLVED] [2005] Remembering Last Opened Files

    That worked perfect, THANKS!!
  35. Replies
    2
    Views
    417

    Re: [2005] Accessing program through console

    I am new to vb.net. Any pointers?
  36. Replies
    2
    Views
    417

    [2005] Accessing program through console

    Hello All,

    I don't know how this difficult this is but, I thought it would be worth a shot to ask..

    Basically, I have a regular windows application which I made through VB 2005. I would like to...
  37. Re: [2005] Remembering Last Opened Files

    Jmcilhinney,

    You truly are a master of this..

    I am curious to know as to how I would pass the string collection to an openfiledialog? So, if I selected a recent file the file would open up...
  38. Replies
    11
    Views
    3,372

    Re: [2005] rich textbox find and replace dialog

    Thanks That Worked!!
  39. Replies
    11
    Views
    3,372

    Re: [2005] rich textbox find and replace dialog

    Nick

    Thanks for the quick reply! I was able to implement your search function succesfully, sort of..

    The replace functions all work fine. However, for the find function it does not seem to...
  40. Replies
    5
    Views
    730

    Re: Multiple Form Help

    Hello,

    Welcome to the forums. I am new here as well however, I hope I can help.

    If you go to your solution explorer you can see all your forms and the names of each. You can change the forms...
Results 1 to 40 of 99
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width