|
Ok dude.............i will try it
|
|
|
|
|
I have made an application in c# and I also have a flash file(xx.swf) .............. and i want this flash movie to be displayed as an Splash screen.......................................... so can you help me how to do that?
Thank Y0u
|
|
|
|
|
Seems to be plenty of resources[^] out there for this question
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Use Shock Wave Flash Object we can play the .swf file in our application.
Right Click the Tool Box-> Choose Items->COM Components->Shock Wave Flash Object.
Now control add on your tool box, click and drag the control and give the Movie URL and Base URL.
Movie URL - *.swf;
Base URL - *.fla.(Base URL is Optional)
---- Vasanth.A
|
|
|
|
|
oh .... good one ... i will check it out ...... but one my friend here gave me resources on how to get them ..................... but there are 2 *.dll files (ShockwaveFlash and AxShcokwaveFlash) ............ but I cant find the 2nd one but it is really hard form me to play them using the first dll ...... any ways i will keep on trying
Thank you...
|
|
|
|
|
Hey man ............... thats what am talking about ....................... you got it ...................... thanks for your help .......................
I was finding such kind of man for weeks .... and that is cool .......
|
|
|
|
|
it ok man i sent what i know. you are welcome 
|
|
|
|
|
I doesn't work in my computer.When i want to add it on the form it give me an error message(You must register this commponet).Thank u.
CanI
|
|
|
|
|
Hi..
I Want to upload pic in picturebox in runtime through database coz the pic location is save in my database
how can i do this plzz tell me
Thanls In advance
jawad kahtri
|
|
|
|
|
Is it only location which is saved in database or the image?
In case, it is only location you can use
Server.MapPath(##resultfrom DB##)
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Yes only location.
Server.MapPath(##resultfrom DB##)
Server = databsename??
result from db = feild name???
|
|
|
|
|
mjawadkhatri wrote: Server = databsename??
Server.MapPath[^]
mjawadkhatri wrote: result from db = feild name???
The result which you get from the database.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi..
How to add two textbox text in one field of database??
thanks In advance
jawad kahtri
|
|
|
|
|
mjawadkhatri wrote: Hi..
How to add two textbox text in one field of database??
string str = textbox1.text + textbox2.text;
and add the str to database field.
Regards,
Karthik K...
|
|
|
|
|
Hi All,
I want to sort collections..
// Class
public class Item
{
public String Name{get;set;}
public int Cost{get;set;}
public Item(string name,int cost)
{
Name=name;
Cost=cost;
}
}
// Collection of Data
List<item> items=new List<item>();
items.Add(New Item("House",100));
items.Add(New Item("Car",80));
items.Add(New Item("Dog",10));
items.Add(New Item("Car",50));
items.Add(New Item("Cycle",25));
items.Add(New Item("Car",120));
Note:
Provide code to sort a collection of Item. The code should sort the Item collection only one time, following this rule: The Items should be ordered by their names (following the standard C# API for string ordering), but if two Items have the same name, then those Items should be ordered by their cost, with the lower cost item to appear before the higher cost item.
I appreciate somebody provide solution for the same.
Thanks & Regards
Rao
|
|
|
|
|
IEnumerable<Item> sortedItems = from i in items
orderby i.Name, i.Cost
select i;
Also look here[^], for more complex examples.
Uri
|
|
|
|
|
Thanks...
Thanks & Regards
Rao
|
|
|
|
|
Use this
public class Item : IComparable
{
public String Name{get;set;}
public int Cost{get;set;}
public Item(string name,int cost)
{
Name=name;
Cost=cost;
}
int Icomparable.CompareTo(object obj)
{
Item other = (Item) obj;
If this.Name < other.Name return -1;
If this.Name > other.Name return 1;
If this.Cost > other.Cost return 1;
If this.Cost < other.Cost return -1;
return 0;
}
}
Then you can just do items.Sort()
Probably worth having a look at IComparable and IComparer interfaces.
You could alsi look at using List<t> in generics namespace.
Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis
|
|
|
|
|
riced wrote: Item other = (Item) obj;
If this.Name < other.Name return -1;
If this.Name > other.Name return 1;
If this.Cost > other.Cost return 1;
If this.Cost < other.Cost return -1;
return 0;
Item other = (Item) obj;
int diff=string.Compare(this.Name, other.Name);
if (diff==0) diff=this.Cost-other.Cost;
return diff;
And using a generic IComparable, you wouldn't need the cast.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
That's much neater.
Looking at the OPs code I think they are a beginner, that's why I did it like I did and suggested looking at the interfaces.
Regards
David R
---------------------------------------------------------------
"Every program eventually becomes rococo, and then rubble." - Alan Perlis
|
|
|
|
|
Thanks..
Thanks & Regards
Rao
|
|
|
|
|
Hello All,
Is it possible to read from the working set of physical memory of a process I have identified (but do not have source control over) on my machine? Also trying to automate the windows forms associated with that process. I have been through the win32 api and have been able to get the handles I want, but cannot, for example, access controls or any other property other than handle and text(title).
Thanks in advance.
|
|
|
|
|
Hi,
yes you can interact with the memory belonging to another process; it takes P/Invoke to call Win32 functions such as ReadProcessMemory, WriteProcessMemory, VirtualAllocEx
I would suggest you search this site for articles with such keywords.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
how can i use the openCv with c# 2003 or 2005,,
any help please,,
thanks for anyone who will help..
best regards,
|
|
|
|
|
It took me 5 seconds to search in Google and get this[^] including a highly rated article[^] on this very site!
You waited half an hour to to be told, what you could have found in 5 seconds
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn) Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia) Why are you using VB6? Do you hate yourself? (Christian Graus)
|
|
|
|