Click here to Skip to main content
15,894,540 members
Home / Discussions / C#
   

C#

 
AnswerRe: "as" keyword in C#? Pin
J. Dunlap17-Aug-03 20:17
J. Dunlap17-Aug-03 20:17 
GeneralRe: "as" keyword in C#? Pin
devvvy17-Aug-03 20:39
devvvy17-Aug-03 20:39 
AnswerRe: "as" keyword in C#? Pin
Russell Morris18-Aug-03 4:30
Russell Morris18-Aug-03 4:30 
GeneralRe: "as" keyword in C#? Pin
devvvy18-Aug-03 5:11
devvvy18-Aug-03 5:11 
GeneralMy Network Places Pin
Nick Seng17-Aug-03 17:04
Nick Seng17-Aug-03 17:04 
GeneralRe: My Network Places Pin
Mazdak17-Aug-03 19:48
Mazdak17-Aug-03 19:48 
GeneralRe: My Network Places Pin
Nick Seng17-Aug-03 20:02
Nick Seng17-Aug-03 20:02 
GeneralProblem whit loops :x Pin
heelios17-Aug-03 16:03
heelios17-Aug-03 16:03 
Hi,
Im having issues whit a loop.

When i try to return the function in the loop, it tells me the function has no return value.

		[WebMethod]<br />
		public string GetBiosInfo(string Username, string Password)<br />
		{<br />
			ConnectionOptions co = new ConnectionOptions();<br />
			co.Username = Username;<br />
			co.Password = Password;<br />
			ManagementScope ms = new System.Management.ManagementScope("\\\\127.0.0.1\\root\\cimv2", co);<br />
<br />
			ObjectQuery oq = new ObjectQuery("SELECT * FROM Win32_BIOS WHERE PrimaryBIOS = TRUE"); <br />
			ManagementObjectSearcher query = new ManagementObjectSearcher(ms,oq);<br />
			ManagementObjectCollection queryCollection = query.Get();<br />
<br />
			foreach(ManagementObject mo in queryCollection) <br />
			{<br />
				return mo["Name"].ToString();<br />
			}<br />
		}

GeneralRe: Problem whit loops :x Pin
Nathan Blomquist17-Aug-03 17:02
Nathan Blomquist17-Aug-03 17:02 
Generaldatagrid update failure Pin
dorianr17-Aug-03 14:36
dorianr17-Aug-03 14:36 
GeneralRe: datagrid update failure Pin
Sascha Andres17-Aug-03 23:37
Sascha Andres17-Aug-03 23:37 
GeneralRe: datagrid update failure Pin
dorianr18-Aug-03 18:42
dorianr18-Aug-03 18:42 
GeneralRe: datagrid update failure Pin
Ista18-Aug-03 17:02
Ista18-Aug-03 17:02 
GeneralRe: datagrid update failure Pin
dorianr18-Aug-03 18:45
dorianr18-Aug-03 18:45 
GeneralRe: datagrid update failure Pin
Ista19-Aug-03 3:49
Ista19-Aug-03 3:49 
QuestionCan someone plz give me code to list ALL NETWORK PCS AND IP ADDRESSES.. Pin
IrishSonic17-Aug-03 14:21
IrishSonic17-Aug-03 14:21 
Generala question about Thread v.s Socket programming Pin
areapro17-Aug-03 5:00
areapro17-Aug-03 5:00 
GeneralHierarchical recordset/Dataset Pin
Nickle17-Aug-03 4:25
Nickle17-Aug-03 4:25 
GeneralCrosscorrelation and Autocorrelation Pin
angularis1717-Aug-03 2:49
angularis1717-Aug-03 2:49 
Generalcontrol windows 98 Pin
TRANSPARENT16-Aug-03 17:17
TRANSPARENT16-Aug-03 17:17 
Generalexcel format Pin
djkno316-Aug-03 10:18
djkno316-Aug-03 10:18 
GeneralRe: excel format Pin
Ista16-Aug-03 12:09
Ista16-Aug-03 12:09 
GeneralRe: excel format Pin
djkno316-Aug-03 12:13
djkno316-Aug-03 12:13 
GeneralRe: excel format Pin
Ista16-Aug-03 12:15
Ista16-Aug-03 12:15 
GeneralRe: excel format Pin
djkno316-Aug-03 12:33
djkno316-Aug-03 12:33 

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.