Search Results - VBForums

Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 1.17 seconds.

  1. Re: Size a winforms application so it looks good on large and small monitors

    I'd like to see you follow that advice to the letter and then let me see the result. ;)
  2. Re: Userform initialize (sometimes works, sometimes don't!)

    I shall ask the mods to move this thread to the Office forum, which is for VBA and other Office development. Please don't double-post.
  3. Re: Userform initialize (sometimes works, sometimes don't!)

    Is this a VB.NET question or VBA?
  4. Re: Same code for two different connections give error in the second connection

    Let me give you a common example of how this occurs. You have a User table with columns UserName and Password. You use a data adapter with the query:
    SELECT * FROM Userto populate a DataTable and...
  5. Re: Same code for two different connections give error in the second connection

    If you have used the Data Source wizard to generate a typed DataSet then use only that typed DataSet, i.e. do not create your own System.Data objects, e.g. DataSet or DataTable, and do not create...
  6. Replies
    2
    Views
    36

    Re: ReportViewer

    OK, I went back and had a look and I did tell you that you had to do it that way but it was actually someone else whom I showed.

    http://www.vbforums.com/showthread.php?805177-MVC-with-SSRS
  7. Replies
    2
    Views
    36

    Re: ReportViewer

    I've already shown you how to do that in one of your earlier threads. The ReportViewer is a Web Forms control so it must be placed on a Web Form page and that displayed in an iframe embedded in an...
  8. Re: Same code for two different connections give error in the second connection

    So, the error message states that there is a syntax error in the ISERT INTO statement and yet I see nowhere that you have actually posted that INSERTT INTO statement for us to look at and can thus...
  9. VS 2015 Re: Keep DataGridView in constant sync with DataSource

    Firstly, you don't need an Update call to get data from the database. That's to save your own changes. If you want to save your own changes then that's fine but doing that with a Timer, when the...
  10. Re: Size a winforms application so it looks good on large and small monitors

    You seem to be looking for a magic solution that doesn't exist. Any auto-magic solution is not going to work in every case because different people will want different behaviour. If your form is...
  11. Re: Stringing a bunch of values into one column?

    So, are you saying that that data would originally come from multiple rows, where the first three columns contains the same values?
  12. Replies
    139
    Views
    2,502

    Re: July 29th Free "Upgrades" End

    I would say that that illustrates the problem but not in the manner that you suggest. That so many people complain about software without ever even opening the settings at all is a problem and has...
  13. Replies
    139
    Views
    2,502

    Re: July 29th Free "Upgrades" End

    Firstly, I'd suggest to anyone that they go into the Advanced Settings for Edge and disable Flash, only going back in and enabling it if they specifically need it for a particular site. I've found...
  14. Re: DataGridView on Design Page Visual Studio

    From your second sentence there, I assume that your first sentence was supposed to be:You just left out the most important word, which I've been known to do myself on occasion.
  15. Re: How can I use For Each for simultaneous things.

    No, that's not possible and it doesn't even make sense. If you have a round hole then use a round peg, not a square one. Use a For loop. You can then use the loop counter to index both Items...
  16. Replies
    139
    Views
    2,502

    Re: July 29th Free "Upgrades" End

    No such removal has occurred. I assume that you're actually talking about the behaviour of the Edge browser. That didn't exist before Windows 10 so nothing can have been removed. Other browsers,...
  17. Replies
    2
    Views
    99

    Re: VB.NET RowFilter in DataGridView

    That is terrible code I'm afraid. It's hard to read and that is exactly why you have botched it and can't see it. Learn to use String.Format:String.Format("{0} LIKE '%{1}%' AND {2} LIKE '%{3}%'",
    ...
  18. Re: DataGridView on Design Page Visual Studio

    Also, the whole point of the WithEvents keyword is to allow that field to be used in a Handles clause so if you could add a DataGridView to the form in the designer and then create an event handler...
  19. Re: DataGridView on Design Page Visual Studio

    Nope. That line is not a declaration. That is creating the object and assigning it to the field. There's no declaration of anything. The other line is the one and only declaration.
  20. Re: Print form like new office form ... help

    If you don't already understand how printing works in Windows Forms, which I assume you're using, then I would suggest that you check out fellow member Merrion's beginners guide to printing. Go to...
  21. VS 2008 Re: inserting string into a string

    When you put an ampersand (&) into the Text of a control like a Label, it is interpreted as an accelartor key by default. For instance, if you have a TextBox for a name and you had a Lable beside...
  22. Replies
    139
    Views
    2,502

    Re: July 29th Free "Upgrades" End

    That seems rather odd. The default download location is the Downloads folder under your personal folder, just as it has been on the last few versions of Windows. I can't recall exactly how far that...
  23. Replies
    11
    Views
    193

    Re: WYSIWYG Font Listbox or Combo Box

    No, the font size is not set in stone. That 12 is the default value for the font size but you can change it simply by setting the PreviewFontSize property. Here is that property...
  24. Replies
    11
    Views
    193

    Re: WYSIWYG Font Listbox or Combo Box

    Here's a VB conversion courtesy of Instant VB:Imports System
    Imports System.Collections.Generic
    Imports System.ComponentModel
    Imports System.Drawing
    Imports System.Drawing.Text
    Imports...
  25. Replies
    11
    Views
    193

    Re: WYSIWYG Font Listbox or Combo Box

    Here's a custom control in C#. The principles and code pattern would be exactly the same in VB.NET with just the syntax changed.
    ...
  26. VS 2015 Re: How to get ALL objects that are attached to a method??

    Actually, I just read your OP again and I realise now that you're actually asking for things the other way around, i.e. not all the objects that are handling a particular event of the current object...
  27. VS 2015 Re: How to get ALL objects that are attached to a method??

    So, you're saying is that you want a list of objects that are handling a particular event? May I ask why? It seems an odd thing to do?

    An event is a delegate so you would need to work with it...
  28. Re: [Error] Type or namespace name does not exist

    It sounds like step 6 is your issue. The ApplicationUser class is one of those default models and without those default models there is no Models namespace. You need to either remove that code that...
  29. Replies
    12
    Views
    203

    Re: Can you show a tooltip without sound?

    That's not normal behaviour for a ToolTip. Are you talking about for a NotifyIcon specifically? I wouldn't have thought that that would be the case either. It sounds like you're talking about a...
  30. VS 2010 Re: Split Function Freezing UI - Some Backgroundworker Help Please

    Why would you have to change all your code that uses the 'lines' array? Why wouldn't you simply change this:lines = Split(My.Computer.FileSystem.ReadAllText(OpenFileDialog1.FileName), vbNewLine)
    to...
  31. Replies
    4
    Views
    170

    Re: Capture Email Reply

    You could include the email address in the query string of the URL in the link and get it back from there in your web site.
  32. Replies
    2
    Views
    152

    Re: Reading pdf files

    That's a rather hacky way to read a PDF. I'd suggest that you look at using iTextSharp, which is a free .NET PDF library. It can do much more besides but it will enable you to read the contents of...
  33. VS 2010 Re: Connecting Wifi device Using visual basic

    .NET has its own Socket class, so that seems the logical first port of call, although there is also the TcpClient class that is easier in simple scenarios. What have you tried so far? If you...
  34. Replies
    3
    Views
    158

    VS 2010 Re: A completed program

    The EXE in the Debug folder is a Debug version so you wouldn't deploy that unless you specifically wanted to debug. You should change the build configuration to Release, then build, then you can...
  35. VS 2015 Re: add row to datatable that contains a foreigkey

    The problem is that you're withholding relevant information from us. Intellisense is telling you what is expected and rather than passing that information on to us, you're giving us a vague...
  36. Re: Binding .filter of Binding source to CB.selectedValue?

    I use data-binding wherever I can. In this case, I would simply handle the event and set the property.
  37. Re: Binding .filter of Binding source to CB.selectedValue?

    Given that what you're doing now is:BS_Auftrag.Filter = "[Kunden ID]=" + CB_Kunden.SelectedValue.ToStringhow could you then bind it to The SelectedValue of the ComboBox when that would mean you'd...
  38. VS 2015 Re: add row to datatable that contains a foreigkey

    What you say you're doing should work, so you're obviously doing something wrong. Maybe if you were to tell us what actually happens, rather than just saying that it fails, we could work out what...
  39. Replies
    5
    Views
    220

    VS 2008 Re: MenuStrip Short Cut Keys

    If you comment out the UpdateItems call, does it still happen that way?
  40. Replies
    2
    Views
    189

    Re: Reading a text file

    I might go with this:Dim starredFileNames As New List(Of String)
    Dim fileName As String

    For Each line In File.ReadLines("file path here")
    If line.StartsWith("[") AndAlso line.EndsWith("]")...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.