Hi All, I got the solution on googling.. the DateTimeMode of the DateTime Column in the Dataset should be set to DataSetDateTime.Unspecified. Code:: Dataset1.Tables[0].Columns["DateColumnName"].DateTimeMode = DataSetDateTime.Unspecified;
Chaitanya kumar CVSS
Posts
-
WCF Service -
WCF ServiceHi All, I am using WCF service to retrieve the data from the Stored Procedure. In my resultant Dataset, I have a DateTime column . The value in this column is showing +11.30 Hrs when compared to Database . My Servers are in CST, and I am using IT timezone. Is there any setting am missing or any solution for this ? Thanks , Chaitanya.
-
How to know list of machine names a person is logged in an Active Directory?Hi All, I got a requirement, "To retrieve the list of machine names in which a particular user is logged on to,in an Active Directory." Any suggestions please .. Thanks & Regards, Chaitanya.
-
Problem in retrieving computer information in the active directoryHi Friends, I am working in vb2005. I have been struck up in my work while retrieving the computer information in a active directory . :( This is the code I am using,
dim np as object np = GetObject("LDAP:") dim user as object user = np.OpenDSObject( LDAPPath , vbNullString, vbNullString, ActiveDs.__MIDL___MIDL_itf_ads_0000_0018.ADS_SECURE_AUTHENTICATION)
This code is working well while retrieving person data ,but when it comes to computer it is throwing the following message . The specified directory service attribute or value does not exist. (Exception from HRESULT: 0x8007200A) The LDAPPath that had passed is correct one.But still getting the error. Please help me out to solve this problem.Thanks in advance . Regards, Chaitanya -
How to open ms word form vb.net to a particular bookmark?Hi friends, I need help in opening a msword file from vb.net2005 to a particular Bookmark of the word document . Please help me to complete this task.. Thanks , Chaitanya
-
How to handle Listview mouse events?Thanks Brajoez.. But I need to handle both the click and doubleclick events at a time . For me, when I click once, it is raising click event and same for doubleclick too.. I want to differentiate both..
-
How to handle Listview mouse events?Hi I am working on vb2005 .In my require ,I need to handle mouseclick and mousedoubleclick events .I tried to use those event ,but for both single and double click only mouseclick event is raising. So ,how could I handle both the situations? Please help me out in solving my issue.. Thanks Chaitanya
-
How to get IP Addresses of all the Subdomains in a Domain ? [modified]Hi Dharmchand, Thanks for your help , but my requirement is to get Ip addresses of a particular domain . whose IPAddress is known.
-
How to get IP Addresses of all the Subdomains in a Domain ? [modified]Hi all, I have a requirement where I need to get the IPs of all Subdomains in a Domain using VB.Net2005. for example , I have the IP of the Domain "codepro.xyz.net".. under this server there are many subserver(or subdomains) exists like "codepro.xyz.net\code$" Here my requirement is to get all such subserver names or their ip addresses . Any cade samples for this Thanks in advance..
modified on Monday, June 30, 2008 6:31 AM
-
vb6 migration to .netHi I too doing the same job ..I didn't find any tool for this conversion. Try to open the VB6 project file with the Visual Studio,it will ask for upgrade option It will upgrade some code and leaves a message over the code where it fails. Happy coding..
-
Getting error while using WSAStartup methodHi I am facing problem while using windows API in VB.net 2005. This is the code i am using.
Private Structure WSADATA Dim wVersion As Short Dim wHighVersion As Short Dim szDescription() As Byte Dim szSystemStatus() As Byte Dim iMaxSockets As Short Dim iMaxUdpDg As Short Dim lpszVendorInfo As Integer Public Sub Initialize() ReDim szDescription(WSADescription_Len) ReDim szSystemStatus(WSASYS_Status_Len) End Sub End Structure Private Const WS_VERSION_REQD As Short = &H101S Dim WSAD As New WSADATA Dim iReturn As Short iReturn = WSAStartup(WS_VERSION_REQD, WSAD)------>This statement is returning an error saying that "System.AccessViolationException was unhandled Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt.""
Please give the suggestions . Thanks , Chaitanya -
How to get more 1000 records from a active directory using ado.netYeah you are when using VB6 but I want to get it in VB.NET
-
How to get more 1000 records from a active directory using ado.nethi I got problem while retrieving records from the active directives using ado.net code .There are nearly 5000 records ,but I am getting only 1000 records for any search .What may be reason ..please help. This is the code used for retrieving..
Dim command As New OleDbCommand("<" & strSearchADsPath & ">", Con) Dim adap As New OleDbDataAdapter(Command) Dim cb As New OleDbCommandBuilder(adap) Dim ds As New DataSet adap.Fill(ds, "tabUser")
Thanks Chaitanya -
Events handlingHi I want to know ..How to validate an event handler whether it is triggered at the time of form load or not .. Please help me with any example code. Thanks Chaitanya
-
Require help in migrating the VB6 code to VB,NET [modified]IADsOU is a ActiveDS method .. In VB6 code it working good but inVB.NET ..not ..
-
Require help in migrating the VB6 code to VB,NET [modified]Hi This is my Vb6 code --------------------------------------- Dim oOu As IADsOU Set oOu = np.OpenDSObject("LDAP://" & "OU=DC" & strLDAPEnd, vbNullString, vbNullString, ADS_SECURE_AUTHENTICATION) For Each child As ActiveDs.IADs In oOu Next child ---------------------------------------- This code is Working in VB6.But When i upgraded it to VB.net .I am geting an error saying that 'oOu' is not a collection type.. What is the wrong in this Thanks Chaitanya
modified on Friday, May 9, 2008 3:17 AM