Reta's Q&A profile
Visual Studio Express Editions Creating an installer for a VB.NET Express application
Hi, hope someone can help. Basically, I've created an application using the Windows Media Encoder 9 SDK and VB.NET Express that allows users to encode their videos and upload them to a server. It uses a third-party FTP COM object OCX as well as my own homegrown DLL for a few functions. (I'm very new to .NET so please don't point fingers ;) ) My problem is that the express publish to a CD option only seems to create a copy of the app's exe plus some Interop files for the ocx's used, and a small app that checks for and downloads the framework. I installed the app from the setup.exe created by the publish, plus the Windows Media Encoder 9 and my 2 librarys, on another computer to tryout the app in a non-developm ...Show All
Visual C++ Overriding ProfessionalColorTable Colors in VC++ 2005?
Hey there all, I've been all over MSDN looking for a way to override the ProfessionalColorTable colors in VC++ 2005, however due to all the example code being in C#, I've been unsuccessful. I have the following code: public ref class CustomProfessionalColorTable : ProfessionalColorTable { public: Color^ MenuStripGradientBegin::get() { return SystemColors::Desktop; } }; I would think that it'd work but apparently it doesn't. I get the following errors on compile: error C3254: 'CustomProfessionalColorTable' : class contains explicit override 'get' but does not derive from an interface that contains the function declaration. and error C2838: 'get' : illegal qualified name in member declaration What have I done wro ...Show All
.NET Development C++ Web Service
Hi Folks, I'm writing a small web service in C++ (apparently a foolhardy endeavor). Basic operation looks OK. However, I'm having the darndest time getting FindWindow() to work. Possibly making matters worse, I'm using multibyte strings, not Unicode. #define CLASS_NAME "Game Player" ... f_hPlayerWnd = FindWindowA(CLASS_NAME, NULL); Everything compiles and runs, but FindWindow keeps returning 0, even passing NULL for lpWindowName. When I call FindWindow from within the app I'm looking for, it works fine, so I'm thinking it's not a typo in lpClassName. Any help appreciated. Chuck Bueche Craniac, Inc. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=303691&SiteID=1 http://www.codep ...Show All
Windows Forms ClickOnce Error Message
Hi, I'm getting the following error message & detailed report: 'Cannot download the application. The application is missing required files. Contact application venfor for assistance.' PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : file://(PATH)/SerialSNMPWinApp.application Deployment Provider url : file://(PATH)/SerialSNMPWinApp/bin/Release/SerialSNMPWinApp.application ERROR SUMMARY Below is a summary of the errors, detai ...Show All
Windows Forms General paths problem
Hi there, I'm fairly new to winforms dev and I'm stuck on something I'm sure someone can help me with: I am using a 3rd party spellchecker control which requires an external dictionary file. The problem is that simply supplying the bare filename (without any form of path) works until the application's working directory changes. For example, if somewhere in my program the user invokes an OpenFileDialog and selects a file, the app's working directory is set to wherever the file was located (e.g. the Desktop). After this, the spellchecker pukes because it can't find the dictionary file in the Desktop. I could set an absolute dictionary path each time the spellchecker object is created but this seems like a bit of a fudge as it's used in ...Show All
SQL Server Return a row with columns for each day in a date range
Given in a record in from a Table called WorkSchedule: idWorkSchedul StartDate EndDate HoursWorked 1 1/1/2000 1/1/2006 8 I need to return for each record in the WorkSchedule Table 1/1/2000 1/2/2000 1/3/2000 1/4/2000..........1/1/2006 8 8 8 8..................8 Please help. Thank you. -Robert You can do the pivoting on the client side easily especially since you may have large number of date values. If you are building a report then it is a very trivial operation. So send the data as rows (dates as rows) and pivot on the client side. Solutions in TSQL will require dynamic SQL or fixed column names and other procedural ...Show All
SQL Server Your login attempt was not successful. Please try again
I have a standard Login ASP.NET 2.0 control on a login Page, a LoginName and LoginStatus controls on the member's page. once the user login successfully I am redirecting the user to Member.aspx page. The following is my machine configuration Windows XP Pro Service Pack2 IIS 5.1 SQL Server 2000 visual Studio 2005 DISABLE ANONMYOUS ACCESS IN IIS ENABLE WINDOWS AUTHENTICATION I am Using form authentication, and I am getting following error "Your login attempt was not successful. Please try again". To debug,I am displaying the follwoing properties Membership.ValidateUser(Login1.UserName, Login1.Password) : - True HttpContext.Current.User.Identity.Name : - // is blank FormsAuthentication.FormsCookieName : - SqlAuthCo ...Show All
SQL Server Creating a Custom Connection Manager Sample
http://msdn2.microsoft.com/en-us/library/ms345276.aspx does anyone know where this can be obtained it did not come with the RTM. it does not seem to be available via download either a little help here! As Books Online has been updated, we also have some updated samples to match- Download details: SQL Server 2005 Samples and Sample Databases (April 2006) ( http://www.microsoft.com/downloads/details.aspx FamilyID=e719ecf7-9f46-4312-af89-6ad8702e4e6e&DisplayLang=en ) It is in the SqlServerSamples.msi. ...Show All
SQL Server Can not connect to AS 2005 from Excel
I'm having issues connecting to AS 2005 sp1 from Excel 2003. I have tried two configurations as follows: Secario 1 Installed on a Windows Server 2003 is AS 2005 sp1. Installed on a workstation with XP sp2 is Office 2003, msxml parser 6.0, SQL Server AS ADOMD, Excel Add-in for SQL Server Analysis Services sp1. Secario 2 Installed all on workstation with XP sp2: Full install of SQL Server 2005 Dev Edition, Office 2003, msxml parser 6.0, SQL Server AS ADOMD, Excel Add-in for SQL Server Analysis Services sp1. In both cases the error returned is server does not exist or is too busy. The cube is created and can be browsed from BI Studio. The LAN id has been added to the AS 2005 security. All SQL Services are started including Browser and AS. Fir ...Show All
Visual C# Question on c# Language Specification
Hello msdn community... Reading ECMA-334 ( http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-334.pdf ), on basic concepts (page 91) I came to the following two: "Types declared in compilation units or namespaces can have public or internal declared accessibility and default to internal declared accessibility." " Interface members implicitly have public declared accessibility. No access modifiers are allowed on interface member declarations." My question is the following: Declaring an interface at namespace without the use of any accessibility modifier will result in a interface with (default) internal access. How can this interface's members have public accessi ...Show All
Visual Studio Tools for Office Excel asks, if you want to re-open the sheet again at startup
Hi, I am using framework1.1 and vsto2003 Sometimes, well.....most of the times when I start up the excel aplication, first it starts up and loads all the data and everything and display everything properly. Once it loads every thing, it immediately shows this message myapplication.xls is already open. Reopoening will cause any changes you made to be discarded. Do you want to reopen myapplication.xls Does anyone have any idea why is that and how can I stop this from happening Thanks, In my application , I simply grab values from the database, do some processing and display them on 3 worksheets. I have a timer that runs every 5 minutes and repeats the process. In my solution there are 2 projects. One pr ...Show All
Smart Device Development In VS2005 CF1.0, can I use Debug.WriteLine() ?
hi, I tried it, and it does not output anything to VS IDE output window. I know it does not work in VS2003, but does it work in 2005 now Thanks. It works in VS 2005, but only for NETCF V2 projects and not for V1. ...Show All
.NET Development hi!! plz hurry up help ....i have a queue linklist data structure..
hi!! plz hurry up help ....i have a queue linklist data structures.......now in this queue objects are being stored.....problem arises when........i use the peek() function returns the object from the begining of the queue ,,,,,means it returns the first object ,,,,,but i have to returns all the object means first object ,second object ,third object,,,,in this queue,,,,,is there any function in c# which returns all the objects of queue or is there any way to do it..plz write a code in this respect,,,,,,,,,,,, thank u... You can read any of the data in the Queue by using an enumerator. Suppose your Queue is called q. The following code prints each member of the Queue without removing them. System.Collections.IEnumerator en = ...Show All
Visual Studio C++ mixed mode crash logging (callstack)
Hi there I have a mixed mode application that I want to have some crash logging in. I have done a bit of investigation and it turns out that I can get the callstack for both the managed and native parts if I use a different process and use a debugger object - basically in a similar way to how the visual studio IDE does it. My question is, is there a debugger object that I can use in the .NET framework itself to do this or does it rely on things that are installed with visual studio Regards Jero JeroGrav wrote: I have a mixed mode application that I want to have some crash logging in. I have done a bit of investigation and it turns out that I can get the callstack for both the managed and native parts if ...Show All
Visual Basic Login Form VB 2005
Hi , i can’t make a loging form, checking a database users, i already have the users db, but how can i made th validation, a full step explanation it'll be great, please help me i already read a lot of books about vs2005, but i still with this trouble i'm usin Microsoft SQL server, thanks a lot!!! take a look at this: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=979449&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=889217&SiteID=1 you need to query SQL to see if the username/password given matches. ...Show All
