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

Software Development Network >> M.N. Ahmed Sahib's Q&A profile

M.N. Ahmed Sahib

Member List

Heathorn Hawk
xS24i
grouper
Kent Boogaart
hwiz
Anonomuys
Codeme
Unknown Name
Neotech
furmangg
Kira_26
enric vives
gafferuk
Aaron Smith
VBtje
pawelek
Stefan van der Merwe
Jazoned
JeffK_
Gondore
Only Title

M.N. Ahmed Sahib's Q&A profile

  • Visual Studio Express Editions Request for the permission of type, when running program

    Hello when I run my program I get an error, I know that I need to use the .NET configuration program to give this program access to the registry, how do I do this Request for the permission of type System.Security.Permissions.RegistryPermission, mscorlib, Thanks for your help Roland it varies. The user must have priviledges to access/modify the registry. If they do then it shouldnt be much of a problem. you may need to set the "trust" of the application in the .NET Configuration application. If this is the case then load up the .NET Framework 2.0 configuration (Start > control panel > Administrative tools). Select runtime security from the My Computer treeview and select to perhaps adjust zone security ...Show All

  • SQL Server SQLServer 2005 setup failed

    SQLServer 2005 setup failed on Windows 2003 . Please see the error log. Thanks Microsoft SQL Server 2005 Setup beginning at Wed Jan 31 17:15:16 2007 Process ID : 1624 C:\dbservices\setup.exe Version: 2005.90.1399.0 Running: LoadResourcesAction at: 2007/0/31 17:15:16 Complete: LoadResourcesAction at: 2007/0/31 17:15:16, returned true Running: ParseBootstrapOptionsAction at: 2007/0/31 17:15:16 Loaded DLL:C:\dbservices\xmlrw.dll Version:2.0.3604.0 Complete: ParseBootstrapOptionsAction at: 2007/0/31 17:15:16, returned true Running: ValidateWinNTAction at: 2007/0/31 17:15:16 Complete: ValidateWinNTAction at: 2007/0/31 17:15:16, returned true Running: ValidateMinOSAction at: 2007/0/31 17:15:16 Complete: ValidateMinOSAction at: 200 ...Show All

  • Visual Studio Express Editions Find out which sub I am in..

    Hi folks, is there a way to figure out the name of a sub while inside it Like, in a form, Me.Name yields the name of the form For debugging I would like to create a message that, in case of an error, tells me what the error is and in which sub/function it happened. Ofcourse I can add the name to the error message by hand, but it would be more convenient. Example Select Case Err.Number Case 13 : MsgBox(Err.Number.ToString & " in CalculateEquivalentStress" ) <<< NOT Case 13: MsgBox(Err.Number.ToString & " - " & thissub.Name.ToString) <<<< something like this End Select Suggestions welcome! Thymen I wos born in ...Show All

  • Visual C# generics: T Create<T>() where T : MyClass, new(...)

    Is there a way to enforce a non default constructor And if not, why not ! I wrote a class that implements a constructor that is in need of an XmlDocument as a parameter. Several other classes inherit from this base class. Now I would like to write a generic create method that instantiates one of the child classes and sets some base properties: class MyClass { public MyClass(XmlDocument xmlDoc) { ... } public ElementName { get { .. } set{ ... } } } class ChildClass1 : MyClass { ... } class ChildClass2 : MyClass { ... } class MyClassFactory { ... public T Create<T>(XmlDocument xmlDoc) where T : MyClass, new() { T myClass = new T(xmlDoc); ... } ... } Obviously that does not work because the generic all ...Show All

  • Windows Search Technologies WDS is very naughty. It doesn't wear pants, and it will not not index my mht files

    Apologies if this question is not appropriate for this forum! My problem is that WDS 3.0 does not seem to index mht files consistently. Sometimes it finds items that are contained in MHT files but most of the time, it does not. The mht files are stored in My Documents, and the entry for mht files in the WDS options is the default: Index Properties and File Contents. The odd thing is that this behavior occurs on two different computers that have similar configurations. Thanks very much for any suggestions!! Darryl Apologies for the cheap trick trying to get your attention, but I have been unable to get any answers to my question, and it's a real problem for me because I have a ton of info in my mht ...Show All

  • Windows Forms C# drag and drop between forms

    I've been trying to figure out how to drag and drop between two forms (i.e applications in C#). I created two forms. One form with a treeview and the other form with a textbox. What I wanted to eventually accomplish was to be able to drag the node name from an item on the treeview (form 1) to the textbox (form2) Therefore, I created the first form with a treeview, a few nodes and the itemdrag event. I created the second form with the dragdrop event and dragenter event and the textbox to capture the node that was dragged over. private void textBox1_DragDrop( object sender, DragEventArgs e) { if (e.Data.GetDataPresent( typeof ( TreeNode ))) { ...e.Data.GetData( typeof ( TreeNode )); } } Is there ...Show All

  • Windows Live Developer Forums Test activity doesn't work in Windows Live Messenger?

    Hi - I had been working on an activity that was working fine in Messenger 7.5. My msgrp2p.xml file was installed in the MSN Messenger directory on both machines that I was testing on. I upgraded to WLM and now can't see any way to get to my activity to test it. Is there something new I need to do Thanks, - rajat I met the same situation and the solution is, to save the xml file as "MSGRP2P.xml", not "msgrp2p.xml". The menu came out again! This is really strange. ...Show All

  • Visual Studio Team System VS 2005 in Vista RC1 crashes... Just so you know

    I have tried about a half dozen variations on RC1/VS2005 and all crash. I am using three very different computers (desktop/laptop - intel/amd) all experience the same symptoms on RC1. Visual Studio 2005 will report that it must close and then closes with all changes lost. It also reports very frequently that an attempt to read or write protected memory occurs and then it must close. Today I tried again with a completely clean install of RC1, and a clean install of VS 2005 with no extension, add-ins or third-party controls. I created a web project and made no edits, did not compile and did not browse. I just left VS open. I used RC1 to browse the net and poked around with windows explorer. I downloaded one file. When I attemp ...Show All

  • SQL Server To execute query in a field

    Hi! if is it possible, how do I do to execute a query inside field For example: Test Result Fields!Teste.Value Select field1 from tabela where field2 = Fields!Teste.Value Thank you Giminiani. It is possible, but hard to test. What you do is setup a datasource with a value of '=Datasource1.Result.Value' where Datasource1 is the datasource that created the SQL you have shown. If what you are trying to do is run dynamic SQL you can just set your datasource to: Select field1 from tablela where field2 = Parameters!Teste.Value Then set Teste up as a hidden paramter defaulted to Fields!Teste.Value. You may have to use a subreport to pass the ...Show All

  • Visual Studio Express Editions Failure to repaint

    Hello, I'm new here but not new to programming. My recent programming has been with Borland C++ Builder and Delphi, pre .NET editions. I like what I see in C# / .NET. For my first C# application I wrote a windows app that displays a pie chart of how much space on a storage drive is used by a particular sub-tree, e.g. how much of drive D: is used by Music, how much by SourceCode, etc. I have a panel across the top with a ComboBox for the drive plus some text display and the lower part of the window is a splitter. The left plane of the splitter contains a tree view of the files and the right panel is used to display the pie chart. Drawing occurs in the Paint event of the panel using FillEllipse and FillPie. Mostly this works fi ...Show All

  • Visual Studio MSBuild with WebApplication: error MSB3191: Unable to create directory "bin\"

    I'm running MSBuild in my build machine using CruiseControl.NET. On that machine I don't have nor VS2005, and WebAppProject. I got it run copying the .target file but then, when the MSBuild file compiles the my web application project I get an error: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(750,9): error MSB3191: Unable to create directory "bin\". Cannot create "E:\CCNET-Projects\workingFolder\Subtext\SubtextSolution\Subtext.Web\bin" because a file or directory with the same name already exists. What my build file does is get a clean copy of the solution (removes all \bin and \obj folders) and then start the build in my solution file. The problem is that the web app tasks, as soon as the ...Show All

  • Visual Studio 2008 (Pre-release) Release build of .NET 3.0 has broken my application publishing

    Before uninstalling September beta version of WPF I was able to publish my application. Now, with the release version of WPF, after a complete rebuild, I get the following error when I try to publish the application: Error 2 SignTool reported an error 'Failed to sign .\bin\Release\MySample.publish\\setup.exe. SignTool Error: Signtool requires CAPICOM version 2.1.0.1 or higher. Please copy the latest version of CAPICOM.dll into the directory that contains SignTool.exe. If CAPICOM.dll exists, you may not have proper permissions to install CAPICOM. CAPICOM.dll does exist and its version is 2.1.0.2 (10/30/2006). Just in case, I manually registered the dll with regsvr32 but it made no difference. Does anybody know why this is ha ...Show All

  • Visual Studio 2008 (Pre-release) Image serialization

    Hi! Why WCF runtime cannot serialize Image (Bitmap) class The compiler still throws exception that Bitmap object can't be serialized. Do you have a full example of WCF service that can receive a bitmap from the client any help appreciated. Can't find anything on the web, MSDN and Pro WCF examples that really shows how to do this in a short simple way. Don't wanna clutter up my app with uneccesary code if I don't have to. [ ServiceContract (Name = "Service1_sc" )] [ ServiceKnownType ( typeof ( Bitmap ))] public interface IWinFAService { [ OperationContract ] UploadFlag_ctr UploadOperation( PhototUpload_ctr dataContractValue); } [ KnownType ( typeof ( Bitmap ))] public ...Show All

  • SQL Server stored procedure programming for SQL server 2000 for VB.NET 2005

    Would anybody recommend any book on stored procedure programming for SQL server 2000 for VB.NET 2005. I have looked at many books but they do not have much coverage of implementing/Invoking/calling SPs from VB.NET 2005. I have seen books which have too much coverage of SQL server 2000 and rarely any coding implementations in VB.NET 2005. Alex Then I would recommend this one: http://search.barnesandnoble.com/booksearch/isbninquiry.asp ean=9780735620599&pwb=1&z=y ...Show All

  • .NET Development Need some input and suggestion

    Hi, I need input and suggestion on how to design the project, digital signage. Here's the main feature requirements of the project. For example, there will be 5 computers in a room. Each computer has each screen. I need those computers run the same multimedia file and to be able to synchronize them, meaning, if computer 1 is running playlistA, the rest of the computers should be playing the same thing at the same time. I thought of a solution where each computer will have the exact same playlist as each other, then we should have some kind of the mechanism of checking that each computer is running properly. Another solution is to make 1 of them as a central computer and this one will "broadcast" to the others. This way w ...Show All

©2008 Software Development Network