microsoft.public.dotnet.academic Archive - July 2003
Post a message to this list
Messages
Page: 1
Form open onclick of icon (2 replies)
microsoft.public.dotnet.academic
Hello friends, I had an application that should pop up when ever client recieve some message like you get in messenger that your friend is online or you had new mail. I achieved that functionality in vb by using Lib "shell32" but i am not able to achieve the same in .Net Please any body can guide me on this would really helpful. Regards raju
Authenicating Users in .NET (2 replies)
microsoft.public.dotnet.academic
Hi, I have seen a post below about authenticating users. I am new to .NET and am having problems implementing the reply. Has anyone written code that validates a users logon, password and domain in .NET. Help me if you have cos I am finding it hard to find any examples on how to do this. Thanks, Paul.
When should a service Dispose() (2 replies)
microsoft.public.dotnet.academic
For my Windows service, is the AppDomain unloaded when ServiceBase's OnStop is called? I am wondering if I need to Dispose() my components that the service is using. Is OnStop a good place to do it or can I ignore it? Any info about this is appreciated. Alan
Allow A Null Value For A Date Picker - VB.NET (4 replies)
microsoft.public.dotnet.academic
Is it possible to allow a null value for a date picker using VB.NET. I'm very new to .NET, and not too experienced with programming either, but learning quickly. Here's the synopsis: We have a form with several date pickers on it, along with other controls. On load, the default is todays date. The form will be updating/adding records to a database. First problem setting the value to null on load. ...
Using Excel in .net (2 replies)
microsoft.public.dotnet.academic
hie there. in the coding below, there's an error at the Excel.Application, where it states that i have not declared it. does this error occur because i did not set a reference to the Excel Object Library? where can i set this so that my program can be executed? Private Sub Button1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim xl As Excel.Application xl...
Beginner's question about scroll bar (6 replies)
microsoft.public.dotnet.academic
Hi, in my application, I want to have a editbox besides a scroll bar, so that if the user updates the editbox, the scrollbar gets updated, and if the user updates the scrollbar, the text box gets updated. I tried different things, but there must be an easy way to group these two controls? Thanks!
Creating checkedlistbox columns? (2 replies)
microsoft.public.dotnet.academic
Have a checkedlistbox, into which I am trying to load several different string variables, which I concatenate into one line before adding to my collection. I am trying to get these values to line up in columns as follows: str1 str1.Padright (25 str1.Length) str2 str2.Padright (25 str2.Length) str3 str3.Padright (25 str3.Length) str4 str4.Padright (25 str4.Length) strLine String.Concat(str1, str2, ...
Need function to calculate weekdays b/t 2 dates minus holidays (2 replies)
microsoft.public.dotnet.academic
I am trying to calculate the timespan b/t 2 dates (both total days and total hours) with decimal places. The timespan should exclude weekends and holidays. Holidays would be user defined. Does anyone have a function to do this without performing calculations on the database end? (I can either hard code holiday values or pull from a lookup table)
Convert the VB GetObject() function to C# (2 replies)
microsoft.public.dotnet.academic
I'm trying to find a way to convert the VB call GetObject () function into C#. I want to cancel a rpint job in C# and I always get an access violation error with a return code of 13 from my invokeMethod call in c#, but it works in VB (Note, I didn't use the same method). Does anyone know how to write this VB call in c#? My VB call is as follows ' Dim colItems GetObject("winmgmts: {impersonationLev...
Oracle Provider - does it improve performance when using Datasets ? (2 replies)
microsoft.public.dotnet.academic
I am concidering to exchange the OleDb provider with the Oracle Provider in my project, since we have an Oracle database, so in order to see the enhancement I made a test project*. The problem is that I can't see much improvement in speed on the same tasks. According to an article I read, http://msdn.microsoft.com/library/en us/dndotnet/html/manprooracperf.asp?fra me true, the perfomance is suppos...
MsAccess Client/Server with OleDB (3 replies)
microsoft.public.dotnet.academic
Hi, Is it possible to use an access database on a server machine with oledb provider so that the sent sql commands are processed on the server machine and only the resultset is passed to the client application? thnxs Bandorka
Authenticating NT Users (2 replies)
microsoft.public.dotnet.academic
Hi, I have some VB6 code that does this. However, I am finding it impossible to find similar code in .Net Has anyone done this through .Net Or does anyone know a site taht does this through .NET. Thanks, C.
KeyDown Event and Arrow Keys (4 replies)
microsoft.public.dotnet.academic
I'm trying to handle a key event in a C# program. It appear that not all key event go through OnKeyDown/Pressed/Up. for example the arrows keys generate only OnKeyUp event and PrintScreen no event at all. Eg the following code doesn't work, it works only with KeyUp event: private void Form1 KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) { switch(e.KeyCode.ToString()) { case "Down": vF...
visual studio .net help (3 replies)
microsoft.public.dotnet.academic
i am trying to update a record from the datagrid after the user edits it. i am then using the following function to retrieve the values. Dim iname As TextBox CType(e.Item.Cells(1).Controls(0), TextBox) i get the following error. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where ...
How to manually program sending / reciving of SOAP to/from WebServices (8 replies)
microsoft.public.dotnet.academic
Hi Friends, I am involved in an academic project where I need to code a project that students can look at and learn how to manually: 1. Create SOAP Messages. 2. Send it to a java webservice via a .net application. 3. Recieve reply from java webservice. I know how to do this by adding references in C# project, but that would fail the whole purpose of the project. Can someone tell me good resources ...
Counting rows returned from an SqlDataReader (10 replies)
microsoft.public.dotnet.academic
This is definitely a newbie question! I have a class library that performs a query on a database by calling an SQL Server 2000 stored procedure. It is quite possible that this may return no records and in that case I want to call another stored procedure. I have everything working with the single exception being that I can't find an easy way to determine if I have not received any records on the f...
ListBoxes in C++ (2 replies)
microsoft.public.dotnet.academic
Hi, I'm having trouble using the horizontal scrollbar in listboxes. Even though the textlength(a file name) is longer horizontally than the width of the listbox, the scroll bar is still inactive. The vertical scroll bar works fine. I think I'm just missing some little thing, but I can't figure it out. Can anybody help me with this? Thanks
Should I close a connection in a dispose method? (5 replies)
microsoft.public.dotnet.academic
I've built a class to broker the data in may application. In other words, when my business logic needs a list of widgets in the db, it calls mybrokerclass.getWidgetList, which might return a collection or arraylist of widgets. This way, the business logic doesn't care about where the data comes from. (BTW, this is a web application) So my problem is this.. during a postback, a series of operations...
Using .NET Client To Pass ArrayList To Java WebService (3 replies)
microsoft.public.dotnet.academic
Hi There, I am having a c# client that I want to use with a java webservice. Methods in the java service take an arraylist. Proxy classes that .net generated only contain definition of arraylist as an object. I am wondering how to I pass my data to the service. Has anyone of you faced a similar problem ? TIA Ashish
Attribute programming (3 replies)
microsoft.public.dotnet.academic
Hy, I understand that attribute programming is used to add metadata to the code, but since they are implemented with a class and we can extend that class, we should be able to do any normal class thing with attributes like: Have methods Use any kind of code in the constructor and the methods (ex. Use a MessageBox) But the run time will not execute a MessageBox in the constructor?? why? Where is it...
spreadsheet components missing (2 replies)
microsoft.public.dotnet.academic
Hi I have installed the Visual Studio .NET Academic Version at home. I need to use the Microsoft Office Spreadsheet components but I can't find any in the COM or .NET framework components! They are on the computers at school but I need to work on this at home. I am using Office 2000 if that matters. Is there a download for these components? Is this a limit of the Academic Version? Any help would b...
C# terminology questions (13 replies)
microsoft.public.dotnet.academic
Hi, I haven't been able to find proper (commonly agreed) names for the following kinds of methods. Class (static) methods: c1) returns value, doesn't modify the content of its argument(s) and doesn't change the state of class (class accessor?) c2) returns value, doesn't modify the content of its argument(s) and changes the state of class (class mutator?) c3) returns value, modifies the content of ...
Change the color of a button (7 replies)
microsoft.public.dotnet.academic
In my program, I have a button that allows the user to change the color of an object by bringing up the standard color selection box. I want this button to reflect the color selected. How may I change the color of the button? I appreciate any help!
Method not found: Void System.EventHandler..ctor(System.Object, IntPtr). (2 replies)
microsoft.public.dotnet.academic
Hi! While trying to run my first web application using Microsost Visual Studio .net I came up with the following error: Method not found: Void System.EventHandler..ctor (System.Object, IntPtr). Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exceptio...
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