Answer Questions
Pablo Alarcon Garcia Printing from .Net code called from a VB 6 class that's been called from an ASP page fails
Hi Guys, First of all, I'm very sorry if I've got the wrong group. My problem spans a few areas so I'm not sure where to post (it'd be great if I've got it wrong if someone could point me right). Anyway, here's my problem... We've got an old ASP web application that we're slowly moving to .Net by writing all new functionality in .Net and using COM interop to call into it. The application is just a single ASP page that does a CreateObject a ...Show All
Piyush Jain Timeout in WinHttp object
I am using WinHttp object to send and receive information (getting a document in terms of bytes and opening on the browser by converting it into PDF). I am not setting any timeout explicitly in my C# program. I am using synchronous connection to do this process. Sometimes, our clients are coming across 'timeout' error while downloading the document. Does anyone have any idea what could be wrong What is the default connection timeout 60 seconds ...Show All
Peter Sollich vb.net to c#.net
Greetings All, i need to convert a functin from vb.net to C#.net here is the vb.net function, when i convert the function using converters i am getting few problems. my main problem is ReDim and ReDim Preserve. these function are not available in C#, how can i convert to C# accordingly. can any body pls provide me a solution. thanks in advance Protected Function GetRowsList( ByRef oReader As SqlDataReader, Optiona ...Show All
Seethar Are there other Frameworks for .NET Framework?
Hi, I am looking for a step up/quick start way of developing an application in .NET. I've come across the Mere Mortals for .NET framework (http://www.oakleafsd.com) and was wondering if anyone has used this and can recommend it or if there are others out there that are more highly recommended. Thanks. Your best quick start is to use a book or online tutorial. VB.NET should be pretty easy to learn with some help from tutorial ...Show All
dlgross Xml serialization--strange character in output
I am experiencing a weird issue whereby I am serializing an object to an xml string to store in a database--so rather than serializing to a file I am storing the output in a MemoryStream and then converting the byte array to a string using the Utf8Encoding class. See below: /// <summary> /// Performs custom serialization and deserialization of business objects. /// </summary> public sealed class ...Show All
Ahmed Nada Capture Mouse
!Hello! I have a Windows Service and i would like to know how can i capture mouse movements in the screen, without a form or process launched. I readed that Framework not allow to capture this... i tried with windowshoooks and dont get nothing How can i solve this problem Thks Pavleras First... thks.I think same about windows services... One bad solution was to create a opaccity maximized form in a process of ...Show All
Nadir_Hamburg Web Service Constructo
I have a web service. In its constructor I do some validation process . But I notice that this process is not done until I call a method from my webservice. Is like the constructor is not called when I create the object with "new", only is called when I access a method. How does this works thanks! Web Services are stateless objects that are recreated on every method call. ...Show All
OmarShahine connections over internet
i have been trying to implement a server and a client little program that will be connecting with each other over the internet. i written the server application to open a port on my computer and listen for tcp connections with tcplistener. the client i used tcp client and gave it to a friend over the net to try and connect to the server on my computer. i gave him my IP address, he putted that in, and the port as well, and tried to connect, ...Show All
Haggai Shachar Data file unauthorized access
Anybody know how to prevent a user from deleting a file created by a C# application Let say that my C# program created a text file and I do not want the current logged users to be able to delete that file using the file manager. In other word, I want only my running application to have full access rights to the text file but current user logged do not have any access to the file. Operating system is XP. Unles ...Show All
Manoj Karki Typed datasets with multiple database vendors (or not)
As I post this so that others might benefit too, I'm hoping to hear from wise ADO/database people in general, but in particular from the ADO.NET program manager. I'm writing a new application using C# and ADO 2.0, and am getting lost in all the possible options from this list: using typed datasets (or not) using PK constraints in my datasets (or not) using FK constraints in my datasets (or not) getting PK/FK into my datasets using the Dat ...Show All
Sebastian Wegert Serial Port Communication
I need help by my programm about communication over the COM-Port. I was able to send something, but i wasn't able to receive data's... I tried to realize with this command: --- private void tBox3Update() { textBox3.AppendText(ComPort.ReadExisting()); } --- thanks for some help! You can see one sample to read comPort in: http://www.codeproject.com/csharp/SerialC ...Show All
ChrislRoy SQL Question
Is it possible to do this with an SQL statement My table contains name,address,phone,email I want to return all rows where email exists in table more than once, i.e. i'm checking for duplicated email addresses Thanks SELECT name,address,phone,email , COUNT(*) FROM MyTable GROUP BY email HAVING COUNT(*) > 1 Thanks, that works. Only returns email address thou ...Show All
Big Rob Rename 997 Acknowledgement
Is it possible to rename 997 acknowledgement in orchestration. or is it possible to rename 997 acknowledgement without orchestration please help me. I need to rename the 997 ack. I assume that this is a biztalk issue If so, this is the wrong forum. ...Show All
Bertus Botha Weird socket disconnect/dispose problem
Hi, I have a StateObject that holds the working socket. Everything is fine when I don't debug except two exceptions. As soon as I put a breakpoint in my server code and look up the socket in the state object it is connected and not disposed. Now I step forward with the debugger and suddenly the socket is disposed and disconnected. How can that be Also, I have one method where I just pass the socket to another method. When it "arrives" at the oth ...Show All
muaddib32 Override new/delete operator - Works fine in VC6 but not in VC7
Hi, I migrated my VC6 programs to VC7(unmanaged - native code). Everything works fine except new and delete operators. The override function for new operator is using malloc. After allocating the memory, I am initializing the allocated memory with null. Also I am using this function to identify memory leaks. I declared and implemented these override functions in common header & c module (memall ...Show All
