Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer
Recent update: 2008-3-7

C# Consultant Hourly Rates?

335 byte By CGuy at 2008-3-7
I was wondering if anyone has a crystal ball to predict the hourly rate C#developers will command. :-)Actually, I was wondering if anyone would like to make an educated guess.To me, it would seem the hourly rate would be higher than VB and slightlylower than VC++. Any thoughts?Thanks,CGuy...

Interface leaks in C#?

5793 byte By Kevin Burton at 2008-3-6
I am getting a number of interface leaks from a simple C# application thatuses a standard COM component. If I point Visual Studio Debug at thecompiled C# application and debug it the console shows a number of interfaceleaks. I have included the C# source and the errors below. Any ideas wouldbe great...

Office 2000 trouble...

525 byte By savvas at 2008-3-5
Hi there,I've just installed the SDK and I've come to face an unexpected effect.My MS-Office applications (Word-Excel...) do not work properly. They startand then suddenly they exit a second or so later... I've tried all sorts(re-install MS-Office IE5.5 etc) but I can't get it t...

Using __NewEnum in C#

1159 byte By Kevin Burton at 2008-3-3
I have managed to get the following to workusing System;using System.Collections;using AvstarNRCSLib;class NRCS{static void Main(){Console.WriteLine("Hello, World");ISignon signon = (ISignon)new __AnSignon();signon.Signon("avstar", "avstar", "172.27.18.77", "", "");if (signon.IsSignon() != 0){Consol...

ANN: .NET Forum Opens

272 byte By Evan Delay at 2008-3-1
For those that may be interested... a .NET forum has opened at www.universalthread.com Includes real-time threaded discussions, chat and also sections for files, FAQs, articles, links and job postings. Sincerely, Evan Delay www.universalthread.com

ActiveX/IE5 and C# components

1143 byte By Matthew Bray at 2008-2-28
Hello, I am wanting to develop some graphical controls for hosting insideIE5 either as ActiveX controls or as resident COM objects (much likeMSXML.dll etc). Reading the NGWS reference I have come up with nothing thatdescribes how or whether this is possible. The only code I have foundinvolves the &l...

New SharpDevelop Version / WinForms questions

1411 byte By Mike Krueger at 2008-2-27
HiA new version of SharpDevelop (the C# IDE in C#) is avaible to downloadat http://www.inf.fu-berlin.de/~mkrueger/SharpDevelopIts quite faster and more stable than 0.1 and has tons of new features,and itis GPL :)ok enough advertising ...1.Does anyone know how to make Dockable tool bars ?(I can make C...

where can i download mdac 2.6 ?

30 byte By fanwf at 2008-2-26
where can i download mdac 2.6?

COM object access

717 byte By Kevin Burton at 2008-2-25
This has probably been covered already but I have a "legacy" COM object thatconnects to a remote server using standard TCP/IP sockets. I don't knowenough C# to recode the object in C# so I would like to call the interfacesand methods from an ASP+ page using C#. Right now I can use JScript orVBS...

C++ and WinForms

217 byte By Steve Binney at 2008-2-24
Why is there no equivalent to a VB or C# Windows Application in C++? Since C++ is a full player in DotNet, and it supports WinForms at runtime, why is there no design time WinForm in C++? Steve Binney

VS7

268 byte By Sean Thorne at 2008-2-23
i keep reading posts and articles about people who alreadz have visual Studio 7 and i am trying to find out where i can get a copy, whether it be release or beta. Anything at all, i really want to try out some C# asap, any help would be appreciated. Thanx

System.WinForms does not work

454 byte By dingding at 2008-2-22
Can someone explain to me why the following program won't compile?using System;using System.WinForms;class Application{public static void Main(String[] args){Console.WriteLine("Hello!");}}The error I get is:C:MYPROJ~1PERSON~1DABBLI~1Test1.cs(2,14): error CS0234: The type or namespacename '...

[Q]how can i run my c#application in VS7?

553 byte By SJ at 2008-2-22
I tried to create my C# application in VS7.At first, in the New Project dialog box, I chose Windows Applicationtemplate, located under te C# Projects node, and then I added controls t WinForms and wrote some code.Finally, to build and run the application, I chose Build from Build menu.until that ti...

returning the results of a processed aspx page to a string

1284 byte By Thomas Kadlec at 2008-2-21
In normal asp microsoft included a sever object that allowed you to pass inan asp filename and a local filename and it would process the asp saving theresulting HTML output to the local file. The primary function for this wasto be able to create static html pages from a database for speed reasons.(...

.NET & C#

111 byte By sumit choudhary at 2008-2-20
Wants to about .NET & C# please let me know about any documents if available on I'net. Thanks

On a lighter note

104 byte By Ralph Leckett at 2008-2-19
I look at those .cs source code extensions and I look at my C# code and I think "Chicken Scratches".

New C# IDE

582 byte By Mike Krueger at 2008-2-18
Hi10 if needed("cool C# IDE") goto 2015 goto ****20 goto http://www.inf.fu-berlin.de/~mkrueger/SharpDevelop30 select user40 case CantAwaitToSee:50 goto Download60 DOWNLOAD SharpDevelop70 break;80 default:90 goto README100 read110...

how can I be a msdn subscriber?

161 byte By liyifeng at 2008-2-17
I am a lerner of visual c++,now I want to know something about c#,and I want to download c#compiler,but I am not a msdn subscriber,how can I be ? Thanks.

Future of VC++ developers

713 byte By Rahul at 2008-2-16
Hi,I am a ATL/COM developer and I want to Know what will be the future of VC++development with respect to web.I have seen VB is the first choice when itcomes to web development like components for MTS and database access.I won't to Know are Organisations considering VC++ for web development.Wit...

binding data from SQL Server to WinForms

343 byte By Adam Miller at 2008-2-15
I am trying to figure out how to bind data from a SQL Server 7.0 database tomy textboxes on my winform. I am doing it all through code. I have mySQLConnection set up and am thinking I need a DataSet. I went ahead and setup a DataSet and my SQLCommand to get my DataSet. Now how do I get thisdata...

LOGFONT

208 byte By Norm at 2008-2-15
LOGFONT structure is not defined in any of the namespaces. The call to the following declaration does not work: public static Font FromLOGFONT(LOGFONT ); Any body had any work arounds

Microsoft.Win32 namespace

671 byte By Sachin23 at 2008-2-15
I am getting this error in one of my programsF:\WINNT\ComPlus\v2000.14.1812\system.winforms.dll: error CS0011: Referencedclass 'System.WinForms.RichControl' has unknown base class or interface 'Microsoft.Win32.Interop.IOleControl'I know i have to include some library with the /re...

Graphics in C#

177 byte By Mustafa at 2008-2-14
Questions: 1) Is there a simple way to impose tow images on top of each other...? 2) Is there a way to shift an image (column wise) to the left or to the right...?

C# and VB

643 byte By Kevin Verble at 2008-2-14
Hello,I've read through the various articles and things on C#. I am unclear onwhen one might use C# versus VB. If they both use the CLR, then it wouldseem there would be no performance or memory issues to use to decide whichone. Are there specific things that a C# program will be able to be use...

XSLTemplate does not work. Why ?

784 byte By Dmitry at 2008-2-10
Hi,When I try to execute C# program with follow code:using MSXML2;public class test {FreeThreadedDOMDocument30 mXML = new FreeThreadedDOMDocument30();FreeThreadedDOMDocument30 mXSL = new FreeThreadedDOMDocument30();XSLTemplate oXSLTemplate = new XSLTemplate();IXSLProcessor prc = null;string html = "...

C# and other platforms

435 byte By Max at 2008-2-9
I have read something about C# (Elden Nelson write that and I think that heis chief editor in Microsoft for C#) and he said:-"C# belongs to the world. Anybody can (and probably will) port the languageto any platform, opening the door to developing C# for Macs, Linux, Web browsers,Palm OSyou name it....

Compiler Tools for C#

1063 byte By Malcolm Crowe at 2008-1-31
These are compiler writing tools in the tradition of lex and yacc, but usingC# as an implementation language. The tools are written using object-orientedtechniques that are natural to C# and are provided in source form to assistan understanding of the standard algorithms used. A number of examples...

C# and some questions

232 byte By Max at 2008-1-22
1. Can I make programs for Linux/Unix using C#? 2. Can I make CGI scripts using C#? 3. Can somebody tell me what is SOAP? 4. And can I run C# (I am downloadig it now) in Windows ME or only on Windows 2000? Thanks

compile errors

416 byte By Adam Miller at 2008-1-19
I am trying out a simple winform application. My file is called:winforms.csI compile like this: csc winform.cs /reference:System.Winforms.dllI get several errors saysing something about "Referenced classes'System.WinForms.RichControl' has unknown base class or interface'System.Compo...

Why HelloWorldForm slow

163 byte By Norm at 2008-1-13
Why does the HelloWorldForm example takes long to execute. Also why is a 'Console' launch with the application, is there any way to prevent this.

TagPrefix

553 byte By Bob Morris at 2008-1-13
Whenever I create a new web form project and then delete the code from itand substitute some of my own and some from examples I've found , I alwaysrun into a compilation error dealing with the tag prefix. For example, if Icode the aspx file like this: <%@Register TagPrefix="CJ"......and co...

Referencing objects from within an event handler

288 byte By Charles Fineblum at 2008-1-12
Hi: How do you get a reference to objects from inside an event handler? I have a click event for a button and want to be able to manipulate some properties of other objects in the class, but I can't seem to find a way to get at them. Thanx, Charlie

System.NewXml ?

142 byte By M. Yang at 2008-1-12
Has anyone successfully used the namespace - "System.NewXml", which is for the class XmlDataDocument as in the MSDN help? M. Yang

Visuas Studio .NET

260 byte By Marko at 2008-1-10
I was wondering when can I buy Visual Studio .NET and is there be Visual C++ or only C#? And Is C# programming language like VB so you can actually draw a controls and write code for them or you must write code for evrything like in C++? Thanks

C# and questions

349 byte By Marko at 2008-1-10
I am a beginer in C++ and in C# so I have a lot of questions:)1. Where or when can I find C#?2. Can I use it to make web pages?3. Will it be built in Visual Studio 7?4. Does it better or worse of Visual C++?5. Is there some good tutorials on the net and where?6. What is difference between C# and VC...

CLR locks up my machine

175 byte By Charles Fineblum at 2008-1-10
Hi: After installing the CLR I'm experiencing random lockups. When I uninstall it the problem goes away. Anyone experiencing this problem? Charlie

Check out this very cool trick!

3512 byte By Mike Amundsen at 2008-1-10
cool hack!MCA"Thomas Kadlec" <kadlect@hotmail.com> wrote in messagenews:39b81c65$1@news.dev-archive.com...> I came up with this really interesting trick today and thought it was well> worth sharing...>> Please use with caution and testing before you try this.. use at your own> r...

SlickEdit as a C# editor.

218 byte By DAndre Pritchett at 2008-1-9
Hi, I am setting up SlickEdit 5 as my C# editor and I am having a few problems, has anyone completed this task and if so, could they give me some assistance? Thanks, D'Andre Pritchett

Simple way to update recordsets (ADO+)?

2289 byte By Richard K Bethell at 2008-1-9
Is there a simple mechanism to update data in ADO+?In ADO, the recordset object makes life so easy - all the important objectsnecessary to add or update data are a method or property of theADODB.Recordset object.However, there seems to be no simple equivalent in ADO+ and it's far morelimited Da...

Another Regular Expressions Question

322 byte By James White at 2008-1-9
I've referenced the DLL, added the Regex class as a member of my class, butwhen I try to construct it just prior to usage, I get an invalid argumentexception. I am passing a string like "*.dsp" to the constructor. Any ideaswhat might set it off?Thanks!James Whitejamesw@avi.com...

Accessing COM object from C#

269 byte By Abel_Lindburg at 2008-1-9
is there a step-by-step of how to use a COM component not written in C# within C#? For example, I want to use a COM component written in C++. What are the requirements of the component, and what compiler flags do you use and such? Thanks in Advance

c# and COM

431 byte By Paul Hayes at 2008-1-8
HiI have followed one of the examples which created a C# dll COM component andattempted to access it from a VB project.I managed to get a reference to it from the VB project and could see all theproperties and methods of the object in early binding.I get an error message when trying to instantiate t...

ANN: TraceHook.NET context atribute for call tracing

939 byte By Peter Drayton at 2008-1-8
Hi all,I've just released TraceHook.NET, a CLR context attribute that can be usedto declaratively add call tracing to any (context-bound) class (Think of itas the .NET version of the original COM TraceHook that Chris Sells &Simon Fell wrote). Adding tracing to your own classes is trivial - deri...

Compilation problem with WinForms

2161 byte By Daniel Pratt at 2008-1-8
You still have some missing references. Adding a reference to System.Dll andMicrosoft.Win32.Interop.Dll should fix the problems you see here. WinDesuses a pretty complete list of references when it compiles. It's quiteunlikely that you'll need all of them, but I don't think there'...

Version 2.2 of Antechinus C# Programmers Editor Released

1200 byte By Alex Davidovic at 2008-1-8
C Point has released the version 2.2 of Antechinus C# Editor, the firstprofessional developers' editor for the exciting new Microsoft's C# (CSharp) programming language. C# has been derived from the C/C++ world toharness the power of the new .NET Technology and offers a range of featuresde...

Compiler error when trying to use System.Text.RegularExpressions

451 byte By Alex Lehmberg at 2008-1-7
I have written the folowing small program in C#:using System;using System.Text.RegularExpressions;class regxtester {static void Main (){Console.WriteLine("Hello");}}When i try to compile it I get a compiler error called "CS0234: The type ornamespace name 'RegularExpressions' does not exist...

C #

95 byte By Rafael at 2008-1-7
Some body can tellme in spanish whats exactly C # an whats teh diference betwen C++ and C #

C# Site - http://www.csharphelp.com

125 byte By Jeff at 2008-1-7
I found a site that actually goes through the process of how to install a C# compiler. http://www.csharphelp.com

Do I really need Win2000 to compile C#?

137 byte By Erik Englund at 2008-1-7
I would like to try out the C# compiler but have w98, do I need Win2000 or is Win2000 just needed for the .net stuff? / Erik

System.NewXml.Xsl

400 byte By Oscar at 2008-1-6
Has anyone even tried to use XslTransform.Load()?I haven't received any helpful(nice, but didn't solve my problem) responsesfrom anyone in three forums, and it's making me wonder if anyone has eventried this method at all. Looks like it throws an exception and says itcan't find...