McAuliffe's Q&A profile
SQL Server ByPassPrepare in SSIS Property Value not Changing
Everytime when I set this value to true; it saves but when I close the package and reopen it. It returns to false, I am using OLE DB connection... Help Please ...Show All
SQL Server SmoApplication.EnumAvailableSqlServers does not list default instance if sqlexpress is in same machine
Hi, I have installed sql server 2005 as default instance and sqlexpress in a machine named "mani" EnumAvailableSqlServers does not list the default instance. It lists only "mani\SQLEXPRESS", but not the "mani". But I can see both in SQL Server Management Studio Any idea fix it Regards mani Hello, I have already noted that EnumAvailableSqlServers is not always working ( sometime giving the ...Show All
Windows Forms Application.exe.config
When I select Publish, the Application.exe.config file is not included. When I run the application after it installs, I get the error "Unable to access configuration data". How do I correct this I found the solution, going into the "Settings" tab and selecting the link will create an app.config file. When published, this file will be renamed as myapplication.exe.config and deployed. ...Show All
Visual C++ Why is VC8 code much slower than VC7.1?
I have built the code below using both MSVC 7.1 and 8.0 beta 2, using the command shown in the initial comment. When run on a 3GHz P4 with 1GB RAM, running XP SP2, the output is as follows: VC7.1: Time = 62 VC8.0: Time = 110 Why does the 8.0 build take 1.77 times as long to run Thanks, Keith MacDonald ///////////////////////////////// // cl -Ox -EHsc -MT TimeTest.cpp #define WIN32_LEAN_AND_MEAN #include <window ...Show All
Windows Forms "The value violates the MaxLength limit of this column"
C#, VS Pro 2005, Windows app with a datagridview: Simple form with 5 fields. The database is empty. The field that generates this error is formatted varchar, length of 6. The field is the second on the form, and is the only field complained about. Tried both a combobox lookup table and typing values into the table (textbox). Same error. This has stalled me for several hours. I tried printing out a message box with the cells data, but ca ...Show All
Visual Studio Help still broken
Just installed the release version of VS2005 standard. Alas, F1 help is still broken. If I position the cursor over a word (for example HANDLE) and hit F1, the following happens: 1. If MSDN is set to use local help only, it always displays the topic-not-found page, even though on the left hand side, the topic is not only present, but selected. A single click on the highlighted item displays the correct information. 2. If MSDN is set to use onlin ...Show All
.NET Development XPathNodeIterator and .SelectChildren
Hey all, I'm using an XPathNavigator to navigate an xml document I've written. I'm attempting to get to the parent node that I'm interested in and then iterate through a list of the child nodes I'm asking for by name. My code is below. The method is not returning an iterator containing my desired list but a navigator pointing to the parent node I started from. SOMEONE HELP ME!! public void XMLTEST() { string [] temp = new stri ...Show All
Visual C# Int to string?
Does anyone know how to convert an integer into a string so it can be displayed in a textbox or label Hi, Try this: int i = 100; textBox1.Text = i.ToString(); cheers, Paul June A. Domag ...Show All
Visual Studio RC1 - Visual Studio Class Designer Package Issue
I've installed VS.NET 2005 RC1 on 2 machines. I've a project that was created with VS.NET 2005 Team Suite Beta2, including a class design file. On machine 1, I've no problems with Class Designer. On machine 2, whenever I start Visual Studio, I receive the following in a Yes / No Message Box titled 'Microsoft VIsual Studio': "Package Load Failure Package 'Visual Studio Class Designer Package' has failed to load properly ( GUID = {DD16 ...Show All
Windows Forms usercontrol
hi, im using a usercontrol called mybrowser to my own webbrowser application. i wanna make it with a lotta tabs by tabcontrol. im using it on every tabs but i want them to navigate diffrent addresses. if i change url on tabpage1 then the url is changin on tabpage2, too. how can i avoid this Are these different instances of the same control type, or do you only have one control It's just that you only gave it one name. Cre ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Possible to apply shader to DX7 content?
We are using an existing DirectX 7-based game engine to render 3d content. We do not have the source to the engine. We'd like to apply shaders to some of the objects rendered in this engine. Since it is DirectX 7-based, this seems like a technologically difficult, if not impossible, feat. Is this possible Impossible is a strong word. There is a way to do this but I am sure you want not go it because it is many work. It should be easier to ...Show All
.NET Development Warning in VS2005 that an object is being used before it has been assigned a value.
I'm getting warnings that I don't understand for DataReader and Command objects, and I don't know how to use them in a manner to avoid the warnings. Please help. I have several procedures like the following, and the warnings point to the Finally block where I close the DataReader and Dispose the Command. How should this be restructured Thanks you Public Sub MySub( ByRef pageIDs() As String ) ' returns an array of all Pa ...Show All
SQL Server Parent Child Relationship
I created a parent child relationship in SA 2005. It works great, except when adding it to the cube and browsing it. It shows the ID instead of the Name attribute. How do I make it show the name attribute Thanks in advance, Mardo Suppose you have the following columns in your table: ID - Integer. Primary key column of your table ParentID - Integer. The id of the parent object. Name - String. The name of the object identified by I ...Show All
SQL Server Measures to columns in Excel
Dear anyone I am transfering the information from the cube to Excel. My wizard places all measures in the pivot table to one column. I am using Excel 2003. I would like to place the measures to different columns to get a result which is easy to read and copy. Could anyone advice me how this can be done Thanks ! Matti Thanks for kind help Remi ! This is a question of the layou ...Show All
Visual C++ 2005 Resource Editor no longer labels language of each dialog
Back in Studio 6 and Studio2003, when you would edit a dialog resource that had multiple language versions, the window title (Studio 6) or the tab title (Studio 2003) would tell you something like "IDD_DIALOG1 - Italian". This was very helpful if you had several language versions of the same dialog open at the same time. Studio 2005 now labels the tabs as "MyApp.rc - IDD_DIALOG1". This makes it much harder to be sure yo ...Show All
