cythe's Q&A profile
.NET Development Delete from FTP server
Hi, I am trying to delete a file from a local ftp, using : FtpWebRequest request = (FtpWebRequest)WebRequest.Create(ftp://localhost/test.txt); request.Method = WebRequestMethods.Ftp.DeleteFile; FtpWebResponse response = (FtpWebResponse)request.GetResponse(); last line has an exception:{"The remote server returned an error: (550) File unavailable (e.g., file not found, no access)."} System.Exception {System.Net.WebException} what ...Show All
Visual Basic Static function bug?
Lets say you create a static function under namespace A and inside class B (in C++/CLI as a part of a managed wrapper). Then I call this static function: Imports A ... Dim d1 As New MY_DATE() d1.nYear = 2010 d1.nMonth = 5 d1.nDay = 23 Dim strDate As String B.DateToString(d1, strDate) Doing so gives a warning: warning BC42025: Access of shared member, constant member, enum member or nested type through an instance; qualifying ...Show All
Visual Basic setting start folder
In VB6 compiled programs you could set the "start in" option in the shortcut. But I VB2005 I can not see how to do this The problem is differnt user's might have differnt folders for there data It maybe in Project Designer Click on "My Project" in Solution Explorer -> Go to "Debug" tab -> Under "Start Options" -> "Working directory" ...Show All
Visual C++ How do I partially specialize a template function?
I have template < class P_T1, class P_T2> static inline void f() {} I want to redefine template<class P_T2> static inline void f<void, P_T2>() {} to do something else (as a special case when P_T1 is void). It does not work because I get error C2768: 'f' : illegal use of explicit template arguments Anybody help Partial specialization of function templates is not supported by the C++ ...Show All
Visual Studio Express Editions installing problem studio 2003 after studio 2005
after installing studio 2005 express (beta 2) i bought the version studio net enterprise arch 2003 but i have installation problems (with studio2003) it say's "they are later components installed ,and stops the installations" i think it has something to do with net .frame i tried to uninstall the studio 2005 (from software /remove )but that does not help i also bought studio tools 2003 and have now the same problem anyone some idea thanks ...Show All
Visual Studio Team System Question about authentication through VPN??
Hi, We have some long term contract developers that work for us - we provide them a VPN account to get into our network and I was wondering if that will work the the TFS client the user logs into their computer using either the domain account or local account (not sure which one) then VPN's to our network - question is, with the TFS integration with AD, does that work through only a VPN connection or does the user "really have to be ...Show All
.NET Development Need help in Webservice Deployment [How to deploy a webservice?]
Dear all i am getting this error when i am deploying a webservice made in asp.net 2.0. i havnt deployed a webservice before and this is my first time. i have followed all the proxy creating process and the virtual directy assignment stuff. tell me what i am missing. i get this error when i access the webservice from IE. The webservice class name is Service.asmx ------------------------------------------------------------------------ ...Show All
SQL Server SQL Server 2005 Newsgroup
Could somebody please tell me where the SQL Server 2005 newsgroup has gone i can no longer find it anywhere and had a few posts going. Thanks in advance. news://msnews.microsoft.com/microsoft.public.sqlserver.olap ...Show All
.NET Development Improved Error Reporting with .NET
When exceptions are thrown, I want to create something like this: Exception message: Division by zero SomeClass.SomeMethodA Parametr 'a' = 7 Parametr 'b' = "somestring" Local 'i' = 556 SomeClass.SomeMethodB Parametr 'p1' = 45.6 Parametr 'p2' = 0.6 Local 'temp' = 0 etc.. Hello, Can you clarify what you are tryi ...Show All
Smart Device Development Capturing Keyevents
How can i capture global keyevents on a form no matter when item has focus. For Example: There are several button on a form. I want to be able to call the click event for these buttons based on which key on the device keypad is pressed. So one button is called Menu and when the letter 'M' is pressed on the keypad i want to call the click event on the Menu Button. The only way to do this i can see is to use the KeyPress Event of each ...Show All
Visual Studio Crystal Reports Deleloper > Into > VS 2005 Standard Ed.
Hi, I was going to ask this in the " Visual Studio 2005 Standard vs Professional " post, but it is locked. Has anyone tryed to intergrate Crystal Reports into the Standard Edition. Instead of upgrading the the Pro Edition. Just wondering I might try it myself, and maybe answer my own question. Thanks for any help Steve I did ask this question at a Microsoft demo of VS2005 and I was told that you will need VS2005 Pro. If you do not ow ...Show All
Visual Studio Team System Do not use names that require case sensitivity in the components or classes.
Hi I need some help in building custom FxCop rule, Is it possiable to check for using names that require case sensitivity in the components or classes that are present in the code for example int Foo; int foo; how to identify this case sensitivity in fxcop Regards Venkatesaperumal You simply enumerate the Type.Members and examine the names of each. In your example, case-sensit ...Show All
Visual C++ sqrtf under 24 bit floating point precision
Hi, While trying to estimate performance impact of using 24 bits floating point precision versus 53 bits, I've noticed that sqrtf function was 6 times slower in 24 bits control mode. Every other operation I've tried (divide, exp, cos, ...) are all faster or equal in 24 bits mode compared with 53 bits mode. How could this be explained Are there other math functions or instructions that will suffer using 24 bit mode Regards Guilla ...Show All
SQL Server Problem activating a server on home PC
Hi I am new to SQL / SQL Server and have downloaded SQL Server 2005 Express. I also appear to have an existing SQL Server program on my PC which includes Query Analyzer. I wish to use Query Analyzer. Is this compatible with SQL Express When I try to open Query Analyzer using Windows Authentication I get the error msg: 'Unable to connect to server HOME-DHGV3DIC8N: Server: msg 17, level 16, state 1 [Microsoft] [ODBC SQL Server Dr ...Show All
SQL Server How do i add my database to "data sources"?
I n Lesson 9 as you can see here (at 16:50), a connection is created against his .mdf database, and the dataset is shown in the "Data Source" window/panel. He can then simply drag the data source onto the form, and controls are created and bound automaticly - or drag them as a datagridview to the form. That is what i want to do, but i have some problems... I have set up a connection to my SQL Express database, and a dataset is c ...Show All
