microsoft.public.dotnet.framework Archive - May 2004
Post a message to this list
Messages
Page: 123456789101112131415
Sorted datagrid on a form and display selected row on a dialog-HELP (2 replies)
microsoft.public.dotnet.framework
I have been on newsgroup for week. I have seen anything that will help me. Basically, I have a form with a datagrid that can be sorted or unsorted (it is up to the user). Then, I display the data of the selected row in textboxes on dialog that execute by the user press a button. The following code works if I do not sort the datagrid before I press the button to bring up the dialog. It is when I so...
J2ME vs .NET (3 replies, VIP)
microsoft.public.dotnet.framework
Hi, I'm working on a project to make a comparison between .NET compact framework and J2ME (CDC/Personal Profile) I have to make an application in VB.NET and J2ME. The application is meant for a device with Microsoft Pocket PC. What are the reasons why somebody should choose for .NET? What are the benefits? (Or perhaps what are the disadvantages?) All support is welcome Thanks
Architecture for WinForms and WebForms (4 replies, VIP)
microsoft.public.dotnet.framework
Hi, i am working on an architecture which should support different views (WebForms and WinForms) in the presentation tier/layer. I am searching for some information regarding this architectural problem. Thanks in advance!!!!
ClickOnce (2 replies)
microsoft.public.dotnet.framework
I just can't get ClickOnce to work correctly. I make a simple Winforms App. Build Solution. It runs OK. Now I try to publish the application (to a local folder). Then the error "There were build errors. Continue publishing?" comes up. I go back. Try again to build. No builds errors". Hmmm... Try publish again. Still: "There were build errors. Continue publishing?" Any clues? Cheers Klaus
C# or MFC? (10 replies, VIP)
microsoft.public.dotnet.framework
Hi, there, I am building a case that will decide if our new project will be using MFC or C#. MFC is a mature technology, and is used extensively in most of the major applications. C# is new, and I am not sure if it has all the features that MFC supports. I was wondering if you guru can shed some light on this by pointing me to some good articles comparing MFC and C#. Or if any well known cases of ...
Creating a assembly with a COM interface (2 replies)
microsoft.public.dotnet.framework
Hi all, I am writing a COM aware C# lib. In this lib I want to create an assembly that defines a COM interface and only a COM Interface. When I do this and try to registist the assembly I get the error "COM Interop registration failed. There are no registrable types in the built assembly." and the assembly containing the coclass that implments the interface also fails with the error "COM Interop r...
Help on events (6 replies)
microsoft.public.dotnet.framework
How can I fire an event when a file is opened or closed? Can somebody help me? Thanks a lot.
WSAAsyncSelect in .Net framework (8 replies, VIP)
microsoft.public.dotnet.framework
hello all, is thery any equivalent in .Net Framework of WSAAsyncSelect win32 api function ? I want my application window being notifyed about network events... (asyncroniously) or maybe another way exists ? Vladimir Scherbina, Ukraine, Kiev.
Accessing Windows Explorer from ASP.net page (2 replies)
microsoft.public.dotnet.framework
I want to be able to open Windows Explorer from an asp.net page. My client has a large number of AutoCad files with external references that he needs to work with. These will be stored in a folder structure on his server. A companion sql server database stores project related data pertaining to the AutoCad files. The database has a web front end. While in the office my client wants to be able to u...
ANN: 9Rays.Spices.Net v3.4.2 released (5 replies)
microsoft.public.dotnet.framework
New version of Spices.Net v3.4.2 has been released. A lot of improvements, corrections and bug fixes. 1.. Spices.Net Decompiler: Significantly improved speed of GUI output. 2.. Spices.Net Decompiler: Incorrect work with stack bug is fixed. 3.. Spices.Net Decompiler: new improvements, corrections, fixes and code optimizations, improved quality of decompilation. 4.. Spices.Net Obfuscator: Own PEVeri...
task manager (3 replies)
microsoft.public.dotnet.framework
how to know the file execute in the task manager I just have the exename bit I hvae no idea which of my 2345677 directory it's in ? and what if I have the same exe in 2 directory ? any of you knows of Task manager replacement ? with sources so we could hack ?
COM object with CLSID {846298BC-047E-48D2-86CF-CDACAB0C9C24} is either not valid or not registered. (3 replies)
microsoft.public.dotnet.framework
ex {System.Runtime.InteropServices.COMException} System.Exception COM object with CLSID {846298BC 047E 48D2 86CF CDACAB0C9C24} is either not valid or not registered. Ok Im having a strange problem with this COM Dll. I have it working fine on another computer but I am building a new DEV machine and transfering my projects over and I get this error when trying to run one of my projects. Here is what...
ComboBox painting (2 replies, VIP)
microsoft.public.dotnet.framework
Hello, I want to create my own custom ComboBox. I've overriden the OnPaint method and I am able to fill the whole clientrectangle of the combobox with a specific color as shown here: protected override void OnPaint(PaintEventArgs pe) { pe.Graphics.FillRectangle(System.Drawing.Brushes.Blue,0,0,Width,Height); } The next thing, I want to achieve is to draw this region around the dropdown arrow. But h...
Why use attributes? (5 replies, VIP)
microsoft.public.dotnet.framework
Hi I have a very basic question here why do we need attributes or basically how we decide when to use attributes? I have used a lot of .net inbuilt attributes, but have not been really able to put this great feature to use by defining custom attributes. I know how to use them but the bigger question is when should we use them. Perhaps this might be a very simple question to the .net world. All hel...
ScrollBar (2 replies)
microsoft.public.dotnet.framework
hi, I have a problem with using ScrollBar.In my form there is a DataGrid which has a ScrollBar. When I add a new row to my DataSet , this ScrollBar goes to end .Now with a button clicking, I add another row to my DataSet , at this time I want this ScrollBar goes to first .How can i send the DataGrid ScrollBar to first point of DataGrid (when it is at the end)? Regards
Framework 1.0 vs Framework 1.1 (5 replies, VIP)
microsoft.public.dotnet.framework
Hi I have some doubt regarding compatiability between framework 1.0 and 1.1 Can I use a component devoloped using Framework 1.1 in an application which is using Framework 1.0 for its devolopment Could you please answer me Thanx in advance Sunil Sebastian
marshalling : C# string to C++ CString (2 replies)
microsoft.public.dotnet.framework
Hi group I have a C dll containing the following functions : extern APIENTRY WINAPI void F1(CString str1,CString str2) { F2(str1,str2); } /*intern*/ void F2(CString str1,CString str2) { //do stuffs ..; } I have this C# code : [DllImport("my.dll", EntryPoint "F1")] public static extern bool csFct(string s1 ,string s2); When i call to csFct passing two string in parameter, I get the call of F1 corre...
Differences in Framework 1.0 & 1.1 (2 replies)
microsoft.public.dotnet.framework
Is anyone aware of differences in Framework 1.0 and 1.1 in the XmlValidatingReader class? Specifically in the way the Validation Event fires. I'm trying to validate an xml document in several parts so I broke my schemas apart. The first schema defines three high level nodes and the others define the detail elements of these three nodes. After instantiating an XmlValidatingReader class I loaded the...
Generic Principal and Setting Identity (3 replies, VIP)
microsoft.public.dotnet.framework
For a WinForms application, I authenticate users against a database and then build a customized class (subclassed from IPrincipal) with roles. I authenticate against a database instead of using the inherent WindowsIdentity because different users sometimes share a single machine, and each user has different app capabilities. I now want to make sure that the current WinForm is set to this user for ...
Monitor my own events (3 replies, VIP)
microsoft.public.dotnet.framework
Hello, I am new to WMI. I am publishing status objects successfully, and can verify them using wbemtest, etc. If a status object that I publish contains an error code, I would also like to fire an event that can be monitored by admins (local or remote). My questions is how do I query for "my" event? The only examples that I have been able to find are ones that monitor system events, such as regist...
Timer event pauzes when application is inactive (7 replies, VIP)
microsoft.public.dotnet.framework
Hello, I'm coming across the following problem. I have a application that "pauzes" when the application becomes inactive. The application has a timer and on the Tick event, the timer is being stopped, some functions are being executed, and then the timer is enabled again. This should work properly and it does on my laptop. On a PC of a client it doesn't. When the PC is not in use then the applicat...
GetProcesses() hang (5 replies)
microsoft.public.dotnet.framework
I have a real simple C# console project, consisting of this: using System.Diagnostics; static void Main(string[] args) { Process[] processes Process.GetProcesses(); // write all of the process info foreach(Process p in processes) Console.WriteLine(p.ProcessName " : " p.MainWindowTitle); Console.ReadLine(); } When I run it on my dev machine it hangs on the call to Process.GetProcesses(). Task Manag...
Testing for a type at runtime. (7 replies, VIP)
microsoft.public.dotnet.framework
I have been testing for a type using code like: if(obj is MyType) . . . do something Now I want to test for MyType as a return from a method Type ReplyType() { return typeof(MyTYpe); } .. . . . if(obj is this.RepyType()) . . . do something The problem is that the 'is' operator complains that it is expecting 'Type'. The return value for RelyType() is Type so I am not sure what it is complaining abo...
Form Inheritance still a problem in VS 2003? (5 replies)
microsoft.public.dotnet.framework
I'm running into a problem that I've seen ALOT of people have. I've created a base form and when I try to bring up the inherited form in the form designer, it says that "The designer could not be shown for this file because none of the classes within it can be designed." I've tried restarting VS.NET, rebuilding, closing all design views, just about everything that anyone has said to try and do. Ha...
Typecasting problem (2 replies)
microsoft.public.dotnet.framework
Greeting, We have a component featuring "late/dynamic binding". Its being used by 2 app, with only the 2nd giving a weired problem. .... objAssembly Assembly.LoadFrom(strAssemblySource); objInterface (InterfaceX) m objAssembly.CreateInstance(strClassName); .... It worked well for 1 app, but at 2nd app, the objInterface always a "null", and no error, until its method being executed. objAssembly is ...
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