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

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

somegai

Member List

jack-n-jill
xishan shigri
h1
Armann V.
desijatt
cygnusx
Malebolgia
Matt Penfold
Asday
Miguel Jim&#233&#59;nez
Diego81
Arithma
SavitaHK
cbpd86
yazoox
Pete Atkinson
Teymur Hajiyev
Jan Gossen
Jonas Samuelsson
Adrian Jose
Only Title

somegai's Q&A profile

  • Visual C++ Problem including afxtempl.h in WinForms app

    I've created a WinForms app in VC++ 2005, set the project to "Use MFC in a Shared DLL" and "Use CLR support". I then added a "#include <afxtempl.h> in the Form class, as below: #pragma once #include <afxtempl.h> namespace test_afx public ref class Form1 : public System::Windows::Forms::Form When I run it in debug, I'm getting a Debug Assertion Failed error, as below. Program: test_afx.exe File: dbgheap.c Line: 1394 Expression: pUserData!=NULL How should I fix it, so that, the class Form1 can use MFC classes such as CArray Thanks, the Call Stack is shown below. > msvcr80d.dll!_msize_dbg(void * pUserData=0xba3f ...Show All

  • Visual Studio 2008 (Pre-release) New entities and queries

    I've created a test project. A simple table named test in a database with a field name and an autoincremented Id. When I create a new entity Test, I'm not able to find this entity in my query results. Ex : Test newEntity = new Test(); newEntity.Name = "newTest"; db.AddObject(newEntity); db.SaveChanges(); Test oldEntity = newEntity; oldEntity.Name = "oldTest"; newEntity = new Test(); newEntity.Name = "newTest2"; db.AddObject(newEntity); Query<Test> testQuery = db.GetQuery<Test>("SELECT VALUE t FROM Test AS t"); foreach (Test entity in testQuery) { System.Diagnostics.Debug.WriteLine("ent ...Show All

  • Visual C# Remoting

    How can I call an executable (exe) on a remote machine, residing in the remote machine, from my local machine in the same domain Do you want to run the application on the remote machine or from the remote machine. So From PC1 Start application on PC2. PC2 gets the user interface if there was one ...Show All

  • Customer Care Framework System.TypeInitializationException: Microsoft.Ccf.Csr.WebServices.AgentWS' threw an exception. ---> System.Exception

    Hello, My first installation went through fine. We ran another CCF setup for another location. I followed the same steps as I did for the first. But  The CCF web service when accessed through a web browser threw an error like this  System.TypeInitializationException: The type initializer for  Microsoft.Ccf.Csr.WebServices.AgentWS'  threw an exception. ---> System.Exception: No  configuration settings were found for  Microsoft.Ccf/Csr.WebServices.Providers.AdminConsole.AgentWS. Has anyone faced problem like this before How to fix this Your help is appreciated   Hi, this is the value ..It seems to be correct... doesn't it <Csr.WebServices.Provide ...Show All

  • Visual Studio Team System BuildStatusChangeEvent doesn't work.

    After many tries with BisSubscribe I managed to get BuildCompletionEvent working. BuildStatusChangeEvent still doesn't wotk for me. There is no information about it in tbl_notifications table in TfsIntegration database so I assume it isn't fired. BTW, what is the connection between BuildCompletionEvent name and that from tbl_event_type (which includes spaces) And one more thing. Why there are connections between connections between tbl_notification rows describing build completion and tbl_client_event containing XML description of check-in Marcin Your post is intresting have you thought about more filtering such as adding only builds that are marked with Build Quality tags Anyway, the pr ...Show All

  • Visual Studio Team System Team Foudation Server Scheduled Backup + Disaster Recovery Scenarios

    Hi, We have Team Foundation Server installed in our premises. We arranged with all the people working on TFS to make sure that their connection to TFS is closed before they leave work, so that to enable our SQL Server Full Backup Schedule to work correctly at around 03:00 AM. Our questions are: 1. Do we have to back up the Reporting Services Encryption Key every night as well Or we do that only once in a life time 2. Is there anything else to backing up TFS - in order to gurantee successfull recovery in the case of a hardware crash - other than backing up TFS databases and RPT Service Enc. Key 3. Can we still reuse the files that exist in users' worksapces in the case of a TFS crash I mean after we recover/restore TFS , ...Show All

  • .NET Development Can Any One Tell about the Architecture of the GC

    Hi i want to know the full archetecture desing of the GC(Generatio wise) there are articles in the msdn magazine discussing garbage collection (not the architecture in too much detail). I suppose you could take a look into SSCLII to get a look onto some GC things and I remember there are some websites related to GC MSDN Mag article ...Show All

  • Visual Studio Express Editions error connecting to database

    I am using VC# Express and trying to connect to a SQL 2000 database. The error message when I compile the application is as follows: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) Is there anyway to connect to SQL 2000 with VC# Express or is this a waste of my time. using System; using System.Data; //ADO.NET namespace using System.Data.SqlClient; //Use SQL Server data provider namespace using System.Collections.Generic; using System.Text; namespace Da ...Show All

  • Visual Studio 2008 (Pre-release) Generic WCF Service Invoker

    Could you please advice if there is any Generic WCF Service Invoker A component that I can use to invoke a WCF service by simply providing Service URL, OperationName, and ParametersCollection. BUT I still want to be able to control and custimize the binding/invocation. My scenario is that I have a bunch of functionally equivalent services that I want to dynamically bind to, at design time I know the service interface but I only know the concerete binding/service provider to use at runtime. Also some service providers sometimes do not comply 100% with the agreed-upon interface so I need to do some in-out transformations before invoking and after receiving the response. Is there any exisiting samples that can guide me on how to do the above ...Show All

  • Visual Studio Express Editions Missing odbc32.lib

    I have set up VSC++ Express Edition. It works well with exercises from VC++ Programming but when I try debugging a project from another book I get the file not found message on odbc32.lib  I have just spent hours searching the web for a download but The links go up in a puff of smoke. I have SDK and have included and libbed the new folders but the file isnt in those folders either. Can anyone advise me I had only installed the SDK not the latest PSDK which I am downloading at the moment. Hopefully when I install the PSDK the problem will be solved. It will take a while though as I am using dialup. I hadn't realised that there was a difference between SDK and PSDK. but apparently there ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I need help getting started in game design...

    How doi get started in game design What software do i need Please note that game programming is one of the highest steps in the big ole' programming ladder. commercial games today need large group of programmers/designers/artists that work for months and years to finish a single game. Dont expect to find a magical "FPS Creator 2005" program where you just give the character a name and a rocket launcher and call it a game. I still remember my "WTF" face when i downloaded and installed the half-life sdk and found no "game editor.exe". The most popular language is indeed c++ and c#, however, VB works like a charm for simple card or 2d games (not multiplayer though, VB is terrible at that kind of st ...Show All

  • .NET Development xml to xml

    hello! Problem: i have xml-data in format: <xml> <a> <a1>Data1</a1> <a2>Data2</a2> <a3>Data3</a3> <a4>Data4</a4> </a> </xml> To view xml-data I need to transform to the format: <xml> <a a1="Data1" a2="Data2" a3="Data3" a4="Data4"> </a> </xml> I'm novice in xml. I was to told to try xsl-transform. But I can't solve this problem. Please, say how can I tramsform xml-data to another format, and is there properties of xmldatasource or masters in VS to set the xml-format Thank you... The required transformation is one of the easiest and most straightforward. This t ...Show All

  • Visual Studio Team System Can't access TFS through proxy server

    I've been having major problems connecting to TFS through a proxy server. I've enabled the ISAPI filter and configured the site for SSL, and that all works great - until I try to connect from behind a proxy. The error I get in DevStudio is: TF31001: Team Foundation cannot retrieve the list of team projects from Team Foundation Server on domain.net. The Team Foundation Server returned the following error: The remote server returned an error: (407) Proxy Authentication Required.. When I saw this error, the first thing I tried was connecting to https://domain.net/services/v1.0/serverstatus.asmx using the browser that is built into DevStudio. I am able to connect with no problems at all, so I know the connection isn't being blocked. T ...Show All

  • SQL Server mdx performance issue

    I have the following mdx code. When i added in the top "with member" statement the performance drop off pretty good. Any Suggestions with member measures.sales as iif ( not isempty ([Measures].[Billed Sales Amount])> 5000, [Measures].[Billed Sales Amount], Null ) SELECT NON EMPTY {measures.sales} ON COLUMNS , NON EMPTY { [CUSTOMER JOB].[By Cust-Title-Job].[Title Name]. ALLMEMBERS } ON ROWS FROM [DW PREP ARCHIVE] WHERE ( ( lastperiods (12, tail ( filter ({[Job Complete Date].[Calendar Full].[Month]. members * [Measures].[Billed Sales Amount]} as s, Not IsEmpty (s. current )),1). item (0). item (0))), ( EXCEPT ([PREP CONTROL HDR].[Bill Formats].[Bill Formats],({[PREP CONTR ...Show All

  • Smart Device Development Maintaining Aspect Ratio of Image When Fit to pictureBox

    When viewing an image, I have a button and when clicked, the image should fit to the pictureBox. However, I need the aspect ratio of the image to be maintained. How would I do this My code for what I have in regards to the button click is below....if more code is needed, I'll post again. Also, pictureBox2.SizeMode = PictureBoxSizeMode. Zoom ; will not work for me because the Zoom member is not functional for the Pocket PC and my platform is for the Pocket PC.  And another issue is that the images that can be loaded into the pictureBox can be any size.  Thanks for any help. private void butFit_Click(object sender, EventArgs e) {             if (pictureBox2 == null)  &n ...Show All

©2008 Software Development Network