Search:

Type: Posts; User: catoctinwx

Search: Search took 0.02 seconds.

  1. VS 2010 Re: Creating Install File with additional programs in VB Express

    Thanks. Is there any way of doing this without the Bootstrapper Manifest Generator?
  2. VS 2010 Creating Install File with additional programs in VB Express

    I'm sure there is an easy answer to this, and it may be "no," but is it possible to create an install file in VB Express 2010 and have that file deploy additional .exe files?

    I developed a windows...
  3. Replies
    9
    Views
    5,274

    VS 2010 Re: GetShortPath

    great news. thanks!
  4. Replies
    9
    Views
    5,274

    VS 2010 Re: GetShortPath

    Thank you all for the suggestions. I was able to get function to work using the advice given here.

    One other question though. Right now it is working on the Windows XP platform. Do you foresee...
  5. Replies
    9
    Views
    5,274

    VS 2010 [RESOLVED] GetShortPath

    A while back I started a thread asking about an update to GetShortPath to return the DOS path to a folder (rather than the typical way of writing a path).

    I was told to use this function:
    ...
  6. Replies
    3
    Views
    4,228

    VS 2010 Re: Adding rows to bottom of datagrid view

    Mainly because I don't know how many rows are going to need to be created. Depending on the input parameters it could vary between 5 and hundreds.

    My intention is to create a new row on the each...
  7. Replies
    3
    Views
    4,228

    VS 2010 Adding rows to bottom of datagrid view

    I have what should be a simple problem to fix.

    I am trying to insert an initial line (0) into a datagridview (named params). The program will then read each cell in that row, pass them through a...
  8. Replies
    10
    Views
    1,120

    VS 2010 Re: Two Questions concerning DataGridView

    Sorry, that was a typo on my part. It should have read, "I'm now getting the results..."

    Only problem I had was that the row headers were covering up the first column.
    Since I'll be adding a...
  9. Replies
    10
    Views
    1,120

    VS 2010 Re: Two Questions concerning DataGridView

    Thanks for the correction! I'm still rather new at this, but I left out those statements because they didn't appear to have a connection with the numbering. I'll take a closer look at them to...
  10. Replies
    10
    Views
    1,120

    VS 2010 Re: Two Questions concerning DataGridView

    Unless I am doing something wrong, this seems to be putting the row number into the first column rather than into the row header.

    Here is my code:

    Public Class CombineMet


    Private Sub...
  11. Replies
    10
    Views
    1,120

    VS 2010 Re: Two Questions concerning DataGridView

    Thanks for the reply. The line number serve no purpose at all except to let the user keep track of how many files they have entered.

    The columns aren't going to be sortable anyway. The user...
  12. Replies
    10
    Views
    1,120

    VS 2010 Two Questions concerning DataGridView

    I am trying to rewrite a program written in an older version of VB. The old program has a input table that looks like the one below.



    Questions:
    1) How to I get the row headers to reflect the...
  13. Replies
    3
    Views
    710

    VS 2010 Re: A data entry formatting challenge

    Ah, perfect. Thank you! I'm still new at this and had never used a data grid in VB before.

    Is there a way to limit the number of rows in the grid to 1? Right now when I enter a value it creates a...
  14. Replies
    3
    Views
    710

    VS 2010 A data entry formatting challenge

    I'm updating a program that was written in an older version of VB (by someone else) and I can't figure out to how replicate this data entry line in my Form.

    Each textbox can be changed and there...
  15. VS 2010 Re: A Stupid and Probably easy to fix string problem

    Ok, I can't send the entire path and file name to GetShortPathName because the function will shorten the filename too, which I don't want to happen.

    Here is what the code looks like now.
    ...
  16. VS 2010 A Stupid and Probably easy to fix string problem

    As the title suggests, this problem is probably easy to fix for those of you who are great at programming. I'm still a noob at VB, which is why I need to make threads like this and ask for your...
  17. Replies
    11
    Views
    1,609

    VS 2010 Re: Need Help Running Dos Console commands

    Awesome, thanks! It seems to work well as long as the path length is kept short.

    Now if I could just get the shortened path names to play nicely with other strings I would be all set.
  18. Replies
    11
    Views
    1,609

    VS 2010 Re: Need Help Running Dos Console commands

    Thanks, the GetShortPathName process isn't the problem. That is actually working correctly by returning a shortened path length (ex: insted of "My Documents\folder\test.exe" it's returning...
  19. Replies
    5
    Views
    1,066

    VS 2010 Re: An Update to GetShortPath() ?

    The function to shorten the path length seems to be working fine, but it won't let me concatonate the returned path with anything else.

    Here is what I am trying to do:

    Dim ShortFileName =...
  20. Replies
    11
    Views
    1,609

    VS 2010 Re: Need Help Running Dos Console commands

    Yes, much of the code I posted is for shortening the filename, which I included for context.

    The part for opening the console and enter text was from Debug.Write(newpath)

    I also had tried...
  21. Replies
    11
    Views
    1,609

    VS 2010 Need Help Running Dos Console commands

    I'm having trouble opening and running DOS commands through VB Express.

    I'm trying to have VB open a command console and enter path to a batch file. So far I have not been able to get VB to open...
  22. Replies
    5
    Views
    1,066

    VS 2010 Re: An Update to GetShortPath() ?

    Ok, I am using a Forms application, but the Debug.Writeline doesn't seem to be working.

    Here is my code so far

    Private Declare Function GetShortPathName Lib "kernel32" Alias...
  23. Replies
    5
    Views
    1,066

    VS 2010 Re: An Update to GetShortPath() ?

    Thanks, after some rearranging, it seems to be working pretty well.

    On a related note, is there a trick to getting the cmd prompt to open?

    I included Imports System.Console and tried the...
  24. Replies
    5
    Views
    1,066

    VS 2010 [RESOLVED] An Update to GetShortPath() ?

    I am upgrading some older software that calls and runs some dos programs. In the older version of VB, it uses the function GetShortPath().

    It looks to take any folder that has 8 or more...
  25. VS 2010 Re: Two Questions: Activating Button and Viewing Text File

    That did the trick! Thanks again for the help!
  26. VS 2010 Re: Two Questions: Activating Button and Viewing Text File

    Thanks for the help! The first part works perfectly and the second is mostly working.

    One problem I am having with the opened textbox is that it won't size correctly. It is opening a fairly...
  27. VS 2010 Re: OpenFileDialog saving path only

    That worked out perfectly. Thank you for the help!
  28. VS 2010 [RESOLVED] Two Questions: Activating Button and Viewing Text File

    I have two questions that are related.

    The first:

    The user will be selecting a file to be read into the program. At the top of the form is a button that says "View Hourly Data File". This...
  29. VS 2010 [RESOLVED] OpenFileDialog saving path only

    I'm sure this has been addressed in other threads, but I wasn't able to come across any using the search function.

    I'm using the OpenFileDialog feature to have the user select a file. However, I...
  30. VS 2010 Re: How do you set the last position of string when writing to text file?

    You guys are brilliant :)
  31. VS 2010 Re: How do you set the last position of string when writing to text file?

    perfect, thank you so much!

    I have another question that is related, so I think it would be appropriate for this thread.

    On another line in the same text file I have a row of numbers. For...
  32. VS 2010 How do you set the last position of string when writing to text file?

    I'm outputting a number of variables to a text file and each field needs to be in a specific place.

    For example:
    I have a string that is varying in length, but will never be more than 5...
  33. Replies
    47
    Views
    46,286

    Re: The Definitive "Passing Data Between Forms"

    Thanks for the all the suggestions. I'm going to try to use the List(Of String) approach and see how that works. If it fails, I'll just pass everything over individually.

    The reason that I need...
  34. Replies
    13
    Views
    1,461

    VS 2010 Re: Run code when leaving text box

    Thanks. I posted my question in that thread, but now that I read the sticky in that forum, I maybe shouldn't have?
  35. Replies
    47
    Views
    46,286

    Re: The Definitive "Passing Data Between Forms"

    I'm still fairly new at VB (using VB .NET for the moment) and I have a question that I didn't see addressed in this thread.

    I'm trying to pass a bunch of variables from one form to another. In...
  36. Replies
    13
    Views
    1,461

    VS 2010 Re: Run code when leaving text box

    Thanks for all the help. Now onto the next problem of passing a structure from one form to another....

    I would like to status this tread as Resolved, but it doesn't seem to be an option for me in...
  37. Replies
    13
    Views
    1,461

    VS 2010 Re: Run code when leaving text box

    Good to know. That will be useful for my code since I'll need to assure that the user selects the first file before moving onto the second or subsequent ones
  38. Replies
    13
    Views
    1,461

    VS 2010 Re: Run code when leaving text box

    Great! Thanks so much!

    It took me a while to figure out what that meant, but I got it to work.

    Thanks for the welcome. I think this forum is going to be extremely useful as I try to update...
  39. Replies
    13
    Views
    1,461

    VS 2010 [RESOLVED] Run code when leaving text box

    Hi,

    I'm fairly new to VB and I apologize if this question has been covered in another thread.

    I'm trying to update an old code that I don't have the source code for. In this code, the user...
Results 1 to 39 of 39



Click Here to Expand Forum to Full Width