Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
V

Vikas Salvi

@Vikas Salvi
About
Posts
4
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Faulting applicationon windows 2k3 server
    V Vikas Salvi

    We are running a .Net 2.0 application on a Windows 2003 server machine with service pack 1. But the application crashes frequently (say once every 15 min), and following message is logged in event viewer - "Faulting application , faulting module mscorwks.dll" we hv also tried to install the patch from the following link http://support.microsoft.com/kb/913384[^] But the problem persists.. Any help on this issue will be highly appreciated. Thanks in advance

    Vikas Salvi Programmer Analyst

    .NET (Core and Framework)

  • Cannot take the address or size of a variable of a managed type
    V Vikas Salvi

    hi all, following is a structure that i hv define [StructLayout(LayoutKind.Sequential, Size = 16)] public struct MESSAGE_INFO { public UInt16 _MessageCode; public UInt16 _ChannelNo; [MarshalAs(UnmanagedType.ByValArray, SizeConst=6)] public UInt16[] _Parameter; } Now when i declare pointer to this structure, It throws the error "Cannot take the address or size of a variable of a managed type" MESSAGE_INFO* ptrMsgInfo But if i declare "public UInt16[] _Parameter" as only "public UInt16 _Parameter" then it compiles perfectly. Any light on this would be highly appreciated... Thanx in advance

    Vikas Salvi Programmer Analyst

    C# help

  • Get me a count....
    V Vikas Salvi

    using a Count(*) query is much simple n straightforward i suppose :-D

    Vikas Salvi Programmer Analyst

    The Weird and The Wonderful tools question

  • Get me a count....
    V Vikas Salvi

    I m really speechless on this.. string strQuery = "Select * from tblExtension where UserType = " + _UserType; int _Count = 0; OleDbDataReader drExtension = OleDbHelper.ExecuteReader(Utility.ConnectionString, CommandType.Text, strQuery); using(drExtension) { while(drExtension.Read()) { ++_Count; } } return _Count; ny comment??

    Vikas Salvi Programmer Analyst

    The Weird and The Wonderful tools question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups