microsoft.public.dotnet.framework Archive - March 2004
Post a message to this list
Messages
Page: 12345678910111213
Problem With Winforms UserControl on VS.net design time (3 replies)
microsoft.public.dotnet.framework
Hi, I'm working on a Win form application which is being developed in VB.Net. I have created few User Controls quite some time back and implemented them successfully. Now the problem is, I'm not able to use UserControls using my VS.NET IDE. When I tried to drag and place the user controls on WinForm (from Toolbox), it shows an error saying "An exception occurred while trying to create an instance ...
Designing Inventory and Payroll Applications in .NET (2 replies)
microsoft.public.dotnet.framework
Hello There. Anyone having experience in desiging payroll and inventory applications in Dot Net please guide me through the process of designing these kinds of Apps in VB.NET. Such as How to gather system requirements? how to design logical model,Physical model etc. Waiting for immediate feedback! Abul Hasan, MCP
MonthCalendar: change color (2 replies)
microsoft.public.dotnet.framework
Hello: is it possible to have 2 different dates with different color and format in Monthcalendar? If so,how? Please suggest. Thanks n Regards, Samik.
Tab Controls & Tab Pages (2 replies)
microsoft.public.dotnet.framework
Are the panels for "Solution Explorer", "Dynamic Help", "Output", etc in Visual .NET done with TabControl and TabPage? I try to do something similar in my own program but I am new to .NET and I am not sure what all the different controls are. My .NET book doesn't say anything about it. Thanks, Rob
Handling multiple exceptions (2 replies, VIP)
microsoft.public.dotnet.framework
Hi, In my application, i want to execute same piece of code for multiple exceptions caught. Is there any way to do this apart from writing the piece of code in a function and calling taht functions from all these exceptions. eg. try { func1(); } catch(exp1) {} catch(exp2) {} I want to execute same piece of code for exp1 and exp2 and i don't want to write that code in a separate function.
HttpWebResponse - deadlock (2 replies)
microsoft.public.dotnet.framework
Hi, I am using HttpWebRequest HttpWebResponse in a multi thread app. The requests are made synchronous and IĆ¢ m using a decent # of threads (8 Max). The problem is this: after a number of successful responses (but not always the same) the app starts to receive time out response and this number increase until all the requests being made receive Timeout response. The only solution that I found is to...
Serialization / ISerializable question for a Guru or two! (13 replies, VIP)
microsoft.public.dotnet.framework
Given a class: [Serializable] public class MyClass : ISerializable { // //Lots of fields and members // public void GetObjectData(SerializationInfo info, StreamingContext context) { MemberInfo[] arMI FormatterServices.GetSerializableMembers(this.GetType(),context); foreach ( MemberInfo mi in arMI ) { info.AddValue( mi.Name,((FieldInfo)mi).GetValue(obj) ); } } } I can serialize a collection of 1000...
Get list of my tables in my database MSDE (3 replies)
microsoft.public.dotnet.framework
Hi group I have a database, I need to get the list of the tables by a SQL query, dynamically at runtime, to put them in a combobox (for example). I am not able to found any help on that topic, i still searching ... Please indicate me some link :) Thank you for your help.
Satellite Assemblies (2 replies)
microsoft.public.dotnet.framework
Compiling and deploying resource only dll's (satellite assemblies) using resgen and al causes the web application to call session end, totally destroying any session info needed. Example: resgen abc.resx cde.resx al /t:lib /embed:abc.de.resources,CarCarePlan.WebApp.abc.de.resources /embed:cde.de.resources,CarCarePlan.WebApp.cde.de.resources /c:de /template:..\..\..\bin\MyApp.WebApp.dll /out:..\..\...
Slow right click on short cuts after .net framework installed (3 replies)
microsoft.public.dotnet.framework
Have installed the .net framework onto a windows 2000 pro SP4 system, now when ever you right click on a short cut it take 20 seconds for the pop up menu to show. Any ideas as to what causes this. Thanks
Miter (2 replies)
microsoft.public.dotnet.framework
aPen.Linejoin Miter; How do I properly qualify Miter so it will compile? Thanks, Jon
How do I retreive the value of AssemblyTitleAttribute (2 replies)
microsoft.public.dotnet.framework
I would like to be able to retrieve the values of several of the AssemblyXXXAttribute classes. How do I get to them at runtime? Thanks Roy Chastain KMSystems, Inc.
Run process as another user (11 replies, VIP)
microsoft.public.dotnet.framework
I would like to start a process from C# code as another user. The C# code is executed as the ASPNET user because it relies in a Web Page class, and I would like that the process will run as another user to gain the required rights for execution (the external process needs to create a mailbox in Exchange, so it needs to be run as an Exchange Full Administrator powered user). For the moment, I have ...
Reflection on existing variable (3 replies, VIP)
microsoft.public.dotnet.framework
I'm trying to loop through each field in a class and print its value out. Using reflection I can build a list of the fields/methods/properties etc. and I can use InvokeMember() to create a new class in memory. But I can only do this by using the an object's Type and creating an empty instance of it. I need to use an object variable that already exists and call these same methods on it. Is there a ...
Opening Cash Drawers in VB.Net (2 replies)
microsoft.public.dotnet.framework
I have a VB.Net application which is deployed on Citrix. It uses Crystal Report 8.5 for printing reports. One of my remote users has an Indiana Cash Drawer connected to the printer port. When the crystal report is printed the user wants her cash drawer to open. Can anyone give me ideas as to how can I send a non printable charater like chr(33) to the drawer via the crystal report or otherwise to o...
Read information for the Application Pool on IIS 6 (3 replies)
microsoft.public.dotnet.framework
Hello everyone! Please bear with me for I am new to dlls and dealing with the server directly. What I want to accomplish is to register some dlls in the GAC (global assembly cache) of our IIS 6 web server (consists of two machines in a web farm). I would only want these dlls available to people on my team. Could I read information from the application pool to achieve this? Is there a better way to...
linker error with 'new' (4 replies)
microsoft.public.dotnet.framework
Hello i'm trying to compile a simple C managed class library (dll) but the projet that the wizard creates doesn't compile. The linker gives me this error: "ShaderDesignerSDK error LNK2001: extern symbol "void * cdecl operator new(unsigned int)" (??2@$$FYAPAXI@Z) unresolved" I don't know how fix this. Can anybody help me? Thank you very much
Develop for Pocket PC 2003 with VS.Net 2002 (3 replies)
microsoft.public.dotnet.framework
I have MS Visual Studio .NET 2002, is it possible for my to write applications for Pocket PC 2003? If so I don't have to purchase anything do I? What about upgrading to .net 2003 is that expensive? thanks.
.NET Framework Upgrade (3 replies)
microsoft.public.dotnet.framework
Hi! I have installed .NET Framework 1.0 and now I have downloaded the 1.1 version. Surprising, when I install the new version, it doesn't upgrade the 1.0 version, but it installs as a separate "program". My question is how can I do the upgrade?
Help! Sending mail from windows service (2 replies)
microsoft.public.dotnet.framework
Hi all. I've got a service that needs to send email if there's a critical failure. The following code works fine in an otherwise empty service: Protected Overrides Sub OnStart(ByVal args() As String) System.Web.Mail.SmtpMail.SmtpServer "mysmtp.com" System.Web.Mail.SmtpMail.Send("mysvc", "myaddress@mysmtp.com", "foobar", "test") End Sub However, in the real service, the same two lines of code fail ...
aspnet worker process is shared? (2 replies)
microsoft.public.dotnet.framework
ok so I've seen hundreds of posts with questions from people getting the following error: "aspnet wp was recycled because memory consumption exceeded ........" The general consensus appears to be that there are wierd memory leaks in people's code, but has anyone got an answer to the the following fundamental question? If web applications are running in high isolated mode, then why are multiple app...
Handling security of dynamically generated code? (2 replies)
microsoft.public.dotnet.framework
Hi. I have an application where I dynamically compile code. The code is stored in a database, and is at runtime compiled to an assembly file. I then load the assembly file and call some methods in this file. I would like to limit the amount of functionality that these assemblies can access. E.g. I don't want any file system access to be available. The assemblies should however be able to access ot...
dynamic windows service name (2 replies, VIP)
microsoft.public.dotnet.framework
Hi all, I am trying to install a service using dynamic naming. I wrote values in the configuration file, and trying to assign one of those values to a string, and using this string as the name of the installer ?xml version "1.0" encoding "utf 8" ? configuration appSettings add key "StringName" value "StringValue" / /appSettings /configuration //Code in the service installer str System.Configuratio...
Start Page (3 replies)
microsoft.public.dotnet.framework
Hi Good Day! How can I activate or retrieve the Start Page which it won't show when i open my windows application where previously deleted. Can someone help? Thanks in advanced. rgds, Phoebe.
Convert string to DateTime and compare with another? (6 replies)
microsoft.public.dotnet.framework
I have two text boxes; startTimeTextBox.Text "08:00"; endTimeTextBox.Text "15:00"; and now I will check if startTimeTextBox.Text starts really before endTimeTextBox.Text something like this: bool timeIsOk (startTimeTextBox.Text endTimeTextBox.Text); but how to do it real? regards, gicio
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