Many thanks.
heelios
Posts
-
'Comparing' two strings. -
'Comparing' two strings.Hello, I am facing a little problem with strings. In my application, I need to make sure that a long string, let's say "Hello world, I am currently on CodeProject." contents a small string, lets say "CodeProject". I'd like to find a function or a way to return true if the small string is in the large string and false if it isn't present. Thank you for your help. - Heel
-
Find a string in a string... Living hell.Hi, How could i find a string in a string ? For exemple, lets say i have the string "Hello! (How are you) ?", How could i find the string in the parentheses ? Is there a function that would return the "How are you" ? If not, is there a way to find the position of the "(" and of the ")" ? Thanks :) Heel
-
Problem whit loops :xHi, 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] public string GetBiosInfo(string Username, string Password) { ConnectionOptions co = new ConnectionOptions(); co.Username = Username; co.Password = Password; ManagementScope ms = new System.Management.ManagementScope("\\\\127.0.0.1\\root\\cimv2", co); ObjectQuery oq = new ObjectQuery("SELECT * FROM Win32_BIOS WHERE PrimaryBIOS = TRUE"); ManagementObjectSearcher query = new ManagementObjectSearcher(ms,oq); ManagementObjectCollection queryCollection = query.Get(); foreach(ManagementObject mo in queryCollection) { return mo["Name"].ToString(); } }
-
WebService Test formHi Any way to enable the test form to be used by another machine than the local one ? You know, the little form that ask you all the variables used to test your webservice Thanks :D Heel
-
WebService Error :(Nevermind, there was an interferance whit the name of my project.
-
WebService Error :(Server Error in '/WebControl' Application. ---------------------------------------------------------------- Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0234: The type or namespace name 'Global' does not exist in the class or namespace 'System.Web.UI.WebControls.WebControl' (are you missing an assembly reference?)
When i try to get into my WebService, i get this error, but nothing in my project looks like :Line 26: Line 27: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()] Line 28: public class Global_asax : WebControl.Global { Line 29: Line 30: private static bool __initialized = false;
Anyone got any clues ? Thanks :) Heel -
ASP.NET WebservicesMANY THANKS :)
-
ASP.NET WebservicesHi, When i try to create a C# ASP.NET Web Service, i get an error saying that my Webserver is not running ASP.NET Version. Anyone got any clues on how to resolve this ? Please dont post "Install ASP.NET 1.1" Whitout telling me where to find it. Im running IIS 5.0 (or whatever is the one that comes whit windows xp) Thanks :) Heel
-
Geek testWell, im 11%
-
Bind a window to the side of the screenHi I need to bind (or dock) a window to the right side of the screen. Also, no other window (from my or another application) show be able to go over it, maximized or not. How can i do this ? Thanks Heelios ;)
-
Bind a window to the side of the screenHi I need to bind (or dock) a window to the right side of the screen. Also, no other window (from my or another application) show be able to go over it, maximized or not. How can i do this ? Thanks Heelios ;)
-
Bind a window to the side of the screenHi I need to bind (or dock) a window to the right side of the screen. Also, no other window (from my or another application) show be able to go over it, maximized or not. How can i do this ? Thanks Heelios ;)
-
Minimize a maximized window ?Hi When you show the ICQ window, if it is docked to a side of the screen, all maximized windows shrink to show it all. How can i do something similar ? Thanks
-
How to know when a window is maximizedThats gonna take bunch o processor speed
-
How to know when a window is maximizedHi. I need to know when a window is maximized. Not only a window from my applications, but from all programs on the computer. Example : Outlook window is maximized -> I need to know it :) Example : IE window is maximized -> I need to know it :) Example : SomeWindow is maximized -> I need to know it :) Thanks :) Heelios