Answer Questions
terbs WebBrowser events question
I have the following code that navigates to a web page. When the DocumentCompleted event fires it calls the Login method which logins to the page. My question is, how to I create an event handler to call another method once this page (the one after logging in) is finished loading private void button1_Click( object sender, EventArgs e) { webBrowser1.Navigate(textBox1.Text); webBrowser1.DocumentCompleted += new WebB ...Show All
Warren LaFrance bubble sort
I am kinda new to programming and need some help in completing an excercise I'm on. I have two bubble sorts to sort an array of structs into ascending or descending order on the users prompt. ie. the users types "A" for ascendng and "D" for descending then the data is displayed. Once this data is on the screen is there a way I could then toggle between the two (A & D) This is all being done in a Console App by the way. Thanks ...Show All
MeanOldDBA Cannot install/re-install MS DeskTop Search (nor toolbar): "cannot remove older version"
I get a message that says #msntb_toolbar_full_name# is unable to load its config file. if you have recently upgraded to a newer version of the # msntb_toolbar_full_name# and have not restarted your computer since the upgrade, please try restarting your computer , if the problem persits, please reinstall the # msntb_toolbar_full _name# I tryed it all and still it doesn't work. Please help Me. Sincerly Marilyn Batman - - , where i ...Show All
J.P. Showing a second form via code?
Hey guys -- yep, it's me again. I have a new problem (surprise, surprise). I have two forms in my project and I need both to show on startup of the program. I've tried everything I can think of and I need to keep both opened which is easy to code if I know how to show them. If someone could explaing showing one form from another, that'd be great. Just so you know, with that code you can't access any public variables you create in the frm ...Show All
AltheaGayle Separating data access form code.
Greetings All, This inquiry is regarding the separation of data access from a windows forms application. I currently have a class called Data which exposes static methods that basically take in the form variables and then creates, updates and deletes those variables from a sql database. So in my form class I can call this: Int Success = Data.UpdateDate(DateTime date); (return -1 if unsuccessful) My question is – ...Show All
Anonymous2342323432 How to check string is number or not in C#
Hi! Enveryone: I am new in C#. I want to check whether the user input to a text box is a number or not. What is the string function to check it I do not want to use try and catch. Thank you very much! CLC Yip, it's the best way " Would you regard it as exceptional that an expression is passed to this routine that is not numeric " No, which is exactly why I don't throw the exception. I ...Show All
Graeme Foster Creating static class
I am trying to create a static class but am getting a compile error. public static class myClass { } gives compile error "The modifier 'static' is not valid for this item" According to MSDN documetation, the above code should create a static class. How do I create a static class Thanks in advance. What .NET/Visual Studio version are you using static classes were added in ...Show All
Asmir c# a function if my service terminate by the task manager
hy there I have made a windows service in c# now you can not stop or pauze/resume the service but you can stop the service in the windows task manager. i want that if a user try to terminate my process(service) in the windows task manager that hi or she fill in a password end if its not good then that my service will continuo working or if its good then that my service will stop i cant figuring out wat i should do i'm sorry that my english ...Show All
Stefan_N Request notification software!
Hi, I'm looking for a software that would give me a notification when someone tries to connect to my machine. For example even if someone is trying to do a sql connect. It should notify me from which machine the request is comming and only if I allow they should be able to connect. Is there any software like that. Thanks & Regards, Frenz Yeah but firewalls do not notify, do they ...Show All
Ihavethesamequestion Custom 3D, Irregular Shaped Buttons
What needs to be done in order to create a Non-Rectangular, Ireegular shaped button (from a Bitmap) --Yatharth-- This will do only rectangular buttons right If my graphic has a transparent layer then how do I handle that --Yatharth-- Then create a UserControl with a transpirant background, then it shouldn't be a problem. When you don't want to do to fancy stuff you can just inhire the Button class and override th ...Show All
3D Paul How to trust an intranet-server?
Hello, how can I mark a Server as "trusted location" Problem: Was studying C# during my holidays on my notebook. Wanted to transport the projects to our code-fileserver in the company. But now some parts of the application won't run. Message: "That assembly does not allow partially trusted callers." If I copy the project to the local harddisk, it runs without problems. But I need it running from our development fileserver. H ...Show All
late_nighter Application Settings feature in VS.Net 2005
The docs for Application Settings in VS.Net 2005 only has some things for VB.Net, is it not going to work in c# My real question is how can you get an assembly to read a settings file that is not in the application config of the application referencing it My need is to perhaps have a file stored where the assembly is that will allow me to set debugging information for the component, rather than in the config file of the other application (Notif ...Show All
Akhil Jindal 007 Any Problem in C# & SQL Server 2000 !
I'm a new C# & SQL Server 2000 user. I want to make an MCQ(Multiple Choice Question) type database application with C#(Visual Studio 2003), SQL Server 2000 in Windows XP. I will distribute this software through a Multimedia CD. When the client will use it what softwares they will have to install in their machine They may use Win98, Millenium, 2000 and XP. Please help & encourage me. hi, ...Show All
cookie365 Taskbar Text
I have a C# form that I popup during the running of my application. If I set the .Text value of the form during the FormLoad event it sets the text in the title bar like expected but it doesn't set the text in the task bar. If I run that same code after the form load is completed it sets the text in the task bar. Does anyone know what it happening here After a rebuild the problem resolved itself. I have no ide ...Show All
jm.blairon Dynamic assembly loading with static functions
Hello, I have a program which is dynamically loading in several assemblies. So what I am doing is creating instances of the assemblies just to extract some data (constants). obj = Activator .CreateInstance(typeTemp); //Create the instance then typecast it to access some method But what I want to do is to access a static function instead of having to create an instance of the class and calling the method. Is there a way to ...Show All
