|
This means one of two things:
1 - I can't work out how to use google
2 - I'm asking for help in stealing software
If 1, it's pretty simple. If 2, we're not going to help you. SQL Express is free, and easy to find online. SS2005 is not free, and you need to buy it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I am working with a project where there is a need of report generation.
I had developed the report in crystal reports.
All the data is view properly but the only problem is images.
Images i am accepting the data through richtextbox.rtf into the data base and displaying the data back to crystal report using the data object with setting the property o display rtf data.
But it only loads the text data from the database but not the images between the text.
Any help would be great...
Thankx
Jats
|
|
|
|
|
You might want to ask this question with BusinessObjects support. I don't know if CrystalReports supports inline images in RTF fields.
[EDIT]
Well, my Google-Fu has failed me but briefly. CrystalReports doesn't support any image tags in RTF data. You can find more on it here[^].
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
This is the code:
1.Dim mm As ArrayList = New ArrayList
2.Dim i As Integer
3. For i = 0 To intTotParam - 1
mm.Add(arrInputFileData(arrPosition(i)))
Next
4. Dim ss As String() = mm.Item(0)
5. MessageBox.Show(ss(0))
I am getting the error "Specified cast is not valid" at line 4.
Actually i need to sort the arraylist and find the largest element.
Retrieving the strings that has been added in the arraylists is of primary importance in my project and needed at many places.
Please help me out
|
|
|
|
|
You can't convert an object to a string just like that.
Try converting it to string format first.
|
|
|
|
|
can you give me the code
for converting the object to string format
and displaying in message box
|
|
|
|
|
This is why arraylist totally sucks. You can't use VB.NET 2.0 ?
object has a ToString() method, that's the best way to convert to string.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I tried the following
Dim ob as object
for each ob in tempArray
dim m as string
m=ob
next
if ob had ToString Method it should have shown...but it only has to
GetType method.
Seems there is no way to retrieve strings from the arraylists
|
|
|
|
|
Try Cstr(ob)
Mubashir
Software Architect
Storan Technologies Inc, USA
Every job is a self portrait of the person who did it.
|
|
|
|
|
EVERYTHING in .NET has a ToString() method. It's guarenteed.
srikanth_nair wrote: Seems there is no way to retrieve strings from the arraylists
Rubbish. If it's a string, you can cast it to string. The issue is, the ArrayList is nasty, it stores objects, ToString would not crash, no matter what the object is.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
srikanth_nair wrote: Dim ss As String() = mm.Item(0)
It doesn't work because you tried to convert an object (you didn't say what was stored in arrPosition()), stored in element 0, to an Array of Strings as specified by your String() declaration.
I believe it should have been:
Dim ss As String = mm.Item(0).ToString()
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
How do you validate users input against access database using select statement on vb.net.
LG Pikiso
DME
SDM
+27733100331
|
|
|
|
|
It depends how the data is structured.
|
|
|
|
|
hello,
i have 2 images, both loaded into pictreboxes. Now, i want to compare the pixels using System.Drawing.Bitmap.GetPixel, but i don't know how to do this i tried several things like a for.. next but that didnt work so can someone please give me a code snippet on how to compare 2 images using the GetPixel method??
Thanks in advance, Zaegra
--Zaegra--
|
|
|
|
|
You need a nested loop to compare the x and y directions. You need to post your code for us to understand where you're failing in what is a pretty straightforward task.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I have encorporated Window media Player in my Vb.net Project. I am getting the different different Urls and want to play through my media player. But I am not able to play these Urls through media player.Please help me .
I am storing the url in string like str
and then giving the command
windowmedia1.url=str
but it is not playing anything
namita
|
|
|
|
|
I don't use MediaPlayer at all, but it would appear that you have to set the URL property, then call the Play method of the CtrlControls collection.
myPlayer.URL = "some URL..."
myPlayer.Ctlcontrols.play()
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Guys,
Does anyone here can help me to create a utility program in vb6 that will prevent certain exe program from running? Can anyone give me code snippets.
Thanks!
Chito
|
|
|
|
|
That's physically not possible. How would you hope it would work ? If it were possible, VB6 isn't going to do it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
You can't do what you want because you'd have to hook Windows Loader to do it. This is "black-art" type stuff that has very little to no documentation on how to do it. Any examples of hooking API functions are going to be in C++ and do things that VB6 is no capable of producing a .DLL or .EXE for.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Hi all. I have a listview with images and my application must be able to rotate one image. I need a method to rotate 90 degrees rigth (i.e.).
Is that possible?
Regards,
Diego F.
|
|
|
|
|
Try using this:
Load the image from the listview in a picturebox.
Then:
PictureBox1.Image.RotateFlip(RotateFlipType.Rotate90FlipNone)
And then load it back into the listview.
I think that might do the trick.
--Zaegra--
|
|
|
|
|
I'm tryint that but it doesn't work
If DADLV1.SelectedItems.Count > 0 Then
Dim pb As New PictureBox
Dim indice As Integer = DADLV1.SelectedItems(0).ImageIndex
pb.Image = ImageList1.Images(indice)
pb.Image.RotateFlip(RotateFlipType.Rotate180FlipXY)
DADLV1.Refresh()
End If
Regards,
Diego F.
|
|
|
|
|
Why would you do this ?
ImageList1.Images(indice).RotateFlip(RotateFlipType.Rotate180FlipXY)
is all you need, unless it returns an image, then you may need
ImageList1.Images(indice) = ImageList1.Images(indice).RotateFlip(RotateFlipType.Rotate180FlipXY)
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Yes, i didn't think of that but that method is way better.
--Zaegra--
|
|
|
|