Jenna Lee's Q&A profile
Visual C# Is there still no way to reference a member overloads topic with CREF?
In XML Doc comments, there are many times that I would like to reference (using cref) a type member's overloads page instead of any specific overload. Something like <see cref="System.Console.WriteLine(*)"/> is what I would expect. Is there still no way to do this in C# 2.0 In previous versions of C#, I used to use <see cref="System.Console.WriteLine"/>. This still appears to work, however, now the C# 2.0 compiler warns with the following: Ambiguous reference in cref attribute: 'System.Console.WriteLine'. Assuming 'System.Console.WriteLine()', but could have also matche ...Show All
Visual Studio Adding a new parameter to Crystal Reports using Typed Dataset as datasource
Here are some of the code snippets needed for my question (RDBMS: SQL Server 2000, .NET framwork version: 2.0, Visual Studio 2005) CREATE TABLE TestTable ( testtable_id INT IDENTITY PRIMARY KEY , target_date DATETIME , remark VARCHAR ( 50 ) ) INSERT INTO TestTable ( target_date , remark ) VALUES ( '05/28/2006' , 'test row#1' ) INSERT INTO TestTable ( target_date , remark ) VALUES ( '05/28/2006' , 'test row#2' ) INSERT INTO TestTable ( target_date , remark ) VALUES ( '05/29/2006' , 'test row#3' ) INSERT INTO TestTable ( target_date , remark ) VALUES ( ...Show All
Windows Forms DataGridView maintain scroll position after refresh
I have a read-only DataGridView that I periodically refresh with data. If the user is looking at the grid and has scrolled vertically or horizontally I want to maintain that position after I do the refresh. I can't find any way to interogate the current scroll position or to manually change the scroll position. Am I overlooking the obvious TIA ...Show All
.NET Development Environment.UserDomainName reports machine name instead of domain name
How can I get a hold of the local machine I need the domain name and machine name. If it's any help, I'm getting the same behavior: I'm logged into MYDOMAIN\UserName, but UserDomainName is returning MYMACHINE\UserName. The System.Security.Principal call works correctly. Looks like a bug in the framework. g. ...Show All
Visual Studio Express Editions Newbie General Questions & Error on Non-Dev Machines
Hello, I've just started programming C++ as of today, so yes I am a newbie, but I do have some experience in Java and GML so hopefully it will come in handy. First off I'd like to know if there is some kind of function list for standard C++ Libraries.. For Java and GML their is an obvious list of all the functions and parameters easily available to all programmers. From what I can see, even MSDN doesn't offer something like this. Secondly whenever I use, lets say, #include <windows.h> I get an error similar to: Error 1 fatal error C1083: Cannot open include file: 'windows.h': No such file or directory c:\documents and settings\ ...Show All
Visual J# method to cast to/from ubyte[]/byte[]
Hi; I know I can copy a byte array to a ubyte array using System.Buffer.BlockCopy. But since the actual data is identical in both arrays, and I have some large arrays, is there a way to just case a byte[] to a ubyte[] thanks - dave This really is a great help! Thanks to everyone for the posts; all the explanations were very concise and informative! ...Show All
Visual Studio Express Editions Impossible to install visual studio 2005
Impossible to install visual studio 2005 because the "vs_setup_msi could not be opened", i tried with different versions of visual studio like c# or c++ 2005 (express or standart) & i've allways the same message & can't install it. Visual studio 6 is installed & works fine & i know they could work together. I tried to install framework 2 before, to uninstall it before; i also re-install dotnetfx & i had no beta or express previous install. I looked for topics about this problem everywhere (Google, Msdn, different developpers forums) but if i found a lot of people who had the same problem, i never find a solution. What can ...Show All
.NET Development STARTTLS support?
I'm struggling a bit with a VB.Net 2005 app that requires SMTP STARTTLS support, both from the client (initiating) and from the server (receiving) side. STARTTLS allows email clients and servers to begin with a non-encrypted TCP/IP session and then "upgrade" the connection using encrypted TLS upon the client issuing the STARTTLS command. I believe I can use the standard socket class and then overlay the SSLStream class, also bringing in the certificate class. Thanks for any insights, code snippets, etc. that you may have. -Jim You should use EnableSSL=true. You say that once you used it you are getting ...Show All
.NET Development .NET Assembly Security
Hi all, just a quick question. Since there is a .NET Reflector written by LR which disassemble an exe/dll file, i can't find anything nor a better solution to get secure. How are we suppose to write a secure .NET app since it can be disassemble Is there a way to do it or perhaps possibility Or what's your recommendation / suggestion Regards, David [.NET NEWBIES] Hi David, The best way to protect an Assembly from beeing decompiled is to use an obfuscator like Dotfuscator from PreEmptive Soluctions. It does basically rename all your non public and internal types so nobody else can understand it's meaning easily. You still can de ...Show All
Visual C++ exe problem in vc++.net
when i click debug visual studio sasys that it cant find exe file. And exe file is not available in my project I dont know whether it is deleted or not exists . So please tell me how Ican solve this problem, and can I made exe yourself. Please somebody Help me ! bony wrote: when i click debug visual studio sasys that it cant find exe file. And exe file is not available in my project I dont know whether it is deleted or not exists . So please tell me how Ican solve this problem, and can I made exe yourself. Please somebody Help me ! Is this an exe project Perhaps, you ha ...Show All
.NET Development Populating Multiple Typed-DataTables with one SQL query
Hi All, I don't think this is possible, but if it is I'll be delighted!! I have a typed dataset with two datatables - lets say 'Person' and 'Car' - like this: Person - Columns: PersonID, Name, TelNum Car - Columns: CarID, PersonID, RegPlate, Colour . Each person can have mulitple cars. Now imagine I want all the cars for people called 'Smith'. In SQL this is easy - SELECT * FROM Person p INNER JOIN Car c ON c.CarID = p.CarID WHERE p.Name LIKE 'SMITH%' . However, if I run that SQL through ADO.Net, it will just return one datatable with the columns from both tables in (which i know is normally desired). ...Show All
Windows Forms Open MDI child within MDI child
Hello all, I have a unique problem that i'm hoping someone can help me with. I have a standard MDI application that contains the following forms: Parent form = frmMain Child forms = frmRecord and frmIntake This is the problem. When the frmRecord is loaded, i have a button that has the following code: <CODE> Dim MainForm As New frmMain Dim Intake As New frmIntake Int ...Show All
Visual C# compact framework data types with symbian data types
Hi i like to develop a desktop application in .net while a client application is written in symbian in series 60 phone. However .net and symbian use different data types. Is it possible to do it, meaning can the desktop application transfers data to the symbian application correctly Thanks ...Show All
Smart Device Development Installation of Compact Framework 2.0 failed. Why?
Hi all, can somebody tell me why my installtion of the cf 2.0 on an HP 2490 PDA failed Log file of installation: 26/02/2006 23:14:42: Entered Install_Init(). First Call: Yes Previously Installed: No Installation folder is: '\Programme\.NET CF 2.0'. 26/02/2006 23:14:42: Build 2.0.5238.00 26/02/2006 23:14:42: Device CPU: 'ARMV4I', 05020000 (84017152) 26/02/2006 23:14:42: PocketPC 5.01 26/02/2006 23:14:42: Our trust level is: 2 26/02/2006 23:14:42: User LCID: 1031 26/02/2006 23:14:42: System LCID: 1031 26/02/2006 23:14:42: Invoker's command line: '0x822bd84e-0' 26/02/2006 23:14:42: Memory status, K -------- ...Show All
Visual Studio 2008 (Pre-release) HierarchicalDataTemplate, ItemsSource and CollectionViewSource
Hello! Is there a way to specify, in XAML, that a HierarchicalDataTemplate may have it's ItemsSource object to be wrapped by a certain CollectionViewSource (The instance of CollectionViewSource could for instance provide sorting of the ItemsSource collection) If yes, may you provide a hint, please ! Best regards, Henrik Dahl Hi Henrik, Unfortunately there is a bug in FebCTP that prevents this from being possible to do in XAML. The correct markup to do this (which would work if we didn't have this bug) would be the following: <Window.Resources> <ObjectDataProvider MethodN ...Show All
