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
B

BenPage

@BenPage
About
Posts
11
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to determine what Endpoint of WCF service client is connected to
    B BenPage

    Hi I have a WCF service with multiple endpoints. The endpoints each uses its own binding configuration. One endpoint uses a TCP binding and the other a HTTP binding. My question is: In the service code, how do I determine on which of the bindings did the client connect? I know how to simply list all the service's endpoints OperationContext.Current.Host.Description.Endpoints and how to obtain an endpoint's binding: OperationContext.Current.Host.Description.Endpoints[0].Binding But how do I determine which binding was used by the client, instead of just indexing the first Endpoint? Thanks

    WCF and WF question wcf csharp wpf tutorial

  • How do I get rid of margins and borders!!
    B BenPage

    It was not the margins or the borders in the end that created the spaces...It was the cellspacing that was causing the problem Thanx Ben

    ASP.NET help question csharp

  • How do I get rid of margins and borders!!
    B BenPage

    Hi there.. I have a webform on which I place a table. This is the code for the page.. <%@ Master Language="C#" AutoEventWireup="true" CodeFile="Main.master.cs" Inherits="MasterPages_Main" %> Main Master Page This is the side panel for the side menu The page is a master page. My problem is that I set the "margin" and "border" of the body of the page to 0pixels but still there is spacings between the cells of the table when the page is loaded..I have tried setting the "margin" and "border" settings of the table and the rows and the cells but it just wont work!!! Where is the ghost in this code or my machine??? Thanks for your help!! Ben

    ASP.NET help question csharp

  • Help with multiview control needed!!
    B BenPage

    Hi there.. I wish to create a mutiview control and then want to dynamically add view cotrols to it while the webpage is displayed. The problem is that when I do this and run my webform, I get the following error: ActiveViewIndex is being set to '0'. It must be smaller than the current number of View controls '0'. For dynamically added views, make sure they are added before or in Page_PreInit event. I did create the view controls in the Page_Load() function and then added them to the Views property of the multiview Cotrol object.. How can I fix this... Thank u!!

    C# help question

  • Problem with Design View
    B BenPage

    Hi there.. I am designing a webpage using Visual Studio 2005. I created an ASP.NET web page solution. I use a masterpage and then have several content pages that use the masterpage. The problem I have is that the design view does not correctly display the layout of controls on the content pages. Now I have to code the positions in the source of the .aspx file instead of using the design view. And also when I view the content page in design wiew, the page is displayed within the masterpage and not standalone. Is there any settings for choosing how the design view should display the controls you drag onto it...

    ASP.NET csharp asp-net visual-studio design help

  • PLEASE HELP I NEED MATRIX LIBRARY!!
    B BenPage

    Hi there. I am desperately needing a library that can provide me with basic matrix arithmetic. I am using a MFC VC++7.1 project for which I want the matrix functionality. I Need: >> To multiply matrices >> Calculate determinant of a matrix. >> Calculate inverse of a matrix. >> Calculate transpose of a matrix. I cannot find a library that is plain straight forward to use with VC++7.1 MFC project. Please refer me to a library that will work for me??? Thanks!!!

    Managed C++/CLI c++ help question

  • How do I store object files as a library??
    B BenPage

    Hi there. I downloaded a matrix arithmetic library, Newmat10, and are struggling to get it to work. The author says that it would work fine with MS Visual Studio 2003, which is what I am using. The library consists of a lot of cpp files which have to be compiled. This part I get right. Then all I have to do is include the main header file >> newmatap.h, in the project where I want to use the matrix functions. So I include the header file in the project where I want to use the functions and it compiles. But the moment I use one of the functions of the library, I get a lot of error messages that looks like this: TestNewMat.obj : error LNK2019: unresolved external symbol "public: __thiscall Matrix::Matrix(int,int)" (??0Matrix@@QAE@HH@Z) referenced in function _main. What am I doing wrong? The author said something about it being best to store the resulting object files ( the ones you get when you compile the source files of the library) as a library. How does that work? Any help would be appreciated!! Thank you.

    Managed C++/CLI help question csharp c++ visual-studio

  • Help with precompiled headers needed!!
    B BenPage

    Hi. Including the "stdafx.h" file in all the source files worked. I couldn't turn of the Use Precompiled Headers option because the other source files in my project did indeed already include "stadafx.h". Thanx for the help guys!!

    Managed C++/CLI c++ visual-studio help csharp html

  • I need to display dialogs as tabs?
    B BenPage

    Hi there. I want to create a dialog, with a menu ( file, help, edit etc.), and with tabs on the dialog. Basically like the display properties dialog that you get when you right click on your windows desktop, just with a menu added. Also, I want to add dialogs as the tabs, dialogs that I created separately. Now if I use a CPropertySheet class, this allows me to add and display the dialogs, right? But how do I get a menu on the main dialog. And what if I want to add a button and a combobox on the main dialog, not on one of the tabs, but on the part of the main dialog that is not tabs. Thanks for the help!!

    C / C++ / MFC question help

  • Subclassed Editbox Control: Do I need to create 2 classes for two edit boxes
    B BenPage

    Hi there. I am using Operating System: Windows XP Project: Visual Studio 2003 C++ MFC Dialog Based Application I subclassed an edit box control because I want to capture the WM_KEYDOWN messages when a user enters characters in the edit box. I need this because I want to measure the time interval between keystrokes for the phrase (a password in this case) that the user enters in the edit box. But I want the user to enter the password twice, once in one edit box and again in another. So I created two edit boxes and then to each edit box added a control variable of type the custom edit box subclass I created. Now the problem is that when a enter a character in either of the edit boxes, the OnKeyDown function of the subclass is called. How do I know in which edit box did the user type in the key? Should I rather create two subclasses for the edit boxes, and create a control variable for the one editbox that is of type: the one subclass, and to the other editbox I add a control variable that is of type: the other subclass?

    C / C++ / MFC c++ question csharp visual-studio help

  • Is Keyboard Hooks the answer to my problem
    B BenPage

    Hi there. I am currently working on a project to identify users using their typing dynamics. I want to use the intervals between keystrokes on the keyboard as a user type in their passwords, to identify the users. I am using Windows XP and Visual Studio C++ 2003 to develope a MFC application project. I want to use a dialog with an edit box to allow the user to enter his/her username and password. I cannot process the WM_KEYDOWN and WM_KEYUP messages because when you type in the edit box, the keyboard focus is on the edit box and not on the dialog. Will a keyboard hook help me in my mission or will I have to use something else. Something else that is easier to use will also work. If you could help me I would appreciate it alot. Thank You. Ben

    C / C++ / MFC c++ help csharp visual-studio
  • Login

  • Don't have an account? Register

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