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

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

HGChrist

Member List

pcboy
bselfridge
dunkan2005
Peter Manse
Andrew W Cullen
Bs61014
Angelito
GMc
lgonhia179913
luidia.mk
emailguru
Melampus
Deepakgg
Jedi21
Dencore
zu35926
forester
Benjamin Wagner
Catdaemon
Ged325
Only Title

HGChrist's Q&A profile

  • Visual C++ problem with SDK header files

    Hi, I am using VS2005 Beta2 to compile the sources for x64 platform. I am getting following error: >D:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\mapidefs.h(1142) : error C2371: 'BOOKMARK' : redefinition; different basic types 1> D:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\sqltypes.h(283) : see declaration of 'BOOKMARK' I tried to refactor code little bit. But it didnt help. I cannot get rid of any one of the listed header file. Is there any solution for this problem Or is this a bug with platform SDK header files THanks, Sujata. Follow up: http://forums.m ...Show All

  • Windows Forms Problem with designtime support for controls with collections

    Hi guys, I wanr to write a Control, which allows me to add Columns at designtime. Similar to the ListView Control. I have implemented 3 classes: VTraceColumn   (has Informations about the columns) VTraceColumnCollection  (this is the collection class) VTrace       (my control, which should show the columns) VTraceColumn   is inherited from Component and has&nbs ...Show All

  • .NET Development I give you some sample in my project...maybe it's not profect,but it's right

    Hi, I am trying to pass a user define object (fill with values) to a Web Service. Then the WS will fill the object again and return it to the client to be process. Please advice! Sample code will be appreciated. Thanks Hello, Yes this is possible. Just create the class representing your custom object. You must mark this class as [Serializable] or have it implement ISerializable interface. Then just create your web service that expects this class as a parameter and also has this custom class as it's return type. This blog might shine some light on it for you: http://www.dalepreston.co ...Show All

  • SQL Server Remote Connection problem on MS SQL 2000

    Hello, First, I want to say I read all threads similar this thread and I couldn't solve problem. My firewall is always off when I tried to connect remotly to SQL Server. I opened 1433 port from my router's configuration page and forwarded it to 10.0.0.4:1433. When I started SQL Server service and checking "netstat" with "-na" paramters. It shows only one row as "TCP - 0.0.0.0:1433 to 0.0.0.0:0". What "0.0.0.0" means and why foreign addres port is "0". I guess, It should like to be "TCP - 10.0.0.4:1433 to OutsideIp:1433". I removed forwarding from my router and used Windows's Network Connection to forward ports. I opened ...Show All

  • Windows Forms The Treeview Drag&Drop AND using custom TreeNode !

    Here is the code that I use to  carry out a drag & drop on my TreeView, it goes very well !  but when I use my own custom TreeNode (named : 'UsrTreeNode' and have some properties added) instead of the original 'System.Windows.Forms.TreeNode' , the drag & drop do not have any effect. I tried doing something like : 1) My own custom Tree ...Show All

  • Visual Studio 2008 (Pre-release) Joined Table Inheritance

    Dlinq is great. But... I'd love to see support for inherited classes based on joined tables. my schema uses a table for the base data and a base class with a discriminator field and a joined table to provide the columns of the derived class which provide a single object with properties derived from both the base table and the joined table. This is always a one to one join. I gather this cannot be accomplished by just decorating the derived class with it’s own Table attribute and some sort of ID field for the join Or am I mistaken Second, I'm not thrilled with the inheritance attributes all being on the base class as this breaks ...Show All

  • Visual C# Dynamically generation of ItemTemplate and EditItemTemplate in FormView control

    Hello, I would like to develop a library to dynamically generate FormViews for the usual content management tasks; the formview's internal controls (TextBox, DropDownlist ...) must match the schema of a certain DB table that is extracted at run-time. In few words, I need to create at runtime the <ItemTemplate> and <EditItemTemplate> sections of the <FormView> control. Unfortunately, in the last versione of ASP.Net 2.0 these templates could be created directly only at design-time and not at runtime. Investigating about, I have found a solution: to create on the fly a Web Control file containg the <ItemTemplat ...Show All

  • Visual Basic GetValueByName

    In beta1 there was a fantastic way of getting values out of a gridview using: Gridview1.DataKeys(Gridview1.SelectedIndex).GetValueByName("Name").ToString In beta2 this has been removed - how do I achieve the same results    I used this alot and will  have to change a lot of code, especially if I have to use the reader class. Vince I think there are some even easier ways to get at specific cells or the Current (selected) cell.  Basically you want to think about getting a cell object as a result of a Row and Collumn coordinate.  E.g. Dim dgv As New DataGridView Dim ce ...Show All

  • Windows Forms Creating a new record. PLEASE HELP!

    Hello all, I need some advice on the steps to do the following: I have a form that displays details of Accounts.  The form has navigation buttons to move through a DataView dvAccounts on DataTable dtAccounts.  The form also has a "NEW" button.  The NEW_Click event does the following: 1.  DataRowView newRow = dvAccounts.AddNew(); 2.   newRow.BeginEdit(); set  ...Show All

  • Visual Studio Tools for Office Excel OLE Link Using VSTO

    I am porting an MFC application to .NET using C#. The app has the feature of establishing OLE Link with Excel. For example, user can copy a cell from Excel 2003 and do "Paste Link" to the app, and these 2 become linked together through OLE Link. I could not find anything on the internet do enable me to do that in C# and .NET. I know RTD server, but it only takes care of one direction, not from Excel to my app. Does VSTO offer any help in this issue Thank you in advance for any input. TJ I am afraid VSTO cannot help in this area, as it can only be used to customize Excel workbooks and ...Show All

  • Smart Device Development Webbrowser Control

    I am developing some application where I need to use the webbrowser to display the html files. I am using the Navigate method to display the html files. If I am opening an html files that is not there then I get a message called Internet Explorer could not open the page... Page not found... I don't want to show that message instead I want to display my own message.. Is there method so that I can handle those error messages. Satheesh Kumar Chandrasekaran Hello Satheesh, You should check if the file exists first and then display the file or display an error message if the file was not found (setting the documenttext prop ...Show All

  • Visual C# remove

    I would like to remove the last char in a string is thiis right private void backspace() { int g; g = KeyBoard_textBox.Text.Length ; KeyBoard_textBox.Text.Remove(g, 0); } He he...now you made a mistake ;) g is out int... you do stirng Result = textBox1.Text.Remove( g, 1 ); and then textBox1.Text = Result; :) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Build questions

    Hello, I'm currently trying to recreate our build process with XNA Build, both to streamline it, and to learn the latter. I'm rather stumped by a few points, though, and am hoping to find help here. 1/ Is there a way to know what a Task (or Module) is, once it's renamed The original name (such as "XNAExec #1") disappears once you rename a task/module, and I haven't found a way to find out what kind it is, short of knowing the property set of every kind of Task. This would make studying the MC2 project easier. 2/ Is there a way to apply the same process to several files, but one by one, instead of dropping them all in a b ...Show All

  • Visual Studio Team System TF80071 when trying to connect MPP to TFS

    Hi, I'm trying to connect MPP with my Team Server. When I click "choose team project" I get the dialog that list the projects. I select one (no matter which ) and get error TF80071 "team foundation encountered an error while acessing the work items database..." I followed every advice in the other thread regarding this error, including changing the mapping and turning off the connection to the office server (which I don't use). i still get the same error. Any idea what's wrong Thank you, Ken Hi Ken, Sorry to hear you are having problems with this. Can you create a f ...Show All

  • Visual C++ v8 compiler bug??

    hi i get an access violation under heavy load with a std::vector<> of pointers to derived classes to a large base class with lots (30) of virtual functions. this code works fine under v7 (has been in the field forever). the code is a large MFC app (minimual threading though does use the Multi threaded lib due some occasion brief threads being run). i've verified no mem leakage via the debugger. crashes at same point each time ... on a virtual function call through one of the pointers in the vector. commenting this out causes the code to crash at one of the other virutal calls. is there any chance this is a bug in v8 o ...Show All

©2008 Software Development Network