Answer Questions
ralfkret Updating database
i have a problem to update my database. in my update button i have the following code: dataset.AcceptChanges() Adapter.Update(dataset.table) i've tried other things like: adapter.update(dataset) swopped the two lines around... it saves the data on the current form, but when i close the form and reopen it, the data never changed in my database. i think the changes get saved in my dataset, but not in my database... but aren't sure... Thanx ...Show All
Sandhya7 Web Service Authentication Question
hi could you perhaps give me some information about this. How about restricting access to the web services by only allowing access from the local subnet i.e. if your network addresses are on the 10.0.0.* subnet, then only allow access from that subnet. This of course won't work if your network is using NAT for inbound queries ...Show All
TSCEWA Updating database
i have a problem to update my database. in my update button i have the following code: dataset.AcceptChanges() Adapter.Update(dataset.table) i've tried other things like: adapter.update(dataset) swopped the two lines around... it saves the data on the current form, but when i close the form and reopen it, the data never changed in my database. i think the changes get saved in my dataset, but not in my database... but aren't sure... Thanx ...Show All
RenderWarrior Trouble betweeen xp32 and xp64 within the same vs 2003 app
Hi there, We have an app here we are developing, using vs 2003 visual basic and asp.net. For the past months, we only used vs 2003 pro under xp32 machines. Recently, 2 new atlhon 64 machines, running xp64 joined the developing team, using too vs 2003 pro. For some kind of strange reason, i dont know if its possible, but it seen that the code that was handled on Xp 64 machines and returned to xp32 machines stopped to work correctly. F ...Show All
Daní How to get the VPN login user name from a windows form application
Hi Great Minds! Please Help, I have a problem that I can not figure out. I have logged into my pc running Windows XP pro as a local account ( let's say mypc\abc ) and then I logged into my work using Microsoft VPN ( lets say myworkdomain\xyz ). Now I need to launch a Windows Forms (.NET 2.0 smart client application) in my pc and in that application I need to determine what is the user login I used in VPN (example in this case, -& ...Show All
prawin Data Row Collection
Textbox Control and btnSubmit Control, now When i enter Student ID in textbox control i only want the data to come thru that pertains to that StudentID but i get an error in my code when i envoke Dim drID as dsStudents1.ClassNameRow Dim currRow As Integer drID = DsStudents1.ClassName(currRow) txtID = drID.StudentID my textbox control is not binded to the ID's in the column, would that be, because the Studen ...Show All
Don SW Large data transfer
I created a local web service that accepts a byte array as a parameter and then I write the data in the array to a hardcoded file name. I added the following entry to the web service app's config file and my computer's machine.config files: < httpRuntime maxRequestLength = " 1048576 " executionTimeout = " 180 " /> I can successfully transfer 50 megs worth of data but it fails with the following error msg w ...Show All
Oliver Lundt Forms question for a non-windows application
Using Visual Studio 2005 (my first app using .net, btw - but been using VB6 for 5 + years) There are windows forms that are instantiated through events thrown by FileSystemWatcher class. The issue is with giving scope to the instatiated form. Except, the form is frozen! I can't do anything to it: Code is as follows (irrelevant code excluded) Public f As frmMyForm FileSystemWatcher1_OnCreated() f = new frmMyForm ...Show All
JayneK Does any Support for SCTP?
Hello everybody , I interesting in SCTP Stream Control Transmission Protocol, so Does Windows Support SCTP or any info. in Windows Vista to support this protocol , and does .NET Framework 3 Will Support this protocol in UP For Waiting ... We do not currently support SCTP. I beleive pre Windows Vista operating systems do not support SCTP. I'm not sure off hand about Vista. I will check. ...Show All
Youngermandl Global variables in Web Service class
Hi, I wanted to write a WS that had about 6 Clients. How can I share a variable between all these clients What I wanted to do, is have the WS store a Time stamp of the time that the newest data was retreived. I want to do it like this: namespace myWebService { public class myWebService : System.Web.Services.WebService { private string myName = "Unas ...Show All
krisb Locks & HashTables
Hi, I would liek to know if there is a way to lock theindividual buckets of a hashtable using v1.1.4x in c#. I need to add entries into the hashtable, read them & remove them using multithreading. So I guess individually locking the hashtable's buckets would help me in doing this. If there is any other method that one knows of, please let me know the same. Thanks in advance, Have a Nice Day!. Thanks for the reply. ...Show All
Scott0620 MultiThreading Question
To the multithreading gurus: Given the following code, is it necessary/good practice to use a lock somewhere Thanks in advance, zulu using System; using System.IO; using System.Threading; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { FileCounter cnt = new FileCounter(); cnt.StartAsync(@"C:\"); while (true) { bool exit = !cnt.IsRunning; Console. ...Show All
Todd Peasley 00 Path.Combine problem
I am quite surprised at the fact that Path.Combine("c:\abc", "\def") produces \def (not c:\abc\def). See this feedback: http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx feedbackid=bde653a2-7588-4145-89d1-54c1958f1a05 I don't quite understand the reasons behind this 'intentional behavior'. For security I can't think of any reason... Please enlight me! Well, I have had absolutely no part in the design of the this AP ...Show All
Marc LaFleur I got an error when I copied global.asax file from one project to another project
Hi, I created a new .net project name consumerservice to where I copied the aspx files from another project named ceaconsumerservice Inadvertently, I also copied the global.asax file. When I tried to run an aspx file, i got a error below . Aspnet is trying to load the global.asax file (CeaconsumerService.Global) from the other project. How do I fix this Server Error in '/ConsumerService' Application. ---------------------- ...Show All
MRogers SMTP authorization - changing from NTLM
Hi... i have a problem with the authentication on a SMTP Server... because i use KERIO MAIL SERVER that don't work with NTLM method. Can i change the NTLM to another type of authentication A little example, please THANKS A LOT and sorry if my english is not very good. You can create a network credential NetworkCredential nc = new NetworkCredential("user", pass); SmtpClient.Credentials = nc; W ...Show All
