jreed's Q&A profile
Visual Studio Filtering the project list in Add Reference dialog
Hi, My custom project type (VS2003/2005) handles project references to other projects (like c# project). I diplay the "Add Reference" dialog, using the IVsComponentSelectorDlg interface. My question is that how can I filter the displayed projects in "Projects" tab (e.g. hide the already added projects, or the reference to the custom project itself) Br, Gaspar Hi Gaspar, This is assuming that all the dependencies support setting VSHPROPID_ShowProjInSolutionPage property. Your custom project type should support this property if you want selective For the project that you are showing the references for get the IVsHierarchy interface an ...Show All
Windows Forms What is the good starting point for learning crispy looking form?
Yup, I'm just a beginner in programming world, and started learning good looking UI. So, any useful information to start learning it Maybe some link, book, ebook, or some advice... thanks... best regards Dicky Arinal Here's a piece of text pasted from the FAQ. My personal advice would simply be to practice, to browse through the help, use google, and to post on the forums and newsgroups for specific questions. What are some good books on Windows Forms programming and related topics Windows Forms Programming in C# Chris Sells, 2004, Addison-Wesley. ISBN: 0321116208. Windows Forms Programming in Visual Basic .NET ...Show All
Visual C# DateTime SQL Statement Problem
Hi, I am using these SQL statements to extract data from MS SQL 2005 Express but I am not getting any records maybe because the appointment_start field is datetime field. I tried Date(appointment_start) but i got Syntax error. "select * from appointments where appointment_start between '" + DateTime.Now.ToShortDateString() + "' and '" + DateTime.Now.ToShortDateString() + "' order by appointment_start, appointment_file_no" "select * from appointments where appointment_start = '" + DateTime.Now.ToShortDateString() + "' order by appointment_start, appointment_file_no" ...Show All
SQL Server Managing Database Mail using Microsoft.SqlServer.Management.Smo.Mail managed classes
I'm trying (or, more precisely, failing) to configure Database Mail from managed code using the classes in the Microsoft.SqlServer.Management.Smo.Mail namespace. I can easily retrieve the SqlMail object and create a new MailAccount instance but I can't figure out how to set the name of the mail server. Once the MailAccount is created, the MailAccount.MailServers property returns a single MailServer instance and this is always configured as the local server. In my case the SMTP server used to send email is not on the local server but is located elsewhere in the network. I figure I need to change the name of the MailServer instance, but whenev ...Show All
Windows Forms strange problem import from excel
I wonder if anyone has encounter this problem. When opening a excel sheet. all columns are regognized but some cells remain empty. No error nothing but no data. Dim cnn As New OleDb.OleDbConnection Dim Command As New OleDb.OleDbCommand Dim MyDa As New OleDb.OleDbDataAdapter &n ...Show All
Smart Device Development Building images for Windows CE 5.0 emulator httpd
I downloaded the Windows CE 5.0 evaluation pack. Is it possible to build images for the Windows CE 5.0 emulator so I can include a Web server (httpd) in the device emulator I also want to be able to transfer files from my PC into the emulator. Is this possible using the evaluation version of Platform Builder Yes, you can include a web server into CE 5.0 OS images - it is in the catalog under "\Core OS\Windows CE Devices\Communication Services and Networking\Servers\Web Server". Yes, you can transfer files from your PC into the emulator. There are a couple of ways: 1) Use the Remote File ...Show All
Windows Forms Running My EXE The Second and Subsequent Times Displays An Installer Popup
I have a Visual Studio 2005 C# forms project and a Setup installer project which generates a .MSI that installs the forms project. I run the installer and install the forms project, then I click on the installed EXE shortcut to run the forms project code. The first time I launch the installed EXE it displays the forms, but on the second and subsequent time I launch the EXE it first displays an installer popup, then reinstalls itself and then reruns itself. How can I avoid this annoying reinstall and installer popup This started to happen after I started experimenting with the publishing properties in the project. I try to turn off upd ...Show All
Software Development for Windows Vista Problem: Install Vista 5308 on Virtual PC?
I need to install Vista on a Virtual PC to test installation and running of some current apps I've developed. When I try to install Vista, it boots from the DVD I provide but when I "Install Now (->)", I get an error dialog box: I'm having the same problem, although with a different error message. In my case, it keeps saying that it can't find an accessible hard disk to write temp installation files to. I searched Microsoft's site for any hint that Vista 5308 won't work on VPC, but couldn't find anything. However, I found this thread that has a procedure for a possible workaround. Try it, they say it works. http:/ ...Show All
SQL Server Custom Assembly Class Not defined
I have a custom assembly that i'm trying to get tied into my report. the problem is when i try to call it i get the error that the class is not defined I have the class in the references tab and the class name and instance name both have a name. here's the error I'm getting Error 1 [rsCompilerErrorInClassInstanceDeclaration] Error in class instance declaration for class Assembly_1: [BC30002] Type '[ClassName]' is not defined. [Project folder]\[reportname].rdl 0 0 I am seeing the same problem. I have specified the class as follows: <Class> <ClassName>DLLName.ClassName</ClassNa ...Show All
Visual C# c# a function if my service terminate by the task manager
hy there I have made a windows service in c# now you can not stop or pauze/resume the service but you can stop the service in the windows task manager. i want that if a user try to terminate my process(service) in the windows task manager that hi or she fill in a password end if its not good then that my service will continuo working or if its good then that my service will stop i cant figuring out wat i should do i'm sorry that my english is not so good. greetzz tim There are a lot of solution's when you search on the internet, here is a little article on codeproject but you will find a lot of articles when you search this or ...Show All
Visual Basic Help with Selection.Find (novice with Visual Basic Editor)
Hello all, I am currently modifying a macro (I fool around with VBE but really have only 2 classes of Java under my belt) with the code below: Cells.Select Selection.Find(What:="<Current>", After:=ActiveCell, LookIn:=xlValues, _ LookAt:=xlPart, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:= _ False).Activate My problem is, I have no idea how to handle the error when the string is not found. Instead, if the String is not in the worksheet, it breaks the code. If anyone can let me know how to syntactically throw an error, I'd ap ...Show All
SQL Server External documentation
I know that the BI studio can build a nice flow document that is associated with the package. Is there an easy way to build a series fo documents that can be shared with other users without having them go into Visual Studio Mark E. Johnson I have an upcoming presentation and was wondering if there were any methods/features that could display all the SSIS packages, tasks, dataflows, relationships, and such in a functional diagram Similar to what is seen in a ERD diagram. If not, are there any functions or tools that can help collage these SSIS displays (outside of screen ...Show All
Visual C++ yet another c2248 error
I'm another user (paid ) getting this compile error message now that the project was converted from .net 2003 to .net 2005 this is a show stopper and I need a resolution of some kind so any ideas /help would be appreciated . C:\Program Files (x86)\Microsoft Visual Studio 8\VC\atlmfc\include\afx.h(879) : error C2248: 'CObject::CObject' : cannot access private member declared in class 'CObject' C:\Program Files (x86)\Microsoft Visual Studio 8\VC\atlmfc\include\afx.h(539) : see declaration of 'CObject::CObject' C:\Program Files (x86)\Microsoft Visual Studio 8 ...Show All
Visual C# SQL update command not working
When trying to execute a ExecuteNonQuery instruction in my C# web page program I receive an error message which says "Operation must use an updateable query". It is referring to an SQL UPDATE command against an Access data base file. What is strange is that the program works perfectly on my main computer but when I transferred the programs to my backup computer I get the above error message. Both computers are running XP sp2 and both have the same Jet engine dll and the same sql server. Does anyone know what can cause the program to not allow an update on a file. Or more importantly, what does this error message mean Dav ...Show All
SQL Server difference between SQL standard Edition and Enterprise Edition
Hi, there, We are running SQL 2000 & SP4 with our ASP.NET application, now we plan to upgrade to Enterprise Edition due to the huge diffirence in price. Can any one of u give an brief introduction of the difference between these two, and what is the advantages of enterprise edition Any suggestion will greately appreciated. Shermaine shermaine wrote: now we plan to upgrade to Enterprise Edition due to the huge diffirence in price. That seems logical. ...Show All
