User Profile

Collapse

Profile Sidebar

Collapse
remya1000
remya1000
Last Activity: May 15 '12, 03:47 AM
Joined: Apr 23 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • VB.Net 2008 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.

    Code:
    Dim MyDataGridViewPrinter As DataGridViewPrinter
    
    
        Private Function SetupThePrinting() As Boolean
            Dim MyPrintDialog As PrintDialog = New PrintDialog()
    ...
    See more | Go to post

  • i think i'm executing that code multiple times with different row indexes.

    So i try this code, and it's working...

    Code:
                    For Each r As DataGridViewRow In DataGridView1.Rows
                        If r.Cells(3).Value.ToString = "EDIT" Then
                            r.Cells(3).ReadOnly = False
                        Else
                            r.Cells(3).ReadOnly = True
    ...
    See more | Go to post

    Leave a comment:


  • remya1000
    started a topic VB.Net DataGridView Cell Editable

    VB.Net DataGridView Cell Editable

    I’m using VB.Net.

    I’m using DataGridView with ColumnType = DataGridViewTex tBoxColumn.

    I have 3 columns. Column1, Column2, Column3.

    For example:
    Code:
    Column1          Column2          Column3
    1                        AA                AAA
    2                        BB                EDIT
    3                        CC                CCC
    If column3’s value...
    See more | Go to post

  • Is there a way i can print this in Landscape format, so entire columns will be fit in one page?

    this is the code used in class for checking Landscape. but when i try both, it shows same page format.

    Code:
     'Claculating the PageWidth and the PageHeight.
            If Not ThePrintDocument.DefaultPageSettings.Landscape Then
                PageHeight = ThePrintDocument.DefaultPageSettings.PaperSize.Width
    ...
    See more | Go to post

    Leave a comment:


  • VB.Net 2008 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.

    Code:
        Dim MyDataGridViewPrinter As DataGridViewPrinter
    
    
        Private Function SetupThePrinting() As Boolean
            Dim MyPrintDialog As PrintDialog = New PrintDialog()
    ...
    See more | Go to post

  • while adding data to column, somehow i converted that to string. once i removed that, it's working fine and start sorting.
    See more | Go to post

    Leave a comment:


  • VB.Net 2008 Sort DataGridViewTextBoxColumn Numeric values

    I’m using VB.Net 2008 application program.

    I’m using DataGridView, where column types DataGridViewTex tBoxColumn. 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 to sort the numeric value column, it sorts as if its string value.

    I searched a lot to make it sort numerically....
    See more | Go to post

  • Thanks MrMancunian for your help...

    as u said created text file in FTP and checked file version from that.

    Thank you so much.
    See more | Go to post

    Leave a comment:


  • the exe name is getting too big. so instead of adding the version number in exe name, i will create a text file in that folder that contains verison number. so i can check this .txt file name to get version number.

    for example: the text file name is going to be Ver.1.0.0.34.tx t. 1.0.0.34 is version number, that keeps on change.

    is there a way i can check the file that starts with "Ver" and ends with ".txt"....
    See more | Go to post

    Leave a comment:


  • dynamically check version of exe file in FTP - VB.Net

    to find version of an exe, i use this code
    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 there in FTP. i know the path where the exe file is saved in FTP.

    if you have any idea, please help...
    See more | Go to post

  • Thank you so much for your help to solve this problem...

    adding code here. so later if someone have this problem, they can check this.
    Code:
    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
            For k As Integer = 0 To aryName.Count
    ...
    See more | Go to post

    Leave a comment:


  • Sorry.... that was a mistake i did while typing...



    while typing in this forum, i made that mistake...

    i will give some idea what i'm trying to so with this code...

    inside database the data is saved like this


    and i want the above details to display like this in web page


    Code:
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
    ...
    See more | Go to post

    Leave a comment:


  • Thanks Gary for your reply and for the sample example.

    Sorry for this late reply... actually i was trying your codes and made some changes and it start displaying the fields in gridview. but hyperlink is not working correctly...

    The code used...
    Code:
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
           
            Dim h As Integer = 0
    ...
    See more | Go to post

    Leave a comment:


  • Thanks Frinavale for your reply....

    i checked the TemplateField.. .

    when i try this code to display in DataTable Row, it's displaying this text inside textbox <a href=Update.asp x?id=81>" & "My Link Text" & "</a>


    Then i tried this code using TemplateFiled,
    Code:
    Imports System.Web.UI
    Imports System.Web.UI.WebControls
    Imports system.IO
    ...
    See more | Go to post

    Leave a comment:


  • Thanks aspdotnetuser and Frinavale for your reply....

    i will try the templatefields and let you guys know about it... i'm not familiar with templatefields. ... let me give a try....

    created a small sample application of what i'm doing and i added that code here...

    just to make sure whether this is possible to create hyperlink dynamically for this...

    at run time only i will come to know how...
    See more | Go to post

    Leave a comment:


  • Create Dynamic Hyperlink to GridView VB \ ASP.NET

    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 gridview. till that it works fine. but i want some columns value to be hyperlink. so i need to create some columns hyperlink dynamically.
    ...
    See more | Go to post

  • remya1000
    replied to 7zip compression
    its working...

    Thank you so much for the help...
    See more | Go to post

    Leave a comment:


  • remya1000
    replied to 7zip compression
    i checked and found some C# codes from this link...

    http://www.7-zip.org/sdk.html

    when i open that, it contain some classes. i'm not getting any idea how to call that class and compress files using 7zip.

    can you please help me and if possible can you please give an example?

    Thanks in advance....
    See more | Go to post

    Leave a comment:


  • remya1000
    started a topic 7zip compression

    7zip compression

    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 for some help. i'm getting examples only in C#.

    Anyone know whether i can do this in VB.NET? if so, can you please...
    See more | Go to post

  • Error : Value does not fall within the expected range VB.Net 2005

    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.

    Code:
    Form1_Load(.....................
    
     Q_KDSPort = &H8000&
     Q_MyPort = Q_KDSPort + &H100&
     Q_Address
    ...
    See more | Go to post
No activity results to display
Show More
Working...