Software Development Network Logo
  • Architecture
  • VS Team System
  • Windows Vista
  • Smart Device
  • .NET Development
  • Visual J#
  • Windows Forms
  • Microsoft ISV
  • Visual C++
  • Visual Studio
  • Visual C#
  • VS Express Editions
  • Visual FoxPro
  • SQL Server
  • Game Technologies

Software Development Network >> egghead2006's Q&A profile

egghead2006

Member List

Marcio Sete
Mohammed Essayed
Anonymous124124
Dale17677
Aknittel
csperler
Berni1
bighog
tism
Nishith Pathak
Dreamleo
svethors
Daniel Miller
kishor mungelwar
thanasis_b
rabbitears
pwqiang
iCore
Andranik Khachatryan
ajAZZ
Only Title

egghead2006's Q&A profile

  • SQL Server Smart App to Endpoint Kerberos Authentication

    We have a smart app client application that leverages SQL Server Endpoints for data access. Clients use this application from several cities in the US across a corporate WAN. The endpoint is secured using kerberos authentication. Users of the application are added to a domain group which is granted rights to the endpoint. Procedures in the database are granted to a SQL role, and the domain group has been added to the database as a login and added to the role. Everything works fine for users in the home city where the data center resides. The problem is that when users from a remote office try an connect up, there is anywhere from a 15 ...Show All

  • Windows Forms How can I make a big windows form?

    hello, I'd like to be able to build a big windows form (higher than the height of the screen) with scroll bars . Is it possible . I'd like to have information on it (labels and stuffs from databases) and print it on an A4 page afterwords. I just don't know if this is possble to have a big form thanks very much for your help ...Show All

  • Visual C# Console window keeps closing itself

    Hello, I'm a newbie to Visual C# and I am trying to create the dirt simple "Hello World" sample as a Console Application and when I run my program the console window blinks up then disappears...it closes itself. Anyone know what's going on here To debug, I set a breakpoint at my " static void Main()" line and the code starts, a blank console window even appears but as soon as the program executes the " Console .WriteLine( "Hello World" );" line, the console window disappears. ( ! ) I need some help here. And now, the code... using System; using System.Collections.Generic; using System.Text; namespa ...Show All

  • .NET Development ADO.NET DataTable as OLE DB Provider??

    As abnormal of a usage this may seem... Is it possible to expose an ADO.NET DataTable as an OLE DB provider   I have a third party piece of software that provides an external interface to an OleDbConnection and ideally I'd like to hook into an in-memory data source rather than a file-based database.  Is there any way to create and OleDbConnection to an in-memroy DataTable Any suggestions would be helpful. Thanks you can reference the ADODB library and extend DataTable to implement the interface you need. which esri interface/function are you trying to work with ...Show All

  • Visual C# Trees

    I am trying to use C# for my program that deals with manipulation of trees (i.e. finding distance between different nodes, assigning labels to nodes, storing trees, etc.). I know I can probably use a multi-dimensional array as my data structure. However, I wanted to find out if C# had any built-in APIs for trees. Thanks in advance. Hi, This may not exactly what you need, but you can reuse the TreeNode object as you handle your Tree, instead of manually handling multi-dimensional array. TreeNode object can be used as your storage, but you still have to manually perform the search operations, labeling, ...Show All

  • SQL Server Backup of databases within SQL Server 2005 Express

    Hi there! Is there any replacement for the missing SQL Server Agent which could be configured to backup "all databases" and fix minor errors in databases, rebuild indexes, etc. Or let's better ask: is there any solution/tool out there to create and execute maintenance plans without the need of SQL Server Agent (It might be a simple tool that enumerates the DBs and executes some T-SQL statements on them) Thanks Jochen Management Studio Express provides UI to do those things, but there is no Agent in SQL Server Express, so the tasks can only be executed once in the UI. Instead, you could use the UI to create t ...Show All

  • .NET Development Problem with reflecting types in an assembly

    I have run into a problem with trying to determine whether a type implements a given interface. Everything I have tried does not work. What I am attempting to do is: 1. load an assembly (using assembly.LoadFrom() ) 2. Iterate over all the types in the assembly (types are retrieved using assembly.GetTypes() ) 3. If the type implements a given interface then add it to a list My problem occurs on step 3. I have tried using 1. "TypeOf iteratedType is MyInterface" 2. iteratedType.IsAssignableFrom 3. iteratedType.IsSubClassOf 4. iteratedType.GetInterface("MyInterface") None of these methods are working. When I use R ...Show All

  • Windows Forms Bit fields

    I'm trying to write a general method that can set a flag on an arbitrary bit field. Something like this public static void SetFlag(Enum flags, Enum flag) {     flags = flags | flag;//This won't work!! } So that when I write the following it will show "A, B" [Flags] enum Test {A = 1, B = 2, C = 4}; private void TestSetFlag() {      ...Show All

  • Windows Forms How to put Radio Buttons in a Menu

    I am building a standard desktop application with a menu bar on top. One of the drop down menu's I want to fill with Radio Buttons. Here is a description of Radio Buttons by Petzold, in Programming Windows 95: <quote> Radio Buttons A radio button looks very much like a check box except that it is shaped like a circle rather than a box. A heavy dot within the circle indicates that the radio button has been checked (...). Groups of radio buttons are conventionally used to indicate mutually exclusive options. Unlike check boxes, radio buttons do not work as toggles - that is, when you click a radio butt ...Show All

  • Visual C# Enabling/Disable ToopStrip Buttons

    Hi All, I was browsing for an answer prior to posting this question. Here is my question... I created a windows form with menu and toolstrip buttons. After I launched a MDI form f, I would like to enable or disable the navigation keys when the form load. How do I achieve this scenario toolstrip_navi -> consists of the following buttons first_toolstripbutton prev_toolstripbutton next_toolstripbutton last_toolstripbutton TIA you want to disable them after you close the mdi child form or after loading the mdi parent you can disable or enable them by using the .enabled property, ex. this.first_toolstripbutton. ...Show All

  • Windows Forms Project resources duplicated to local form resources

    Scenario: I want to add an image to a button on a win form. This image is already a project resource (in the resources tab of the project properties). In the 'Select Resource' dialog for the button's 'Image' property, I select 'Project resource file' and select the image. After saving the form and reloading it, this dialog has changed to 'Local resource' and the image has been copied to the form's .resx file. Can anyone else replicate this If so, why can't the button's image property just point to the project resource ...Show All

  • Visual Studio Team System Writing custom FxCop rules ...

    Hi All I would like to know if I can write custom rules for the below scenarios. 1. Finding the number of lines in a class or method 2. Given a class, can I find out the parent class (base class) or interface I am not sure if the overloaded Check method or other methods of " BaseIntrospectionRule" has the facility to implement my requirement. If any one of the community people have some solution for the above, please let me know. Thanks FxCop is a binary analyzer, so your calculations re: line length would be restricted to an analysis of IL (some new work we're doing to calculate code metrics takes this a ...Show All

  • .NET Development Portable Executable(PE) in applications not-managed

    is there a way to reference a Portable executable library(dll of .net) in a delphi 5 application, for example thanks Hi Edwin Santos, It is possible to consume .NET based DLLs making use of COM Interop. You would need to register the DLL for COM Interop using the tool RegAsm. Once registered the .NET DLL also would have a ProgId similar to COM DLLs. Now, since Delphi understands COM, you can instantiate this object using the CreateOleObject method of Delphi from the ComObj Unit. Regards, Vikram ...Show All

  • Visual Basic Reading array value

    A variable var() is declared in option explicit as string without dimension.In the command button click event the string is assigned to the variable var(0).And on the next click of the command button another string value is assigned to var(1).       The point is when i try to load the value in the text box from the array variable var(0),Var(1).....in another command button click event, the value is assigned as empty.I should assign the variable value to the textbox.How can i get the value from the array if your doing something like the following where the array is not dimensioned.  And you r ...Show All

  • Visual C# Unable to load class library

    I wrote a managed wrapper in C++/CLI and compiled it under AMD64. Now I wrote a client in C++/CLI too and this works well. Trying to do the same in C# I got everything to compile but when I run it it says: Unhandled Exception: System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) at MyClass.Main() This is weird though. I compiled the C# file for 'anycpu' but trying to set the platform to x64 did not do any difference. The class library is even located in the same directory.  It was compiled using the RC:         csc /out:test_cs.exe tes ...Show All

©2008 Software Development Network