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

Software Development Network >> .net sukbir's Q&A profile

.net sukbir

Member List

ChKa
emilioc
b182f117
vtortola
NitinViswanathan
Jonas Pranckevicius
yvolk
PhilthyPhil
DaveSmith
Csharpq
JavaBoy
Virendra Panchal
baswegan2
T72
ajliaks
Hockey Nut
Eric Liprandi
Lawrence 007
Cyclonique
Krutika
Only Title

.net sukbir's Q&A profile

  • .NET Development LNK2022 error

    Hi all, We have mixup of managed and unmanaged code. Managed code we compile using /clr:oldsyntax option. We do not use packing. Now we want to compile all the files wether managed or unmanaged using /clr:oldsyntax option. When I do so , I get following errors: prfinpz4.obj : error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (_devicemodeA): (0x020002d7). wptinpcp.obj : error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (_devicemodeA): (0x02000312). prfinpz3.obj : error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (_devicemodeA): (0x020002c8). I found that _devicemode ...Show All

  • .NET Development How to run an sql stored procedure on my aspx page ?

    Hi all, I've built a page whitout gridview or detrailsview. I just want to place a textbox and a button which run a Sql stored procedure with in parameter textbox1.text . How can I do that Should I create a sql datasource first Thx. Here is sample http://support.microsoft.com/kb/306574/en-us You do NOT need to create a data source. Sample shows how to bind the data, but you could call stored procedure or SQL statement and just assign the value to the text box without binding. ...Show All

  • Visual C++ LNK2020 when importing a mixed-code static library

    Hello. I have a rather strange problem with VC2005 Express : Project A : I do a static library that contains both managed and unmanaged code. I have 4 100%-unmanaged .cpp files and 3 mixed-code (A.cpp, R1 and R2.cpp, the last two containing definition of two managed classes members). I link with the /clr option, no problem. Project B : Windows Forms App. I import my A.lib and corresponding header files. I get LNK2020 errors (unresolved tokens) on managed classes members in R1 and R2. Compiled with /clr also. => Why these errors It works fine if I move the content of R1 and R2 in A.cpp in project A (!!), but I need not to for other projects. Moireover, I would like to understand . Thanks in advance. And sorry for English mistakes. ...Show All

  • Visual Basic How can we see other applications open in windows and know when they are minimized or maximized

    Hi everyone I need to know if there is a way i can see other applications open in windows and know when they are minimized or maximized. So basically if there are five applications open like outlook, excel, word, a bowser, etc. How can i see this in vb.net code Is it possible then to know when that form is minimzied or maximized (event) Thanks in advance :) Hi, sorry no, I don't have any examples, I use SetWindowPos plenty, but not getWindowPos. In fact I'm not entirely sure that it will do what you need, but I do remember I have used it before to see if a window is minimised, so it must be possible! I doubt very much you can trap a minimeze event before it happens, the best you can do would be to have a tight loop ...Show All

  • .NET Development Trouble with Transaction & OLEDB

    I have the following code: Imports System.Transaction ... Using trScope = New TransactionScope Try Me .Repar1TableAdapter.Insert(xxx data ) Me .Repar2TableAdapter.Insert(xxx data) Me . ReparObsTableAdapter.Insert(xxx data) Catch ex As Exception MsgBox( "Error de Insert ..." ) End Try trScope.Complete() trScope.Dispose() End Using I have a conection to access database: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=R:\Reparaciones.mdb" I'm getting a exception on the first Insert: Message="El proveedor 'Microsoft.Jet.OLEDB.4.0' no admite la interfaz ITransactionLocal. Las transacciones locales no estan disponibles con el ...Show All

  • Visual Studio [Q] How to check MMX registers in 64bit debugging mode?

    Hello. I understand that any use of MMX instruction in 64bit mode is not recommended by the Visual Studio/C++ 2005, but I have assembly source codes written in MMX instructions. It is quite usable. However, problem is that there seems to be no way to check MMX registers using the "registers" pane or tab, ( or whatever you call. ) Is there any way to check the MMX registers I put some code to move the content of the MMX registers to general purpose registers, but it is not convenient. Thank you. ...Show All

  • Visual Basic How to Break on All Errors?

    In Visual Basic 6 under the Options...General tab, there is an option to "Break on All Errors". I've been unable to find a similar setting in Visual Studio 2005. Does something similar exist Hi, Michael, The closest you're going to get to that is the dialog which comes up from choosing Debug/Exceptions. It will allow you to set which exceptions you should break on, and under what circumstances (i.e., break on user-unhandled exceptions). By default, I believe we break on all user-unhandled exceptions, and about a dozen exceptions when thrown regardless of handling. The article at http://msdn2.microsoft.com/en-us/library/x85tt0dd.aspx is a bit more specific about exception handling when debuggi ...Show All

  • Visual Studio Can the debugger be used to step through a guidance package?

    I have a few random questions - any help is appreciated. Note the general sense of frustration. Is it possible to use the debugger to step through a Guidance Package while it creates a solution Is there documentation, other than the chm file (note: this should include a how-to) What is the sequence of how code is executed when a solution is created from a package How does one interpret the below Action < Action Name = " ExportSolutionTemplateRef " Type = " RefCreator " AssetName = " ExportSolutionTemplate " ReferenceType = " Microsoft.Practices.SoftwareFactories.ServiceFactory.References.SolutionPropertiesReference, Microsoft.Practices.SoftwareFactories.ServiceFactory & ...Show All

  • Windows Live Developer Forums FAO The VE Developers - Get and Set ZoomLevel

    OK, we have been using VE now for a few months with grate affect but some of my sales staff are complaining a little bit about how the map zooms in and out. When working inside central London we need to zoom down to a certain level which is between the range we are aloud. Ideally I would love it if you could zoom the map with a double rather than an int16. Trying to send the SetZoomLevel a number like 4.5 seems to rip apart the map big time and put random image tiles into the area you are looking at. Is there any future plans of making the zoom level more accurate or are we stuck with the 19 levels Yeah I did think exactly the same as what you said mate, i should really have phrased the question a li ...Show All

  • Windows Forms DateTime format problem in SQL query...

    Hi! I have a DataGridView connected to a dataset and I 've already created a query which searches the entire database in order to extract rows with a certain date. The user enters the desirable date in a textbox. But there is a problem with the date format: I've found that when i enter the date in the following format: MM/dd/yyyy it works fine.But wherever i am using this format: dd/MM/yyyy Visual Studio generates the following error: ''An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.dll Additional information: The conversion of char data type to smalldatetime data type resulted in an out-of-range smalldatetime value.'' Any help how to overcome this problem ...Show All

  • Windows Forms Help on binding object properties to windows form controls?

    Hi, I'm new to this, and all of the help I've read so far is just over the top for me! I need to know how to do the following please: I have 3 namespaces:  DomainModel, MainMenuForm, and AddAnimalForm. The DomainModel contains a class called Animal, and is referenced by both the forms. From the MainMenu, I am instantiating a new Animal, and setting its properties.  I then instantiate the AddAnimalForm, passing the new Animal as a parameter. The controls on the AddAnimalForm are bound to the properties of the Animal object. What is the simplest way to have the controls take on the values of the properties of the input parameter Animal when the form is displayed Another thought struck me  -  c ...Show All

  • .NET Development Accessing Indexers using Reflection

    Hi, How to access the indexers using reflection. I would like to get the values based on the index. Please help me. Hi, I have a class like, public class A { private List<int> _items; public List<int> Items { get { return _items;} set { _items = value; } } } I would like to access the values of this list using Reflection, I have loaded this type like consider a as an object of class A Type t = a.GetType(); PropertyInfo info = t.GetProperty("Items"); -- now how can i access the Items collection values. ...Show All

  • SQL Server Active/Active Clustering

    Does SQL Server 2005 support Active/Active clustering If so, where can I find a how-to on setting up a active/active cluster That's definitely a news flash, because I have dozens of clustering implementations of SQL Server 2005 that have multiple instances installed on them. It is VERY definitely supported and has been possible since SQL Server 2000. This is NOT something that will ever go away. However, there really is no such thing as an Active/Active SQL Server cluster. I can install a single instance of SQL Server into a cluster and I can install multiple instances of SQL Server into a cluster. Whether I decide to run all of the instances on a single node or run instances on each of the nodes is e ...Show All

  • Internet Explorer Development Content-Disposition Problem

    Hi, I am setting Content-disposition to Inline and filename = test-sql.txt and sending the file to be displayed automatically in IE. IE displays the file properly. If i set the filename = test1-attachment.txt. It opens an infromation bar. I dont know why this open for this file name only. I am using Windows XP with SP2 and IE 6.0. Is this problem because of filename, if so i need to know what is the reason for it. Thanks in Advance. Regards, Arul. ...Show All

  • SQL Server Multi Valued Parameter in SQL 2000 Reporting SERVICES

    I need for the user to be able to chose MULTIPLE Values, from within a parameterized field. Is it possible to have multiple selection from 1 parameter in SQL 2000 Reporting services hi jens! i have similar problem. i will let the user insert a comma separated list, but i'm not sure how to handle that in SQL code can you please help! thanks! for example if they entered in city parameter: new york,las vegas,los angeles ...Show All

©2008 Software Development Network