|
I wonder if anyone has an answer to this?
Do you need a crystal reports run time licence to run a crystal report via VB.Net. The problem I am having is that when I put a VB.Net system onto a user's PC, the crystal report does not get a display.
|
|
|
|
|
not display mean? did you get any error?
r u using .net crystal report or external crystal report?
Anyhow you need to install the crystal report dll's into clinet PC.
Around five dll will come make setup file to install.
raj
|
|
|
|
|
I get no error.
Everything seems to run with no problems, just no display.
I am using external crystal reports version 8.5. I thought I had installed the DLLs but it looks like I never.
Thanks for the help.
|
|
|
|
|
Pl. check ur coding, sure it will display or its throws error.
raj
|
|
|
|
|
How to change cell and row color in datagrid at runtime?
Suppose user will double click one row in datagrid I want to change the color of that row to RED so that User can track it later on. And if row color is RED then how to trace this particular row. Please help me out of this I tried a lot but didn't get any positive result.
Nish...
|
|
|
|
|
There is no direct way of doing this....
Chk this link. This isn't what you are looking for, but certainly it will give you an idea..
http:
|
|
|
|
|
Hi all
I’m a new junior developer at a certain company in South Africa and I’ve been given a task to debug someone else’s program .The program (is suppose to) connects to excel and send sms’s depending on what it find,
The problem is that the program is not working anymore it give a “Couldn't find installable ISAM” error.
Can anybody help out there as I’m still new at this company and I need to make an impression.
Here is a snipped off the code
'
Private dbsCellFile As Database
Private rstCellFile As Recordset
Private ol As Outlook.Application
Private olns As Outlook.NameSpace
Private InboxFldr As Outlook.MAPIFolder
Private msg As Outlook.MailItem
Private optTicked As OptionButton
Private Sub cmdSMS_Click(nIndex As Integer)
On Error GoTo ehSMS
Dim strXlFile As String, strSMSfile As String, strBillFile As String
Dim strCell As String, strMsg As String, strTemp As String
Dim fCellOK As Boolean
Dim strItem As String
Dim lngSmsCnt As Long
Dim lngHwnd As Long
Select Case nIndex
Case 0 'create sms file
MousePointer = vbHourglass
strXlFile = filSMS.Path & "\" & filSMS.FileName '"F:\downloads\avon\Cell.xls"
strSMSfile = "c:\sms.txt" '"c:\documents and settings\vdwelj\desktop\sms.txt"
strBillFile = "c:\SmsBilling.txt" '"c:\documents and settings\vdwelj\desktop\SmsBilling.txt"
Set dbsCellFile = OpenDatabase(strXlFile, False, False, "Excel 4.0;HDR=NO;")
Set rstCellFile = dbsCellFile.OpenRecordset("A1:B50000")
“Couldn't find installable ISAM” error.
|
|
|
|
|
Hi ,
i will explain the case like that you will understand better
i have a restaurant in the datagrid & i have an other table named command i wanna see the cammands of each restaurant with that + such as in the access remember ??
in access we have a table then the detail of this table is in this +
please if you understand this sh*t tell me cuz i know i speak english very good
try to be good if you can't be the best
|
|
|
|
|
hi all,
i want to get the record from dataset,in column 2.
how can i do this
vipin paliwal
|
|
|
|
|
try this if you need to get value of second col. ds.table(0).row(cnt).item(2)
raj
|
|
|
|
|
Problem
I am developing a system that uses Crystal Reports. I have Crystal report v8.5 on my PC and when I display a crystal report via VB.Net (2003), the report is displayed. The problem is that when I do the same report on a user's PC the report is not getting displayed. There are no error messages. What am I doing wrong.
Here is a sample of my code that is on the click event of the form....
'Load Crystal Report's rpt file
Dim cr As New CrystalDecisions.CrystalReports.Engine.ReportDocument
cr.Load(strReportPath)
param1Field.ParameterFieldName = "PassParam"
param1Range.Value = sPassParam
param1Field.CurrentValues.Add(param1Range)
param1Fields.Add(param1Field)
CrystalReportViewer1.ParameterFieldInfo = param1Fields
Dim rpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
CrystalReportViewer1.ReportSource = strReportPath
CrystalReportViewer1.Refresh()
'Set the CrystalReportViewer's apperance and set the ReportSource
CrystalReportViewer1.ShowRefreshButton = False
CrystalReportViewer1.ShowCloseButton = False
CrystalReportViewer1.ShowGroupTreeButton = False
CrystalReportViewer1.Zoom(55)
'CrystalReportViewer1.ReportSource = cr
Any ideas?
|
|
|
|
|
hi, i woul dlik eto know is it possible to convert a system from client based to web based..in vb.net prgramming langauge..is it difficult?
how?
|
|
|
|
|
You have a windows application and you would liek to make a ASP.NET website, am I correct?
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
yes...exactly sir,is there any solution..i m runnn gout of time..
(
|
|
|
|
|
There shure is no easy solution.
If you ware coding like you should and you speerated your buissnies logic and your data access layer from your windows forms then all you have to do is write a HTML interface. If you didn't then you have a big project before you.
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Visual Basic 2005 Express Edition:
I would like to print the banner at the top of Form1 (it is a color strip that goes from dark blue to light blue) at the top of my printed page.
How can I do that?
|
|
|
|
|
Visual Basic 2005 Express Edition:
I am trying to write out a record to an SQL database table:
Private Sub WriteOutRx()
Me.RxBindingSource.Current("PatientLastName") = PatientLastName <---Error on this line
Me.Validate()
Me.RxTableAdapter.Update(Me.RxDataSet.Rx)
End Sub
Below is the error message that I got:
NullReferenceException was Unhandled
Object variable or With block variable not set.
use the 'new' keyword to create an object instance.
|
|
|
|
|
hi, i have a problem to find out the database on the oracle,i do not know where is that..for ur info. i am usin g oracle8i,
can u teach me how to get there,coz i nedd to copy them.., thank you ,,,
|
|
|
|
|
hi, i am not sure whether i have to create my system as application or what.dont have a clear picture on it, pls helpme, iis it possible to connect application to the server? thank you
|
|
|
|
|
hi ,
i am not understand what you want pls give me detail
vipin paliwal
|
|
|
|
|
ezajan wrote: iis it possible to connect application to the server
What kind of server? That little detail makes all the difference in the world...
Dave Kreskowiak
Microsoft MVP - Visual Basic
-- modified at 7:18 Wednesday 26th April, 2006
|
|
|
|
|
first of all, the database u r using, is it server2000.
go to view/sever explorer/dataconnection right click/add connection .
add the server name/ select default database table northwind, then test connection/ok
after u created this path,this will be added under dataconnection in server tree.
right click the table name copy the path, before you start ur application programming , declare dim conn as new connection=(" paste the path")
the desired fields are:connection = password, security info,userID,initial catalog, data source, workstation ID.
bye
|
|
|
|
|
hello,
anyone can help me on how to position the textbox in MSHFlexGrid cell in VB.net when i click the cell. its easy if i do it in vb6 coz of textbox.move method. there's any way in VB.net?
regards
|
|
|
|
|
wilde wrote: its easy if i do it in vb6 coz of textbox.move
TextBox.Move? That would mean that the TextBox is not in the cell, or contained by the cell, but is sitting OVER the MSFlexGrid control and just appears to be within the borders of the cell.
To do the same thing in VB.NET, all you need to do is change the Location property of the TextBox, or its Top and Left properties to the position you want. You might also have to call its BringToFront method to get it over the MSFlexGrid.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
thank you mr.dave
sorry for confusion i've made. i mean the textbox will appears within the cell when clicked. the size and location of textbox will depend on CellLeft,CellTop, CellWidth,CellHeight property.
here is the sample code from vb6
Private Sub MSHFlexGrid1_Click()
With MSHFlexGrid1
txtDataEntry.Text = .TextMatrix(.row, .col)
txtDataEntry.Move .CellLeft + .Left, .CellTop + .Top, _
.CellWidth, .CellHeight
txtDataEntry.Visible = True
DoEvents
txtDataEntry.SetFocus
End With
End Sub
how can i do this in vb.net where there is no textbox.move method?
hope you can help me!
thanks a lot for your support.
|
|
|
|