Search:

Type: Posts; User: aashish_9601

Page 1 of 13 1 2 3 4

Search: Search took 0.06 seconds.

  1. VS 2012 Re: Using PDFSharp, Improper Output of PDF File

    Drawing at (0,0) gives proper result

    188530
  2. VS 2012 Using PDFSharp, Improper Output of PDF File

    Hi
    To create PDF files I am using the PDFSharp Library, the output which i get is larger in size when compared to the out when i draw on the page manually

    Below is the sample code.


    Imports...
  3. Replies
    2
    Views
    601

    VS 2022 Re: DataGridView Memory Consumption

    Suspending and then Resuming the Layout after any action liking sorting,resize MIGHT help....not sure though...
  4. VS 2012 Saving Different Controls Values to Sql Server Table

    Hello
    I have created a form 'Options' which contains an TabControl, each TabPage contains various types of controls like textbox,combobox,checkbox,etc...

    Each TabPage in the 'Options' form...
  5. VS 2010 Re: TextRenderer.MeasureText Return same height for different width

    Because when i am drawing with an rectangle width of 206, the text fits in 3 line...so now when i draw same text with rectangle width of 180 it should occupy more than 3 line (or height)
  6. VS 2010 Re: TextRenderer.MeasureText Return same height for different width

    I tried to , but as said earlier i am getting same height for different widths.

    I should have mentioned i am wrapping the text
  7. VS 2010 Re: TextRenderer.MeasureText Return same height for different width

    Ohhh My mistake.... i misunderstood the text height with rectangle height...

    i wish to measure the height of the rectangle that would be required to print/draw the specified text, so that i can...
  8. Re: If Statement not yielding expected result

    in which event are you checking?
  9. VS 2010 TextRenderer.MeasureText Return same height for different width

    I need to draw some text in the printdocument which has a fixed width but not fixed height.

    To calculate the height required by the text, i am using TextRenderer.MeasureText function, but it...
  10. Replies
    2
    Views
    997

    VS 2010 Re: Drawing an Border to PrintDocument

    Still the Right and bottom border is not printed
  11. Replies
    2
    Views
    997

    VS 2010 Drawing an Border to PrintDocument

    Hello

    I am trying to learn Printing in VB by creating some reports

    To start with i tried to draw border to the PrintDocument at Margins 25,25,25,25, to do so i have used the below code,

    the...
  12. Replies
    10
    Views
    1,899

    VS 2010 Re: Moving away from or extending Enum

    till now i had to deal only two VoucherTypes, i.e sales and purchase, which i was handling by hard coding as below


    using cmd as New SqlCommand
    ..
    ..
    cmd.Parameters.AddWithValue("VoucherType",...
  13. Replies
    10
    Views
    1,899

    VS 2010 Moving away from or extending Enum

    Hello

    I had declared an enum as below, and had been using it since then

    Enum VoucherType
    Purchase = 21
    Sale = 31
    etc
    End Enum
  14. Replies
    4
    Views
    562

    VS 2010 Displaying listbox below the textbox

    Hello

    i have few textboxes, some are placed directly on the form, some are in panels,tabcontrols,etc

    There is an listbox common for all textboxes, I am trying to display the listbox below the...
  15. Re: VS 2017 Getting phone number from serial port cant figure it out

    ?..Split("="c)(1)

    This is LINQ
  16. Replies
    0
    Views
    412

    VS 2010 Microsoft Sync Framework Issue

    Hi.

    I am new to Sync Framework and trying to learn.

    I wish to setup an environment such that the few of the tables from the server are always synced to the clients as it is.

    Following the...
  17. Replies
    7
    Views
    1,781

    VS 2010 Re: Strange Problem of Focus in forms

    Yes..its is
  18. Replies
    7
    Views
    1,781

    VS 2010 Re: Strange Problem of Focus in forms

    I am not using the Default instance of the form.
    I am opening it as

    Dim slf as New SalesList()
    slf.show()
  19. Replies
    7
    Views
    1,781

    VS 2010 Strange Problem of Focus in forms

    I have 3 Forms
    1) Main Form
    2) Sales List Form
    3) Sales Entry Form

    From the menu in the MainForm the user opens the SalesList form, in the SLF there is an dgv , on dblclicking the dgv the...
  20. Replies
    1
    Views
    449

    VS 2005 Custom Autocomplete for TextBox

    Hi
    I wish to provide an Autocomplete feature for the textbox such that it suggests values that 'Contains' the text typed in the textbox.

    Since the built AutoComplete feature suggests only values...
  21. Replies
    0
    Views
    351

    VS 2010 Closing ToolStripDropDown

    Hi..
    I need to create an usercontrol containing an TextBox, which searches for the values in the DB and displays in an listbox so that the user can select appropriate value.

    To do after googling...
  22. VS 2010 Re: Adding drop down list to DataGridViewTextBoxCell

    Because...suppose i wish to select the 4th item in the dropdown list, no sooner i press the Down arrow key the first item in the list is selected and the textbox text is set to its value, which fires...
  23. VS 2010 Re: Adding drop down list to DataGridViewTextBoxCell

    I tired autocomplete, but TextChange event of textbox if firing as soon as we change/select the item in the dropdown
  24. VS 2010 Adding drop down list to DataGridViewTextBoxCell

    Hello

    I wish to give an search functionality to an column in the DGV, such that when the user types any value it searches the DB for values CONTAINING the text and an list of results is displayed...
  25. Replies
    2
    Views
    2,973

    VS 2010 Removing controls from FlowLayoutPanel

    Hi
    I have created an usercontrol and i am dynamically adding it to the FlowLayoutPanel when ever the user clicks an button.

    I wish to have an remove button for each control which would allow the...
  26. Replies
    2
    Views
    1,065

    VS 2010 Send String as Address in AddHandler

    Hello..
    I am using an PrintDocument to print various formats depending on the subject.
    To do so i am using the following code



    Select Case Subject
    Case "Subject1"
    ...
  27. Replies
    3
    Views
    735

    VS 2010 Sort Values from TextBoxes

    Hello
    On my form i have arranged 8 textboxes as an table with two columns and 4 rows. First columns corresponds to the field Quantity and second column corresponds to Rate.

    It is required to save...
  28. VS 2010 Re: Remove StringFormatFlag while printing

    Sorry I should i have given the full information.

    Actually my code is in an For Loop, so say if the first item fits within 100 width, then its drawn using NoWrap, simultaneously other elements...
  29. VS 2010 Remove StringFormatFlag while printing

    Hello..
    I am printing an Invoice using PrintDocument.
    Basically what i want to do is , if e.Graphics.MeasureString(productname).width is >100 then it should be wrapped, else the text should not be...
  30. Re: VS2015 value of type cannot be converted to string vb net listview item

    I suggest you must Keep "Option Strict On".
    secondly as the error suggest,, you are trying to store an 'ListViewItem ' into an String Variable, instead you should be using the subitem's Text to get...
  31. Replies
    3
    Views
    719

    VS 2010 Re: Extra Margin upon printing

    I didn't find e.DefaultPrintSettings property in PrintDocument_PrintPage Event
  32. Replies
    3
    Views
    719

    VS 2010 Extra Margin upon printing

    Hello
    I am using the following code. When i preview the PrintDocument the "test" is drawn at 50,50, but when i print the document its printing using some extra margin ( i think its printing at...
  33. VS 2010 Re: Not able to call Show method of Default instance of the form

    Well , i also avoid using the default instance of the form, but what made me do so i am opening this form(form2) from another form's menu (Like Main Window).

    The form2 is not opened in Modal mode...
  34. VS 2010 Re: Not able to call Show method of Default instance of the form

    I have tried, but the compiler is showing an error as "cannot overload each other because the differ only by optional parameters"
  35. VS 2010 Not able to call Show method of Default instance of the form

    I have added two Optional parameter in the Constructor of the form, as follows


    Public Sub New(Optional ByVal A As String = "", Optional ByVal B As String = "")

    ' This call is...
  36. VS 2010 Re: Opening the Default Instance of the Form

    Well the problem i think is with the constructor

    I have declared it as following..

    Public Sub New(Optional ByVal IsHidden As Boolean = False, Optional ByVal Sales_id As String = "")

    ...
  37. VS 2010 Re: Opening the Default Instance of the Form

    1) No, rather the Intellisense is not showing the function in the List
    2) 'CheckShiftStatus' only checks for some values in the Db and returns True/False
  38. VS 2010 Opening the Default Instance of the Form

    Hi.

    I have an form named Sales.
    I want that only one Instance of the form should be open at a given time.

    The form contains an Public Function named 'CheckShiftStatus' Which returns an...
  39. Replies
    2
    Views
    1,249

    VS 2010 Printing an Text File using PrintDialog

    I have created an text file and saved it as "FileName.prn"
    Actually the file contains the data for barcode printer

    I wish to show the PrintDialog so that the user can select the Barcode Printer...
  40. VS 2010 Re: Get next Column In DisplayOrder from DGV

    Thanks for the Help..
    Apologies for the Terminology.

    I wanted only the column index.

    Can u plz help with a solution without LINQ, I am not familiar with it.

    Regards
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width