Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
C

Captain Trips

@Captain Trips
About
Posts
12
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Access Is Denied Error
    C Captain Trips

    Hi, I'm trying to run WMI queries against a server in a C# application. I'm pretty sure my code and provided DB/User/Password is ok. On the connect command the following error is raised: "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))" ConnectionOptions oConn = new ConnectionOptions(); oConn.Username = strUsername; oConn.Password = strPassword; oConn.Impersonation = ImpersonationLevel.Impersonate; System.Management.ManagementScope oMs = new System.Management.ManagementScope("\\\\domain\\servername\\root\\cimv2", oConn); oMs.Connect(); I'm fairly sure its a privileges problem. I'm using a username and password that has admin privileges on the server. I've allowed remote administration and granted DCOM remote launch permissions. Any idea would be much appreciated! thanks!

    COM help csharp database sysadmin

  • User Control Problem
    C Captain Trips

    I'm at the stage now where I have the calendar disappearing when the user clicks elsewhere on the form. My problem now is that when you click on the text box to make the calendar appear the form click event also fires. Which immediately makes the calendar disappear again? Is there any way to exclude the text box from getting caught by the click event of the form? thanks Steve

    ASP.NET hardware help tutorial question

  • User Control Problem
    C Captain Trips

    I've created a pop up calendar user control, when you click inside the text box the calendar appears, when u select a date it disappears etc. This all works fine. The part I'm having trouble with is that when a user clicks off the calendar while it is visible i want it to disappear again. I'm not really sure how to do this? Is it possible to access the actual calendar control in the user control from the page that the user control is embedded. I played around with getElementByName and getElementById but didn't have any luck. thanks Steve

    ASP.NET hardware help tutorial question

  • Run as?
    C Captain Trips

    Hi, How do you run an application under different credentials? I have created a small app which accesses active directory. One of its tasks is to move objects. However only admin credentials can move object as i wish to. I need to run my c# windows app under this username and password so that i can move these objects. Thanks Steve

    C# csharp windows-admin question

  • Aspect Oriented Programming
    C Captain Trips

    led mike wrote:

    apples and oranges

    :laugh: Well I know that, its just in my presentation I need to be able to show things in my implementation that could not be done using traditional OOP, but can be overcome by using AOP. I have to make AOP a bit impressive if I can.

    IT & Infrastructure csharp asp-net question

  • Aspect Oriented Programming
    C Captain Trips

    Hi, I'm doing a final year project in college on AOP. For the implementation side I will be creating a ASP.NET app to demonstrate AOP and it's advantages etc in practice. What I need though are advantages of AOP over OOP. I'm aware of advantages such as increased modularity, improved code reuse and maintenance. But what I'm looking for are things that you can do in AOP that you can't do in OOP? thanks

    IT & Infrastructure csharp asp-net question

  • access an open files properties?
    C Captain Trips

    Is it possible to read an open files properties? For example a word document, in vb6. thanks

    Visual Basic tutorial question

  • Accessing file properties in VB6
    C Captain Trips

    I read that most of these custom properties are stored as part of the file itself and are retrieved by the application that created the file e.g MSWord, anyone know if that is true?

    Visual Basic tutorial

  • Accessing file properties in VB6
    C Captain Trips

    I'm trying to access advanced file properties such as revision Number,Title,Comments etc. I have already created the file object,i can see how you get at file attributes such as size etc but don't know how to get at the advanced properties thanks Steve

    Visual Basic tutorial

  • serial port communication
    C Captain Trips

    i'm having trouble reading from a port using .net 2003,the trouble being that i can't figure out how to do it. how do you create a serialPort object in 2003?

    C# csharp tutorial question

  • cosine rule
    C Captain Trips

    my code looks like this,'A' should come out at about 70 degrees double sideA=6.75; double sideB=4.5; double sideC=6.7; double cosA=(Math.Pow(sideB,2) + Math.Pow(sideC,2) - Math.Pow(sideA,2)) / (2 * sideB * sideC); tried double A=Math.Acos(cosA);

    C# help

  • cosine rule
    C Captain Trips

    i'm bad enough at trigonometry without having to code it cosine rule is: b2=a2+c2- 2bccosA so: cosB=a2+c2-b2/2ac B=cos^-1(cosB) I'm having problems coding the last line,'cos^-1',any help appreciated

    C# help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups