microsoft.public.dotnet.general Archive - October 2002
Post a message to this list
Messages
Page: 1234
DataGrid (2 replies)
microsoft.public.dotnet.general
Does anyone know how to add a listbox to a datagrid cell?
Button Column - how to see the Text value associated with it (2 replies)
microsoft.public.dotnet.general
I have two different Buttons that fire a "DeleteCommand" I would like to know if it is possible to get the Text value on the button (one is a linkbutton format, the other is a pushbutton type) I would like to look up the Text value and depending on what it is execute two separate subroutines. Thanks
How to detect the browser's url from a Win App. (2 replies)
microsoft.public.dotnet.general
I'm trying to detect the URL (or the title) of a Window loaded with IE, from a background win32 dotNet application. As far as I understand, the Process class can provide me with the process name (in this case "iexplore.exe"), but not with the windows title, or the URL of the browser loaded in that window. I need to have a windows dotNet application that is launched automatically when somebody logs...
execute shell commands in c# (3 replies)
microsoft.public.dotnet.general
Hi, I want to be able to run shell commands (from cmd.exe, i.e. ipconfig, dir etc..) from C# code and get back the result of running the command. You could say that I need to be able to emulate a cmd window session. Does anyone have any pointers? Thanks Jude
Configuration File for VB.NET (3 replies)
microsoft.public.dotnet.general
Hello, I'm currently building a VB.NET application that requires reading some configuration file for information at runtime. I've created my own config file in xml, but when the application reads it, it always trys to read from "C:\winnt\system32\". I know I can set the path, but that would mean hardcoding...I would like it to read the file in the same path as the application. I've abandoned this....
system.outofmemoryexception (2 replies)
microsoft.public.dotnet.general
I suddenly started getting this error: 'System.OutOfMemoryException' occurred in System.windows.forms.dll My project still runs the other forms, and this form is not really special. There must be another problem that I am not aware of. I tried searching the knowledge base for this error, and I don't get anything from the search. Do you know what causes this kind of error? Thanks, Doug
How can I to serialize Collection in the serializable class (2 replies)
microsoft.public.dotnet.general
Hi! I have a problem with collection that is class member of serializable class. I get the SerializationException: "The System.VisualBasic.Collection is not marked as serializable" Thanks. David Spectorman Web Team Leader Kalanit Carmon Mail Me mailto:davids@calcom.co.il
Including a file in a .NET DLL (2 replies)
microsoft.public.dotnet.general
I'm not quite sure how to do this... I know you used to be able to include resources in the MFC DLLs and EXEs, so I assume it's possible. Basically, I'd like to include a few XML files in a .NET dll, and access them via the regular Stream/TextWriter interfaces. I would edit the files using VS.Net as if they were a regular part of the project, then compile the DLL. I could redistribute the DLL and ...
Where Is CollectionEditor (3 replies)
microsoft.public.dotnet.general
I am trying to use CollectionEditor which I found in the documentation but I cannot seem to either instantiate it or inherit from it as it appears I should be able. I have a property on a base form that I want the user who inherits it to be able to edit and the Property is a collection class which contains another collection class. I have the following code: Public Class MyCollectinEditor Inherits...
ExtractIcon followup... (3 replies)
microsoft.public.dotnet.general
Tom, Using your supplied code fragment I get the error message "Error: PInvoke item (field,method) must be Static.". I notice that you define hInst and the return values as type IntPtr instead of long (if this makes any difference?) I admit that when it comes to playing with system/API calls I'm not that familiar. The code fragment I'm using is below: DllImport("shell32", CharSet: CharSet.Auto, Se...
How to get a blank row for a databound dropdownlist (2 replies)
microsoft.public.dotnet.general
Hi, Is there a way to get a balnk (default row) for dropdowns that are databound to a DataSet. Do I have to add the row to the dataset? Or is there a setting on the dropdown control that allows for this? In either case, how would one go about doing this? TIA
ExtractIcon in VB.NET (2 replies)
microsoft.public.dotnet.general
I'm trying to find the equivalent for the ExtractIcon function in VB.NET but cannot seem to find one. Is there one or do I still need to use the ExtractIcon API call? If I still need to use the ExtractIcon function, eg: hIcon ExtractIcon(App.hInstance, strPath, lngIconIndex) ....then how do I get the value for App.hInstance in VB.NET. I have tried to use the examples in MSDN but can't seem to get ...
ExecutionEngineException occurs when passing ref object as 0/NULL from C++ (4 replies)
microsoft.public.dotnet.general
I have the following interface method that I have implemented in C#. HRESULT ExecuteStdCommand ( [in] const eStdCommands eCmd, [in] ISomeInterface1* pInterface1, [in] ISomeInterface2* pInterface2, [in] const VARIANT* pvData, [out,retval] VARIANT BOOL* pbHandled ); This maps into the .NET world as Boolean ExecuteStdCommand(eStdCommands eCmd, ISomeInterface1 pInterface1, ISomeInterface2 pInterface2,...
Excel + VB.NET + task will not be closed + UNIQUE insance problem (5 replies)
microsoft.public.dotnet.general
Hello all, I'm trying to fill a excel file with a number of worksheets with data. I'm doing it with VB.NET. The process works correct. The file is filled with correct data. Problems: 1. When i do excelobject.quit and excelobject nothing, the excel task will be not killed.. (I've no other references to this object) 2. When the process is working, and i start excel from my programs it will be the sa...
Could Not Create CDO.Message Object (11 replies)
microsoft.public.dotnet.general
My app needs to send mail with an attachment via the local server's smtp. On my development machine and the target server, I've set the smtp server to relay only from the localhost (127.0.01). When I run my project from the development machine, all is well. When I place it on the target server, though, any attempt to send mail results in the message in my subject line. The full exception reads: Sy...
Fast communication between two .net application (2 replies)
microsoft.public.dotnet.general
Somebody know some method (the best) for fast communications between two ..net application in the same machine?
help very urgent ! (2 replies)
microsoft.public.dotnet.general
Hello, How can I obtain a *.PDF file from a binary field in a database? After this I need to convert the file for visualizing it with Adobe Acrobat Reader. How can I do this? Thanks in advance
DropDownList Question. (2 replies)
microsoft.public.dotnet.general
How do I set the display/sort order of the items in asp:DropDownList control. ASP.NET Code asp:DropDownList id "ddlCountryUILevel" runat "server" asp:ListItem UnitedStates /asp:ListItem asp:ListItem Canada /asp:ListItem asp:ListItem Japan /asp:ListItem asp:ListItem China /asp:ListItem /asp:DropDownList Currently its getting populated based on IDs. I know I can SORT by name if fected from SQL, but ...
Open a form (3 replies)
microsoft.public.dotnet.general
Hello everybody.... I'm trying to open a /$%?** form from another one. HOW CAN I DO IT ????? Please help.... Thanks!! Marianne
Configuring Role-Based Security (2 replies)
microsoft.public.dotnet.general
I am having trouble determining if a user is a member of a given role (Windows 2000 group). Here is my code: Dim MyPrincipal As WindowsPrincipal Dim myIdentity As WindowsIdentity MyPrincipal CType(Threading.Thread.CurrentPrincipal, WindowsPrincipal) myIdentity CType(MyPrincipal.Identity, WindowsIdentity) If MyPrincipal.IsInRole("Administrators") Then MessageBox.Show("User is an Administrators") El...
Converting string into pixels in VB.NET ! HELP ! (3 replies)
microsoft.public.dotnet.general
Hello, how can I easely calculate or convert the length of a string into pixels in VB.Net??? If you have a sample of this code, please it's welcome!!!! Greetings, Jo
Data Grid used to populate System.Array (2 replies)
microsoft.public.dotnet.general
Hello, I have an array of data object (proprietry object). It has several public properties. I want to display it in the datagrid but I am not able to do this successfully. datagrid object recognizes my object but does not display. Could someone please help me out.
EOF (2 replies)
microsoft.public.dotnet.general
Hi! is there a way of knowing using System.IO if an EOF char exist, i'm getting a file though FTP and i want to know if the whole file reached befor starting to read it. thanks, Uzi
files *.pdf (2 replies)
microsoft.public.dotnet.general
Hello, I need to know how to get a *.pdf file which is in binary code in a Data Base and locally convert it to a *.pdf file that will be visible with Adobe Acrobat Reader. How can I do it?
Concurrency violation: the UpdateCommand affected 0 records. (3 replies)
microsoft.public.dotnet.general
Hi guys, I've build a simple ( very simple ) application based on a typed dataset, in this database i have a single table ( Tab Computers ) here's the XSD definition: xs:element name "Tab Computers" xs:complexType xs:sequence xs:element name "ComputerID" type "xs:int" / xs:element name "ComputerName" type "xs:string" minOccurs "0" / xs:element name "Enabled" type "xs:boolean" minOccurs "0" / xs:el...
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