Search:

Type: Posts; User: circuits2

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    762

    VS 2010 Re: Could not load file or assembly

    I ran into this a year or two ago. Out of curiosity, are you using the ReportViewer control? The solution that worked for me was to manually remove the entry from the Resources.resx file using a text...
  2. Replies
    4
    Views
    18,701

    Re: How to remove MDI Client Border

    Did you ever get that working the way you wanted? It's hard to tell what's going on without seeing the way you modified the code.
  3. Re: How to use Report Viewer with Visual Studio 2012 Express

    The WinForms.dll is installed as part of the ReportViewer runtime, not the ReportBuilder. The install path may be slightly different on your system but a simple search will help you find it.
  4. Re: VS2012 .NET 4.5 - StreamWriter produces Garbage

    Just noticed something else that is weird. The default encoding is UTF-8. I have tried using Encoding.Default, which produced the results previously stated. However, if I use Encoding.UTF8, it...
  5. Re: VS2012 .NET 4.5 - StreamWriter produces Garbage

    Here you go Niya!
  6. Re: VS2012 .NET 4.5 - StreamWriter produces Garbage

    Yes, I seem to be stuck in the notepad black hole of encoding problems. :wave:

    What I don't understand, is the default encoding is UTF-8, which notepad should read just fine, but doesn't want to...
  7. Re: VS2012 .NET 4.5 - StreamWriter produces Garbage

    Strangely enough, if I open in WordPad it looks normal.........?
  8. Re: VS2012 .NET 4.5 - StreamWriter produces Garbage

    Sorry, opening in Notepad.
  9. Re: VS2012 .NET 4.5 - StreamWriter produces Garbage

    The file I am creating will be read into another system, and the system specs require a flat ASCII file (no unprintable characters)
  10. Re: VS2012 .NET 4.5 - StreamWriter produces Garbage

    The file doesn't exist, so StreamWriter creates it at runtime.
  11. Re: VS2012 .NET 4.5 - StreamWriter produces Garbage

    No, it's definitely English. I tried going down that path too, so I have tested using Encoding.Default and Encoding.ASCII but still got the same results. I don't see how this can happen when using...
  12. Re: VS2012 .NET 4.5 - StreamWriter produces Garbage

    If it helps at all, I am actually writing fields, so it is actually a little closer to this:

    Dim string1 As String = "123"
    Dim string2 As String = "789"
    Dim WriteThisInfo As String =...
  13. VS2012 .NET 4.5 - StreamWriter produces Garbage

    I very rarely write to text files, but have encountered a situation where I cannot avoid it. I am using a StreamWriter to write lines of text to a text file. Here is a sample of what I have:


    Dim...
  14. Replies
    6
    Views
    1,023

    VS 2010 Re: ListBox Order Selection

    Random is random. Period. Seriously, what point are you trying to make?
  15. Replies
    6
    Views
    1,023

    VS 2010 Re: ListBox Order Selection

    In that case the term random does not apply at all.
  16. Replies
    6
    Views
    1,023

    VS 2010 Re: ListBox Order Selection

    For top to bottom and reverse you can simply sort the items in ascending or descending order before starting your timer. For selected item don't activate your timer and just call SendCurrentItem() in...
  17. Replies
    4
    Views
    629

    VS 2005 Re: Concurrency violation

    hod = dr("HPROP_NO")
    lat = dr("lat")
    lon = dr("lon")
    date1 = dr("hoteldate")

    The first thing I see is you are not properly accessing the items within the DataRow. It should look like this:
    ...
  18. Replies
    13
    Views
    3,049

    Re: Question About a Homework Assignment

    You should create your own thread instead of hijacking someone else's.

    That said, what kind of control is txtdecide? If it is a textbox or label then you should be using txtdecide.text = "You must...
  19. Re: Deploying ClickOne application with network share

    What I do on my development computer is create a network share and then map the drive using a letter that can be mapped on clients. Then I set the publish and install path using the local drive...
  20. Re: Deploying ClickOne application with network share

    Are the client computers installing directly from a network share, or have they mapped a drive? Your situation would make sense if they have not mapped a drive with the same letter. Since it is "D"...
  21. Re: SQL2012 Express - Trying to set two bits

    Nevermind, I finally figured it out. I forgot to turn off the "produce annoying results" property.
  22. [RESOLVED] SQL2012 Express - Trying to set two bits

    This is driving me crazy:

    I'm trying to insert records into a SQL 2012 Express database by specifying the columns of data. Two of the columns are bits and both receive the same value. However, at...
  23. Replies
    23
    Views
    7,795

    Re: Date Must Be Between 1900 and 2100

    Start by proofreading:

    format = "dd/M/yyyy"

    If format < Then


    Only one digit for Month? And if format is less than what? Also, format is a string, how can it be less than anything?
  24. Replies
    5
    Views
    5,273

    Re: Database queries

    I'm guessing you haven't paid attention much in class and are now hoping someone will give you the code so you don't have to figure it out on your own?

    Make an honest effort to complete the task...
  25. Re: [RESOLVED] Backgroundworker - Can not get datagrid to update

    I agree. I'm curious how it could do this without throwing an exception. If there is only one instance of the form, the default instance, then the backgroundworker would either have to create a new...
  26. Re: [RESOLVED] Backgroundworker - Can not get datagrid to update

    I ran into the issue with default instances a few days ago, which is how I spotted the problem. I was using a backgroundworker to update properties in the default instance of a form. The...
  27. Re: Backgroundworker - Can not get datagrid to update

    See if this helps you at all. I made some changes. I created a new project with one form (Form1), one datagridview (DataGridView1), and dropped a backgroundworker (BackgroundWorker1) onto the form...
  28. Replies
    2
    Views
    902

    Re: ListView adding items ( 3+ columns )

    First Google Search:

    http://www.dotnetheaven.com/article/listview-control-with-multiple-column-in-vb.net
  29. Replies
    22
    Views
    2,058

    Re: Just starting out VB2010

    A lot of us came from the same roots but have already "evolved" lol. Searching the forum is a great place to start.
  30. Re: Backgroundworker - Can not get datagrid to update

    Everything that is called by DoWork needs to be self contained without relying on resources that are provided by the UI thread. Variables that are declared at the top of your Form class are in the UI...
  31. Re: Backgroundworker - Can not get datagrid to update

    You could move everything except the event code to a module and it would work fine.
  32. Re: Backgroundworker - Can not get datagrid to update

    Ok, still, all of those variables are declared in the UI thread. That means that any routine that is called by DoWork cannot use them. Also, you need to remove the MsgBox calls from DoWork....
  33. Re: How to get a MDI child form to cover the controls on the MDI parent form usin VB

    So your password screen is the MDI Container? It should actually be a child form as well....
  34. Re: Backgroundworker - Can not get datagrid to update

    Variables that are declared in the ProgressChanged event are declared in the UI thread. You need to declare it in the DoWork event as well, otherwise the data is never fully passed.

    Edit: Sorry,...
  35. Replies
    22
    Views
    2,058

    Re: Just starting out VB2010

    It would be best to start by searching the forum for similar questions about converting from VB6 to VB.NET. This is a horse that has been beat to death already. You have a long road ahead of you if...
  36. Re: Backgroundworker - Can not get datagrid to update

    Isn't "D" a string array? If so, then just add the array without trying to specify the elements:


    Me.MainGrid.Rows.Add(D)


    Edit: Just now noticed you initialized with 20 elements. Are they...
  37. Re: How to get a MDI child form to cover the controls on the MDI parent form usin VB

    I think you need to look into Modal and Non-Modal forms. I believe you are trying to duplicate the function of a Modal form.


    Edit: Can you give us a little more information about what exactly...
  38. Re: How to get a MDI child form to cover the controls on the MDI parent form usin VB

    Setting the MDI Container property on a form adds an MDI Client control to it. This is just another control that is set with a dock style of Fill. To re-iterate, why on Earth would you want to do...
  39. Replies
    9
    Views
    983

    Re: Simple Question

    Glad you got it worked out. In the future, placing this at the top of your code will help you find the problems:

    OPTION STRICT ON
    OPTION EXPLICIT ON
  40. Replies
    9
    Views
    983

    Re: Simple Question

    Check out the AcceptButton property on your form. It sets which button is automatically pressed when the user hits Enter.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width