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

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

himanj

Member List

YCDC.CN
Jeff Blake
David S. Anderson
yosonu
john schmidty
djshades2004
Mohammad Mir mostafa
knji
Heathermack
Barzot
Henri20
prema.b
George Waters
SteveJB
MrZap
ks2006
Moim Hossain
Vassilux
hrubesh
Mario Almeida
Only Title

himanj's Q&A profile

  • .NET Development Unboxing nullable types in CIL

    Does anyone know how works the unboxing for nullable types in CIL So, for example, what happens if the instruction "unbox" is applied with a type token argument Nullable<int32> I guess that a new Nullable<int32> instance is allocated, and a (managed) pointer to the instance is pushed onto the evaluation stack. Is that right If "unbox" does not find a boxed int32 on the stack, then an exception is thrown. Please someone correct me if I'm wrong! Thanks! Cata Just noticed this thread.... When the CLR allocates a Nullable<T> instance as the result of an unbox instruction, is this allocated on the normal CLI heap, and as such there are no special issues surround the live ...Show All

  • Visual Basic using vb .net dll in vb

    hello everybody I want to import a vb.net dll in vb. I have made a project of class Library in VB.Net, then Project Properties->ConfigurationProperties->build, checked the Register for Com Interop checkbox and made a build, the output was a .tlb file and a dll file Added the .tlb refrence in my vb project I was able to create an instance of the class. but was not able to access any of the functions in the library Thanks in advance Hi Sarguna, You also need to put the <ComClass()> attribute on your class, you can check out this link for some more information: http://msdn2.microsoft.com/en-us/library/x66s8zcd.aspx Hope that helps, Jonathan ...Show All

  • Visual Basic Add permissions to exe

    I want to add permissions to an vb.net exe. I don't want them in a separate file. What i want is for a user to click on a link in there browser, select run, and have the program run, instead of saying don't have permissions to display window. and no i don't want to use click once, its buggy, and don't work in firefox by default. I think that it is not a bug, but rather is by design. The reason it runs when you click save and does not run when you just click run is because you are running it from the 'Internet Zone'. When I suggested that you check the firewall, i'm not refering to packet filtering, i'm refering to an application firewall like Symantec Firewall that will monitor all applications tha ...Show All

  • Windows Forms Form that never loses focus

    I have created a form with SetTopmost set, and shown it with dlg.ShowDialog(), but I really need it to keep the focus EVEN if the user clicks on another application. Has anyone got a bit of windows magic that means that my dialog box keeps the focus whatever happens, until I dismiss it in code (with dlg.Close() or whatever). I've tried catching the 'Deactivate' event and so on, but that doesn't seem to solve the problem. Thanks for any clues or thoughts..... Congrats! Consider posting your project to www.codeproject.com, you'll avoid an email storm... ...Show All

  • SQL Server How to allow FULLTEXT SEARCH INDEXING to non-admin user (in MSSQL 2000)?

    I've tried searching a lot on the net but am not able to find out how to allow a user (not admin/owner) to be able to create & populate the FullText Indexing Catalogs on the tables he creates (in MSSQL 2000)  . Currently although with admin account, I can create FullText Catalogs but I have to provide the permissions to build & populate catalogs to some user, so that he can use FullText Search on his tables. Please Help. I'm not very experienced in using SQL, so if you can give a bit of explaination also then it would be really helpfull :-) Cheers :-) Although the user has been given db_owner but in Sql Server Enterprise Manager it shows FullText Service with a red Flag (Stopped) & w ...Show All

  • Visual Studio Tools for Office Outlook property page does not show correct

    Hi all, i added a new property page to Outlook (developed with VSTO in C#). This page shows up, but it has a little bug. There is a small part which is not shown correct. I’ve added a picture which shows the problem. http://img.langalaxy.de/ppage.png What can I do, that the property page looks like "Outlook" property page Thanks Hi, you see the small bar at the bottom in standard control color. This belongs not to my user control. My control is actually bigger than the displayed part, but only the part with the "light color" is shown. For any reason my control is cut off at the bottom. thanks for helping ...Show All

  • SQL Server Pivot table with no numeric aggregation?

    I'm trying to pivot the data in a table but not aggregate numeric data, just rearrange the data in columns as opposed to rows. For example, my initial table could be represented by this structure: ID Label Value 1 a val1 1 b val2 1 c val3 1 d val4 1 e val5 2 a val6 2 b val7 2 c val8 2 d val9 2 e val10 and I am trying to get it into the following structure: ID Label a Label b Label c Label d Label e 1 val1 val2 val3 val4 val5 2 val6 val7 val8 val9 val10 The number of labels is known beforehand, ...Show All

  • Windows Forms .NET 1.0, Deleting rows and events

    I've built a very basic grid app. We read in a file, create a data table out of the data in the file, then bind the datatable to the grid. We want to allow the user to delete rows from the grid, I've noticed that this functionality is right out of the box. When someone deletes some rows, I need to recalculate some data to be displayed in the toolbar. Is there or is there not an event that gets fired when the user has a row(s) selected and when the user click on the delete key I tried both : KeyPress and KeyDown events but, those don't get fired when a cell has or row has the focus. That being the case, how do you know when someone deletes a row Thanks for any help!!! You can use this (after setting DataSource): ...Show All

  • Visual Studio 2008 (Pre-release) RequestContextMessageProperty class throws NullReferenceException

    The "IDisposable.Dispose()" method of the internal class RequestContextMessageProperty throws a NullReferenceException, because it does not check if the context field is null before it attempts to close it, i.e. context.Close() I came accross this bug when I used the wsProfileDualHttp Binding and executed the following code: MessageBuffer buffer = msg.CreateBufferedCopy(int.MaxValue); msg = buffer.CreateMessage(); // do stuff msg = buffer.CreateMessage(); buffer.Close(); The last line, i.e. buffer.Close(), throws the exception because it contains a RequestContextMessageProperty property that has a context field value which is null. Anybody else came accross this problem ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Custom Model Class and Content Pipeline

    Today I started an experiment aimed at creating my own model classes. My eventual goal is to store mesh data that doesn't fit nicely into the standard Model class. Although my goal isn't to recreate the Model class (rather, its to create a different kind of model), for the first stage in my experiment that's sort of what I did. In any case, there's been enough questions about the ContentPipeline that I thought I'd make it available to the community. The code that I wrote for it can be considered public domain (I'm not attached to it), but the content files are from the SpaceWar app, so you'll have to consult XNA's documentation for the rights to those files (hopefully, MS won't mind me posting them as part of this example =p). The follo ...Show All

  • SQL Server configure web synchronization pb

    hi, First, sorry for my english, I'm french When i try to configure web synchronization, I get the following err " success Hresult 0x8007000"(!!!) for the step : setting the snapshot share permission I really don't understand : my folder have all the rights for the user agent... I don't know what to do. Config . SQL Server SP4,Microsoft SQL Server 2005 Mobile Edition It had worked but I had to reinstall the system and now, it does not work anymore Thans for your help, Eric I'm sorry to post a new message but I have a demonstration at the end of the week and I don't have solved the problem. Can anyone help me (I can let my msn adress if necessary) ...Show All

  • Visual C# Difference between struct value or reference

    What is the difference between myStruct aStruct; and myStruct aStruct = new myStruct(); I would have thought that the latter was a reference type and if I put aStruct = bStruct; then aStruct would point to bStruct but in fact it just seems to copy the contents. Not in the nature of structs. It is always a copy, never a reference. Think of a struct as an intrinsic value such as integer, which as a struct is always copied. The new just allows you to specify a constructor for it similar to a class. Read more about structs Using Structs (C#) ...Show All

  • SQL Server Need Help about Initial Snapshot

    i have created a publication whereas i have provided a network path to its snapshop folder e.g ( \\server\folder ) at time of creating. When i try to make a Pull Subscription and follow all steps of wizards, it gives me following error " The initial snapshot for publication '---' is not yet available". can you guide me what are causes of this problem and how may i solve it Thanks for help. Regards, After you create the publication, you need to start the snapshot agent.  The snapshot agent is what creates the files available for subscriptions to use. ...Show All

  • Windows Forms Working with GridViews

    When I select on field ( a checkbox ) in the gridview I want to make that given row only readable, how do I do it Thanks JM Hi, This is quite confusing. If you can check a row and make it read-only then how would you uncheck it and make it editable again Since you can't uncheck the row coz the row would be then marked as readonly. Could you please explain a little bit further on what you are trying to accomplish here. :) Maybe we can offer a different approach to solve your problem. cheers, Paul June A. Domag ...Show All

  • Visual Studio solution!

    Hi, Using Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional Microsoft Visual C# 2005 77626-009-0000007-41642 Microsoft Visual C# 2005 Microsoft Visual Studio 2005 Tools for Applications 77626-009-0000007-41642 Microsoft Visual Studio 2005 Tools for Applications Microsoft Visual Web Developer 2005 77626-009-0000007-41642 Microsoft Visual Web Developer 2005 Toolbox does not display most of the controls This is even after "Rest Toolbox", "Reset all settings", and "Import selected environment settings". I have also uninstalled and reinstalled three times. The only way it ...Show All

©2008 Software Development Network