|
well Dave thanks for reply . While reading your message I got the idea instead of using auto compression I shall ask user to do it him self . I shall provide one software compression utility in my application and he will compress it as much as he wants and can view it visually to make it best.
|
|
|
|
|
jpg is lossy
gif is 256 colour
bmp is huge
I'm not sure if tif is lossy or not, but I'd suggest that if your tifs are too big, then tif probably ( like jpg ) allows you to set the compression rate, which means it's probably lossy.
It doesn't matter - to do any work with images, they need to be in raw format in memory ( in fact, there's no other way to deal with them in any meaningful way ). So let GDI+ offer it's full range of image formats, and let your users make their own decisions about space/quality.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
How to make date selection work like if i want to select all data which the date was between 5/11/2005 and 6/7/2005.
And how to calculate if the differences from date above is 34 days, or how many month differences.
So far im using dataview.rowfiler to filter filled datatable from certain date to date, like this:
dv.RowFilter = "date < '" & DateTimePicker1.Value.Date & "'"
but sure above code doest work(not error) and return no value.
|
|
|
|
|
go to index of your MSDN
write dataview
in the list click searching under dataview and I hope this will solve your problem
|
|
|
|
|
I have a project done in VB.net, that I just cannot make work. Would someone be willing to let me e-mail it to them and explain to me how to fix it. TIA
|
|
|
|
|
if you could explain it little more then it would be easy for us to do this.
by the way you can mail me the project at
rbashir@alm-soft.com
|
|
|
|
|
Rizwan Bashir wrote:
by the way you can mail me the project at
rbashir@alm-soft.com
i don't agree, the question is public, that means everyone can answer, but also everyone could read the issue of the problem....
if one answer by e-mail, so we lose badly this point of view...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Dont worry you will get the solution and problem in the forum once I come to know the bug ..
so just relax
|
|
|
|
|
Based on experience, this tends not to happen, which is why people are often warey of answering directly by email. I certainly don't. I always refer people back to the forum. I have been toying with the idea of charging a consultancy fee for private off-forum assistance, but I just don't think that will work either.
My: Blog | Photos
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More
|
|
|
|
|
well Guys its time to disclose the problem. the guy was new and wanted help in building a form. well I told him to read some books and solve the problem. You can also do so . if the problem presist contact me for technical support
cheers..........
|
|
|
|
|
|
hello, can someone tell me how to add coding to every button in a toolbar please?? Thanks for your feedback!
Adrian
|
|
|
|
|
double cclick on the toolbar and in the event opened use this
If e.Button Is tbButtonName Then
msgbox "tbButtonName is clicked"
ElseIf e.Button Is tbBtnTest Then
msgbox "Test Button is clicked"
end if
' where tbButtonName and tbBtnTeSt are the names of button on toolbar
|
|
|
|
|
thanks alot!! now how can i separate button from a button? seperate from distance!
Adrian
|
|
|
|
|
I dont think you can do this...if any one knows lets wait for his reply
|
|
|
|
|
just add another button to the toolbar and set it's style to separator. you acn add as many as you'd like to increase the size of the separation.
-jim
|
|
|
|
|
How to pass the value from vb to crystal report?
For example value text in textbox = "Company" can appear in my crystal report.
Thanks
|
|
|
|
|
Make Parameter and pass the values to display..
.. I have copied this code from my project and removed couple of parameters to make it easy. if any line is extra or has not concern it means I for got to delete that...
' note ::: crpt is the crystal report component...
Dim opt As New report1
Dim paramFields As New CrystalDecisions.Shared.ParameterFields()
Dim paramFieldsRoom As New CrystalDecisions.Shared.ParameterField()
Dim paramField As New CrystalDecisions.Shared.ParameterField()
Dim discreteValTotal As New CrystalDecisions.Shared.ParameterDiscreteValue()
paramFieldsTotal.CurrentValues.Add(discreteValTotal)
paramFieldsTotal.ParameterFieldName = "TotalPages"
crpt.ParameterFieldInfo.Add(paramFieldsTotal)
opt.Load()
opt.Refresh()
' if any selection formula
' opt.RecordSelectionFormula = SelectionFormula
crpt.ReportSource = opt
crpt.Show()
|
|
|
|
|
The paramfields, paramfieldsroom etc will appear in "Parameter field" at crystal report design right?
|
|
|
|
|
|
Can i know what value you pass from your code?
|
|
|
|
|
use MSDN write Parameters and in the list check crystal you will get some code. this is also from there
Dim paramFields As New ParameterFields()
Dim paramField As New ParameterField()
Dim discreteVal As New ParameterDiscreteValue()
Dim rangeVal As New ParameterRangeValue()
' The first parameter is a discrete parameter with multiple values.
' Set the name of the parameter field, this must match a
' parameter in the report.
paramField.ParameterFieldName = "Customer Name"
' Set the first discrete value and pass it to the parameter
discreteVal.Value = "AIC Childrens"
paramField.CurrentValues.Add(discreteVal)
' Set the second discrete value and pass it to the parameter.
' The discreteVal variable is set to new so the previous settings
' will not be overwritten.
discreteVal = New ParameterDiscreteValue()
discreteVal.Value = "Aruba Sport"
paramField.CurrentValues.Add(discreteVal)
' Add the parameter to the parameter fields collection.
paramFields.Add(paramField)
' The second parameter is a range value. The paramField variable
' is set to new so the previous settings will not be overwritten.
paramField = New ParameterField()
' Set the name of the parameter field, this must match a
' parameter in the report.
paramField.ParameterFieldName = "Customer ID"
' Set the start and end values of the range and pass it to the 'parameter.
rangeVal.StartValue = 42
rangeVal.EndValue = 72
paramField.CurrentValues.Add(rangeVal)
' Add the second parameter to the parameter fields collection.
paramFields.Add(paramField)
' Set the parameter fields collection into the viewer control.
crystalReportViewer1.ParameterFieldInfo = paramFields
crystalReportViewer1.ReportSource = "c:\reports\my report.rpt"
|
|
|
|
|
I can display simple discrete value already, but when i refresh crystal report viewer why there is pop up message to input the discrete value again? I wan to remove this.
And for range value i failed, what is it for? when it is displayed what we can see?
|
|
|
|
|
you are missing some parameter to pass. the value which are getting prompt is the one. if you have assigned this value in parameter then I guess you missed to assign parameter to the report. you are creating a parameter vaue but not attaching it to the report
|
|
|
|
|
SqlDataAdapter2.Fill(DataSet21, "accounts")
crystalReport11.SetDataSource(DataSet21)
Dim pFields As New ParameterFields
Dim pField As New ParameterField
Dim disVal As New ParameterDiscreteValue
Dim rVal As New ParameterRangeValue
pField.ParameterFieldName = "Test"
disVal.Value = "CodeProject"
pField.CurrentValues.Add(disVal)
'rVal.StartValue = 150
' rVal.EndValue = 200
'pField.CurrentValues.Add(rVal)
pFields.Add(pField)
CrystalReportViewer1.ParameterFieldInfo = pFields
CrystalReportViewer1.ReportSource = crystalReport11
============================
Above code i have not make use of range value yet.
Parameter Filed named "Test" is the one i create in crystal report at design time and i drag and drop this field somewhere in my report design. First I load it is fine and display CodeProject and when i press refresh button from crystral report viewer, a dialog box pop up and ask me to input discrete value again where it suppose show CodeProject again and no need user input anymore. and i guess i have assing value to the parameter. or not?
|
|
|
|