CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Erik Wiggins

Page 1 of 8 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    1
    Views
    646

    search char[] for escape char

    What I am trying to do is to take the rtf from a richtextbox convert it to a char[] then loop through the array and remove duplicate tags. only problem is vc# does not recognize
    char escape ='\'...
  2. Replies
    1
    Views
    1,133

    Re: resizing panel to fit all controls

    I would calculate the percentage of the hight and width the control takes compared to the panel. Then when the panel resizes I would resize all the controls in the panel to the same percentage....
  3. Replies
    2
    Views
    743

    Re: resizing controls by percent

    control1.width=usercontrol.width*.08
    ...
    that should do it.
  4. Re: Add MaxCharactersAllowed property to TextBox same as MaxLength

    I would create a new user control inherited from TextBox, add the new property, and add a function to handle the key press event. Then create a delagate to point to the keypress handler function and...
  5. Re: Excel process continues running (.Net Framework 3.5, VS.Net 2008, VB.Net 2008).

    I've got the simple fix for you. Just add the following lines to your code. Just before setting exa=nothing


    exa.ActiveWorkbook.Save()
    exa.ActiveWorkbook.Close()
  6. Replies
    0
    Views
    798

    Excel + RichTextBox

    Using VB2010 Pro
    I need to be able to retrive richtext from a cell in Excel place it into a varible. Place that varible into a RichTextBox and then do the same thing in reverse. Does anyone have...
  7. Replies
    4
    Views
    16,790

    Re: Excel from VB 2010

    Sorry for the late responce but yes error is caused by not having the referance added.
  8. Schema information for element not found

    Im using VS2010 professional and am trying to teach myself how to use an XML file to store information.

    I have added an XSD file to the project with the following code:

    <?xml version="1.0"...
  9. Re: how to capture keypress event when window is not focused

    I can give you an example of an application that would need to capture the key_Down and key_Up events that is perfectly legitament. Say I wanted to be able to make any window a top most window using...
  10. Replies
    1
    Views
    1,119

    User Cotrol Inheratance

    Okay I'm just wondering if this is even possible. I tried it and get an error but maybe I'm tring the wrong way. Can a usercontrol inherate an application defined class ie.. could you inhearate a...
  11. Re: how to capture keypress event when window is not focused

    While a key logger may be a questionable application I can think of hundreds of uses for the need to capture the key board and it is a basic opperation in a video game. This is however event driven...
  12. Re: MS ACCESS FORMS versus VB.NET STANDALONE APPLICATION versus WEB APPLICATION (intr

    MS ACCESS FORMS runs inside Visual Basic for Applications (VBA)
    pros - Easy access to database.
    Cons - Requires the user to have MS Access installed on there computer.

    VB.NET STAND ALONE
    Pros -...
  13. Re: Manipulating controls from another form.

    This depends on what version of VB your using. If you are in fact using VB6 then you can do as stated above For1.Listbox1.item(x).delete

    If you are using .net ie VB 2010 express. then you will...
  14. Replies
    4
    Views
    8,348

    Re: Editing excel with VB

    I posted an exsample on this in the .net forum last week. Very basic snippets with detaled notes that you could easyly modify to your needs.
  15. Re: Visual Basic ate my variable!

    Sounds to me like the problem is in the coding of the DLL. I'd look there. Perhaps something is being passed ByRef when it should be passed ByVal. I exsperanced a similar problem a long time ago when...
  16. Replies
    3
    Views
    695

    Re: I need help!

    I've got an FAQ posted on this in the VB 6 forum. It's a pretty long topic so I don't want to type it all up again but if you goto the FAQ or search for posts by me you'll find it.
  17. Replies
    15
    Views
    2,595

    Re: parse string into decimal variable

    dim a as Single
    dim b as string = "169.65"

    Convert.ToSingle(b)

    The single point data type and conversion will maintian your decimal place. At least it does on my computer.
  18. Replies
    3
    Views
    911

    Re: Need snippit for Random Order

    I like the Tag idea I for got all about that property. Couple that with the Rnd function and a nestled lop I think I'll be able to make this work.
  19. Replies
    3
    Views
    911

    Re: Need snippit for Random Order

    Oh one other thing I have to be able to know which answer is in which text box for when the user answers the Quesion By pressing one of 4 command buttons.
  20. Replies
    3
    Views
    911

    Need snippit for Random Order

    Okay this should be a simple one but all I can come with is a complecated solution.

    This is whay I've got


    Dim Question as string
    Dim Answer(4) as string

    Text1.Text=Question...
  21. Replies
    5
    Views
    1,012

    Re: HELP with For Next...

    Public Function AddRange(ByVal LowNum As Long, ByVal HighNum As Long)as Long
    dim Result as Long
    Result = 0
    For i as integer = LowNum to HighNum
    Result += i
    Next i
    AddRange=Result
    End Function
  22. Replies
    3
    Views
    1,002

    KISS my microsoft

    Dear microsoft, could you please dumb down your samples. Why am I reading through 700 Terrabites of code to learn how to do something that can be done with 2 or three lines of code? Yes we want to,...
  23. Replies
    4
    Views
    16,790

    Excel from VB 2010

    Okay I had a heck of a time figureing out how to do this. I searched the forums and found lots of questions but no real answers. So after hours of reading through MSDN I have some working code to...
  24. Replies
    5
    Views
    7,350

    Re: I need help with a .swf link.

    I never owned VB 2008 however I do know that shockwave is an adobe product thierfore cannont be offered with a microsoft product. It is also a internet product which is downloaded and installed as an...
  25. Replies
    5
    Views
    7,350

    Re: I need help with a .swf link.

    In the button click event create an instance of the new form and give the webbrowsercontrol on it the navegatew command "http://www.xatech.com/web_gear/chat/chat.wsf?id=" + str(TextBox1.Text)
Results 1 to 25 of 196
Page 1 of 8 1 2 3 4





Click Here to Expand Forum to Full Width

Featured