Answer Questions
hegazy File Upload To A Shared Folder
Hi ppl, Is there any way to upload a file to a shared folder on our domain network like \\server\folder\ using vb.net+asp.net Try the FileWebrequest class http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemnetfilewebrequestclasstopic.asp To help debug, try the following 1. The directory should be shared for this user.. Go to sharing and secur ...Show All
Snyder_PlayMaker Passing an array to Oracle using .net/ Data Access / ADO.net
HI, I was wondering if anyone can help me with the following problem: I am using OracleClient class provided by Microsoft for my data access layer. I have written all the object oriented code using OracleClient ( i am using DAAB provided by GotDotNet.ApplicationBlocks.Data for Oracle). My database is Oracle 9i. I am using .Net Framework 1.1 and it is not possible for me to update it to 2.0 right now. I have a stored procedure that inserts a ro ...Show All
Sheetal R H About CreatePopup?
I want to create a Popup to input something. the code is following: function AddClick() { var myPop = window.createPopup(); var myPopBody = myPop.document.body; myPopBody.style.backgroundColor = "Green"; myPopBody.style.border = "solid black 1px"; myPopBody.innerHTML = " : "; myPopBody.innerHTML += " 密 : "; myPopBody.innerHTML += " 名 : "; myPop.show(480, 20, 25 ...Show All
Paul Olivieri "SQL Server does not exist or access denied." for ASP.NET but not WinForms
This is some sort of permissions problem with asp.net. I have XP Pro with SQL developer versions of both 2000 & 2005. I have another machine with 2000 developer (these are not on a domain and SQL is running in mixed security mode). My WinForms apps run fine accessing SQL databases on both workstations. I started writing a Web service and couldn't make a connection to the remote workstation. Then I wrote a simple asp.net WebForm to see if ...Show All
Alireza Naghshbandi Accessing system.diagnostics section under .Net v2
In a .Net v1.1 app I was able to enumerate all the switches in system.diagnostics because the section handler returned a Hashtable . I am migrating this app to v2 but the section handler has changed to System.Diagnostics.SystemDiagnosticsSection and this type is marked as internal (and so are the SwitchElementsCollection and SwitchElement classes that can be obtained via this class). Other than writing a custom section handler is there a robust ...Show All
iacido is the Client online????
Hi, I am new in C# programming. I have developed a Client-Server Application.The Clients can loggin to the Server and send messages to each other. My Question is: How can the Server know whether a Clients is still connected I use TcpListener, TcpClient .Connect(serverIP, serverPort), StreamReader and StreamWriter for the communication. Thanks. MAT. This question is better suited for the .NET ...Show All
Stanley_S app.config issues
I am getting errors saying that they can not find my xml elements in the file......what should i do so the app.config can get to them.... < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < system.diagnostics > < sources > <!-- This section defines the logging configuration for My.Application.Log --> < source name = " DefaultSource &qu ...Show All
mk20 Typed Dataset with Information.Schema Query HELP!!!
I've been using the Information.Schema query to retrieve tables and fields.. I want to put them in a TYPED DataSet but there will always be errors. It will tell me to buidl the project again and find errors which were none.. Why How can I generate a typed dataset using the Information.Schema Try the following forum: .NET Framework Data Access and Storage ...Show All
JTC1974 SOAP serialization cause datetime property wrong?
Hi, Our project is using Remoting, and we need return a MembershipUser from server side, we found the CreationDate property returns a wrong date on client side, it's a UTC date. If we change the fomat to binary, the value is correct. Is there anything wrong with us Thanks. Check http://msdn.microsoft.com/library/default.asp url=/library/en-us/dndotnet/html/datetimecode.asp . H ...Show All
Robert G My application loads lots of unknown assemblies!
Hi, I'm developing an enterprise application and, when debuggin, I've noticed that both aspnet_wp.exe and my client application load lots of assemblies with autogenerated names, with no path nor extension. This is happening as I make calls to the web server. What can be the cause Thanks in advance Yes, XmlSerializer generates assemblies, regular expressions too. Anyway, not a problem. ...Show All
Thornsdale Show/Hide Custom Web Control W/JScript
I have not had much luck & was hoping that someone out here might have figured this out already. I'm trying to show/hide a Custom Web Control on a web form using JScript. I've tried document.FormName("UserControl1").style.visibility = 'visible' but not luck... Hi Steve, When you are inheriting any HTML controls in your Custom control class, then its possible to set the visibility prope ...Show All
sandPR Web Applications - Maintaining Complex Application State
Hello, I am currently looking to build a web application with the basic underlying premise that multiple users can access, and update, a value. This will be a global value across all users. While I understand that it would be possible to do this using a database and web forms, I am also looking to do some reasonably complex analysis on this number in relation to other data, and have the idea (rightly or wrongly), that it wi ...Show All
Andy Lipscomb ADO.NET 2.0 Batch support
I am seeing in documentation and some books that ADO.NET 2.0 adds support for batch operations. Is this support only for Microsoft SQL Server, or can the System.Data.OleDb provider be used with a database that supports batch operations Thanks, Chuck Right now it only supports Oracle and SQL Server (see http://msdn2.microsoft.com/en-us/library/aadf8fk2 ). OleDb, since it's generic, will likely nev ...Show All
dariakus local host ambiguity and other issues
I am kind of in the beginning of what I see is a long path to conquer .NET concepts, so excuse my naivite on many issues. I am trying to develop a project that would listen to some active TCP/UDP ports in my Win2K or WinSer2003 OS and forward the stream of datagrams into SQL database tables. A number of parts of this project are already in place. Now I am working on a listening part. Here I used a Dns.GetHostName() to get the local host name. It ...Show All
chekm8 socket not released
Hi, I currently have an app that spawns a connection to server, the server requires hard IP and Port for both my app and the server itself. It then sends a command and disconnects. The problem is that I have to wait ~5 minutes for the socket to become usable again. I know that windows likes to maintain the socket for a few minutes. Any idea on how I can get around this. I call the socket.close() method when I am done sending my parameter ...Show All
