Search:

Type: Posts; User: brianafischer

Page 1 of 2 1 2

Search: Search took 0.05 seconds.

  1. Replies
    1
    Views
    675

    [2005] String.Format vs Format

    I just noticed through debugging my code that the two following lines produce different results:


    String.Format("{0:F4}", 5)
    Returns "5.0000"


    Format("{0:F4}", 5)
    Returns "5"
  2. Re: [2005] Extract and Replace File Header with Regex?

    Below are some examples of what I am attempting to accomplish:



    In case 1, I need to find the line that starts with //NAME and extract all characters after the space. In this case, the...
  3. [2005] Extract and Replace File Header with Regex?

    /JOB
    //NAME DEBUG
    //POS
    ///NPOS 1,0,0,0,0,0
    ///TOOL 0
    ///POSTYPE BASE
    ///RECTAN
    ///RCONF 0,0,0,0,0,0,0,0
    C00000=1512.777,344.865,-269.928,168.36,6.92,45.34
    //INST
  4. Re: [2005]get selected text from combobox

    Please post your code....
  5. [2005] Alternative to Nested If Else Statements for State Machine?

    I am creating an application in which I need to call multiple functions sequentially. Each of these functions (DLL call) has a different return code to convey an unknown or specific error upon call....
  6. Re: VB.Net form connecting an electrical switch??

    Here are three suggested options (in order)

    1. Use X10. This is what X10 was designed for
    2. Use a USB DAQ from National Instruments: USB-6008
    3. Use a USB DAQ from Measurement Computing:...
  7. Re: [2005] Create New Objects On The Fly, Saving Form State

    I was thinking about "Round Table", as in "the knights of the round table" which would refer to a piece of furniture that one would enjoy a meal at. If the tables in your restaurant are not all...
  8. Re: [2005] How to attach a file and link label in form?

    According to MSDN , files are added as linked, not embedded...
  9. Replies
    1
    Views
    563

    Excellent Resource: How Do I In VB?

    From: http://msdn2.microsoft.com/en-us/library/ms172558(VS.80).aspx

    Each topic area has a TON of examples and frequently asked questions...

    How Do I in Visual Basic

    How Do I is your gateway...
  10. Re: [2005] How to attach a file and link label in form?

    Huh? I just want to get the path of the pdf file that was included as a resource so I can launch it in a PDF viewer...

    I do not see a property or method in the object to obtain this information...
  11. Re: [2005] How to attach a file and link label in form?

    Excellent! Sometimes features in VS are there, but just hard to find...

    However, how can I determine the path of the resource file?
    For instance, I attached manual.pdf using the Add Resource ->...
  12. Re: [2005] How to attach a file and link label in form?

    Anyone? I still cannot find any results that explain how to attach a file to a project....
  13. Replies
    6
    Views
    910

    Re: Graphical Drag and Drop

    Yes, I looked at quite a few articles on msdn. Thanks for the explanation on how the drag and drop process works.



    What I was trying to ask in this post is for a reference on how to save the...
  14. [RESOLVED] [2005] Square Brackets "[name]" in .NET?

    I was browsing through the VS2005 101 examples here and noticed the following function in the Creating a Windows service manager project:

    Private msvc As ServiceController

    Private Sub...
  15. Re: Determine if a process is running, then kill it?

    Here is an excellent reference provided by MS for .NET 2.0:

    Base Class Libraries - Group 2 Samples


    Creating a process viewer
    Creating a Windows service manager
  16. Replies
    6
    Views
    910

    Re: Graphical Drag and Drop

    jmcilhinney,

    In his application, I believe that he would like to create "new" controls on the form at run-time and save these somewhere. This has been on my to-learn list for a while. Are...
  17. [2005] How to attach a file and link label in form?

    I hope the title is self-explanatory. I cannot find out how to attach a file to a project and place a link-label to the file on a winform.

    I know of the "show all files" in the solution window,...
  18. Replies
    3
    Views
    767

    Re: Disable "Snapping" in VS2005

    If you want to disable it permanently...

    Tools -> Options -> Windows Forms Designer -> Layout Settings
    I believe you may want to look at LayoutMode and SnapToGrid
  19. Replies
    3
    Views
    767

    Re: Disable "Snapping" in VS2005

    If you hold down the "ALT" key that will disable it temporarily...
  20. Re: Excellent (apparently) free WinForms controls for download

    For now, Please check out this submission in the codebank.

    I hacked away in VS2005 and posted a sample project for VB .NET in the codebank.
  21. Re: Special question about DataRepeater of quantum controls ?

    Please check out this submission in the codebank.

    After all, I spent my night debugging this control in VB for VS2005. Maybe somebody else can use it.

    This seems to fit like a glove for my...
  22. Replies
    0
    Views
    9,718

    [2005] .NET DataRepeater Control

    Download SampleDR.zip


    TITLE
    SampleDR


    DESCRIPTION
    This project utilizes the missing DataRepeater control that was deprecated from VB 6.0.
    Quantum Software Solutions of Australia owns the...
  23. Re: [RESOLVED] [2005] Runtime Timer Creation

    Hmmm.....

    I just determined that I need to store the time the CheckBox was checked in order to display a "clock" of the current TimeSpan. The following code does not work, and I am not sure how...
  24. Replies
    6
    Views
    1,101

    Re: downloading from rapidshare

    There is an application named RapidLeecher written in the .NET 2.0 FrameWork. It uses proxy servers to download from RapidShare automagically.
  25. Replies
    3
    Views
    538

    Re: Apparently complicated

    I would create an array that stores the value of each roll. Once you are done, I would iterate through the array and extract the highest value. Once you have parsed the entire array you would need...
  26. Replies
    3
    Views
    768

    Re: [2005] Advice On .NET App Design?

    a little help here?
  27. Replies
    3
    Views
    570

    Re: [2005] Copy an existing control

    Thank you, I will do some reading on IClonable... I also just returned a result that mentioned serializing an object to copy it. I will look into that also...
  28. Replies
    3
    Views
    570

    [2005] Copy an existing control

    How can I copy an existing control on a form? I have been googling for the last hour with no luck!

    For instance, in the attached picture, I wish to copy the row of controls. Setting "txtNew =...
  29. Re: how prevent user writing letters into a textbox

    And the code for the NumbericTextBox:

    Public Class NumberOnlyBox Inherits System.Windows.Forms.TextBox

    Protected Overrides Sub OnKeyPress(ByVal e as KeyPressEventArgs)
    If...
  30. Replies
    7
    Views
    991

    Re: [2005] Write to excel

    Where do you see that a license is necessary for commerical apps? From what I was reading here state:
  31. Replies
    3
    Views
    768

    [2005] Advice On .NET App Design?

    I am working on a time tracking app for my job to assist me with the "paper" timesheets we have to submit daily. I am doing this as a learning process for .NET and plan on submitting to the code...
  32. Replies
    7
    Views
    991

    Re: [2005] Write to excel

    I would try this:
    http://www.gemboxsoftware.com/GBSpreadsheet.htm

    You don't need to have excel on your computer and the gembox add-in is free!
  33. Re: [2005] Runtime Timer Creation

    I will be storing some text, integer, and other items associated with the timer, but that is for another discussion thread. I will need to look into creating a dictionary to associate a checkbox...
  34. Re: [2005] Width of TableLayoutPanel column

    Here is some code I was using to add a row at runtime to a TableLayoutPanel.

    With TableLayoutPanel1

    'Add a row to the table
    .RowCount += 1

    Dim index As...
  35. [RESOLVED] [2005] Runtime Timer Creation

    I have been able to dynamically create controls (checkboxes/textboxes) on the form, but I am having some trouble creating a Timer object with the following code:

    Private Sub...
  36. [RESOLVED] [2005] Colon ":" Character?

    I just wrote an If-Else statement that Visual Studio auto-completed. I cannot seem to google up any results that discuss the implementation of the colon operator. What is the difference between the...
  37. Re: [2005] Type Conversion of Button Text to Form

    I would like to create a "main" launchpad form automatically for a project that contains over 30+ forms.

    My idea was:
    1. Obtain the names of each "form" using reflection
    2. Create a button for...
  38. [2005] Type Conversion of Button Text to Form

    I have a set of buttons that are dynamically created with the name of a form set as the text property at runtime. I would like to "show" each form by converting the button text to a form object...
    ...
  39. Re: [2005] Iterate Through Forms in a Project

    Excellent, I will have to do some reading on reflection.

    Thanks...
  40. Re: [2005] [2005] Determine Root Namespace in Code?

    Clear as mud, but it works! I have 3 questions:

    1. How did you figure the above code returns the namespace?
    2. What is the Index code fore?
    3. Can this be done using reflection?

    Thanks
Results 1 to 40 of 65
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width