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 strongm 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
  • Content: Threads
  • 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

    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...
  3. 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
  4. 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...
  5. 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...
  6. 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...
  7. 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
  8. 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
  9. 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"))...
  10. 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
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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
  16. 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...
  17. Mahey

    What Error() - Report [RDLC] From DataTable

    I have a clarification, with my project I added a dataset ,is having dataset [xsd] file name- DataSet1 and datatable table name -datatable1. also it's having the fields "id,item" with my form I have coding Dim ds As New DataSet1 Dim t As DataTable = ds.Tables.Add("datatable2")...
  18. Mahey

    Completed Project Installation - Network

    Hi, With the help of our River & some other replies, I finished a small project with 1-MDI-Container & 3 Mdi-childrens & 2-reports Now I want to install this project with my server mapped drive, without giving the original forms I mean I want to give only exe. this Mapped drive is available to...
  19. Mahey

    Dynamic - Messagebox buttons text

    Hi, Iam having the messagebox. MessageBox.Show("Data Already Exist - Save As New Application ", "ID PREPARATION", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question) From this messageboxbuttons [Yes] [No] [Cancel] I want to have [Save As New] [Replace the Exist] [Don't Save] Better Ideas...
  20. Mahey

    How to use Count,Calculate sum(), Caluculate Max() in VB.NET?

    Hi Thanks in Advace. In VFP9 we can use the followings and How to do it with vb.net? COUNT FOR(wk_code='Inj ') TO abcd5 CALCULATE SUM(total_hr) FOR (emp_id=epidi1) TO tot1 CALCULATE MAX(en_date) FOR((emp_id=epidi1) TO etydt -------------------------------------------- In Vb.Net Dim dbnd1...

Part and Inventory Search

Back
Top