Search results for query: *

  1. R

    Save Print Preview DataGridView inside txt file or Excel

    Thanks Paszt for your reply. i want to Save the print preview. If you know how to save the print preview, please help me. Thanks in Advance.
  2. R

    Save Print Preview DataGridView inside txt file or Excel

    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...
  3. R

    DataGridView Cell Editable

    johnH, thank you so much for your help. As you said i think i'm executing that code multiple times with different row indexes. So i try this code, and it's working... For Each r As DataGridViewRow In DataGridView1.Rows If r.Cells(3).Value.ToString =...
  4. R

    DataGridView Cell Editable

    Thanks JohnH for the reply. i tried the above code for setting Readonly property of the cell. but this makes every cell in that column editable. If you know how to do this, please help me. Thanks in advance.
  5. R

    DataGridView Cell Editable

    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...
  6. R

    Print DataGridView (Text Wrap top header column and lock in width)

    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...
  7. R

    Sort DataGridViewTextBoxColumn Numeric values

    Thanks for your help. it's working. As you mentioned while adding data to column, somehow i converted that to string. once i removed that, it's working fine and start sorting. Thanks a lot for your help...
  8. R

    Sort DataGridViewTextBoxColumn Numeric values

    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...
  9. R

    Error : microsoft.jet.oledb.4.0 provider is not registered on local machine

    It's because Windows 7 environment is x64. need to change the compile options to x86. My Project > Compile > Advanced Compile Options > Target CPU
  10. R

    Error : microsoft.jet.oledb.4.0 provider is not registered on local machine

    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...
  11. R

    Create Dynamic Hyperlink to GridView VB \ ASP.NET

    ebtihal, i will check your code and try to help you.... mean while add this new issue as new thread. so more people will read this and try to help you. this thread is resolved. so no new people will check this thread. so try to create a new thread for this issue...
  12. R

    Create Dynamic Hyperlink to GridView VB \ ASP.NET

    ebtiha, Glad to hear that you got it working!! I was happy to help you!
  13. R

    Create Dynamic Hyperlink to GridView VB \ ASP.NET

    Hi ebtihal... at first i was trying to code like that and i also had the same issue. duplicated column (one as link, the other one is normal). that's why i using GridView1_RowDataBound to create HyperLink. you can try this code. ProtectedSub Page_Load(ByVal sender AsObject, ByVal e As...
  14. R

    dynamically check version of exe file in FTP

    Thanks JohnH for your reply... so we cannot get version number without downloading the file from FTP. qht i'm trying to do is, i need to check the version number of exe in FTP and check version number of exe in local machine. if it's different, then need to download exe from FTP. Thanks in...
  15. R

    dynamically check version of exe file in FTP

    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...
  16. R

    on page load, display Next Month calendar instead of current month

    Its working by using this code.... If Not Page.IsPostBack Then Else Calendar1.TodaysDate = DateTime.Now.AddMonths(1) Calendar1.SelectedDate = DateTime.Now.AddMonths(1) Calendar1.VisibleDate = Calendar1.SelectedDate End If
  17. R

    on page load, display Next Month calendar instead of current month

    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"...
  18. R

    Create Dynamic Hyperlink to GridView VB \ ASP.NET

    adding code here. so later if someone have this problem, they can check this. Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim h As Integer = 0 Dim gBool As Boolean = False 'Now add data for dynamic columns...
  19. R

    Create Dynamic Hyperlink to GridView VB \ ASP.NET

    when i try this code to display in DataTable Row, it's displaying this text inside textbox <a href=Update.aspx?id=81>" & "My Link Text" & "</a> Then i tried this code using TemplateFiled, Imports System.Web.UI Imports System.Web.UI.WebControls Imports system.IO Public Class TemplateHandler...
  20. R

    Create Dynamic Hyperlink to GridView VB \ ASP.NET

    created a small sample application of what i'm doing and i added that code here... 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 gridview. till that it works fine. but i want...
Back
Top