Search:
Type: Posts; User: aashish_9601
Search:
Search took 0.06 seconds.
-
Drawing at (0,0) gives proper result
188530
-
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...
-
Suspending and then Resuming the Layout after any action liking sorting,resize MIGHT help....not sure though...
-
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...
-
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)
-
I tried to , but as said earlier i am getting same height for different widths.
I should have mentioned i am wrapping the text
-
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...
-
in which event are you checking?
-
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...
-
Still the Right and bottom border is not printed
-
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...
-
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",...
-
Hello
I had declared an enum as below, and had been using it since then
Enum VoucherType
Purchase = 21
Sale = 31
etc
End Enum
-
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...
-
?..Split("="c)(1)
This is LINQ
-
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...
-
-
I am not using the Default instance of the form.
I am opening it as
Dim slf as New SalesList()
slf.show()
-
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...
-
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...
-
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...
-
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...
-
I tired autocomplete, but TextChange event of textbox if firing as soon as we change/select the item in the dropdown
-
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...
-
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...
-
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"
...
-
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...
-
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...
-
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...
-
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...
-
I didn't find e.DefaultPrintSettings property in PrintDocument_PrintPage Event
-
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...
-
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...
-
I have tried, but the compiler is showing an error as "cannot overload each other because the differ only by optional parameters"
-
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...
-
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 = "")
...
-
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
-
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...
-
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...
-
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
|
Click Here to Expand Forum to Full Width
|