|
Your english seems fine, I'm just having trouble seeing the relevance of the question to a C# forum or programming in general.
Who's html code, yours or another site. Some detail of what you are trying to achieve may be useful.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
|
I have a c# application & i want to install this application in the drive where the operating system is currently installed..................... can you tell me the code just to know in which drive is the operating system installed(like 'C','D')..............then i will work it out..
Thank you
|
|
|
|
|
Hi,
there are many ways to get such information.
One is by looking at some of the environment variables (e.g. WINDIR).
An easier one is using Environment.GetFolderPath(SpecialFolder.System)
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.
|
|
|
|
|
Thanks muchness Luc. 
|
|
|
|
|
all of you are welcome.
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.
|
|
|
|
|
I wonder if you are helping 2 people with the identical problem, or the guys schitsophrenic and can't decide which identity to use!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
2? its much more complex, you don't want to know, trust me.
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.
|
|
|
|
|
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
|
|
|
|