I’m using VB.Net 2008 application program.
I’m using DataGridView. I have a Print Preview option where i need to print the DataGridView.
I’m using this code for Print Preview.
Dim MyDataGridViewPrinter As DataGridViewPrinter
Private Function SetupThePrinting() As Boolean
Dim...
I’m using VB.Net.
I’m using DataGridView with ColumnType = DataGridViewTextBoxColumn.
I have 3 columns. Column1, Column2, Column3.
For example:
Column1 Column2 Column3
1 AA AAA
2 BB EDIT
3...
I’m using VB.Net 2008 application program.
I’m using DataGridView. I have a Print option where i need to print the DataGridView.
I’m using this code for Printing and for Print Preview.
Dim MyDataGridViewPrinter As DataGridViewPrinter
Private Function SetupThePrinting() As Boolean...
I’m using VB.Net 2008 application program.
I’m using DataGridView, where column types DataGridViewTextBoxColumn. I have 3 fields. 1 field values are numeric, 1 field values are string and 1 field values are decimal.
When I try to sort the string value column, it sorts correctly. But when i try...
i have an VB.Net 2003 Application Program that use MS Access, that works fine in Windows XP and Windows 7.
But when i create that same program to VB.Net 2005 Application Program that use MS Access.
it works fine in Windows XP.
but in Windows 7 it shows this error
This is how i used to...
to find version of an exe, i use this code
Dim FileProperties As FileVersionInfo = FileVersionInfo.GetVersionInfo(Application.ExecutablePath)
Textbox1.Text = FileProperties.FileVersion
How come we find a version of an exe that's uploaded in FTP? i need the version of an exe that's already...
i’m using ASP.NET.
i created a calendar, using the below code.
<asp:Calendar id=Calendar1 runat="server"
onselectionchanged="Date_Selected"
DayNameFormat="Short"
SelectionMode="DayWeek"
Font-Names="Arial" Font-Size="12px"...
i'm using VB \ ASP.NET.
i'm trying to display some values in Gridview. but i don't know how many columns i need to display. at run time only i will come to know how many columns i need to display. it depends up on the values from Database. so i'm creating columns dynamically and adding to...
VB.NET 2003 or 2005 application program.
i was trying to create an application program to compress some files using 7zip. when application program runs, need to browse and select the files need to be compressed and mention the name of the zip file and compress the file in that folder.
i google...
i'm using VB.Net 2005 application program.
i'm trying to convert VB6 code to VB.Net 2005. QSockB is DLL file.
this is the code i used for VB6. This is code i'm using to create socket, when program runs... and when i hit start button it calls Q_SendHeader function...
i'm using VB.net 2003 application program. i'm trying to convert a VB6 program to VB.NET. The VB6 code i'm trying to convert is shown below.
declared g_Share() array in module and trying to add values to it inside form.
VB6 (Code inside Module)
'Global type array to hold printer info.
Public...
I’m using VB.net 2003 application program.
I am trying to do a select statement whereby I'm searching between 2 datetime values that are being stored as datetime. records are stored inside Access.
For example, I’m searching between 2 datetime
So I need to find all the records in between 9:00...
I'm using VB.NET 2003 windows application.
i'm trying to display Crystal Reports using CrystalReportViewer.
Code i'm using to display "ZTab.rpt" in CrystalReportViewer when Form_Load
Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
i'm using VB.NET 2003 application program.
by using OpenFileDialog, we can select the file name or file path.
OpenFileDialog1.ShowDialog()
pgmPath.Text = OpenFileDialog1.FileName
by using FolderBrowserDialog, we can select the folder name or folder path...
i'm using VB.NET 2003 Application program. i need to get External IP Address (internet). i searched internet and found come codes and tried that...
i tried this code... but it returned my internal IP Address...
Dim IPHost As IPHostEntry = Dns.GetHostByName(Dns.GetHostName())...
i'm using VB.NET 2003 application program.
i'm using WinSock in this program. on Form_Load, i used this code
winsock1.Close()
winsock1.LocalPort = 1223
winsock1.Bind()
when i run this program i'm getting .net error. error i'm getting is
if anyone have anyidea what...
i'm using VB.Net Application program.
i'm creating 64 button dynamically during run time. and from database i'm getting the description, font color, back color and picture path. and if the picture path is not nothing, then i need to display that picture in that button. if picture path is...
I’m using VB.NET application.
Can anyone tell me how to read the full path from registery key?
Sometimes the path might be “C:\Projects\QuickProjects.\QSUpdate”, sometimes it might be “T1\root\Program Files\QuickProjects.\QSUpdate”.
I have no idea knowing what it is… That’s why i need to...
I’m using Vb.net application program. I created a datagrid having text field and checkbox fields. Everything is displaying correctly. I have 9 Columns and each columns are equally separated. In DataGrid property, I made PreferredColumnWidth = 85. So its equally aligned.
I would like to give...
I’m attaching the Screen Picture I’m trying to create.
I have a field called Departments in my database. and I have 3 monitors. So when Page_Load, I need to check number of departments I have in database. And depends upon that number of departments I have, I need to calculate number of checkbox...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.