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

Search:

Type: Posts; User: MichaelNattfalk

Search: Search took 0.06 seconds.

  1. Replies
    0
    Views
    3,397

    Editing a field in a DataRow

    Hi.

    When working on an application connected to a database I stumbled upon a question which I can't seem to find an answer for searching the Web.
    Which of the following two ways are to prefer...
  2. Re: Problem setting DataSource for dynamically created ComboBox

    I found the problem. :)

    I changed the following code from



    ComboBox cbNew = new ComboBox();
    cbNew.Name = "cbLine" + (i+1);
    cbNew.Size = cbLine1.Size;
    cbNew.Location = new...
  3. Problem setting DataSource for dynamically created ComboBox

    Hi.

    I'm having kind of a weird problem which I hope someone can help me with.

    I have a form on which I have a ComboBox created at design-time.
    When I run the application I dynamically create x...
  4. Accessing database from Windows CE 5.0

    Hi.

    I have an application which is installed on a couple of PC's. This application is connected to an MS-Access database located in a folder on a networkdrive.

    However, we are looking at...
  5. Replies
    0
    Views
    588

    Difference between controls

    Hi.

    I've recently started .NET programming and came across a couple of things, while working with dynamically generated controls on a web page, which I need a bit more explanation on.

    What's...
  6. Replies
    3
    Views
    858

    Re: Application ideas

    Ok, thank to both of you.

    I will check these sites.

    Regards,
    Michael Nattfalk
  7. Replies
    3
    Views
    858

    Application ideas

    Hi.

    I'm hoping someone here can give me some directions.
    The thing is that I've been programming for quite some time now.
    However, the last few years I've been lacking ideas for something useful...
  8. Replies
    2
    Views
    427

    Re: urgent: bezier curves

    Hi..


    X(a) = Axa + Bx3ab + Cx3ab + Dxb
    Y(a) = Aya + By3ab + Cy3ab + Dyb
    A, B, C and D are the control points.
    'a' is a value from 0 to 1.
    b=1-a

    For example, if you...
  9. Replies
    5
    Views
    685

    Re: How do you reload a form?

    Hi.

    Try to do the following from another form or module:


    Unload frmMyForm
    frmMyForm.Show
    It should work.

    Regards,
  10. Re: *HELP* Beginner! Simple VB6 questions that...

    Hi.

    Regarding your first question, try changing your code to this instead.


    Private Sub cmdStart_Click()
    a = 5
    y = " test"

    Do Until a = 1
  11. Replies
    7
    Views
    663

    Re: Can VB execute code concurrently?

    Hi.

    Maybe I'm on the wrong path here, but, isn't it possible to create a new thread for the subroutine. That way you could do whatever you want while the subroutine runs in the background.
    ...
  12. Re: hide tablle gridlines

    Hi.

    Are you creating the document by hand or with an app/macro?

    In case you're doing it by hand, just select the table. Right-click and select "Borders and shading". Under the tab "Borders"...
  13. Replies
    1
    Views
    684

    Re: Import .xls to Database (SQL)

    Hi.

    The easiest way probably would be to create a macro with VBA in the Excel file that creates a connection to the SQL server and then adds the information.

    Don't think it would be to hard to...
  14. Replies
    1
    Views
    545

    Re: Random Color

    Hi.

    Do you want a random RGB value or what?
    In that case do this.


    Dim lRGB As Long

    Randomize
    lRGB = RGB(CInt(255 * Rnd()), CInt(255 * Rnd()), CInt(255 * Rnd()))
  15. Replies
    1
    Views
    639

    Re: Excel - VBA help

    Hi.

    Maybe I'm on the wrong path, but, can't you just but the letters in, for example, column A and each letter's value in column B. Then just hide the B column.
    That way you can get the sum by...
  16. Re: VBA in Excel: How to keep relevant rows only ?

    Hi.

    I don't know if it is the best way to do it, but atleast it works.
    What you need in the Excel book is 2 sheets, "Sheet1" and "Sheet2".
    The next thing you need is to have the data in the...
  17. Replies
    5
    Views
    1,176

    Re: Null values from ADODB recordset

    Another quite easy way to prevent errors from occuring is to do the following.


    textbox1.text = "" & rs("Field")

    Works everytime for me ..

    Hope it helps.

    Regards,
  18. Replies
    6
    Views
    1,530

    Re: Replace Chr(32) or "*" with ""

    Instead of doing it like this:
    TmpString=Replace(TmpString,"/*","")

    Do the same but skip the slash.
    TmpString=Replace(TmpString,"*","")

    This works for sure.

    Regards,
    Michael
  19. Replies
    4
    Views
    594

    Re: Multiuser application

    Thanks everyone for the quick replies.

    For the type of application I'm working on, the best solutions seems to be the timer based system that I'm currently using.

    However, you people gave me...
  20. Replies
    4
    Views
    594

    Multiuser application

    Hi.

    My question is as follows.
    I have an application which apx. 4 users will use. This app is connected to an MS-Access database.
    For example, on the left side of the application, there is a...
Results 1 to 20 of 20


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center