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

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

Kirmani

Member List

Muzaffer Caglayan
Norbert Bender
Martin Ennemoser
Meerc
Bruce Potter
anderl
SYSTECJF
DoomGoober
Rajiv Roopan
EJ Moritz
IanMB
DaverDee
Salvo Dan
Glenfar
samarrin
slippyC
catherinejean
scylla
Hostwap
waheedahmed
Only Title

Kirmani's Q&A profile

  • Visual C# Reg the Validation in Reusable component

    When creating the reusable components, validations for that input parameters can be written inside the component or in calling form itself. Which is the best way to do which is the best practice What is the Benifit of the doing this one If the validation has got to do with your core business logic,it is best to encapsulate it in the control/class library(depending on whether your component is visual or non-visual),so that it does 2 things- 1.Promotes reusability 2.Any changes that need to be made tomorrow,when your business need changes,will affect the component ONLY.The changes made to the compone ...Show All

  • Windows Forms Merging ContextMenuStrip to ToolStripMenuItem

    I have a context menu which defines a basic set of items(add, remove, properties). I would like to add these items to a ToolStripMenuItem. Using the MainMenu and ContextMenu from .Net 2003 this was very simple to do using the following code: MainMenu1.MenuItems(1).MergeMenu(ContextMenu1) I have tried the ToolStripManager.Merge function but the incoming types are different. There is very little documentation still for Whidbey, as expected since it is still in beta. Can anyone help me out Am I just goin at this with the wrong approach now, has the architecture changed radically Here's the solution Sheva ...Show All

  • Visual Basic How do make progress bar work on the working interface?

    Hi, I am programming two interfaces for a Windows application: interface1 is the main interface, and there is a button on it. When I click the button on the interface1, the interface2 should be shown. But it will take long time to display the interface2 (the working interface), since the interface2 is doing many computings. I would like to set a progress bar so that the interface2 can display immediately after I click the button on the interface1. After the interface2 display, we can see the progress growing step by step. Could anyone provide a sample program Thanks in advance. Moreover, I use the following codes to make the interface2 ...Show All

  • Windows Forms Drawing at design time

    Hi all, I was wondering if in Visual Studio it is possible to draw a line on a form like a seperator of information. I have used the GUI of Access IDE to draw shapes etc by dragging and dropping them onto forms but I cannot see that ability in VS. Does it exist in VS  If so, can anyone point me to it Thanks for your time. ...Show All

  • Windows Forms BindingSource's AddNew fired automatically if no object in collection

    I have a form holding a list of data objects for the user to browse and select to edit.  The data objects come from a CollectionBase-derived object that implements IBindingList (in fact, it's BusinessCollectionBase of CSLA .NET Framework).  This collection is bound to a BindingSource , then the BindingSource is bound to a BindingNavigator and a DataGridView . When this form is loaded, the collection class' static method will read the data from the database and return a collection instance.   If some data objects are loaded into the collection, everything is ok and the BindingSource's AddingNew event will not be fired automati ...Show All

  • Visual Studio 2008 (Pre-release) No WinFX template in VS2005!?

    I have installed the Visual Studio 2005 Extensions, but there's no WinFX project template in Visual Studio. I'm using Vindows Vista Beta 2 Build 5384.4. When you installed Vista Beta 2, did you reformat the hard disk If not, I wonder if your problem could be caused by an old version of the Visual Studio extensions for WinFX on your disk. Also, you are using the Beta 2 version of the Visual Studio extensions, right Tom ...Show All

  • Windows Forms Word obj from VB.NET

    Hello, I am trying to use the Selection.Hyperlinks.Add method in my application. I call the following method as follows: Call loSel.Hyperlinks.Add(loSel.Range, Trim(loDSlsHdrData.Fields("DeckMapLink").Value), "")   where loSel  is my selection object.  It gives me a runtime error that Range property cannot be used as a reference. I guess that is because I am using loSel.R ...Show All

  • Visual C++ ListView grouping mode

    Hi! How can I implement the 'grouping mode' in a derived CListView class Can you please provide me a sample I use 'Microsoft Visual Studio.NET 7.0 beta 2' with 'Microsoft Visual C++.NET 2002' Thanks a lot. VC++ 2002 That too, a Beta Egad!!! Anyway I guess you could access the internal list control and call EnableGroupView on it. FabioDeSantis wrote: Hi! How can I implement the 'grouping mode' in a derived CListView class Can you please provide me a sample I use 'Microsoft Visual Studio.NET 7.0 beta 2' with 'Microsoft Visual C++.NET 2002' Thanks a lot. ...Show All

  • Visual C++ SetDlgItemInt it only show Integer If i want to show float number what should i do ?

    i want to SetDlgItemInt by Float Number. but it is not have a function SetDlgItemFloat can some one help me to show Float Value in DialogBox. int a = 0,b = 0; float dx = 0.0; UINT Ai = GetDlgItemInt(IDC_EDIT1,&a,TRUE); UINT Bi = GetDlgItemInt(IDC_EDIT2,&b,TRUE); dx = (Bi-Ai)/100; UINT sum = dx; SetDlgItemInt(IDC_EDIT3,sum,TRUE); 1>d:\work sheet\integrate\integrate\integratedlg.cpp(168) : warning C4244: 'initializing' : conversion from 'UINT' to 'float', possible loss of data 1>d:\work sheet\integrate\integrate\integratedlg.cpp(173) : warning C4244: 'initializing' : conversion from 'float' to ...Show All

  • .NET Development Uploading picture files using Visual Web Developer

    Could someone tell me where I can find some code examples for uploading picture files using the "upload file" control in Visual Web Developer into SQL Express 2005. I looked at the "personal web" kit and tried to figure out how the file was uploaded and passed into the database seemingly as a binary file. Very clever. Many thanks, Steve. Ps am I posting in the correct thread I couldn't see a forum for Visual Web Developer only Web Services! Hi Steve, You should post questions about Visual Web Developer to the Visual Web Developer forum on the ASP.NET web forums site: http://forums.asp.net http://for ...Show All

  • Visual Studio Team System TF30177 - Error creating new Team Project!

    I keep getting this error.  I looked through all the similar errors on the site and none of it fixed it. This is a clean installation with the TFS - RC. Error TF30170: The plugin Microsoft.ProjectCreationWizard.WorkItemTracking failed during task WITs from group WorkItemTracking. Explanation Plugin error text: “System.Web.Services.Protocols.SoapException: TF51613: [BIS.ReadIdentities] Could not read the following identities : System.ArgumentException: Value cannot be null. at Microsoft.TeamFoundation.Proxy.GroupSecurityService.ReadIdentity(SearchFactor factor, String factorValue, QueryMembership quer ...Show All

  • Visual C# dynamic testing, casting and instantiating generic types

    I'm trying to understand how to manipulate generic types at runtime but can't seem to get at what I'm looking for. For example: object obj = new Dictionary<string, object>(); So I now have generic dictionary object. How do I test obj to determine it is indeed a generic dictionary Is there something similar to: if (obj is Dictionary < what goes here > )    Then once I know this object is a generic dictionary, how do I create a typed reference to it Dictionary< what goes here > typedReference = ( Dictionary <What goes here >) obj; I want to be then be able to add items to the dictionary typedReference.A ...Show All

  • SQL Server Legacy Maintenance Plans

    FYI... I upgraded a SQL 2000 machine to SQL 2005. When I remove a database, it doesn't automatically remove the Legacy Maintenance Plans associated with this database. When I remove the Legacy Maintenance Plan, it doesn't automatically remove the jobs associated with the plan. It also leaves behind a stub in msdb.dbo.sysdbmaintplans. Just a heads-up. These questions were reposted on the Microsoft Product Feedback center as IDs 125848 and 125844 http://connect.microsoft.com/Main/content/content.aspx ContentID=2220 ...Show All

  • SQL Server Replacing sqlserver 2000 with sqlserver 2005 express

    I have an app that uses a sqlserver 2000 jdbc driver to connect to a sqlserver 2000. Is it possible to do a direct replacement of sqlserver 2000 with sqlserver 2005 express just by reconfiguring the app to point to the express The app would still be using the sqlserver 2000 jdbc driver to try and make the connection. If that is a possibility, what can be some differences in the configuration Previously with 2000 the config information I entered is: server name: "machinename"( or ip). I've also tried "machiname/SQLEXPRESS" DB name: name of db instance port: 1433(default) user and pass. My attempts so ...Show All

  • SQL Server Execution of Package failed

    I am trying to design package which would copy all tables and stored procedures from one server to another. It used to be simple task in SQL 2000, there was wizard. However the new wizard does not work... I wrote SSIS package, but when I execute I get the following error: "Can not apply value null to property Login..." Any idea It seems to me that this new SQl2005 is not that simple to use like 2000. 2000 was a great product. I am considering to rollback to 2000. Very frustrated with the new one...          Has anyone been able to find a solution I get the same error: [Transfer S ...Show All

©2008 Software Development Network