Software Development Network Logo
  • Visual Basic
  • Game Technologies
  • VS Team System
  • SharePoint Products
  • IE Development
  • Visual Studio
  • Visual C#
  • Audio and Video
  • Windows Vista
  • Visual C++
  • Microsoft ISV
  • Visual FoxPro
  • Windows Forms
  • SQL Server
  • Smart Devicet

Software Development Network >> Visual C#

Visual C#

New Question

Cross-language.
Bound Object Frame Counterpart
what is Impersonation
Moving from procedural to OO
Is there an equivalent to web.config for C# executable?
Are there really no methods that converts "æ" to "%E6" (URL)
Parameter and Enum Value
is there an equivalent for Microsoft.VisualBasic.Interaction.InputBox in c#
Static constructors
Retreive local computer's acount password?

Top Answerers

tackett
davidw
Sushisource
TA123
ComputerWhiz
xshua
Peter Richard
nick5454
Lillia
anisk
Bellanca, Salvatore
Only Title

Answer Questions

  • erick_the_redd principal.IsInRole working locally but not remotely?

    Hi all, I have a function I wrote which grabs a list of security groups from a sql table and then combines that with the domain name to check the users security groups to decide what they have specific access too. The function works 100% perfect when I run it against a localhost database, the second I point it to a remote database with same data and same structure it dies returns all groups failed and I can't for the life of me figure out why. Thanks in advance for any help anyone can give :) <code> // AD Groups the user belongs too public Stack retGroups = new Stack(); #region Get security groups private void getSecGroups() { SqlConnection getGroups = new SqlConnection(connect); // Select distinct from the databa ...Show All

  • Omar Fawzi Exception Breakpoint on Application Termination

    I am using C# 2005 Express edition. My application runs fine but on closing I get the following message (for some reason I can't take a screenshot of the dialog) The exception breakpoint A breakpoint has been reached (0x80000003) occurred in the application at location 0x7c90130 This happens in the debug version and release version. My first reaction was that I had left a breakpoint in the program, my second that it is related to the debug version. I am new to C#2005 and could not find any swicth to change the build type from debug to release so don't know if calling for a Build automatically created a Build version. I would like to get rid of it since it would be annoying for my users Thanks in ad ...Show All

  • Alfonso Calderon Mathematical question !!

    Hello, Can any one sort this complexity from worst to good O(k) O(k n) O(k n2) O(k 2 n ) O(k log n) O(k (log n) 2 ) Thanks a lot That sounds like a homework assignment. :) Rather than just giving you the answer, learn a bit more by reading this: http://en.wikipedia.org/wiki/Big_O_notation (It has the answer in there; you'll just have to read it.) why looks like a homework Why would you have a long list of specific O() expressions, unless it was an assignment Why would you have a specific task to do with them, unless it was an assignment If you'd asked "Which is better, O(2^n) or O(n^2) " then we might have thought that you might have co ...Show All

  • Max Diamond running code step by step

    Hello, I'm using the compiler interface to run code (using the CompileAssemblyFromSource of the code provider, and after it the CreateInstance method of the activator) Is there a way to run code step by step Thanks, Depends on what you mean by step by step. If you think there is a bug in your generated code and you want to step through it then you can. The biggest issue is figuring out where a breakpoint would need to go. What I find easiest is to put a breakpoint on the line in your compiled program (the one you wrote in C# and compiled through the IDE) that will call into the generated code (a method or property member). If you set a breakpoint there and then step into (F11 I believe) the code then you'll be redir ...Show All

  • dazza33 Print Dialog Box

    Can anyone tell me the code to use to bring up the "Print" Dialog Box for a Rich Text Box I can get it work for the Web Browser function, but can't figure it out for the Rich Text Box.... Thanks Landon Hi, This articles may help you to do printing work with richTextBox: http://support.microsoft.com/kb/812425 Thanks. ...Show All

  • Benelf Splitting A File's Path

    I am loading a bunch of file paths from one file. Here is an example. Original string is "Projects\\Shine\\bin\\debug". What I want is "Projects", "Shine", "bin", and "debug" all in separate strings. Thank you so much OmegaMan. Mark Dawson wrote: Hi, you can use the sting.Split command using the \ character as the deliminator. That method will return an array of string for you. Mark. Very true but it will return the drive letter within the first match. So that can be used if one ignores the first item. Hi Wasting <g>, If you feel the issue is resolved to your liking...mark the post(s) t ...Show All

  • MRaman I have this application in my head..........

    I am in the process of trying to leave healthcare after a twenty year run at it. No I'm not a nurse or a doctor, I work in the Lab, to be more specific I'm the guy that comes and wakes you up at 2 a.m. so that I can draw your blood. I have seen alot of stuff come and go, and none of it actually does what we need it to do, so being someone that knows what we actually need to make things alot better in the laboratory medicine arena I have been learning C# as fast as I can, and found that I have picked it up quite nicely. Question will C# allow me to create a "grand" program in segments, meaning start with creating an application for one department, release it, and move on to another department release that one, but "linking&qu ...Show All

  • Andrew Mercer SecurityException

    Hi I'm having a problem with a Windows application i'm creating and a custom class. Basically, i'm creating a class to handle joystick input with DirectInput and have written a constructor and private methods to initialise the joystick device. I have a button on my windows form and when its clicked i want to initialise the joystick (using the public void InitJoystick method from the class) however this is where the problem arises. If i try to run the application i get a SecurityException was unhandled message saying that the assembly does not allow partially trusted callers . I've tried adding the [assembly: AllowPartiallyTrustedCallers] option in the AssemblyInfo.cs file and this doesn't make any difference. I don't have a wi ...Show All

  • DanSem1 HELP: Convert PDF to HTML

    Hello all Programmers! I want to write a software myself that can Convert PDF file's content to HTML. But I don't know where to start: Is there any valid ActiveX for this Any exist Function that can extract PDF contents and add it to an HTML file Or anything else that a newbie like me don't know So wonderful if I can receive any reply of yours... Thanks a lot! So many things to learn in this world, hihi : - ) Thank you very very much! I'm following your instructions! Hope to see the light... hihi!!! I have only just posted this subject and I can't believe that there will be a reply as fast as this! I feel really surprise and happy, cause this is the first time I post a question to MSDN forum. Thanks yo ...Show All

  • stryjek4 Getting started with Business objects

    Hi guys, i m trying to get started with Business Objects, but i m a little bit lost here.. hope you guys can help me out. So far all the tutorials i read on the internet just show you how to make an "employee" or a "product" class, coding that is very simple, and i don’t have any problems using them and even binding them to Windows Forms using BindingLins<T>, etc... i ve been testing it out and it works fine. But right now i m trying to make something that have some relations, and i cant figure out how i am supposed to do it, what i m trying to do is a simple "Order" class that is related with a customer and some products... something like: Order Customer Products So, could you guys help me out with this ...Show All

  • Friendly Dog change statusbar icon on database activity

    hello, I searched for a while on the forums, but could not find anything usefull on my question. My application uses business objects, which are showed inside a panel when added to the mainform. Each business object is responsible for loading its own data. And I don't want to put any other code in these business objects. On my mainform I want to put an icon or other small picture in the statusbar that shows when a database update command is called from any child form. I am using SQL Server 2005 Express Edition. Can anyone tell me how I get my statusbar icon changed on database activity. I don't know where to start. thanx, Ton. Is this not the same as changing the icon when the save ...Show All

  • spandon How can I move the focus to particular Tab Page in Tab Control?

    I have tried to move the focus to particular tab page in tab control at run time. It can not get the focus to the specified page. Here is the code that I had tested this issue. this .tabControl1.TabPages[2].Focus(); Thanks in advance. hi, you have to use the selectedindex property to switch between the tab pages.   this.tabControl1.SelectedIndex = <Tab Page Index to be focused> (e.g.) this.tabControl1.SelectedIndex = 1; i think it would help you. Regards, Perumal.R Great... It's working fine. Thank you soo much. ...Show All

  • DarrelC Corrupt string reading the registry

    I'm lost again. when reading the registry HKEY_LOCAL_MACHINE "Hardware, Devicemap, Serialcomm" I am receiving a corrupt string when using GetValue(valueName). There is one extra character at the end of the string returned. This character appears to be random. The Value name: always returns OK, (device name) The Value data: returns with one extra character at the end of the string, (COM port number) Sample of code I'm using. All I am trying to do is get the COM ports use by my bluetooth devices. I would assume the string should return correctly // Reference registry hive. Microsoft.Win32. RegistryKey hklm = Microsoft.Win32. Registry .LocalMachine; Microsoft.Win32. RegistryKey myportsregKey = hklm.Create ...Show All

  • ManojS Datagrid from arraylists

    Hello, I have several arraylists with exactly the same number of elements. In a datagrid, I want to display the elements in ArrayList1 as the column names and the elements in the ArrayList2, ArrayList3 etc.., as the rows to the set of columns. I did read threads with similar queries but I am afraid I could not find what I am looking for. This is the first time I am working with datagrids without a dataset and I would appreciate any kind of help on this. Thanks a lot for your time !! the above procedure has nothing to do with SPROCS.... or the original question I thought he said he wanted to store it in a database. Sorry I don't like the above procedure because it doesn't allow the security ...Show All

  • Lucas Pasquali Display HTML Document in an application form ?

    hello any ideas how to display an HTML document on an application form with Visual Studio 2003 using Visual C# thank you ahmedilyas wrote: Where are you obtaining this HTML document from the HTML documents are stored in the hard disk by the way you are one of the best authers here and i always read your comments and replies and answers , thank you   David L wrote: Check out the WebBrowser control. For more info: http://msdn2.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx That's what you're looking for   thank you so much , but i am not sure if this control is included in th ...Show All

333435363738394041424344454647484950

©2008 Software Development Network

powered by phorum