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
M

Madni Abbasi

@Madni Abbasi
About
Posts
53
Topics
25
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Database Creation using VB.NET Code
    M Madni Abbasi

    Hello. I think its silly question but i expect some solution . Is there any way to create sql sever database by using VB.NET code ? I have to create database,tables,sps and also transfer the data from one database to newly created database. Please, if somebody have some solution then guide me in detail. Thanks in adv.

    Visual Basic database question csharp tutorial

  • Crystal Report Exceptions in ASP.NET
    M Madni Abbasi

    I was looking for answer of error message "Logon Failed" while working with crystal reports . I tried your answer but still its not working. have u any more ideas? thnx in adv

    ASP.NET csharp asp-net question

  • Windows Image and Fax Viewer Integration
    M Madni Abbasi

    Hi all, How to integrate "windows image and fax viewer" in vb.net application to view images. ? how to run .exe from application ? as like 'shell' in vb6

    Visual Basic csharp linux tutorial question

  • Custom Paper Size
    M Madni Abbasi

    Yes , I found the way to add custom paper size in the printer collection of paper sizes. Start -> Settings -> Printers and Faxes -> right click in the window -> Server Settings -> Create form ,give width & height and save the form with new name. now you have custom paper size in collection of printer. Be sure,while creating form that you have selected the required printer driver. Enjoy the Solution......

    Visual Basic question csharp

  • Custom Paper Size
    M Madni Abbasi

    Hello, Its supporting for custom kind . please let me know the details. and also let me know how to assign "CrystalObject" (object of .rpt) to "PrintDocument" object.:confused: Thanks

    Visual Basic question csharp

  • How to save & retrieve photos in a database
    M Madni Abbasi

    You can use as folllowing 1- get the path using Open file dialogue in text box as I taken in txtCompanyLogo.text 2- Dim arr() As Byte If Trim(txtCompanyLogo.Text) <> "" Then FileOpen(1, txtCompanyLogo.Text, OpenMode.Binary, OpenAccess.Read, OpenShare.Shared) 'Resize array so that it can accomodate the file ReDim arr(FileLen(txtCompanyLogo.Text) - 1) FileGet(1, arr) FileClose(1) '/////// Ds is DataSet & CompanyInfo is TableName & CompanyLogo is Field Name for Binary Data //////////// ds.Tables("CompanyInfo").Rows(0).Item("CompanyLogo") = arr End If Enjoy Solution

    Visual Basic tutorial csharp database help

  • Custom Paper Size
    M Madni Abbasi

    Hi all, 1-I need to use custom paper size using crystal report in vb.net, how can I ? 2-Is there any way to create custom paper size and include it in printer paper size collection using printer properties at windows level ? Thanks in advance

    Visual Basic question csharp

  • Urgent - - systray & message
    M Madni Abbasi

    Hi, I need to run the application in systemt tray (systray) .I need some guidance in the form of some example. Also I need to display some messages in the systray. for example when we use MSN Messenger and if somebody come online we see "Mr.xyz Logged in" . I need it immediately. any help'll be appreciable. Thanks

    Visual Basic help tutorial

  • Crystal Report -- TotalPageCount
    M Madni Abbasi

    Hi , I am sending "MyReport" direct to printer using .NET 2003 ////////////////////////////////////// Dim crobj as New rptMyReport crobj.PrintToPrinter(1, False, 0, 0) //////////////////////////////////////////// I need to get the total page count in this case. I need immediate response. Thanks Madni Abbasi

    Visual Basic csharp

  • How can i use PrintingStatus object in VS.NET 2003
    M Madni Abbasi

    There is a PrintingStatus Prperty of ReportDocument Object (for Crystal Report) . In VS.NET 2003 i am unable to use it . can anybody tell that how can i use . i have also installed SP2 for Crystal Report for .NET but still i m unable to use.

    Visual Basic csharp visual-studio question

  • DataGrid New Row
    M Madni Abbasi

    Hello' I am populating dataGrid based on DataSet's table that is editable but I wanted to edit original data not to enter new row. how can I do this ? any openion ?

    Visual Basic question

  • Parameters In Crystal Report
    M Madni Abbasi

    //Create report object like Dim crobj As New MyReport // Myreport is reportName //and the pass the values to the parameters as below crobj.SetParameterValue("startDate", startDate) crobj.SetParameterValue("endDate", endDate) CrystalReportViewer1.ReportSource = crobj CrystalReportViewer1.Show //if you have stored procedure parameter then place "@" before parametername like crobj.SetParameterValue("@endDate", endDate) Its working hope it'll help

    Visual Basic csharp database visual-studio help question

  • Urgent !regarding sqlDataAdapter.Update Method
    M Madni Abbasi

    Hi, my work hierarchy is as follows. sqlStr = "select * from voucherTransaction where CompanyCode='" & compCode & _ "' and vtCode='" & mcmbVoucherType.SelectedItem.col1 & "' and voucherNo=" & txtVoucherNo.Text parameter.Value = sql // sqlCommand parameter object davd.SelectCommand = cmd // cmd is sqlCommand and davd is sqlDataAdapter object davd.Fill(dsvd, "voucherDetail") // dsvd is DataSet davd.Dispose() //after populating dataSet i need to delete a specific row . and the deletion code is dsvd.Tables("voucherDetail").Rows.RemoveAt(lastRow)//lastrow is secific row no dsvd.Tables("voucherDetail").AcceptChanges() //now i need to add new row as dsvd.Tables("voucherDetail").Rows.Add(drow) // drow is DataRow //now updating the DataSet as follows sqlStr = "select * from voucherTransaction where CompanyCode='" & compCode & _ "' and vtCode='" & mcmbVoucherType.SelectedItem.col1 & "' and voucherNo=" & txtVoucherNo.Text parameter.Value = sqlStr davd.SelectCommand = cmd Dim cbvd As New SqlCommandBuilder(davd) davd.Update(dsvd.Tables("voucherDetail")) davd.Dispose() Now the error is " can't insert the duplicate key value" I have displayed the DataSet table (voucherDetail),there isn't any duplicate value but its showing error for that specific row because its not deleting from the database. Please help me immediately if u have some suggestions

    Database database help announcement

  • Urgent !regarding sqlDataAdapter.Update Method
    M Madni Abbasi

    Hi, my work hierarchy is as follows. sqlStr = "select * from voucherTransaction where CompanyCode='" & compCode & _ "' and vtCode='" & mcmbVoucherType.SelectedItem.col1 & "' and voucherNo=" & txtVoucherNo.Text parameter.Value = sql // sqlCommand parameter object davd.SelectCommand = cmd // cmd is sqlCommand and davd is sqlDataAdapter object davd.Fill(dsvd, "voucherDetail") // dsvd is DataSet davd.Dispose() //after populating dataSet i need to delete a specific row . and the deletion code is dsvd.Tables("voucherDetail").Rows.RemoveAt(lastRow)//lastrow is secific row no dsvd.Tables("voucherDetail").AcceptChanges() //now i need to add new row as dsvd.Tables("voucherDetail").Rows.Add(drow) // drow is DataRow //now updating the DataSet as follows sqlStr = "select * from voucherTransaction where CompanyCode='" & compCode & _ "' and vtCode='" & mcmbVoucherType.SelectedItem.col1 & "' and voucherNo=" & txtVoucherNo.Text parameter.Value = sqlStr davd.SelectCommand = cmd Dim cbvd As New SqlCommandBuilder(davd) davd.Update(dsvd.Tables("voucherDetail")) davd.Dispose() Now the error is " can't insert the duplicate key value" I have displayed the DataSet table (voucherDetail),there isn't any duplicate value but its showing error for that specific row because its not deleting from the database. Please help me immediately if u have some suggestions

    Visual Basic database help announcement

  • regarding sqlDataAdapter
    M Madni Abbasi

    hi, I am using sqlDataAdapter select command based on multiple tables to populate DataSet . I wanted to update only one table data by using UpdateCommand Property becauze sqlCommandBuilder is not supported for multiple base tables. plz help me to write Update Command. SelectCommand is as sql = "SELECT a.prepaidID,a.revAccountNo,a.AccountNo AS origAccountNo," & _ "a.totalAmount, .description, .distAmount,b.fromDate,b.toDate,b.vtCode, b.voucherNo,b.voucherDate" & _ " FROM prepaidDistribution a,prepaidDistributionDetail b" & _ " WHERE a.prepaidID = b.prepaidID and a.companyCode='" & compCode & _ "' and b.fromDate>='" & startDate & "' and b.toDate<='" & endDate & _ "' and b.vtcode IS NULL and a.accountNo like '" & accountNo & "%'" plz help immediately

    Database database help announcement

  • regarding sqlDataAdapter
    M Madni Abbasi

    hi, I am using sqlDataAdapter select command based on multiple tables using INNER JOIN to populate DataSet . I wanted to update only one table data by using UpdateCommand Property. plz help me to write Update Command. SelectCommand is as sql = "SELECT a.prepaidID,a.revAccountNo,a.AccountNo AS origAccountNo," & _ "a.totalAmount, .description, .distAmount,b.fromDate,b.toDate,b.vtCode, b.voucherNo,b.voucherDate" & _ " FROM prepaidDistribution a,prepaidDistributionDetail b" & _ " WHERE a.prepaidID = b.prepaidID and a.companyCode='" & compCode & _ "' and b.fromDate>='" & startDate & "' and b.toDate<='" & endDate & _ "' and b.vtcode IS NULL and a.accountNo like '" & accountNo & "%'" plz help immediately

    Visual Basic database help announcement

  • Urgent ! help related to sqlDataAdapter
    M Madni Abbasi

    hi, I am using sqlDataAdapter select command based on multiple tables using INNER JOIN to populate DataSet . I wanted to update only one table data by using UpdateCommand Property. plz help me to write Update Command. SelectCommand is as sql = "SELECT a.prepaidID,a.revAccountNo,a.AccountNo AS origAccountNo," & _ "a.totalAmount, .description, .distAmount,b.fromDate,b.toDate,b.vtCode, b.voucherNo,b.voucherDate" & _ " FROM prepaidDistribution a,prepaidDistributionDetail b" & _ " WHERE a.prepaidID = b.prepaidID and a.companyCode='" & compCode & _ "' and b.fromDate>='" & startDate & "' and b.toDate<='" & endDate & _ "' and b.vtcode IS NULL and a.accountNo like '" & accountNo & "%'" plz help immediately

    Visual Basic database help announcement

  • How to Share data b/t parent and child form ?
    M Madni Abbasi

    I want to send data to one of control of parent form from child form at run time . how can I ?

    Visual Basic question tutorial

  • Crystal Reports(.NET) forum
    M Madni Abbasi

    any good link for crystal report with .NEt forum ? any help 'll be appreciable

    Visual Basic csharp help question

  • Number
    M Madni Abbasi

    sorry dear . actually I wanted to tell the person who putted question there

    Visual Basic question 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