Click here to Skip to main content
15,919,422 members
Home / Discussions / C#
   

C#

 
AnswerRe: WPF in VSTS ? Pin
User 665829-Jan-06 10:14
User 665829-Jan-06 10:14 
AnswerRe: WPF in VSTS ? Pin
Joshua Quick29-Jan-06 10:18
Joshua Quick29-Jan-06 10:18 
GeneralRe: WPF in VSTS ? Pin
Christian Graus29-Jan-06 10:31
protectorChristian Graus29-Jan-06 10:31 
GeneralRe: WPF in VSTS ? Pin
Joshua Quick29-Jan-06 11:09
Joshua Quick29-Jan-06 11:09 
GeneralRe: WPF in VSTS ? Pin
Christian Graus29-Jan-06 11:45
protectorChristian Graus29-Jan-06 11:45 
Questionassigning objects a name programmatically Pin
usernamed29-Jan-06 9:37
usernamed29-Jan-06 9:37 
AnswerRe: assigning objects a name programmatically Pin
Guffa29-Jan-06 9:55
Guffa29-Jan-06 9:55 
GeneralRe: assigning objects a name programmatically Pin
usernamed29-Jan-06 11:07
usernamed29-Jan-06 11:07 
Guffa, thanks for your response. I'm new to C# and I've not used HashTables before, could I just clarify how this would work in my example?

From looking at what I can find on HashTables, would my code look like this?

<br />
System.Collections.Hashtable h = new Hashtable();<br />
foreach (Microsoft.Office.Interop.Excel.Worksheet ws in wrkBook.Worksheets)<br />
{<br />
<br />
  if (ws.Name != null)<br />
  {<br />
    this.lstSheets.Items.Add(ws.Name);<br />
    strWorksheet = ws.Name.ToString();<br />
    h.Add(strWorksheet, ws);<br />
  }<br />
}<br />


For anyone else reading this post looking for further information, I found a short tutorial on HashTables here:
http://abstractvb.com/code.asp?A=1026
AnswerRe: assigning objects a name programmatically Pin
Guffa29-Jan-06 12:12
Guffa29-Jan-06 12:12 
GeneralRe: assigning objects a name programmatically Pin
usernamed29-Jan-06 21:34
usernamed29-Jan-06 21:34 
GeneralRe: assigning objects a name programmatically Pin
User 665829-Jan-06 12:14
User 665829-Jan-06 12:14 
QuestionADO.NET updating Access Database with Dataset Pin
kourvoisier29-Jan-06 9:28
kourvoisier29-Jan-06 9:28 
QuestionHow to prevent windows form getting focus? Pin
3Dizard29-Jan-06 9:24
3Dizard29-Jan-06 9:24 
AnswerRe: How to prevent windows form getting focus? Pin
Ravi Bhavnani29-Jan-06 9:30
professionalRavi Bhavnani29-Jan-06 9:30 
QuestionHelp! Please! Pin
Holly2129-Jan-06 7:44
Holly2129-Jan-06 7:44 
AnswerRe: Help! Please! Pin
Dave Kreskowiak29-Jan-06 9:17
mveDave Kreskowiak29-Jan-06 9:17 
AnswerRe: Help! Please! Pin
Ravi Bhavnani29-Jan-06 9:21
professionalRavi Bhavnani29-Jan-06 9:21 
QuestionTabpage and tabcontrol : changing font size Pin
2hdass29-Jan-06 7:44
2hdass29-Jan-06 7:44 
AnswerRe: Tabpage and tabcontrol : changing font size Pin
tarasn29-Jan-06 20:53
tarasn29-Jan-06 20:53 
QuestionStart real training Pin
alex_kl29-Jan-06 7:23
alex_kl29-Jan-06 7:23 
AnswerRe: Start real training Pin
Christian Graus29-Jan-06 11:46
protectorChristian Graus29-Jan-06 11:46 
QuestionGraphics.CopyFromScreen() Pin
Dario Solera29-Jan-06 6:29
Dario Solera29-Jan-06 6:29 
AnswerRe: Graphics.CopyFromScreen() Pin
James Gupta29-Jan-06 6:38
professionalJames Gupta29-Jan-06 6:38 
GeneralRe: Graphics.CopyFromScreen() Pin
Dario Solera29-Jan-06 6:45
Dario Solera29-Jan-06 6:45 
QuestionNo Form Titlebar hack / VS 2005 ONLY Pin
jadedgeek29-Jan-06 6:25
jadedgeek29-Jan-06 6:25 

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.