|
You also have to add it to the Controls collection on the form.
|
|
|
|
|
are you missing this ??
Me.Controls.Add(b1)
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
You forgot to add the button to the Form.Controls set. Use
Me.Controls.Add(b1)
inside the form.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
|
I hope you got the answer to your question, but also remember
Me.controls.Add() adds control to form
so you can also manipulate it to add like
groupbox1.controls.add
panel.controls.add
etc
Just take Note of Parent Control
Develop2Program & Program2Develop
|
|
|
|
|
|
hi all
i have VS2005 without crystal report
so i will use report
i want help for
How to creat report with parameter passing
(also don't know how to creat report)
|
|
|
|
|
where is the problem lying i parameter passing .
|
|
|
|
|
actully i don't know how reports generet
|
|
|
|
|
Tell me something about ur requirement.
|
|
|
|
|
ok sir
i have one application in that i save image,id,date in table
i want view datewise report
such as all yesterday's record
|
|
|
|
|
u mean on date 01/01/2007 02/01/2007 03/01/2007
1 2 3
1,2,3 ae the date related to the 01/01/2007 ,02/01/2007,03/01/2007 dates respetively.
u want to display the epot in the above pattern.
|
|
|
|
|
can u help me
pls send me link or code
|
|
|
|
|
the thing is u have to develop the eports uself.
All I can do is , I can tell u the way , how to proceed.
First include a report file to ur project
then u will see a dialog box , select the coss tab there
the next page is for new connection creation
select the new connection creation and collapse the plus button
select the type eg access
click next
select the database
after this u will get the tables .
select the table u want.
after then click next
do the linking between the tables(relation between the tables.)
then u will get a dialog box
select the field for the heading
like on the paticuar date u have to show it's product.
select the date field likewise for the columns
and for the summary field select the field that u want to display under the date.
and remaining for the rows.
and finally click finish
Hope thid will help u.
|
|
|
|
|
sir
can u tell me that
where is report file
(how can add it)
I added report from windosForm
it shows report with following msg
"To creat a report layout,drag items from the toolbox & fileds list & drop them here"
what i do
|
|
|
|
|
Mam,
right click on the project in solution explorer and click to add--- add new item
select the report file(.rpt)
|
|
|
|
|
sir
i tried to follow it
but there is not .rpt
there is .rdlc
so I changed it as .rpt and it showed as
<code><?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Width>6.5in</Width>
<Body>
<Height>2in</Height>
</Body>
<rd:InitialLanguage>true</rd:InitialLanguage>
<rd:InitialDimensions>
<rd:UnitType>Inch</rd:UnitType>
<rd:LeftMargin>1in</rd:LeftMargin>
<rd:RightMargin>1in</rd:RightMargin>
<rd:TopMargin>1in</rd:TopMargin>
<rd:BottomMargin>1in</rd:BottomMargin>
<rd:PageWidth>8.5in</rd:PageWidth>
<rd:PageHeight>11in</rd:PageHeight>
<rd:ColumnSpacing>0.5in</rd:ColumnSpacing>
</rd:InitialDimensions>
<rd:InitialDimensions>
<rd:UnitType>Cm</rd:UnitType>
<rd:Width>16cm</rd:Width>
<rd:Height>5cm</rd:Height>
<rd:LeftMargin>2.5cm</rd:LeftMargin>
<rd:RightMargin>2.5cm</rd:RightMargin>
<rd:TopMargin>2.5cm</rd:TopMargin>
<rd:BottomMargin>2.5cm</rd:BottomMargin>
<rd:GridSpacing>0.25cm</rd:GridSpacing>
<rd:PageWidth>21cm</rd:PageWidth>
<rd:PageHeight>29.7cm</rd:PageHeight>
<rd:ColumnSpacing>1cm</rd:ColumnSpacing>
</rd:InitialDimensions>
</Report>
</code>
where is problem?
|
|
|
|
|
u r doing window applicatons or web applications?
|
|
|
|
|
|
then find the crystalreports .rpt file, it is there .add it to ur project.
|
|
|
|
|
sir
actully Crystal report is not installed by admin
I am student & not permissions to do it
is there any way for report generation
|
|
|
|
|
then ask ur adminitrator to install it now.Simple
|
|
|
|
|
|
****************sigh*****************
|
|
|
|
|
HI,
i'm trying to develop an application that will call VB C++ ocx funtion. When i try run in Visual basic 6.0, everything run smootly,but after i created an exe file and try run with the exe file. It will prompt out an error message "Automation Error The Object invoked has disconnected from client -2147417848". Have anyone know how to solve it?
I am appreaciate if anyone can guide me.
kelvin
|
|
|
|