Search:

Type: Posts; User: .paul.

Page 1 of 13 1 2 3 4

Search: Search took 0.48 seconds.

  1. Re: Making page with asp.net app in Iframe responsive

    Thanks. The iFrames are non-negotiable, but Iíll have a read of that page later
  2. Replies
    13
    Views
    211

    VS 2019 Re: Printing form on 8 1/2 x 11 paper

    e.marginbounds is a rectangle within the physical printed page. It isnít the paper size. The size of your form is irrelevant. If you want to print your form on 8 1/2 x 11 paper, you might have to...
  3. Making page with asp.net app in Iframe responsive

    I have a webpage, consisting of a title with text image, and a couple of Iframes. That part is ok. Below that thereís an iframe containing an asp.net web app. and below that a copyright...
  4. Replies
    8
    Views
    476

    Re: How do I create a database?

    Because it helps to keep the forum tidier. Why ask 10 duplicate questions when 1 properly thought out question, with all of the relevant information needed to answer your question well?
    Any other...
  5. Replies
    13
    Views
    211

    VS 2019 Re: Printing form on 8 1/2 x 11 paper

    Attachments don't always work great in this forum. Any mods who see this, can you fix my image upload?

    http://www.scproject.biz/marginbounds.png
  6. Replies
    13
    Views
    211

    VS 2019 Re: Printing form on 8 1/2 x 11 paper

    The inner dashed rectangle in this image shows e.marginbounds...

    180391
  7. Replies
    13
    Views
    211

    VS 2019 Re: Printing form on 8 1/2 x 11 paper

    No assuming you have e.marginbounds.top and bottom of 100px each and left and right both 100px each, then the rectangle described by e.maginbounds is your paper size minus those borders
  8. Replies
    13
    Views
    211

    VS 2019 Re: Printing form on 8 1/2 x 11 paper

    e.MarginBounds is a rectangle within the page bounds, located and sized as specified by the margins properties
  9. Replies
    21
    Views
    602

    VS 2013 Re: Error

    Or... Maybe you did??? :D I'm guessing the OP didn't see them, or Post #18 wouldn't have been necessary...
  10. Replies
    21
    Views
    602

    VS 2013 Re: Error

    Controls("TextBox" & (_i + 1)).Text = (ListBox1.Items(_i).ToString)
  11. VS 2010 Re: Insert same repeated characters among words

    TextBox1.Text = TextBox1.Text.Re[;ace("liked years mouth click width exams forms genda coder codes table poorl poste franc repot derie cvang",...
  12. Replies
    21
    Views
    602

    VS 2013 Re: Error

    This is why Visual Studio provides us with debugging tools. You can set a breakpoint and step through your code, line by line, examining the state of your variables as you go...
    I didn't need to run...
  13. Replies
    21
    Views
    602

    VS 2013 Re: Error

    _i will not be Nothing, it will default to 0 (zero)

    Do you have a TextBox0??? No, it appears you don't :D
  14. Replies
    21
    Views
    602

    VS 2013 Re: Error

    Every Control has a Parent Control, which can be a Form, a Panel, a GroupBox.
    Controls(ďTextBoxĒ & _i) looks for a Control whose parent is your Form...
  15. Replies
    21
    Views
    602

    VS 2013 Re: Error

    I told you. Either the TextBox doesnít exist in your Formís Controls collection, or the ListBox Item at _i doesnít exist. Itís that simple...
  16. Replies
    21
    Views
    602

    VS 2013 Re: Error

    What is the value of _i? Don't forget your ListBox items are zero based. If, for example, you know _i to be equals to 1, do you have a TextBox1 on your form? If TextBox1 is in a Panel, or a GroupBox,...
  17. Replies
    8
    Views
    296

    Re: Get remote Process Description.

    Sorry I didnít read your OP thoroughly...
  18. Replies
    4
    Views
    2,516

    Re: Final Grade Calculator

    Dim d1 As Decimal
    Dim d2 As Decimal
    Dim d3 As Decimal
    Dim d4 As Decimal

    If Decimal.Tryparse(txtHW.Text, d1) AndAlso Decimal.Tryparse(txtQuizzes.Text, d2) AndAlso...
  19. Replies
    8
    Views
    296

    Re: Get remote Process Description.

    This might help...

    https://social.technet.microsoft.com/wiki/contents/articles/38266.vb-net-binding-wmi-managementobjectsearcher-results.aspx
  20. Replies
    21
    Views
    602

    VS 2013 Re: Error

    Without the cast, the object is type Control. I cast it as type TextBox. Itís strange that it was just brackets that caused the error...
  21. Replies
    10
    Views
    319

    Re: reset a temp alarm

    In the end, you'll do what you'll do, But a String is not a number, and an Integer is a whole number and not a String. Turn Option Strict on, and VS will force you to fix those errors
  22. Replies
    10
    Views
    319

    Re: reset a temp alarm

    If you want to allow numeric input from your user, use a NumericUpDown control...
  23. Replies
    10
    Views
    319

    Re: reset a temp alarm

    If your controls are just for display and not input, use a display control... That's what Labels are for. No possibility of someone crashing your app...
  24. Replies
    21
    Views
    602

    VS 2013 Re: Error

    Dim _i As Integer = 1
    DirectCast(Controls("TextBox" & _i), TextBox).Text = ListBox1.Items(_i).ToString
  25. Replies
    10
    Views
    319

    Re: reset a temp alarm

    What happens when the user types 'hello' in TextBox2??? :D
  26. Replies
    10
    Views
    319

    Re: reset a temp alarm

    The problem is the timer1 tick will start timer2 if the value in TextBox2 is greater than 10. The way to stop that happening when you click the button to stop the timer2, is to clear TextBox2.
    ...
  27. Replies
    10
    Views
    319

    Re: reset a temp alarm

    '' alarm point is 10
    If a > 10 Then
    ' make a 10 or lower here
    Timer2.Enabled = True
  28. VS 2013 Re: Clear last Document in Printdocument

    Are you sure? There's an EndDoc in classic VB, but VB.Net uses e.HasMorePages
  29. VS 2013 Re: Clear last Document in Printdocument

    When you paste code in this forum, you should select the full code block and press the # button above the message editor window. This will give you a code block, which will retain your indented code.
  30. Re: DataTable Select | Grouping Data | Is there a Generic Method?

    The only catchall for String, Integer, Decimal, Date, etc... is Object. I haven't tested that, but it might be worth trying
  31. Replies
    2
    Views
    159

    Re: Visual Basic net files tutorial

    Try reading this, then asking a more specific question, if you need more help...

    IO.File class
  32. Replies
    4
    Views
    247

    Re: How to send value date today ?

    @Prahlad - itís bad practice using m to refer to Month. In VB date formatting m refers to minute and M refers to Month, as h refers to 12 hour clock and H refers to 24 hour clock...
  33. Replies
    4
    Views
    278

    VS 2017 Re: Beginner Need a Guide

    There are 2 ways you can do this...

    The simple way...

    Dim count As Integer
    If Integer.TryParse(TextBox1.Text, count) Then
    Dim strNumbers As String = ""
    For x As Integer = 0 To count...
  34. Replies
    5
    Views
    285

    VS 2017 Re: Beginner Please Need Help

    See the errors there? I'd suggest...


    If (Not Double.TryParse(input, conversion) OrElse conversion< 0) Then
    MessageBox.Show("Please input a valid grade.")
    Return
    End If
  35. Replies
    4
    Views
    247

    Re: How to send value date today ?

    For future reference, here's where to ask VBA questions...

    https://www.vbforums.com/forumdisplay.php?37-Office-Development
  36. Thread: Compile error

    by .paul.
    Replies
    3
    Views
    179

    Re: Compile error

    Isn't Application a reserved keyword in VBA?
  37. Replies
    4
    Views
    480

    Re: Facebook likes not working in chrome

    No, but if itís a JQuery issue, it would probably help to include the right libraries
  38. VS 2017 Re: [HELP CODING BEGINNER] MAKE A BACK UP FROM A FORM AND RESTORE it later?

    Looks like youíve misunderstood the question. As JM understood it, and as I understood it, danzey is looking to save a form state, then recreate that state at a later time...
  39. Replies
    4
    Views
    480

    Re: Facebook likes not working in chrome

    Could i solve it by linking the correct version of jQuery? At present i have no link

    Edit: By linking I mean importing in the html head space, or however it is you include a js library
  40. VS 2012 Re: VB.NET Public Class returns different results than SQL Server Stored Procedure

    I can't answer your question, but i can point you towards the ASP.Net Forum

    https://www.vbforums.com/forumdisplay.php?31-ASP-NET-And-ASP-NET-Core
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width