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
S

samsonx

@samsonx
About
Posts
29
Topics
23
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • .Net Mailbox unavailable. Relaying Denied...
    S samsonx

    Hi, I'm getting a "Mailbox unavailable. The server response was: 5.7.1 ... Relaying denied." when I try to route mail outside of my domain. All mail works when I send inside of my domain. Here's the code snippet I'm using: Dim SmtpMail As New System.Net.Mail.SmtpClient SmtpMail.Host = _mailServer SmtpMail.Port = _portnumber SmtpMail.Send(objMail) Please help me to resolve this problem...?

    With Regards, Samson

    ASP.NET help csharp sysadmin question

  • Open a .msg file using ASP.NET
    S samsonx

    Hi, Could someone tell me how to open the .msg file as how we double click and open the .msg file. Please send code. Thanks for your help in advance

    With Regards, Samson

    ASP.NET csharp asp-net help tutorial

  • Html Tags in .net
    S samsonx

    Hi, I am doing Email application, in the Email body field i wanna use HTML tags. Is there any keywords are there. Please give me some idea about this. I am using vb.net with c# language. Thanks in advance

    With Regards, Samson

    ASP.NET csharp html

  • Import data from excel cell to Textbox
    S samsonx

    Hi, I have an excel containing mail address For example: In excel "column B" i have a number of email address in B1,B2,B3.... Now the thing i want each email address from B1,B2,B3 into my TextBox1.Text. Am using vb.net with c# language. Can anyone send me the code or give me some idea?. Thanks in advance.

    With Regards, Samson

    ASP.NET csharp tutorial question

  • Windows service starting problem
    S samsonx

    Hi, I am new to this vb.net, my problem is i have build the windows service in vb.net c#. I deployed it in my system when i am trying to start that service it showing the error as Error:1053 could not start the service on Local system The service didnot respond to the start ro control request in a timely fashion I cleared Applicaton event log also. I checked in system log. It shows the message as follows 1.Information: The Windows Installer service was successfully sent a start control. 2.Information: The Windows Installer service entered the running state. 3.Information: The Windows Installer service entered the stopped state. 4.Error: Timeout (30000 milliseconds) waiting for the windows service to connect. 5.Error: The Samplepolaris service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion. I have tried to resolve it, but i could not... Please help me to solve this problem. Thanks in advance.

    With Regards, Samson

    Visual Basic help csharp

  • Windows service Error:1053
    S samsonx

    Hi, I am new to this vb.net, my problem is i have created the windows service in vb.net c#. I deployed it in my system when i am try to start that service it showing the error as Error:1053 could not start the service on Local system The service didnot respond to the start ro control request in a timely fashion I have tried to resolve it, but i could not... Please help me to solve this problem. Thanks in advance.

    With Regards, Samson

    Visual Basic help csharp

  • conversion of char data type to datetime data type resulted in out of range datetime value Error in VB.NET [modified]
    S samsonx

    cmd.Parameters("@EnterDate").Value = New Date(1, 9, 2009) This one is Date(year, month, Date) Format. But my Format is MM/dd/yyyy.... Please help further

    With Regards, Samson

    Visual Basic help csharp tutorial

  • conversion of char data type to datetime data type resulted in out of range datetime value Error in VB.NET [modified]
    S samsonx

    Hi My code displays the error in top

    cmd = New SqlCommand("spStudent", con1)
    cmd.CommandType = CommandType.StoredProcedure
    cmd.Parameters.Add(New SqlParameter("@EnterDate", SqlDbType.DateTime, 8))
    cmd.Parameters("@EnterDate").Value = "01/09/2009"
    cmd.CommandTimeout = 1800
    cmd.ExecuteNonQuery()
    Sda = New SqlDataAdapter(cmd)
    Sda.Fill(dt)

    How to resolve this problem... please help

    Regards, Samson

    modified on Friday, January 9, 2009 5:35 AM

    Visual Basic help csharp tutorial

  • how to write the values in textbox to xml format..
    S samsonx

    Here i had change the code as sw.write(asXML); i got the xml file,but it's not writing the value from textbox. I'm Getting the folloeing error. XML document must have a top level element. Error processing resource 'file:///C:/Documents and Settings/sbritto/Desktop/test.xml Please correct it... Thanks in advance

    With Regards, Samson

    C# csharp database asp-net xml help

  • how to write the values in textbox to xml format..
    S samsonx

    Hi, I created the code and run it but it's not creating a new xml file... I pasted my code her... please let me know what to correct it string asXML = @"" + Environment.NewLine; asXML += @"" + txtid.Text + @"" + Environment.NewLine; asXML += @"" + txtname.Text + @"" + Environment.NewLine; asXML += @"" + txtage.Text + @"" + Environment.NewLine; asXML += @""; FileStream test= new FileStream("test.xml", FileMode.OpenOrCreate, FileAccess.Write); StreamWriter sw = new StreamWriter(test); sw.Write("Hello file system world!"); sw.Close(); test.Close(); It's not creating the test.xml file... Please correct it... Thanks in advance

    Regards, Samson

    C# csharp database asp-net xml help

  • how to write the values in textbox to xml format..
    S samsonx

    hi, I don know how to use streamwriter and save the xml... Please give me some idea over there... Thanks in advance

    Regards, Samson

    C# csharp database asp-net xml help

  • how to write the values in textbox to xml format..
    S samsonx

    Hi, Am working in Asp.net using C#.I have 4 textboxes and 1 button in my application.After the user enters values in 4 textboxes he will click the button.On button click the values in textbox should be written in XML format....Usually to insert values in database we will use INSERT query..But instead of saving in Database i should write the values in textbox directly to XML. S it possible to write the values in Textbox directly to xml??? Can u help me in doing this....Thanx in advance..

    Regards, Samson

    C# csharp database asp-net xml help

  • Copy Files from one directory to another
    S samsonx

    This also showing error like Could not find the part of the path

    With Regards, Samson

    Visual Basic

  • Copy Files from one directory to another
    S samsonx

    Hi, I have one directory eith files and i want to copy one filr from that directory to another. For that i used the following code but it doesn't work. Import System.IO Filecopy(sourcepath, destinationpath) Please let me know, here additionally i need to add any code... Thanks in advance

    Regards, Samson

    Visual Basic

  • Oledb Dataprovider - Reported Error
    S samsonx

    Hi, Whenever am trying to run the following query insert into OPENROWSET('Microsoft.Jet.OLEDB.4.0','Excel 8.0;Database=C:\Documents and Settings\sbritto\Desktop\testing.xls;','SELECT * FROM [Sheet1$]') select * from sqlserver am getting an "Reported error". Here am trying to export the data from sqlserver to an existing excel. What's wrong in this Query. Please help me out Thanks in Advance

    Regards, Samson

    Visual Basic database help testing beta-testing

  • How to open an existing excel programmatically using vb.net
    S samsonx

    Thank u for ur kind reply, i 'll follow it.

    With Regards, Samson

    Visual Basic csharp help tutorial question

  • How to open an existing excel spreadsheet using vb.net
    S samsonx

    Hi, I don have a code to open an existing excel spreadsheet.The Excel is in C: Drive.AM using the language as VB. Can anyone help me out???. Thanks in advance

    With Regards, Samson

    Visual Basic csharp help tutorial question

  • How to open an existing excel programmatically using vb.net
    S samsonx

    Hi, I don have a code to open an existing excel spreadsheet.The Excel is in C: Drive. Can anyone help me out??? Thanks in advance

    Regards, Samson

    Visual Basic csharp help tutorial question

  • User defined type not defined - Error
    S samsonx

    Hi, I am facing this error for the following code. please reply and do the needful Private Sub Command0_Click() Dim DbAdo As ADODB.Connection Dim RsAdo As ADODB.Recordset Set DbAdo = CurrentProject.Connection Set RsAdo = New ADODB.Recordset Dim stDocName As String Dim stDocName1 As String Dim stDocName2 As String Dim stDocName3 As String Dim i, j As Integer Dim str1 As String Dim K As Integer stDocName = "Personal" RsAdo.Open stDocName, DbAdo, adOpenStatic, adLockPessimistic Dim createExcel As New excel.Application Dim Wbook As excel.Workbook Dim Wsheet As excel.Worksheet Set Wbook = createExcel.Workbooks.Add Set Wsheet = Wbook.Worksheets("Sheet1") Wsheet.Name = "Test" i = 0 j = 0 'Wsheet.Cells(1, 1) = "Hosp ID : " & Me.HCO 'Wsheet.Cells(2, 1) = "Process : " & Me.ThisPdProcNum 'Wsheet.Cells(3, 1) = "Processing Period : " & Me.ThisPdStartDate & " - " & Me.ThisPdStopDate 'Wsheet.Cells(1, 1).Font.Bold = True 'Wsheet.Cells(2, 1).Font.Bold = True 'Wsheet.Cells(3, 1).Font.Bold = True 'Wsheet.Cells(5, 1) = "GL Research" 'Wsheet.Cells(8, 1) = "Unmapped Cost Centres" 'Wsheet.Cells(5, 1).Font.Bold = True 'Wsheet.Cells(5, 1).Font.Size = "20" 'Wsheet.Cells(8, 1).Font.Bold = True 'Wsheet.Cells(1, 1).EntireColumn.ColumnWidth = "10" 'Wsheet.Range("A:IV").Interior.ColorIndex = 2 'Wsheet.Range("A:IV").Interior.Pattern = xlSolid 'Wsheet.Range("A:IV").Interior.PatternColorIndex = xlAutomatic For i = 0 To RsAdo.Fields.Count - 1 With Wsheet.Cells(9, i + 1) .Font.Size = "9" .Font.Bold = True .Interior.ColorIndex = 15 .EntireColumn.ColumnWidth = 15 .EntireColumn.AutoFit .HorizontalAlignment = xlHAlignCenter .Value = RsAdo.Fields(i).Name End With Next i If (RsAdo.RecordCount > 0) Then RsAdo.MoveFirst cnt = 10 Do Until RsAdo.EOF Wsheet.Range("A" & Trim(Str(cnt))).Value = RsAdo("sno") Wsheet.Range("B" & Trim(Str(cnt))).Value = RsAdo("name") Wsheet.Range("C" & Trim(Str(cnt))).Value = RsAdo("age") 'Wsheet.Range("D" & Trim(Str(cnt))).Value = RsAdo("CCDESCR") 'Wsheet.Range("H" & Trim(Str(cnt))).Value = RsAdo("On CC RD XREF") 'Wsheet.Range("I" & Trim(Str(cnt))).Value = RsAdo("On New Base") 'Wsheet.Range("J" & Trim(Str(cnt))).Value = RsAdo("On New Fin") RsAdo.MoveNext Wsheet.Range("A" & Trim(Str(cnt))).Borders.LineStyl

    Visual Basic regex help

  • calender
    S samsonx

    How to change the calender in year wise....For example if April 2007 is there in title of calender, i want to cahnge it as in year wise i.e. April 2006, April 2005 ................

    With Regards, Samson

    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