Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Mahey
  • Order by date
  1. Mahey

    LINQ Query - Sum [with null values Column from Datatable]

    I like to calculate the total to a field [trn_qty] from Dtb1 [Datatable]. For that any ideas...? My Query is Dim Numbers = Dtb1.AsEnumerable() Dim SvQy = (From n In Numbers Select n.Field(Of Decimal)("trn_qty")).Sum() But Iam not getting any O/P. Also I don't know whether its correct or...
  2. Mahey

    Add column dynamically in datagridview

    dim DcDtb as new datatable dim SlCm As New DataGridViewTextBoxColumn, MgpCm As New DataGridViewTextBoxColumn, ImCm As New DataGridViewComboBoxColumn DataGridView1.DataSource = DCDtb DataGridView1.Columns.Remove("sl_no") DataGridView1.Columns.Remove("mgp_sln")...
  3. Mahey

    How to seperate Alphabets & Numbers from a string?

    Hi, I like to know to split a string value from a mixed value suppose Dim MyStr As String = "Check121" Dim Regex As String = Space(15) For i1 As Integer = 0 To MyStr.Length - 1 If Not IsNumeric(MyStr.Substring(i1, 1)) Then Regex = Trim(Regex) + MyStr.Substring(i1, 1) End If Next Now the...
  4. Mahey

    Office Automation - Add picture PageHeader, Page footer

    I want to add pictures to my office document, for Page Header & Page Footer, Is it possible? Any sample codes? Dim MSWord As New Word.Application Dim WordDoc As New Word.Document WordDoc = MSWord.Documents.Open("C:\Test\sample.Doc") Thanks
  5. Mahey

    Copy RichTextBox -Texts & Table to Email Body ?

    Hi, I want to paste Texts & Table from RichTextBox to Email Body. Is it possible? Dim mm As New System.Net.Mail.MailMessage(FrmMail, ToAddress) blah...blah...blah... richtextbox5.copy mm.body=richtextbox5.paste ??????????? Suppose mm.body=richtextbox5.text is not displaying the table...
  6. Mahey

    Accessing via internet- Out of domain - Setup.exe [publish]

    I have completed a small project, and created setup.exe-thru publish tab. now I want to give it to my remote users not connected with LAN & Domain. I came to know this setup.exe can usefull for remote access of this application. But I don't know what are all the services required to run? And...
  7. Mahey

    Probelm with crystal report- Report Footer fields display()

    I have created a crystal report with my project. With my Cr.Report, PageHeader Section and Details Band I have some labels and database field no problem. But the problem is on Report Footer, once I keep any field there it's not showing its value..But the same field if I keep in Details or...
  8. Mahey

    Splash Screen -Use?

    With my project I have created a small splash screen called splashscreen1.vb Im my project form2-is startup form [MDI-Parent]. So where I have to mention this splash screen to load first? And how many forms can be included with one project? Thanks
  9. Mahey

    How to display off the image of "Launching Application"

    I have build a small project in vb.net 2008 and after publishing, when I check from the users machine first it's showing the image for connectivity and showing the image "Launching Application" and then my program is running...So how to display off this first image? Any ideas? ThankYou
  10. Mahey

    Display Error Message For - Wrong Datatype

    Just I find our RiverGuy's reply... http://www.tek-tips.com/viewthread.cfm?qid=1513923&page=4 Really our River is good to the learners around the globe, who like to drink vb.net
  11. Mahey

    Display Error Message For - Wrong Datatype

    I have a datatble with datagridview dim my_table as new Datatable my_table.columns.add("Srl_no",type.gettype("system.int32")) my_table.columns.add("Employee Name",type.gettype("system.string")) my_table.columns.add("Basic_salary",type.gettype("system.decimal"))...
  12. Mahey

    Best Method for sending E-Mails

    Thanks For Your Reply ! Anyhow I done it from SMTP. Thanks
  13. Mahey

    Best Method for sending E-Mails

    I want to send emails from vb.net 2008. But the thing is some of my users are using outlook some are not using outlook. So which is the best way for sending mails? Any Ideas For Me? Thanks
  14. Mahey

    Datagridview Lastrow Values & Its Datatable lastrow problem !!!

    I have a DatagridView with 10-columns and Allow user to add new row is True. But the problem is when the user entering the data's in new row's from the last row, when they entered the data in 4th cell, they like to save the data. But it's not saving, the uncompleted last row. Iam using the...
  15. Mahey

    UPDATE QUERY -SQL SERVER 2005

    Hi, I want to update the table like the following manner. Field "Item_Description" is having the data's ASMITEMS for department BSDBILL -systems RVF.......... ASM.......... TYP........ BSD.............. ASM.................. THANKS But I want to update like the "itm_code" by following...
  16. Mahey

    How to Save from datagridview to Remote- sqlserver 2005 table

    Hi, With My datagridview Allowuser ToAddrows=true Allowuser ToDeleterows=true dim dsf_52 As New DataSet, dtbf_52 As New DataTable,daf52 As SqlDataAdapter Dim Comd_52 As String = "select sec_erb_id.emp_id,emp_master.fir_name,sec_erb_id.sec_id_no from sec_erb_id,emp_master where...
  17. Mahey

    DataGridView - Date column [Get Input format dd/MM/yyyy]

    Hi, With my datagridview I have column for datetime. I used the following for format. Mydatagrid1.Columns(3).DefaultCellStyle.Format = "dd/MM/yyyy" But the problem is it's getting input like MM/dd/yyyy and after pressing enter it's changing to dd/mm/yyyy style. So is it possible to read input...
  18. Mahey

    DataGridView - Date Column -Format & Error Message?

    Hi, With My Datagridview - I have a column for date. and it's defaut format is mm/dd/yyyy. But Iam looking to read the date by "dd/mm/yyyy" format. Also if the user feed wrong date format then it has to display my Error message. "INVALID DATE" Any Ideas Will be appreciated. THANKS
  19. Mahey

    Datagridview-Cells -SelectionStart,SelectionLength?

    Hi, With my form I have a datagridview, and from the datatable the data's are loading to datagridview. But the problem is when it's getting focus, it's selecting the whole contents of the cell of column(0) & Row(0). But I want to select like textbox TextBox12.SelectionStart = 0...

Part and Inventory Search

Back
Top