|
Environment :
I have developed an Application in VB.NET and Reports are in CrystalReports 10.
The Problem is : I call the CrystalReport rpt file using VB.NET. The crystal Report page contains the map of the USA cities and States.
In Crystal Report if i run the RPT file and move the cursor on the map, the Tool tip shows the Name of the State and Cities.
if i call the Same file using VB.NET, the report shows on IE. If i move the cursor on the map, Nothing is displayed..
So tell me what should i do to show the Cities and States as a Tool tip while calling the Crystal Report rpt file using VB.NET?
Reply Soon............... Waiting...........
Reagrds and Thanks in Advance
Jothi S.
|
|
|
|
|
Are you still waiting?
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
Use a more descriptive subject line next time.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Please, Keep in mind that the Crystal Report does not run on the web.
Because, It Uses The Server Controls that should be Buy from The Business object. The Crystal Reports You are using in the vb.net it just a small copy of the Business Object's Crystal Reports.
Arindam Banerjee
Sr. Software Developer
Rance Computer Pvt Ltd.
Kolkata (India)
|
|
|
|
|
You will be waiting always. you will not get the answer unless if you make your subject clear.
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
Hi all...
Could anybody explain me what is automation and how to use it vb.net
Since i am creating a s/w to create themes for mobile phones, i want to use automation in my program(suggested by my frnd).
Thanks.
Gagan
|
|
|
|
|
Gagan.20 wrote: suggested by my frnd).
Perhaps you had better ask your frnd then? AS far as I know, automation in the VB world generally refers to MS Office (word, Excel etc), not sure how that relates to mobile phone themes.
Of course, I could have the wrong end of the stick (again)
Bob
Ashfield Consultants Ltd
|
|
|
|
|
If you don't know what automation is, how do you know you want to use it in your application on a mobile phone??
Various applications expose component libraries that you can use to manipulate that application. Examples of this are Word, Excel, AutoCAD, ... You can use these automation libraries to launch the application of use it to manipulate the documents that application works with.
AFAIK, there are no automation libraries to change out themes in a mobile phone.
|
|
|
|
|
Hi all...
I am using VS2005 with MS Access 2003.
I am creating a simple database program to store contacts.
I want to know that what should be datafield in access2003 to store image
and how can i store/retrieve image to/from database.
Thanks.
Gagan
|
|
|
|
|
Have you tried to Google[^] your question?
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
Try defining a column as "OLE Object". I just did it and it worked. When you edit the table in datasheet view, right-click on OLE Object column, choose Insert Object and choose Bitmap Image. I then had to copy and paste an image into Paint to load the image into the table.
Create a form with the OLE Object column and you will see the image displayed on your form.
I'm not sure if I would use this technique if your database is going to have thousands of images stored, the database size could grow to an unmanageable size.
|
|
|
|
|
Thanks for your help.
OLE Object is working.
Gagan
|
|
|
|
|
i wants to fill propertygrid , but i don;t wants to fill this propertgrid from class properties . becuse class properties are fixed, but in my requirements its not fixed . properties name and values are static.
Muhammad Ismail Khan
SoftWare Developer CRM(Islamabad), Pakistan
|
|
|
|
|
Please stick to the one thread. What do you mean 'class properties' ? The properties on the class are the only ones you can set on the class.
Christian Graus
Driven to the arms of OSX by Vista.
"Iam doing the browsing center project in vb.net using c# coding" - this is why I don't answer questions much anymore. Oh, and Microsoft doesn't want me to.
|
|
|
|
|
What happened to the rum?
|
|
|
|
|
You can't do this. The PropertyGrid only works with Public properties of a class.
|
|
|
|
|
ya i need it .... and then wants to assign this object
to propertygrid..
Muhammad Ismail Khan
SoftWare Developer CRM(Islamabad), Pakistan
|
|
|
|
|
That's the most retard question ever. What properties ? Assign how ? I suspect you want to use reflection, but it's just not remotely clear to me why you'd have to - if you know the object, write code to set it's properties. Why would your code be given objects it knows nothing about ?
Christian Graus
Driven to the arms of OSX by Vista.
"Iam doing the browsing center project in vb.net using c# coding" - this is why I don't answer questions much anymore. Oh, and Microsoft doesn't want me to.
|
|
|
|
|
Christian Graus wrote: That's the most retard question ever.
I wouldn't go that far, but its got to be a good candidate
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Is it still rum-time? Hold the ice, please
http://www.codeproject.com/script/Forums/View.aspx?fid=1646&select=2785076&fr=26#xx2785076xx
Adding a property to a class, during runtime? You could generate the code for a class that inherits everything, compile it during runtime, and dynamically load the generated assembly. Though it may be technically possible, it's a bad idea.
What are you trying to achieve?
|
|
|
|
|
eddyvluggen wrote: What are you trying to achieve?
Yeah, I already said the same thing you did. This is his reply to the very same question. Since he refuses to get off the idea and say "I just need it!", I refuse to help and point out any other possible solutions that would be easier to implement and support.
|
|
|
|
|
i am sending messages over the network.
i am doing that by first creating a message object and it has :
-timecreated as date
-priority as integer
-sourcenode as enum (what part of the sender is creating the message)
-targetnode as enum (wat part of the reciever has to solve the message)
-sourcename as string (the sender name)
-targetname as string (the reciever name , because multiple receivers could be on the same socket)
-command as enum (to tell the part of the reciever what to do)
-pvalue1 as object (custom extras)
-pvalue2 as object (custom extras)
-pvalue3 as object (custom extras)
these messages are (de)serialized to :
- string , to show them to my logscreens, and script them when needed in the future
- stream , to send them over the network
My Problem is with the command-enum , my list is becoming extremely big !
I am now in the progress of changing the enum into a class , with x number of classes in it, with x number of enums in it.
I am doing this because it looks/feels nice when i type code , meaning : CmdE.General.Nada
But now my questions start:
-do i have to declare command as object , is there a trick to not have to ?
-how do i check if command = cmde.general.niks ?
-do i have any heavy changes to expect ?
Jarno Burger
Video Jockey
|
|
|
|
|
Hi,
I don't think you can achieve hierarchical enums. This is the closest I got
(sorry, I am using C# here, I trust VB.NET supports similar things):
abstract class enumbase {
public enum general { };
public enum special { };
}
class cmdA : enumbase {
public new enum general {
een, twee, drie
}
public new enum special {
een, twee, drie
}
}
class cmdE : enumbase {
public new enum general {
niemendal1
}
public new enum special {
niemendal2
}
}
class test {
enumbase.general my0=cmdE.general.niemendal1;
enumbase.general my1=cmdA.general.een;
enumbase.special my2=cmdA.special.twee;
}
and now the problem is the "my" things have a specific type, there is
no user-selectable base type for all the enums (enumbase is not OK
since that is a class, whereas the "my" things are enum values, hence ints.
One ugly way to overcome this is by using ints and casting, as in
int my0=(int)cmdE.general.niemendal1; . If you do so, there
is no need for the abstract class enumbase any more, since you can cast
all unrelated enums to ints anyway.
Having no way to do this ina clean way seems logical, you probably want
all enum values to be different, the only way to enforce that in programming
languages such as C/Java/C# is by putting them all inside a single large enum.
And unfortunately you can't split them in multiple files, since
the compiler won't let you add a "partial" keyword to an enum statement.
So you are stuck to either one huge enum, or, if it fits the application,
a non-OO approach, with some bit fiddling:
assume cmd is an int with some bits indicating top-level command,
next few bits indicate next-level subcommand, etc.
int cmd=...;
int topLevelCommand=cmd & topLevelBitMask;
object command=topLevelDictionary[topLevelCommand];
int nextLevelCommand=cmd & nextLevelBitMask;
object subcommand=command.Dictionary[nextLevelCommand];
..etc
Maybe this scheme suits your needs, maybe it does not.
modified on Wednesday, October 29, 2008 9:37 PM
|
|
|
|
|
If you want the command to be an enum, you have to have all the values in the same enum. However, you can create static classes with properties to create an hierarchy for the values:
Enum AllCommands
General_Nada
Error_IO_FileNotFound
Error_IO_PathNotFound
Error_Access_Denied
End Enum
Public Shared Class Command
Public Shared Class General
Public ReadOnly Property Nada As AllCommands
Get
Return AllCommands.General_Nada
End Get
End Property
End Class
Public Shared Class Error
Public Shared Class IO
Public ReadOnly Property FileNotFound As AllCommands
Get
Return AllCommands.Error_IO_FileNotFound
End Get
End Property
Public ReadOnly Property PathNotFound As AllCommands
Get
Return AllCommands.Error_IO_PathNotFound
End Get
End Property
End Class
Public Shared Class Access
Public ReadOnly Property Denied As AllCommands
Get
Return AllCommands.Error_Access_Denied
End Get
End Property
End Class
End Class
End Class
Now you can get the FileNotFound command either by using AllCommands.Error_IO_FileNotFound or Command.Error.IO.FileNotFound .
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
I would like to know if there is a way to capture the event of another class??
|
|
|
|