Click here to Skip to main content
15,896,153 members
Home / Discussions / C#
   

C#

 
GeneralRe: Converting Firefox's icon string to the image !!! Pin
Mohammad Dayyan22-Jun-08 4:14
Mohammad Dayyan22-Jun-08 4:14 
QuestionHow to stop running thread ? Pin
Yanshof22-Jun-08 3:29
Yanshof22-Jun-08 3:29 
AnswerRe: How to stop running thread ? Pin
Guffa22-Jun-08 3:33
Guffa22-Jun-08 3:33 
AnswerRe: How to stop running thread ? Pin
half-life22-Jun-08 5:03
half-life22-Jun-08 5:03 
GeneralRe: How to stop running thread ? Pin
N a v a n e e t h22-Jun-08 5:39
N a v a n e e t h22-Jun-08 5:39 
AnswerRe: How to stop running thread ? Pin
N a v a n e e t h22-Jun-08 5:37
N a v a n e e t h22-Jun-08 5:37 
AnswerRe: How to stop running thread ? Pin
Joe Woodbury22-Jun-08 12:15
professionalJoe Woodbury22-Jun-08 12:15 
QuestionIWshRuntimeLibrary Pin
Waheed Ur Rehman22-Jun-08 2:31
Waheed Ur Rehman22-Jun-08 2:31 
i am creating a shortcut for google using IWshRuntimeLibrary. My code is like this
shortcut1 = (IWshRuntimeLibrary.IWshShortcut)WshShell.CreateShortcut(@"C:\Google.lnk");
shortcut1.TargetPath = "http://www.google.com";
shortcut1.Description = "Open Google";
shortcut1.IconLocation = "C:\\icon.ico";

it works quite good.
The problem that i have is when i copy it to another system the icon image is not displayed. I know the problem is
shortcut1.IconLocation = "C:\\icon.ico";
where i specify the icon path on the other system it does not exist. One solution is to copy the icon in C drive but i don't need this.
What i need is this there should be no need to copy icon.
Is there any way to do this that i dont have to copy icon just copy the shortcut.
One possibility is to use windows icons but i want to use my own image(icon).
AnswerRe: IWshRuntimeLibrary Pin
Guffa22-Jun-08 3:36
Guffa22-Jun-08 3:36 
QuestionHow add string to text box in way that the string structure will be same in each line ? [modified] Pin
Yanshof21-Jun-08 23:05
Yanshof21-Jun-08 23:05 
AnswerRe: How add string to text box in way that the string structure will be same in each line ? Pin
User 665821-Jun-08 23:45
User 665821-Jun-08 23:45 
GeneralRe: How add string to text box in way that the string structure will be same in each line ? Pin
Yanshof21-Jun-08 23:50
Yanshof21-Jun-08 23:50 
GeneralRe: How add string to text box in way that the string structure will be same in each line ? Pin
User 665821-Jun-08 23:54
User 665821-Jun-08 23:54 
AnswerRe: How add string to text box in way that the string structure will be same in each line ? Pin
Luc Pattyn22-Jun-08 0:46
sitebuilderLuc Pattyn22-Jun-08 0:46 
QuestionSqlConnection using a DSN Pin
TheFoZ21-Jun-08 22:55
TheFoZ21-Jun-08 22:55 
AnswerRe: SqlConnection using a DSN Pin
TheFoZ22-Jun-08 0:26
TheFoZ22-Jun-08 0:26 
QuestionFileLoadException in Outlook 2007 add-in project Pin
ben221-Jun-08 21:20
ben221-Jun-08 21:20 
QuestionReflection Pin
Jammer21-Jun-08 12:47
Jammer21-Jun-08 12:47 
AnswerRe: Reflection Pin
Bert delaVega21-Jun-08 14:02
Bert delaVega21-Jun-08 14:02 
GeneralRe: Reflection Pin
Jammer21-Jun-08 23:16
Jammer21-Jun-08 23:16 
AnswerRe: Reflection Pin
Brady Kelly21-Jun-08 23:18
Brady Kelly21-Jun-08 23:18 
GeneralRe: Reflection Pin
Jammer22-Jun-08 0:22
Jammer22-Jun-08 0:22 
GeneralRe: Reflection Pin
Vega0222-Jun-08 0:57
Vega0222-Jun-08 0:57 
GeneralRe: Reflection Pin
Brady Kelly22-Jun-08 1:05
Brady Kelly22-Jun-08 1:05 
Questionlock and Monitor.TryEnter Pin
koleraba21-Jun-08 11:34
koleraba21-Jun-08 11:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.