microsoft.public.dotnet.faqs Archive - April 2002
Post a message to this list
Messages
Page: 12
How to integrate a C++ Dll into a C# .Net Project? (3 replies)
microsoft.public.dotnet.faqs
Hi all, I'd like to know if it's possible and what are the consequences of integrating a C dll (simple one with a couple a classes, the use of MFC classes use of RASAPI32.dll that is dynamically linked to my dll) to a C# ..Net project... In fact we have started a project with some business C dll modules and now we want to integrate these objects to a .Net application but we don't know if we have t...
ListView...ItemCheck event...make some items hidden..but how? (2 replies)
microsoft.public.dotnet.faqs
HI! was ich machen will... wenn ein user checked eine item in der ListView sollten alle andren item nicht checktbar sein oder noch besser: alle andren item nicht checktbar sein und hidden(nach dem der user nochmal auf diese checked item klickt sollen wieder alle items sichtbar sein) (das erste beispiel würde mir mir aber auch schon reichen) aber wie kann ich diesen event am besten schreiben? hat e...
Strong Typed Collections in C# (12 replies)
microsoft.public.dotnet.faqs
Is there a solution to making a string typed collection? say a collection of integers or of some class without the need to cast to\from objects when setting\retrieving values? It really seems like a huge speed waste to downcast from object everytime a value needs to be retrived... Is there any way (maybe using Reflection.Emit) to avoid that speed cost and make a string typed collection? (like C 's...
VB.NET vs. C#.NET (10 replies)
microsoft.public.dotnet.faqs
VB.NET vs. C#.NET What are the reasons for choosing one over the other? Please, I would like to hear your comment, opinions, analysis... and also the facts. (Note I am sure this has been discussed before and I have seen some of the dialog. However, since it is so important, I ask you to kindly revisit the analysis and enlist a few brain cells for a nanosecond or two let's say, "Just for kicks". Yo...
Question about VS .NET (3 replies)
microsoft.public.dotnet.faqs
All, I have lots of questions about VS .NET because I'm trying to convince my management to purchase a copy for evaluation. We presently have the VS Studio 97 Professional, which includes VB 6.0, VC 6.0, Foxpro 6.0, InterDev 6.0 and Source Safe. and I believe we bought the MSDN subscription to. I personal only use VC, VB and Source Safe. 1.) Does VS .NET contain Foxpro/ What $%$^%$^ does VS .NET P...
Troubleshooting with .NET (3 replies)
microsoft.public.dotnet.faqs
Hi, I installed .Net Framework on my pc and everything worked fine. But when i install the .Net Framework on my server it wil not start. Using in w2k member server or an w2k pdc with iis 5.0 and Frontpage ext. MDAC 2.7 I already checked the machine.config file and the the section: processModel userName "SYSTEM" password "xxx" .... Where should i start troubleshooting, any logfiles I can check? Can...
What is a Component? (4 replies)
microsoft.public.dotnet.faqs
In the VS .Net IDE, if I right click on the Solution, select Add... there is an option to Add Component. What is that? Can you give example how it can be used? TIA.
Who can give me a example of system.web.mail (2 replies)
microsoft.public.dotnet.faqs
the use of mailattachment
local IP address (3 replies)
microsoft.public.dotnet.faqs
Hi All What's the easiest method of getting the local IP address in VC# ? Cheers in advance for any help Mark Middlemist
Major issue with VS.NET! MS please help me. (4 replies)
microsoft.public.dotnet.faqs
(Sorry about cross group posting but this is a major issue.) I am trying to build an ASP.NET application and for some reason after working on the Default.aspx page it now doesn't execute. Even if I put 'throw new Exception("test")' in the Page Load method it doesn't do anything except parse the page and render it as a static page. WHAT IS GOING ON HERE??? I can't seem to fix it, the only thing I c...
ASP.NET DataGrid - Evaluating Values? (3 replies)
microsoft.public.dotnet.faqs
In vb, with databound controls, you could specify a Rowsource and a listfield which would allow your application to evaluate a value from the DataSource, and display a meaningful description. How would I go about doing that in ASP.NET in particular, with the datagrid that has a DataSet as it's DataSource? Cheers James
How do I do the Debug.print in VB.NET? (3 replies)
microsoft.public.dotnet.faqs
I tryed Sub PrintToDebugWindow(ByVal AnyString As String) Debug.WriteLine(AnyString) ' Print to the Output window. End Sub But get the error: MainFrm.aspx.vb(50) : error BC30816: 'Debug' is not declared. Debug object functionality is available in 'System.Diagnostics.Debug' in the 'System' assembly. Any help. Please
Why mono? (32 replies)
microsoft.public.dotnet.faqs
You know what, I don't see the use of mono. (http://www.go mono.com/faq.html#msft) It just seems like it's dubbing work already done. They claim to be an open source project, but Microsoft has already released the source code to the Framework and the compilers. My question is: So why Mono? Is this just the open source community begin stubborn about using anything Microsoft? Nick
Capture Event (2 replies)
microsoft.public.dotnet.faqs
I have 2 forms. When running, the Form A will show up Form B after a button click on Form A. Form B is show with modal. How can i raise an event in Form A if any event occur in Form B? Or How can i capture event in Form B from Form A? TQ
Pb integrating a System dll into a C# project using DllImport (3 replies)
microsoft.public.dotnet.faqs
Hi all, Here is my problem, I need to map a system Dll (rasapi32.dll) into a custom C# dll. I use DllImport to import each function I need. For some functions there is no marshalling problem between C types and C#... For pointers I use "unmanage" and it seems to work fine. My problem is one of the functions I want to import has 2 parameters of type: pointer to a structure... Of course I cannot inc...
Commerce Server 2002 Solution Site - csharpsite (2 replies)
microsoft.public.dotnet.faqs
Hi, Just upgraded to Commerce Server 2002, so I have installed Visual Studio .Net(Enterprise Version) on my development machine(Win2K Server Box), I am getting the following error when I try and view the CSharpSite sample site after installing it(and rebooting). I guess it has sometiming to do with the account ASP.NET expects to run under. If so what should it be? If not what is the answer? Cheers...
DataGrid Columns (2 replies)
microsoft.public.dotnet.faqs
I have a DataGrid control bound to DataSet. How do I change the text of Column, make column invisible and change the width. It looks like I have to work with TableStyles collection. I created 1 Style, but how to assign it to the grid? Any help please Vlad
How to disable 'new row' in DataGrid? (3 replies)
microsoft.public.dotnet.faqs
Is there a way to disable new rows in DataGrid? There is a a * (asterisk) always at the last row of the datagrid. The datagrid contains editable data and I do not want to use "ReadOnly True" to disable the "New Row (*)" at the end of the datagrid. Any information is appreciated. Thanks. Regards, Allan
HowTo GetFreeDiskSpaceEx in dotNet? (3 replies)
microsoft.public.dotnet.faqs
Hi Is there a managed class which can return the remaining diskspace on the system? or do I have to use the Win32 API function GetFreeDiskspaceEx?? /morten
FontSize (2 replies)
microsoft.public.dotnet.faqs
How can I change programmatically the size of font of control? Thank you Vlad
Leave event for a TabPage... (3 replies)
microsoft.public.dotnet.faqs
Hi, I can see that there is a Leave event for a TabPage (do not confuse with TabControl) however I don't see it being raised. It seems that the only way to trap user movement off the TabPage is to trap SelectedIndexChange event which is not very useful when you have a dozen Tabs. Am I missing something? Any thoughts? Thanks, Alex.
a function that allows you to combine 2 bitmap images (3 replies)
microsoft.public.dotnet.faqs
I am searching for a function that allows you to combine 2 bitmap images into one picturebox. One is the background image and one is the foreground image. In VB6 I did this through the following calls First I would assign an picture to the picturebox object. Then I would Draw the mask of the second picture Call picPicture1.PaintPicture(picMasks(1).Picture, 0, 0, opcode: vbMergePaint) The I would D...
Why am I getting "type expected" error. (2 replies)
microsoft.public.dotnet.faqs
I have a .NET component that was working just fine ( I made NO changes to it ). Then I went to use it again and it didn't work. I tested one method using a simple VB.NET app and I get a type expected error on the compile. What could possibly be going on? I am doing nothing but decalring my object and I still get an error. Imports MDAS Public Class Form1 Inherits System.Windows.Forms.Form " Windows...
Multiple selections in ComboBox - Beginner Question (VB.NET) (6 replies)
microsoft.public.dotnet.faqs
Hi, Is it possible to select multiple lines in a combo box ? If not is it possible to have a listbox that works as a combo box ? Thanks and regards. LMG.
ComboBox / ListBox (old ItemData in VB6) (3 replies)
microsoft.public.dotnet.faqs
Hi, In VB6 I could use the ItemData for a listbox or a combobox to "index" an item in that list with a value (Ex: shows the customer description and returns the customer code). How can I do that in VB.NET ? I saw the following code sample in a site, but I cannot find that ListItem object mentioned: ListItem myItem new ListItem ("TextToShow","ValueOfTheTextShown"); lstMyListBox.Items.Insert(0,myIte...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com