colonel's Q&A profile
Visual Studio Cannot install VS 2005... UDF ISO-13346 issue
Hey everyone, I'm having the devil of a time installing the VS trial version (team package) on my xp pro machine. I've been fiddling with it for the last 2 days and can't get the DVD to even recognize the UDF portion of the disc at all, which is where all the installation files are. argggg... I've tried extracting it with ISOBuster, which fails almost 1/3 of the way through. I've tried ripping it to an image with Nero and fails at 69%... And those are the only two programs that I have that will even recognize that there is a UDF partition on there... Explorer is clueless to its presence. Could anyone help me I would sooooo greatly appreciate. Thanks, Tim Hi, I had the same problem and als ...Show All
SQL Server Full text Index on US English String
Hi, The following queries on a fulltext index is returning different results. select CustomerNameLocal from dbo . Customers where contains ( CustomerNameLocal , 'A.C.E' ) -- returns 1388 records select CustomerNameLocal from dbo . Customers where contains ( CustomerNameLocal , 'ACE' ) -- returns 1388 records select CustomerNameLocal from dbo . Customers where contains ( CustomerNameLocal , 'ace' ) -- returns 1388 records select CustomerNameLocal from dbo . Customers where contains ( CustomerNameLocal , 'a.c.e' ) -- returns 22 records Can someone let me know why the last query is retuning only 22 records. Since search on ACE and ace returns the same number of records - I guess there shouldn ...Show All
Windows Forms create and display form using C++
hi this should be easy for most of u here but not for me... I'm using Visual Studio 2005. here's what I did: File>New Project>Visual C++>Win32>Win32Project At the solution explorer, I right click on my project's name, then Add>New Item>UI>Windows Form. I named it testForm. Then i put all the neccessary things on the testForm (buttons, labels etc).... Now I want to execute the project. How can I make the testForm displayed first hope you all understand my question. Thanks a lot. thanks for replying, but that's not the answer i'm seeking... I can build, compile and execute the program, but i don't know how to display the form I created first. ...Show All
Gadgets Currency Gadget
Is there a way to include other currencies in the Currency gadget I would like to see the Malta Liri. Yes, I also would like to know how to add additional currencies to the currency gadget. The currency gadget I am referring to is the ONLY currency gadget which is included with the installation of Microsoft Windows Vista Home Premium Edition. ...Show All
Visual C++ Memory allocation across the Dlls
Hi All, I have been facing some problem with the memory allocation&deallocation across the dlls. For clarity I'm describing my problem bit elabarated: I have a COM Dll, which intern uses two dlls. (UI) <-----> COM_DLL<---->BusinessLogic.dll<--->Communication.dll. The memory allocated in communicationDll several places and freed in BusinessLogicDll several places, but when the ComDll is in release mode, and the applicatoin is crashes. But the application is built in Debug mode, everything goes fine. Also I have three versions of UI application two with MFC support and one without MFC support. I'm facing problem only with the UI-application built without MFC support, with other two absolutely n ...Show All
SQL Server is_member behavior
Hi All - I am running sql2005 on windows 2003 all with uptodate SPs Im sure this has been discussed somewhere, but I just dont understand why its behaving this way. my issue is that if a 'db_owner' is a member of another db role then the is_member('some_other_role') always returns 0 example: dbrole: testrole ntuser: joeuser ntgroup: testgroup ntgroup: grpsysadmins joeuser is a domain login. testgroup and grpsysadmins are both nt groups. joeuser is a member of both testgroup and grpsysadmins grpsysadmins is a member of administrators grp on the sql server machine testrole is a sql role testgroup is a login into sql testgroup is a member of testrole 1) when I do select is_member('db_owner') I get 1 2) when I do select i ...Show All
Visual Studio Tools for Office Application level add-ins for Excel 2003
I have just installed VSTO 2005 SE on my PC which has Windows XP, Office 2003 Professional and VS 2005 Team Edition for Software developers. It also had the first edition of VSTO 2005. The blurb for VSTO 2005 SE promises: "Application-level add-in projects for five Microsoft Office 2003 applications (Professional Edition and Standard Edition): Microsoft Office Excel 2003, Microsoft Office Outlook 2003, Microsoft Office PowerPoint 2003, Microsoft Office Visio 2003, and Microsoft Office Word 2003." see http://www.microsoft.com/downloads/details.aspx FamilyId=5E86CAB3-6FD6-4955-B979-E1676DB6B3CB&displaylang=en After the install (and a reboot) the New Project dialog in VS still only offers Document and Template projects for ...Show All
SQL Server Returning "ALL" records in a query
I'm building a db to collect equip fault data in SQL 2005 and need to modify my query to be able to select/display "ALL" records. I'm currently using a sp to assign a shift to each record and then have a query to select all records by shift. I'd like to add an option to the query to be able to select ALL records, regardless of shift. I've included the sp & query I am currently using. Any help would be appreciated. Thanks ALTER PROCEDURE [dbo].[p_dtu_Store_Line_Fault_Data] -- Add the parameters for the stored procedure here @AssetID int, @Timestamp datetime, @FaultCode int, @State int AS BEGIN SET NOCOUNT ON; IF @State = 3 BEGIN INSERT LineFaultData (FaultCode, AssetID, StartTime, Duration, Shift) VALUE ...Show All
Visual C# Help with running and controlling other application from a form
Hi all I am working on a C# project and i need two things... 1--- I want another text editor to open a file but want to keep that editor window under my form control i.e. as child.... How can I do this 2--- I want to open a command line window (cmd window through a .bat file) and then execute some commands on that but from my windows form... how can i do this. I also want to capture output of the command window after it runns my commands.. Please help Aamer In both cases use Process.Start to create another process. In the first case you'll point it to the text editor and let it go. In the second case you'll use ProcessStartInfo and point it to cmd.exe and use the command parameters ...Show All
SQL Server hosting SSIS packages where?
After i create a SSIS package, where can i put it or store it in the SQL SERVER 2005 so that i can execute it later on Grant Swan wrote: Hi, The option to do this is available once you have built you're project and you have done this whilst the CreateDeploymentUtility is True. All you then have to do is go to the deployment folder (usually in the bin directory) and run the .SSISDeploymentManifest file. This will give you all deployment options including where to store your package. This link gves some info on how to execute the packages programmatically: http://msdn2.microsoft.com/en-us/library/ms403355.aspx Hope this is of use to you. Cheers, Grant I don't understand what you just said.. ...Show All
Software Development for Windows Vista InvokeWebService-Return value
Hi, I am using InvokeWebService for web method that returns me a List<string> in the workflow class I have a property with the same type of List<string> who bind to the return value of the web method. but the object do not pass from WS to the workflow- and I get null exception at run time. I also tried to pass a collection of object that I wrote - this collection derive IEnumerable and ICollection and have a [Serializable] property- but I get the same error. with simple return variable like int its work fine am I missing something I need some help... Thanks, Dror (Happy New Year :-) &n ...Show All
Visual Studio Team System Where is the Change Source Control... menu item?
I have a project which (somehow) I've managed to add to the TFS source control without binding it correctly to the repository. This means that files are not automatically checked out when I edit them. Everywhere I look for a resolution to this says, no problem, just go File->Source Control->Change Source Control, and re-bind the project. Unfortunately, I don't see this option in the menu. I've used Tools->Customize... to add the option to the menu, but it's just greyed out all the time. Can anyone please help me with this really annoying problem Thanks in advance, Matthew A couple more questions: 1) Do you have a solution open The Change Source Control menu will not show unless ...Show All
.NET Development System.data namespaces
hi! i am confused on what namespace (System.data.SqlClient, System.Data.OraclClient or System.Data.Odbc) should i use with my program... the program retrieves from sql (local server) and the values retrieved will be inserted to oracle (other server). My main question is what should i use and just to clarify what difference is there when i use an odbc connection from an sql or oracle connection thanks! Xeleste wrote: hi! i am confused on what namespace (System.data.SqlClient, System.Data.OraclClient or System.Data.Odbc) should i use with my program... the program retrieves from sql (local server) and the values retrieved will be inserted to oracle (other server). My main que ...Show All
SQL Server LIMIT'ed to TOP in TSQL???
I have worked with TSQL quite a bit with different projects... I have recently had a slew of projects that got me to start using MySQL for the database... I know that may be sacralige here; however, it is relevant to my point. I have always had a problem in TSQL that the TOP attribute doesnt quite do what I want. I would like to pull the TOP 50 records from a data set, but I want to pull them after the initial 200 records. I have come up with several ways around this, however, none are efficient. The reason I bring up the MySQL usage is because there are two commands in MySQL to which work Postregres, Oracle, basically any PLSQL DB. LIMIT (start param, rowcount param) AND OFFSET (start param) These make page numbering very simple and effi ...Show All
Visual Studio 2008 (Pre-release) Configuration help.
I am having some configuration problems and I would like to solicite some help from this group. I have tried reading "Programming 'INDIGO'" on configuration but it seems that many of the tag names and configuration sections have changed so that it is very hard to take samples from the book and apply them. Is there a better reference on configuration of server and client Where would be the best place to go for samples At a very basic level I would like to configure a client and server to use or listen on an HTTP address and a TCP address. This seems simple enough but the configuration has me tripped up right now. Thank you. Kevin "Programming Indigo" is pretty out of date. For sam ...Show All
