microsoft.public.dotnet.general Archive - December 2001
Post a message to this list
Messages
Page: 123456
Making a Guid - How? (3 replies)
microsoft.public.dotnet.general
Using Vb there's an Win32 API call to create a GUID. How can you obtain a Guid using vb.net? Thanks
No object name for System.Threading.ManualResetEvent? (3 replies)
microsoft.public.dotnet.general
Win32 synchronization objects (events, mutex, ...) all have a name. Having a name allows you to have several processes cooperating by sinchronizing each other using well known sync objects. However, in .NET ManualResetEvent and AutoResetEvent doesn't have an object name! Is there any reason for that? Workarounds? TIA Pablo Castro [MVP] Lagash Systems S.A. [Remove "nospam" from my e mail address]
How can I Serialize control such as Button? (4 replies)
microsoft.public.dotnet.general
Hi, How can I Serialize control such as Button? I tried to do it with XmlSerializer and BinaryFormatter, but got exception: Class Button isn't marked as Serializable. I tried to mark as Serializable my own class inherited of Button, but got the same. What do I have to do to resolve this problem? Ivan
RC1 leaks connections (2 replies)
microsoft.public.dotnet.general
In RC1 web services called from web applications using Windows authentication leak a web connection on each method call. This did not happen in the betas. Is this fixed in RC2? This really has to be fixed before RTM. Anyone have a work around?
persisting objects (2 replies)
microsoft.public.dotnet.general
If I have a number of objects, potentially completely unrelated, how do I save them in a SQL Server 2000 database column? eg the table has an indentity column and a ObjectType column(used to determine what the object is) how do I save objects into the column? presumably I could use some form of serialization but ideally all I need to be able to do is to take an object and return its permanent (as ...
Controlling a Datagrid from Code behind? (3 replies)
microsoft.public.dotnet.general
Is it possible to get the Edit, Update, Cancel events to fire to a code behind based function? I would really like to keep my Core logic separate from my UI if possible.
DateTime (2 replies)
microsoft.public.dotnet.general
Hi, I am having several problems with Globalization and DateTimes. I have a PC Running Windows with a german locale. On this box runs a webservice inside IIS which creates a COM Object to talk to antother server. Now, I need to set a DateTime Property on the COM Object which HAS TO BE FORMATTED In an English Locale. How Can I make the Framework send an ENGLISH Formatted DateTime String instead of ...
implement a tree structure in Visual Basic Net and/or in C# (5 replies)
microsoft.public.dotnet.general
I have to choose a visual environment which allow to implement and manipulate complex structures like trees, graphs etc. So, I wish to know if Visual Basic Net or C# offer some facilities for programming such complex structures. It is easy to do this with pointers. I know that Visual Basic Net hasn't pointers but C# accepts pointers (with some restrictions). Can you give me any advice how to imple...
How-to wrap text in buttons in toolbar? (10 replies)
microsoft.public.dotnet.general
Hi I'm using C#; VS.NET, RC. My application has a form with a toolbar that contains buttons. I would like to make the text of the button wrap to two lines. I've made the buttons tall enough and specified a narrow width thinking it would wrap automatically to try to fit the text but no luck. Without word wrap the buttons look long ugly. In the toolbar control's collection of buttons there does not ...
Best approach to e-mail in .NET? (CDONT alternative in C#?) (4 replies)
microsoft.public.dotnet.general
HEADLINE: What's the best approach to sending e mail automatically to a user in the .NET environment? Details: The task I'm trying to perform is to send a user an automatic e mail with their temporary password. I've used CDONTs for the past couple of years without a hitch. As I experiment with .NET and C# I don't see what I should do for equivalent functionality. I tried to use the xp sendmail app...
SQL queries, parameters and code reuse (4 replies)
microsoft.public.dotnet.general
Hi, How does everyone go with queries as strings? I mean isn't it a pain to keep editing SQL queries in string from? I am populating DataLists, etc. using String qryThing "SELECT ..." and it is annoying to design the query and I'm sure modification will be just as painful. Is there a better way to do this? Oh, I am also doing it the old fashioned way, using variables to represent query parameters ...
REg entries (2 replies)
microsoft.public.dotnet.general
Hi I am a real newbie an i would like to know i have a current reg entry with the value set to 1 ( e.g) In VB.NEt i would like to create a application that enters or rather changes the reg value from 1 to 0 on the intializing of the .exe can anyone give me some sample code to do this ? You can use any reg key value to show me how . Thank you Dood
Client-side faxing (2 replies)
microsoft.public.dotnet.general
Hi. I have some server side ASP.NET code to fax a document using the FAXCOMLib object. I would like to fax the document on the client side, and was wondering if I could use an ASP.NET page to do this. I would rather not have to install any COM objects on the client. No success so far Any help or suggestions appreciated.
Programming web.config file! (2 replies)
microsoft.public.dotnet.general
Is there a way to control the web.config file programmatically?? I mean, i would like to add/update/delete the contents of the web.config file during runtime. Thanks a bunch Daniel
.NET webservices vs .NET remoteing (5 replies)
microsoft.public.dotnet.general
Has anyone done a pros / cons of the above? Any views from people here? Cheers Steve
Divine Intervention Needed (4 replies)
microsoft.public.dotnet.general
This problem has been plaguing me for so long and I simply can't figure out what's causing it. I've read the feeble help document it provides, but that does nothing to help. Here are my steps/problem: 1.) Create new ASP.NET app. 2.) Run. 3.) Close. 4.) Run again. Error: Could not copy temporary files to the output directory. The file 'bin\WebApp1.dll' cannot be copied to the run directory. The pro...
Convert data types for stored proc - how? (3 replies)
microsoft.public.dotnet.general
Hi,, I have a datagrid which i can edit fields in. I keep getting data type errors and I think it's being caused because of the fact that the values taken off the form are 'string' values and the values in the storedproc/table are float and int. Using SQL Server is there a way to convert the types within a stored proc? Is there a better way to read values from the form and pass them as parameters ...
Binding Data to a form (2 replies)
microsoft.public.dotnet.general
Hello Everyone and thanks for your help in advance. I am developing an application that uses a form to input information about a person, for instance name, address, etc. The application will allow new records to be added as well as editing and deleting. I want to utilize the same form for all three functions, determining the action by the value of the input field. My dilemna is populating the form...
C# & .NET books: Liberty vs Troelsen (2 replies)
microsoft.public.dotnet.general
Hi, I'm still making the decision on what C# & .NET book to buy. My 2 runner ups are: C# and the .NET Platform by Andrew Troelsen and Programming C# by Jesse Liberty First, I was inclined to buy Troelsen because of it's more extensive coverage on the framework but apparently he forgot to include a ver important topic (in my opinion) which is .NET Remoting. The other thing I dislike a little bit is...
Accessing XML Data from VB in .net and load into WebForms (3 replies)
microsoft.public.dotnet.general
Hi, Could anyone send me the way to access XML data from VB in .NET environment and populate the data into Web Form components like textbox, etc. Thanks, Camp
Using events in DLL's (2 replies)
microsoft.public.dotnet.general
Can I use EventHandlers in dlls that I write for use with asp.net? Thanks
Shared data point question (6 replies)
microsoft.public.dotnet.general
Let's assume I have the same dotNet dll installed twice on a particular server, in support of two separate applications. (We can do this now. In fact this feature is advertised as the solution to dll hell.) Let's assume that both applications are running, so that the same class is simultaneously loaded from both dll's. If I update a shared data point in a class created out of one dll, will classes...
File copying (2 replies)
microsoft.public.dotnet.general
What would be the best way in VB.NET to copy the entire contents of a directory to another directory. The file.Copy method doesn't accept wild cards Thanks Eurisko
How I can override the attribute. (4 replies)
microsoft.public.dotnet.general
Hi, How I can override the attribute, which I derrived from ancestor (base class). I insert my attribute, but VS WinForm designer used old attribute either. Ivan
TextBox OnPaint (2 replies)
microsoft.public.dotnet.general
I am trying to create a new TextBox control with shaded text. I created a button with shaded text by Overloading the OnPaint method. I try the same thing with the TextBox control but the overloaded OnPaint method never gets called. What is getting called to re paint the TextBox?
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification