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

Software Development Network >> maran.g's Q&A profile

maran.g

Member List

Anton__
Sergio.Rykov
shekhar saran
dmartensen
John_Enters
marrigre
class
Han Qiao
Vedratna
vivekvishist
Salman Maredia
glasssd
XNA Rockstar
gzgzgz
Mateusz Rajca
Jessica Alba
db_olap
Chuck Cobb
MffM
Tryin2Bgood
Only Title

maran.g's Q&A profile

  • Software Development for Windows Vista Problem with Drag & Drop

    Hi! I have the following problem: In my workflow designer host application I have a toolbox implementing ItoolboxService like in the Designer Rehosting example. When I drag items from the toolbox onto the design surface, a correct drag item is shown along with the name of the activity. But when I drop them on the surface, I get a NullReferenceException in the overriden OnDragDrop event of the root activities designer, more precisely when base.OnDragDrop is called. The Activity DragEventArgs seem to be correct tho... When I use the ToolboxService class of the Designer Rehosting example, everything works fine. Although I use exactly the same serialization/deserialization methods as the example... (and the Activity DragE ...Show All

  • Visual C++ typdef in template-class does not compile.

    Hello, I have following Problem: I wrote with Visual Studio 6 a template class that looks like this: template < typename _KEY, typename _ITEM> class API_EXPORT CServer { protected : std::map<xgw::xstring, _KEY*> m_NameMap; public : t ypedef std::map<xgw::xstring, _KEY*>::iterator Iterator; CServer::Iterator Begin() { return m_NameMap.begin(); } }; Well, VC6 does hav no problem compiling the class! But when i try to compile with Visual Studio 2005, I get many errors! Following pointing to the typedef line: Fehler 2 error C2146: Syntaxfehler: Fehlendes ';' vor Bezeichner 'Iterator' d:\_development\nemesis\include\server.h 50 Fehler 3 error C4430: Fehlender Typsp ...Show All

  • Visual Studio Unable to start debugging Unable to start program xxx

    I have been using VS .NET 2002 (VC++) somewhat infrequently. It has recently started complaining that it can't start debugging. I have check several services to see that they are enabled. and have uninstalled several products. I have even uninstalled VS and all the .Net framework and reinstalled. It usually responds with the above error. Occasionally I get an "server had exception" error Any Ideas Good answer. Exactly what I was looking for. ...Show All

  • .NET Development Having problem with Fill() method

    Hi I have a smiple windows form which has a menu and a drop down box. I am trying to populate the drop-down box with the data from database. When There are no compile errors but when I try to run the program it throws an exception saying that Fill: SelectCommand.Connection property has not been initialized. And the exception it throws is - System.InvalidOperationException: Fill: SelectCommand.Connection property has not been initialized. Does anyone have a clue as what could be wrong with this code. Thanks for your time, joe using System; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Data.SqlClient; pu ...Show All

  • Visual C# Calling Event Issues??? Help!

    When my form closes I want to fire an event that will do somethings....but i think i may be calling it wrong...Here is my method signiture...and this is the error.... [code languge="C#"] public delegate void frmClosing ( object sender, FormClosingEventArgs e); public frmClosing ClosingVendorDetails; public static void DisplayVendorDetails(System.Windows.Forms. Form ParentForm, BHFreight.Tracking.BusinessObjects. VendorOrderLegDetail _VendorLeg, frmClosing ClosingForm) { BHFreight.Tracking.UI.MainWindows. VendorOrderLegDetailsForm frmVendorLeg = new VendorOrderLegDetailsForm (); frmVendorLeg._VendorDetail = _VendorLeg; frmVendorLeg.LoadVendorObjectToForm(); frmVendorLeg.ShowDi ...Show All

  • .NET Development C# Webservices howto?

    Hallo all thank for all the grate help to now :) im trying to learn webservices whit C# im relly new to C# bot i can use this to make more defrinde item to my websites and more.... here is my code from my webservices <% @ WebService Language ="C#" Class ="HalloService" %> using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; [ WebService ( Namespace = "http://adsnetwork.dk/" , Name = "AdsNetwork - Statestik" , Description = "Dette er et lille udkast pa hvordan man bruger webservices via .NET 2.0 C#" )] [ WebServiceBinding (ConformsTo = WsiProfiles .BasicProfile1_1)] public class ...Show All

  • Visual FoxPro problem with class

    i get the error ole error class is not registered...... what does this mean and how do i fix it i read the vfp help files on it but it was too confusing for me. First, you need to know what ActiveX control is causing the OLE error. Then determine what file its contained in, its usually an OCX or DLL file, i.e. COMCTL32.OCX. Then run the following command either using Start->Run or using the command prompt - REGSVR32 COMCTL32.OCX ...Show All

  • Visual Studio Team System How to automatically create workitem when Team build fails?

    Hi, How to automatically create workitem when the unit test fails/ incomplete code coverage during Team build Thanks... Steven St. Jean wrote a bit about this in http://sstjean.blogspot.com/2006/10/tfs-team-build-on-failed-build-assign.html . Buck ...Show All

  • Windows Forms datagrid troubles with stored procedure (vs 2003)

    I have the following code: Dim daGrid1 As New SqlDataAdapter(Me.SqlCommand1) (a stored proc) Dim dsGrid1 As New DataSet dsGrid1.Clear() daGrid1.Fill(dsGrid1, "top") DataGrid1.DataSource = dsGrid1.Tables("top").DefaultView I set the command to a stored proce and fill a dataset, then set the datagrid1 to the dataset table. I can then see the data grid on the form filled out. I need to change the column headings, hide some columns, then click on a row, and get the hidden field and pass it on to another form. I thought I would need a table style for that. But when I try to add one, I get: "The data grid table styles collection already contains a table style with the same mapping name." ...Show All

  • Visual Studio Team System Proxy statistics website not available

    I have been logging about my proxy problems already in some other thread but haven't got that much response. ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1216865&SiteID=1 ) So this is a new post with a new problem that hopefully could lead to a resolution for the other problems as well. When I try to access the statistics page, I'm getting a login dialog and whatever account I use it always ends up in an "Access Denied" error. I installed Fiddler to find out what really happens. Fiddler shows a severe error with no response information. The properties of the failed session displays: SESSION STATE: Aborted === FLAGS ==== X-CLIENTIP: 127.0.0.1 X-CLIENTPORT: 4115 I have no idea where to go from h ...Show All

  • Visual Studio Express Editions Locking Mouse

    Hi ive been looking for days to find the code that will lock "Block" the mouse move event from being processed... So far i've tried the code: actHook= new UserActivityHook (); actHook.OnMouseActivity+= new MouseEventHandler (MouseMoved); public void MouseMoved( object sender, MouseEventArgs e) { Cursor .Position = Ace; } where Ace is the point that the mouse was at last. This doesn't work unfortunatly as i can still move the mouse around... That event is hooked with a class called UserActivityHook (declared as actHook) (not my class) UserActivityHook public event MouseEventHandler OnMouseActivity; I'm thinking that Cursor .Position is only repainting the cursor and while the mouse ...Show All

  • SQL Server SIMPLE QUESTION !!

    This might be a very dumb question but "is there an easy way to obtain only the name of the fields from a table" I am sure there is but as you might have guess I am just a starter who cannot figure it out. Any code is appreciated for the same. Thanks! NEVILLE GEORGE The best solution might be using the INFORMATION_SCHEMA.COLUMNS system view. You need not join the SYSCOLUMNS & SYSOBJECT tables here. The System View does it for you :) You can fetch the following information from this view.. Table_Name Column_Name Ordinal_Position Column_Default Is_Nullable Data_Type Character_Maximum_Length Character_Octet_Length Numeric_Precision Numeric_Precision_Radix Numeric_Scale Datetime_ ...Show All

  • .NET Development Parser Error Message: Unrecognized attribute 'xmlns'.

    Hello There! I have a web service which works fine until you precompile it (ASP.NET 2.0). I place it into a virtual directory of IIS 5.1. When you try to browse it, instead of getting the webservice list of available methods, you get a server error report: Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Unrecognized attribute 'xmlns'. Source Error: Line 1: < xml version="1.0" > Line 2: <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> Line 3: <system.web> Line 4: & ...Show All

  • Audio and Video Development Superimposition filter with MF

    Hi, I've been working for a little time with Media Foundation, trying to implement an application I had once created with DShow. This is a C# form using a wrapper and a filter to play a video file applying a transform. With DShow, I was able to write a filter to write on the video, using a HBITMAP and the m_pinput properties in the CTransformFilter Class. In MF, I'm not able to reproduce the same process like that. So my question is : "Is it possible to write a filter with MF, which would allow to write on the video (using Superimposition) Thanks The Grayscale MFT sample is there mostly to show you around the mechanics of implementing an MFT; of course we expect MFTs in the wild to be doing somethin ...Show All

  • SharePoint Products and Technologies Can we delete a document object from MOSS document library using VB/ C# code ?

    Hi, I like to know if we can delete the documents in the document object library using a program written in C# or VB or any other language Thanks, Lokeya yes, but the application (the program) would have to run on the sharepoint server itself. Alternatively you can write a web service that gets a url of a document to delete and deletes it. ...Show All

©2008 Software Development Network