HI I HAVE TO ADD A CUSTOM DIALOG TO THE SETUP THIS WILL TAKE THE SERVER NAME ,DATABASE NAME ,LOGIN NAME AND PASSWORD AND A LOGIN BUTTON CAN ANY ONE TELL IS THERE A WAY TO DEVELOP A CUSTOM DIALOG IN THE SETUP I USED THE DEFAULT DIALOGS BUT IT DOES NOT FULFILL MY REQUIREMENTS PLEASE HELP ME OUT REGARDS
saneng
Posts
-
adding a custom dialog in Setup .NET 2005 -
external variables in C#.NETHello i just want to know do we use external variables in C#.NET LIKE static extern bool ShowWindow(IntPtr Wnd, int nCmdShow); what are the uses of using extern in C#.NET ANY SORT OF REPLIES IS HIGHLY APPRECIABLE REGARDS
-
Application.Run() Parametersi wanna know that Application.Run only takes only from objects as a parameter like Application.Run (new MYfrm1); OR it can also take parameter other than windows form like Class Objects?
-
Application.Run() Parameteri wanna know that Application.Run only takes only from objects as a parameter like Application.Run (new MYfrm1); OR it can also take parameter other than windows form like Class Objects?
-
Application.Run()i wanna know that Application.Run only takes only from objects as a parameter like Application.Run (new MYfrm1); OR it can also take parameter other than windows form like Class Objects?
-
problem in setting datasource of a usercontrolhi i m newbie to C#.net , i have to create a usercontrol with a gridview in it i have to set its datasource to the dataset used in its parent form to do this i am setting properties at the usercontrol like this : [System.ComponentModel.ComplexBindingProperties("DataSource","DataMember")] public partial class UserControl1 : UserControl { public object DataSource { get { return dgvSearch.DataSource; } set { dgvSearch.DataSource = value; } } public string DataMember { get{ return dgvSearch.DataMember ;} set { dgvSearch.DataMember = value; } } public UserControl1() { InitializeComponent() ; } and from parent form i am setting the datasources for my parent control BindingSource datasource; DataSet data=new C21_SecurityDataSet() ; DataTable dt = data.Tables.Add(); userControl11.DataSource = datasource = new BindingSource (data, "users"); usercontrol11.dataMember="users" but no data displayed at my user control plz help me out thanks
-
setting usercontrol's datasource that is same as parent formhi i m newbie on C# I have created a usercontrol that has a datagridview i use this control on my parent form, the problem is that i want to set the datasource property of my usercontrol the same as my parent form so that gridview shows the data of the datatable of parent form's dataset' my coding is like this is it work fine public partial class UserControl1 : UserControl { public DataSet ds; public DataTable dt; public UserControl1() { InitializeComponent(); } public dataset ds { set { this.ds = value; this.dgvSearch.datasource = ds; } get { return ds; } } public DataTable dt { set { this.dt = value; this.dgvSearch.DataMember = dt; } get { return dt; } } or m missing something any sort of help will be highly appreciated Thanks
-
Problem opening Crystal Report in vb.netHello I m using crystal report 9 in my vb.net Application my problem is that when i Called the Report whose Data Source is a text file, from my vb.net application the system gives me the runtime error Query Engine error :HY000 [MICROSOFT][ODBC TEXT DRIVER] THE MICROSOFT JET DATABASE IS CANNOT OPEN THE FILE (UNKNOWN).IT IS ALREADY OPEN EXCLUSIVELY BY ANOTHER USER OR U NEED PERMISSION TO VIEW ITS DATA ERROR IN FILE C:\DOCUMEN~1\USER\LOCALS~1\TEMP\CRRPT.RPT QUERY ENGINE ERROR however i m using the code to for crystal report viewer control as Me.CrystalReportViewer1.Refresh() Dim strPathName As String Dim reportDocument1 As New CrystalDecisions.CrystalReports.Engine.ReportDocument strPathName = "D:\CrReport.rpt" reportDocument1.Load(strPathName) Me.CrystalReportViewer1.ShowExportButton = True Me.CrystalReportViewer1.ShowPageNavigateButtons = True Me.CrystalReportViewer1.ReportSource = reportDocument1 please please help me out
-
Passing parameters to crystl Report at runtime using vb.ethello i m using vb.net 2005 and crystal report 9 the problem is that when i pass the parameters to my report the crystal report viewer that is on another does not show the report my code is below Dim reportdocument As New ReportDocument Dim strRptPath As String strRptPath = "d:\Attendance System\Attendance Reports\TodayAbsRpt.rpt" reportdocument.Load(strRptPath) Dim todayval As Long Dim paramfields As New ParameterFields Dim paramfield As New ParameterField Dim paramdisval As New ParameterDiscreteValue todayval = Me.DTPsdate.Text.Substring(6, 4) & Mid(Me.DTPsdate.Text, 4, 2) & Me.DTPsdate.Text.Substring(0, 2) paramfield.ParameterFieldName = "DpttNm" paramdisval.Value = Me.cmbDptt.Text paramfield.CurrentValues.Add(paramdisval) paramfields.Add(paramfield) paramfield = New ParameterField paramfield.ParameterFieldName = "pDate" paramdisval.Value = todayval paramfield.CurrentValues.Add(paramdisval) paramfields.Add(paramfield) Dim frm As New FrmRpt(reportdocument) frm.CrystalReportViewer1.ParameterFieldInfo = paramfields frm.CrystalReportViewer1.ReportSource = reportdocument frm.Show() please help me out ,ur help is highly appreciated
-
Passing Parameters to Crystal Report at RuntimeHello I have to pass parameters to crystal report at runtime,i have already created reports in crystal report 9,below is my code Dim reportdocument As New ReportDocument Dim strRptPath As String strRptPath = "d:\Attendance System\Attendance Reports\TodayAbsRpt.rpt" reportdocument.Load(strRptPath) Dim paramdefs As ParameterFieldDefinitions Dim paramdef As ParameterFieldDefinition Dim paramvalues As New ParameterValues Dim paramdisval As New ParameterDiscreteValue Dim todayval As Long todayval = Me.DTPsdate.Text.Substring(6, 4) & Mid(Me.DTPsdate.Text, 4, 2) & Me.DTPsdate.Text.Substring(0, 2) paramdefs = reportdocument.DataDefinition.ParameterFields For Each paramdef In paramdefs With paramdef Select Case .ParameterFieldName Case "DpttNm" paramdisval.Value = "'" & Me.cmbDptt.Text & "'" paramvalues.Add(paramdisval) paramdef.ApplyCurrentValues(paramvalues) Case "pDate" paramdisval.Value = todayval paramvalues.Add(paramdisval) paramdef.ApplyCurrentValues(paramvalues) End Select End With Next Dim frm As New FrmRpt frm.crViewer1.reportSource=reportdocument frm.Show() the crystal report viewet is on another form ....the problem is that the crystal report viewer doe'snt load the report please help me ur corporation is highly appreciated thanks
-
How to calculate difference of minutes in a same day?thanks a lot it works fine with timespan regards
-
How to calculate difference of minutes in a same day?hello!! i have to calculate difference of minutes in the samedate i used datediff function but it gives me wrong result the syntax that i m using for datediff is as datediff("n", dateval & " " & time1val ,dateval & " " & time2val) plz help me out!!! any sort of help will be highly appreciated
-
.net assembly "crystaldecision.windows.form"hello!! when i run crystalreportviewer in my vb.net application i get the error "the .net assembly CrystalDecision.Windows.Form could not be found could anybody tell how could i resolve this problem???
-
.net assembly "crystaldecision.windows.form"hello!! when i run crystalreportviewer in my vb.net application i get the error "the .net assembly CrystalDecision.Windows.Form could not be found could anybody tell how could i resolve this problem???
-
the.net aseembly "crystalDecisions.windows.form" -
sql data types7/1612 = 0.004342431761............. 6/1397 = 0.0042949176807................. above examples shows the division of 2 smallints giving a floating pt. result. but in our case I m getting the result column as 0.0 only for all values. y is this happening, y isn't it considering the whole result or atleast it should give 3 to 4 values after decimal.
-
sql data typesi m working on the stored procedures in SQL that computes the division of two columns having smallint as their datatype,for each row , the results are stored in a column of another table the datatype of the result is taken as float but it is correct upto 1 decimal place How do i increase the precision of float data type that gives the correct result "
-
how can i convert vb6 source file to vb.net 2003 file -
how to use DTS in vb.nethow could we use DTs in my vb.net code it always give me the following error "13 query interface for customDTS.customtask dll" plz reply me ?
-
problem using DTS in vb.netwhen I run the query select @@ version on query analyzer (sql server 2000) i get Microsoft SQL Server 2000 - 8.00.194 (Intel X86) Aug 6 2000 00:57:48 Copyright (c) 1988-2000 Microsoft Corporation Personal Edition on Windows NT 5.1 (Build 2600: Service Pack 2) it seems that service pack2 is already present in SQL but when i use DTS in my vb.net (visual studio.net 2003) code i get the following error " 13 queryinterface for custom task DTS.customtask dll" plz tell what is wrong and how to get rid of it?