Answer Questions
waveheatin TableAdapter Update problem
Hello, i have problem in my application. I create dataset with single table. In MainForm i have 2 texboxes and update button. This is code for update button: [CODE] Klient klient = new Klient(); klient.ShowDialog(); KlientDataSet dataSet = new KlientDataSet(); Serwis.KlientDataSet.KlienciRow klientRow = dataSet.Klienci.NewKlienciRow(); klientRow[0] = Guid.NewGuid(); klientRow[1] = klient.Imie; klientRow[2] = klient.Nazwisko; ...Show All
Vikram Bade Remoting-v-webservices - the prescriptive guidance is nuts ?
Web-services excel for cross-platform/cross-language communication. However, what about communication for the internal tiers of an app, where it is .NET on both sides It's the endless debate of remoting-v-webservices. Remoting - faster performance and richer type system, versus the lower-performance, lowest common denominator of web-services. The message that I perceive from MS is "use web-services for everything - remoting is only for in- ...Show All
_Alen_ Sending a html page as an e-mail using Net.Mail.MailMessage
I have a .net page that sends an email but i want it to send a html page as the body. Is there anyone that knows how to do this in VB Thanks ghostwrtrone this i have done. But maby i did not explane myself very well. i am looking to get index.html as the body of my e-mail. Thanks Ken this is working well. The only problem left is the fact that images don't come out. This is workable if I recode my <img> tag Hel ...Show All
Jams1999 Exception error
How can i make an .exe file written in VB .net fully trusted by all computers on the netwrok without running the .net frame wizards I tried the deployment package but it didn't work. Any ideas Hello Palman, You can find more information on caspol examples on Shawn Farkas' .NET Security blog, for example: http://blogs.msdn.com/shawnfa/archive/2004/12/30/344554.aspx Depending on how you want t ...Show All
Hosmer Reference question/problem (design discussion)
Ok, I’m going to do my best trying to explain this, so go along with me. I’m working on a class project called BarHopper. The goal is to build a Pocket PC, GPS enabled, GIS where users can mark their favorite bars and plan out their night with a route of bars to “hop” to. That said, I wanted to build a framework that could be used to build variations of BarHopper for any application, such as an application for marking wireless Int ...Show All
Pike How do I check if object locked?
Is there a way to access the list of locked objects kept by System.Threading.Monitor The purpose being, I have a function that I only want called if the sync object in the class is in a locked state. If the sync object is not locked, I want the function to throw an error, but how do I check if the sync object is locked Thanks. lock(syncroot) { theD ...Show All
bhowerton How to implement GetFunctionPointerForDelegate function in .NET 1.1
I try to wrap some native win32 api, but it is need the callback to be the parameter of SendMessage. I solved this by using the new GetFunctionPointerForDelegate function in .NET 2.0, but in .NET 1.1, I found no way to do the same thing, I also found the Delegate.Method.MethodHandle.Value, Delegate.Method.MethodHandle.GetFunctionPointer() and the return value of GetFunctionPointerForDelegate function are different. I was confused. How can i impl ...Show All
lukha .Net equivalents to writeprocessmemory and readprocessmemory
Are there any equivalents to these win32 apis Thanx in advance. Havoc wrote: Are there any equivalents to these win32 apis Thanx in advance. Havoc, There are no equivalents in the .NET framework for these APIs. You will have to call them through the P/Invoke layer in order to call them. A great resource for finding declarations for Win32 APIs is: http://www.pinvok ...Show All
jslapp web service attach file
Hi! How can I call a web service and attach a file to transmit Thank you for the anwer Bachir Have a look at: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wse/html/6d65ea5f-eb78-41bc-8964-df1271d9d5a7.asp Cheers Rich. ...Show All
smilyan Create User so web application can access data
I need advise deciding the best method to apply permission for a web application to access a remote server, then how to apply it. If the web application on server_1, a 2003 server, contains a connection to a data store on server_2, a NT4.0 server, I need to deal with some premissions matters. I understand one method is to add <identity impersonate="true" /> to web.config. Maybe I did this incorrectly because it didn't ...Show All
C&#35;TURK Unable to open the offline cache location..
Hello people, first of all, i need to explain that i'm not very good with english, i'm from Chile, in SouthAmerica, so if i make some mistakes, please, forgive me for those mistakes, well I have problems when i trying to create new projects in my visual studio 2003 installed in Windows 2003 x64. I follow the instruction to change my ASP.net 2.0 to x64, because in another way i can't see my Web sites in the localhost (I can't see my pages if I ha ...Show All
jfache Text in XSLTransform
I am transforming one xml file to another using XSLT file. I create XSLTranform and load the stylesheet before calling the transform function. It seems to work fine but there are a few problems with text. When the XML file that I am trying to transform includes special text such as "£" sign the transformation will fail. I assume that I need to set some parameter to support w_char or unicode somewa, but I can't seem to fine the information needed ...Show All
Swarnima Timers in ASP.Net pages
Hi, I have search the web and cant find an example for a timer implemented in an ASP website application. Plenty of examples for web services. Can a timer be implemented for a web app using ASP.Net, would it be specified in the global.asa file I want a function to execute at a regular interval to check sessions and perform various tasks Please a simple code example be provided if this is possible. Thanx in advance . Jan ...Show All
RobBattaglia block connections
I was wondering if there is a way to scan all the connections and block certain IP addys. Ive seen one program that does this in C#. Ive tried messing with socket and a tcplistner and i couldnt get it to work. I would love any advice u guys have to share. Are you looking for something like this using System; using System.Collections.Generic; using System.Text; using System.Net; ...Show All
leuriat How to block managed code being decompiled?
After a lot of efforts, around 6 months of my development work on windows forms and components to bring a better application, I learnt that managed codes can be decompiled (Including Visual c++ 2003 in which I am developing - supposed to be stronger than C# and VB!). This looks like a setback, at least for initial start of my application in the market. I have made a trial run on my own code (95 % managed code with forms and windows compone ...Show All
