|
My Goal: Run a report with a bmp image on it. I want each time I run the report to be able to pull the image in. The name of the image will never change but the image will.
Problem: When I run report the image never changes like crystal reports is saving the original image somewhere, but where?
How do I get crystal reports to grab the new created image file?
Thanks. I am new at Crystal reports.
|
|
|
|
|
If you embed the image in the report from a bmp on the file system, it gets embedded into the RPT file and is not referenced from the file system again.
Storing files (images) in the DB sucks, but you can put the img in the database and have it show up on the report. When the db image changes, the report image changes and you would get the behaviour you want.
|
|
|
|
|
I have found that this is not only a problem with crystal reports with images, but also those that do not have parameters passed to them.
I have got around this in the past by passing the report a datetime value of now. The report when run detects that there is a change and does not cache the data.
I hope this has been helpful.
Regards
|
|
|
|
|
Hi friends it's my first participation in this forom and i hope to find a solution to my problem.
I want to build a program (with c++ or vb or borland c++ or other)
1/this program extract some columns from an excel file A (extension .xls) ,an other B (extension .csv) and file C (extension .dat) to a 4th excel file D(.xls).
2/I will then put file D in a data base.
I'm not good in programmation and i wish that u can help me to do the 1st step of my prog.
i'm waiting your popositions .thank u
|
|
|
|
|
In the following link you can find how to extract data from excel from vb then you can try it for inserting it into excel and then ultimately save it in database.
Extract Excel Data from VB^
|
|
|
|
|
I have make a class tha inherits from a composite control and implements a iscript control to implements a script class with a control then i have put a button inside update panel with a textbox after that i have written a script that handles a change event for a textbox,now the problem when i run the program then when i change the text in textbox it works normal but when i press the buton and try to change the text in textbox the function that handels a change event does not work
in other words it seems no handels for change event
whats the solution for that
with my regards
Aloways go ahead
|
|
|
|
|
|
Well, subject tells everything ...
I can't find what := does in VB.NET ...
Here's one example ...
SwitchDesktop(hDesktop:=p_lngHwnd)
Can anyone tell me ?
thanks
|
|
|
|
|
|
Are you telling me that ":=" is the same as "=" ?
But then why does it exist ?
|
|
|
|
|
This might be able to help you[^]. It is also possible that, that is VB6 syntax.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
Sorry, couldn't find ":=" at that link. But thanks
And I don't know if it existed in VB6 ...
|
|
|
|
|
It's for named parameters. For example:
Sub ShowMsg(ByVal a as String, ByVal b as String, ByVal c as String)
MsgBox(a & b & c)
End Sub
Sub Main()
'Notice how a, b, and c are out of order.
ShowMsg(c := "!", b := " World", a := "Hello")
End Sub
|
|
|
|
|
Thank you very much, now I understand !
|
|
|
|
|
Unless I am mistaken, := allows you to pass variables by name vs. by position (example below is freehand).
Example sub: sub test (byval Value1 as string, byval Value2 as integer, byval Value3 as object)
Normal way to call by position: Call sub test("value1", 2, new object)
call by name: Call sub test(Value3:= New object, Value2:=2, Value3:="doh!")
Generally you see the := used in attributes.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
|
|
|
|
|
Thanks, now I understand !
|
|
|
|
|
you can use it to assign values like you did in that function call...say some of those are optional and you want to assign directly to the variable name..
--
"Keyboard not found. Press < F1 > to RESUME. "
Source unknown (appears in many common BIOSes as a real error message)
|
|
|
|
|
in my 16 years experience in VB, ive never use this sign :=
|
|
|
|
|
I know I should probably post this in the XML-forum, but since I code in VB.NET I posted it here. I have a problem: I am trying to save data in a XML-document, but when I try to do so, I get an error message telling me that special characters are not allowed. Since I do want to save special characters in my document, I'd like to know if there is a way around this, so that my program can input and output special characters.
Thanks in advance,
Zaegra
Motivation is the key to software development.
|
|
|
|
|
Zaegra wrote: I know I should probably post this in the XML-forum
Still, you did that...
Zaegra wrote: Since I do want to save special characters in my document, I'd like to know if there is a way around this, so that my program can input and output special characters.
Have a look at this[^]
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi,
I'm using xhttp to send a xml file to another remote place wiht POST method. In the place xhttp.send I got the error "the system cannot locate the resource specified". The size of the xml file is 473 kb. I've checked it works fine in my lan. What may be the problem??
Pls, help me.......
Thank You,
Rishi.
WinCrs
|
|
|
|
|
hi
I m Working on vb.net window application.
Actually I want to get the Session Data using Session id in my application.
please help me
thanks in advance
|
|
|
|
|
A client application doesn't use sessions, as it's a single user environment.
What is it that you are trying to accomplish?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
my problem is how to connect more then two table in single DataGridView like a DataGridViewComboBox1 connect one master table1, DataGridViewComboBox2 connect one master table2
at a same time in the two column data’s save in transition table1,
How can I do please help me. This is major problem
Please mail me it is argent
Franics K Antony
|
|
|
|
|
Hi,
I'm trying to save a dataset contents in a .csv or text file. The following code I've written.
My problem is "my.Computer.FileSystem.WriteAllText("d:\testcsv.csv", str.ToString, False)" in this line "my" is showing error always saying "my" is not declared. How to solve this problem.
Imports System.Text
Imports System.Data
Imports System.IO
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim str As New StringBuilder
SqlDataAdapter1.Fill(DataSet11)
For Each dr As DataRow In Me.DataSet11.stockm
For Each field As Object In dr.ItemArray
str.Append(field.ToString & ",")
Next
str.Replace(",", vbNewLine, str.Length - 1, 1)
Next
Try
my.Computer.FileSystem.WriteAllText("d:\testcsv.csv", str.ToString, False)
Catch ex As Exception
MessageBox.Show("Write Error")
End Try
End Sub
|
|
|
|