Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
H

hsuresh

@hsuresh
About
Posts
8
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Input string was not in a correct format
    H hsuresh

    i am facing this problem , if any body can help.. Input string was not in a correct format. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.FormatException: Input string was not in a correct format. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [FormatException: Input string was not in a correct format.] Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) +211 Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) +74 [InvalidCastException: Conversion from string "" to type 'Double' is not valid.] Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat) +218 Microsoft.VisualBasic.CompilerServices.Operators.CompareObject2(Object Left, Object Right, Boolean TextCompare) +2984 Microsoft.VisualBasic.CompilerServices.Operators.ConditionalCompareObjectEqual(Object Left, Object Right, Boolean TextCompare) +25 Rostering.Page_Load(Object sender, EventArgs e) +1716 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 Regards Suresh

    Visual Basic help csharp asp-net dotnet design

  • Hyperlink
    H hsuresh

    Hi i am attaching one file that saves in server, i m storing tht path in DB Ex: ../../Attachment/ & strfile i when i downloading tht file using hyperlink first i am doing like this CType(infTabReqTrans.Tabs.FromKeyTab("GeneralDetails"). _ FindControl("hprAtt"), HyperLink).Text = _ IIf(dsFillReq.Tables(0).Rows(0).Item("Attament") Is DBNull.Value, "No File", _ "Download") CType(infTabReqTrans.Tabs.FromKeyTab("GeneralDetails"). _ FindControl("hprAtt"), HyperLink).NavigateUrl = _ IIf(dsFillReq.Tables(0).Rows(0).Item("Attament") Is DBNull.Value, "No File", _ dsFillReq.Tables(0).Rows(0).Item("Attament")) its telling that 404 error resource can't find if i attach with pull path it open like Ex localhost/st/fg/txt.open How to open using vitual path can any one Reply to this Quation Advance Thanks Shrikant

    Visual Basic database sysadmin help tutorial learning

  • How to pass multiple value to next using session
    H hsuresh

    Hi How to pass multiple value to next using session , i am having infragistic grid its having emp-id ,name,checkbox i want to pass the checked value to next page, can please help me .if u give code thts better In advance thanks

    Visual Basic css help tutorial

  • word document
    H hsuresh

    I am developing ASP.NET Web Application using vb.net One of the requriement of this application is ...when user submit the Web Form....it should open the Word Templete and insert the values into that templete... Does anybody knows...How to Open and Writes into Word Document Using ASP.NET and vb.net Directly...i am looking for specific sample... Thanks,

    Visual Basic csharp asp-net tutorial

  • word document [modified]
    H hsuresh

    i worked with macros also it's not working can please help me. if u have code for creating word document. Dim w As New Word.Application Dim d As Word.Document d = w.Documents.Open("c:\test1.doc") 'w.Selection.MoveRight(Unit:=1, count:=6) d.MailMerge.OpenDataSource(Name:="C:\test1.csv", ReadOnly:=False, LinkToSource:=True, Connection:="", SQLStatement:="", SQLStatement1:="") d.Fields.Add(Range:=w.Selection.Range, Type:=Word.WdFieldType.wdFieldMergeField, Text:="""LastName""") With d.MailMerge .Destination = Word.WdMailMergeDestination.wdSendToNewDocument .SuppressBlankLines = True With .DataSource .FirstRecord = Word.WdMailMergeDefaultRecord.wdDefaultFirstRecord .LastRecord = Word.WdMailMergeDefaultRecord.wdDefaultLastRecord End With .Execute(Pause:=False) End With w.Visible = True

    Visual Basic csharp asp-net tutorial

  • word document [modified]
    H hsuresh

    this is our code.... It works in a windows application but not in a web application....please try it out and help.. Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents Button1 As System.Windows.Forms.Button Private Sub InitializeComponent() Me.Button1 = New System.Windows.Forms.Button Me.SuspendLayout() ' 'Button1 ' Me.Button1.Location = New System.Drawing.Point(336, 176) Me.Button1.Name = "Button1" Me.Button1.TabIndex = 0 Me.Button1.Text = "Button1" ' 'Form1 ' Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13) Me.ClientSize = New System.Drawing.Size(576, 470) Me.Controls.Add(Me.Button1) Me.Name = "Form1" Me.Text = "Form1" Me.ResumeLayout(False) End Sub #End Region Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Dim wrdApp As Word.Application Dim wrdDoc As Word._Document Private Sub InsertLines(ByVal LineNum As Integer) Dim iCount As Integer ' Insert "LineNum" blank lines. For iCount = 1 To LineNum wrdApp.Selection.TypeParagraph() Next iCount End Sub Private Sub FillRow(ByVal Doc As Word.Document, ByVal Row As Integer, _ ByVal Text1 As String, ByVal Text2 As String, _ ByVal Text3 As String, ByVal Text4 As String) With Doc.Tables.Item(1) ' Insert the data in the specific cell.

    Visual Basic csharp asp-net tutorial

  • word document [modified]
    H hsuresh

    Ours is a web application and we get the error....."Message filter indicates that the application is busy..." Please help...we need this urgently Thanks, Suresh

    Visual Basic csharp asp-net tutorial

  • word document [modified]
    H hsuresh

    I am developing ASP.NET Web Application using vb.net One of the requriement of this application is ...when user submit the Web Form....it should open the Word Templete and insert the values into that templete... Does anybody knows...How to Open and Writes into Word Document Using ASP.NET and vb.net Directly...i am looking for specific sample... Thanks, -- modified at 8:43 Wednesday 4th July, 2007

    Visual Basic csharp asp-net tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups