
Madz
Avatar/Signature-
Posts
173 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by Madz
-
I am developing a Network Application i am facing problem , in VB6 Winsock control we have 6 states of Winsock control so we can determinte at which state now socket it. in .net i have implemented a TCPLISTNER server which listnes and connects client , now the problem is that when server is closed, the tcp client still assumes it is connected, how can i check wether this connection is active or not ? When i write netstat -a it shows me that connection is on Close_Wait , but the TCP Client has only 2 states true or false , Please tell me how can i check wether at this time my connection is active or not ?
-
I am working on a project with which an administrator can enter informaton about his dealers and distributors. this is code of customers table this is the Dataset which i am using <?xml version="1.0" standalone="yes" ?> <xs:schema id="dtCustomers" targetNamespace="http://www.tempuri.org/dtCustomers.xsd" xmlns:mstns="http://www.tempuri.org/dtCustomers.xsd" xmlns="http://www.tempuri.org/dtCustomers.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified"> <xs:element name="dtCustomers" msdata:IsDataSet="true"> <xs:complexType> <xs:choice maxOccurs="unbounded"> <xs:element name="Customers"> <xs:complexType> <xs:sequence> <xs:element name="Name" type="xs:string" /> <xs:element name="Distributor" type="xs:boolean" /> <xs:element name="Dealer" type="xs:boolean" /> <xs:element name="Address" type="xs:string" /> <xs:element name="City" type="xs:string" /> <xs:element name="Phone" type="xs:string" /> <xs:element name="Fax" type="xs:string" minOccurs="0" /> </xs:sequence> </xs:complexType> </xs:element> </xs:choice> </xs:complexType> </xs:element> </xs:schema> next with a search button i am doing this filling the Dataset and Refreshing the Results in a Grid dsShowCustomers.Clear() On Error Resume Next If Not cboCity.Text = "" Then ' cbocity is a Combo Box in which some cities are listed. cmdSelectCustomer.CommandText = "Select Name, Distributor, Dealer, Address, City, Phone, Fax From Customers Where City = '" & cboCity.Text & "'" Debug.WriteLine(cmdSelectCustomer.CommandText) Else cmdSelectCustomer.CommandText = "Select Name, Distributor, Dealer, Address, City, Phone, Fax From Customers" End If mySQL.Open() cmdSelectCustomer.ExecuteNonQuery() mySQL.Close() myAdapter.Fill(dsShowCustomers) 'datagrid here dgCustomers.Refresh() Here i am able to generate the Dataset i am making changes in Data in DataGrid but i dont know how to send it back to Database here myAdapter.update(dataset) doesnot working. Is there any solution
-
I am having a problem I have a connections which i accessing data from a database. after connecting a database i am filling a dataset with a table and showing results in a Grid. i grid i change many values but these values are not commited to database is there any way so i could be able to commit that dataset back to there from where it was originated
-
I have made this application. with which i can make changes to registry but .... Can any one enhance it so that when application loads it should show which Registry Setting is Enabled or Disabled registry settings.zip
-
Hello Dudes you have not checked my Coding i have written IF NOT cn.state = sckconnected Any how I have solved the problem using TCPCLIENT in normal it do not tell it's state i have to use it's protected property ACTIVE i made a class Imports System.Net.Sockets Public Class mClient Inherits TcpClient Public Property Connected() As Boolean Get If Me.Active = True Then Return True Else Return False End If End Get Set(ByVal Value As Boolean) End Set End Property End Class no i can check it as if Client.active = then try to connect it else exit sub end if
-
Dear IS this possible to Generate Repors at Run time with recordset which we specify Such as we want to see only sale of tihs month on report ??? IS this possible with crystal reports. is there any example on internet ???
-
Dear I am not getting an idea about how to handel this. i have a client server program, in which server listens for connections and client connects to server When a PC starts with client software it connects to server and in server list box it shows the avaiable list of connected clients. now here is a problem, if we close the server software and reopen the exe file we are unable to see list of clients which are connected on client it have tried to do this in timer that if server has closed the connections after every 3 seconds client try to check the status of connection if not cntoServer.state <> sckConnected then cntoServer.connect end if but it cause a run time error. can any one have any idea.
-
Dear I want to make a form from which i can get information about some reocrdset in database. in VB six we were able to bound TEXTBOX , LABLE and other controls to data with their DATASOURCE and DATAFIELD properties but here in VB.NET these properties are not supported . IS there any way to see a record in some textbox or lable control ?
-
http://www.microsoftembedded.com/docs/presentations/MSOEM_Logic.ppt Please Check this Powerpoint Slied show, it might contain information. actualy WinCE driver developmet is very rare. Keep looking you might get some good link
-
My Dear Sorry for misspell DDK Drive Development Kit I hope on MSDN site microsft has given it. or on MSDN Library January 2003 DDK is just not the KIT it contain documentation Try this Link http://www.microsoft.com/windows/Embedded/ce.NET/techinfo/devdd.asp
-
Yes, Using Windows Media Control
-
ASP.NET is not layer. ASP.NET is meant to be a complete application. in n-tier Application there is DATA --> Application Logic ---> Presentation Layer or DATA --> Presentation Layer depends upon your project type Yes you can passdata sets from data layer to presentation layer. Well for information about layers try MSDN site. and search for Distributed Applications. [edit]makes post friendly[/edit]
-
Dear DIVIL I m not getting an idea how to send an array to clients and how they will respond. I am doing this From Server SENDDATA (192.168.0.4,"LOCK") and On Client Data_RECEIVE event select case data received case "lock" do some hing to lock pc case "unlock" unlock the pc ..... . . end select From Server if i send an array such as dim array(35) as string For i = 1 to array.ubound datasend(192.168.0.4,array(i) next now plz explain me how client can handel it. coz on client they are listening for only one command. so what about the array
-
You are right Volta Force. but the main thing which i wanted to tell and Robby was not accepting that Execution of .NET applications on Windows XP is much better then executing that application on Windows 98 or 2000 yes Windows XP was released before VS.NET but it was released as a part of that project and then so on..... Well I think we should close this topic now and instead of fight with each other we should talk some thing about Developing Applications
-
EXCEL OBJECT Dear You are Facing this problem in my mind you might be doing this Dim xlApp as Excel.Apllicatioin After that you might be opening some Excel WorkBook. Then you might be writing some Data Are you closing that Work Book ? ? you have previously opened. Excel.exe will not close until your application is accessing that workbook. Even you close you application work book will still open in back. so from code first close that work book and after that close application
-
Dear Rooby I am not talking about the CORE or shell, i hope you will say Windows NT server and 2000 Advanced Server are same,both are 32 bit windows, Windows XP is specifically designed for .NET.
-
Try Using Microsoft EXCEL Object in your application. on MSDN Library site there is a complete list of EXCEL Object and their properties.
-
Dear This is a common Issue with .NET application they run Faster with WINDOWS XP environment. i have tested a lot of applications on many platforms and i have seen one thing if you are going to deploy .NET application always use Windows XP. althought these application can run on all 32Bit OS offerd by Microsoft but their internal structure is entirely different from those application develop in past using VB6 of C++. Yes ,This is not an issue of network. coz application is not soo much heavy. and obviosly .NET RunTime Framework is installed on every machine running Windows 98 and 2000. on in my point of view it is better to use Windows XP on all systems.
-
Well, Dear if the system if miles away from you, how do you want to shut down it. Remotely or by sending some EXE to user and ask it to open file. if you mention the second one then ExitWindowsEx works but if the first one mean remotely then. first of all you need a make a client program with winsock which listen for commands and then the server program which sends commands to client. if you need code i have it.
-
Connection Strings The primary property associated with a connection object is the ConnectionString property, which consists of a string with attribute/value pairs for information required to log on to a database and point to a specific database. A typical ConnectionString property might look like the following: Provider=SQLOLEDB.1;Data Source=MySQLServer;Initial Catalog=NORTHWIND;Integrated Security=SSPI This particular connection string specifies that the connection should use Windows integrated security (NT authentication). A connection string can instead include a user id and password, but this is generally not recommended, because these attributes are then compiled into your application and therefore a potential security breach. For more information, see Security Model. The most common attribute/value pairs used by OLE DB are also represented separately by an individual property, such as DataSource and Database (and, optionally, UserId, and Password). When working with a connection object, you can either set the ConnectionString property as a single string, or you can set individual connection properties. (If your data source requires connection-string values that are not represented by individual properties, then you must set the ConnectionString property.) Alternatively, you can also set the ConnectionString property to the path of a Microsoft Data Link (.udl) file.
-
What is the Microsoft SQL Server Desktop Engine?
Madz replied to VisualDeveloper's topic in Database / XML / Reporting
Microsoft® SQL Server� 7.0 and the Microsoft Data Engine (MSDE) 1.0 are powerful and flexible relational database management systems (RDBMS) that offer developers a comprehensive database platform for building value-added business solutions developed for Microsoft® Windows®. Historically, a system or database administrator was required to install, manage, and configure a database server for end users. Because organizations have placed an increasing focus on reducing the total cost of ownership associated with purchasing and deploying business solutions, eliminating this requirement for a typical database application was a key design goal of SQL Server 7.0. -
Well my Question is that, I am developing a TCP IP application through which i want to control my client PCs on network. My Server Software Listens for Connections and send commands to client Client Software Connects to Server and if it receives a command it acts as it has been written in it's code such as if Server sends command "LOCK" it will lock the workstation. Now i want to send an Array of strings for registry settings. Local Policies on Client PC, but i dont know how can i handel an array. and how to send it to client.
-
That Works Thank You
-
Dear Sir I installed MSDE but it was not Creating Databases as we create in MSSQL by Using Query Analyzer. Is there any way to create databases easily in MSDE rather then writing complete code in VisulBasic