R.Tutus's Q&A profile
Visual C# SaveAll
Hi My question is are there any difference between SaveAs to SaveAll Save As is used to either annoint a new file name or save to a different filename for specific file. Save All will save all open files to their current name. If there is not current name, then a SaveAs is called for the operation for that file only. ...Show All
SQL Server Install problem
I am having a problem installing SQL express. I have 2.0 framework installed as well as the other express software. I also have Visual Studio 2003 installed. Do I need to uninstall other version of Visual Studio Do I need to uninstall other versions of SQL. I get an error but it does not tell me what the problem is. Thank you Dee this is from the core file Microsoft SQL Server 2005 Setup beginning at Wed Aug 16 18:14:14 2006 Process ID : 4668 c:\8c27e35b5d509dc8609c33e266\setup.exe Version: 2005.90.2047.0 Running: LoadResourcesAction at: 2006/7/16 18:14:13 Complete: LoadResourcesAction at: 2006/7/16 18:14:13, returned true Running: ParseBootstrapOptionsAction at: 2006/7/16 18:14:14 Loade ...Show All
Visual Studio Team System Code Analysis Failing to build due to comdef.h
I get the following error when trying to run code analysis on one of our apps. When VSTS tries to compile it it bombs in comdef.h Error 1 error C2220: warning treated as error - no 'object' file generated C:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\comdef.h 264 Warning 2 warning C6386: Buffer overrun: accessing 'argument 1', the writable size is '1*0' bytes, but '32' bytes might be written: Lines: 233, 234, 241, 251, 252, 253, 254, 258 c:\program files (x86)\microsoft visual studio 8\vc\include\comdef.h 258 Any Clues on a work around This is a known issue which should be fixed in future versions. To workaround this currently, the best way is to suppress the warning when you ...Show All
SQL Server sql query
Hello All, I am using sql server 2005. I have a table with the following data.... Name date time load base Joe 01-01-2006 8pm-9pm 100 500 Joe 01-15-2006 8pm-9pm 100 500 Joe 02-10-2006 8pm-9pm 100 500 Joe 01-15-2006 8pm-9pm 200 500 Joe 02-10-2006 8pm-9pm 200 500 Joe 02-25-2005 8pm-9pm 200 600 Mark 01-20-2006 8pm-9pm 100 500 The first three rows have common data, but for the date. Similarly, the 4th and 5th row are similar to first three rows, but for the "load& ...Show All
Visual Basic passing a function's name to another function (or sub)
Dear all when programming in FORTRAN I was used to pass the name of a function to another sub or function. With VB.NET I have some problem. Suppose I have several functions, named F1,F2, F3,.., and that I have to perform some common task on these functions (for instance numerical integration). Well, I wish to manage things in such a way to have a library function or subroutine (to do integration) and to call it passing various parameters 'and' a function name ( e.g. F3 ) to perform the integration of F3 . In other words I wish something similar to this fragment of code to work (declarations and initialization omitted): module main integ1= integration(a,b,step,F1) integ2= integration(a,b,step,F2) end module m ...Show All
SQL Server Denying access to a whole dimension
In AS2K dimension security I could deny access to a whole dimension using the 'Fully Restricted' setting on a role. In AS2005 I can't see how to do the same thing - the only thing I can do is to deny access to every member on every attribute but even then I still see the dimension name in the metadata. BOL suggests it is possible but its descriptions of the UI must have been written before RTM and don't bear much resemblence to the current situation; I've also had a go at setting some of the properties on the permissions object in the XMLA definition of my cube but they don't work either. Is this feature still available If not, can we have it back Chris Hi Chris. My recent experience is we had to go "outside" the nati ...Show All
Visual Studio Express Editions Filter to form2
I am brand new to VB Express 2005 and only just getting starting to understand it. Here is my problem. I have two forms connected to a SQL Express database within the project. Table 1 and Form 1 lists the customers Table 2 and Form 2 Lists the email addresses and passwords for each account 1 customer could have up to 30 email addresses. I can get the customers to show on Form1 and all the emails and passwords to show on Form2 with no problem. I can even add a button that opens Form2. What I am trying to do is open form2 and only shows the data that relates to the selected customer. It’s probably very simple but I am a beginner after all ...Show All
Visual Studio Express Editions Pressing Enter in a text box
I was working on a simple problem and for the life of me I can not find a way to make it where you can press the enter button while in a text box instead of pressing a submit button (or any button) that I made. Hi, if you're developing a Windows Forms application, you can also set your Form's AcceptButton property to some button on a form, which you want to be "pressed", when the user presses enter, while focused on any control on that form. There's also the CancelButton property, which will try to close the form, when user presses the Esc key. Andrej ...Show All
Visual Studio Express Editions Bad link errors: 2001 and 2019
I am gettign these link errors- ********************************************************************* spawn2.obj : error LNK2001: unresolved external symbol "class sc_core::sc_simcontext * sc_core::sc_default_global_context" ( sc_default_global_context@sc_core@@3PAVsc_simcontext@1@A) spawn2.obj : error LNK2019: unresolved external symbol "public: __thiscall sc_core::sc_simcontext::sc_simcontext(void)" ( 0sc_simcontext@sc_core@@QAE@XZ) referenced in function "class sc_core::sc_simcontext * __cdecl sc_core::sc_get_curr_simcontext(void)" ( sc_get_curr_simcontext@sc_core@@YAPAVsc_simcontext@1@XZ) spawn2.obj : error LNK2001: unresolved external symbol "class sc_core::sc_simcontext * sc_core::sc_curr_simcontex ...Show All
SQL Server DTExec via xp_cmdshell
In my previous post here: https://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1044739&SiteID=1 Michael Entin provides a number of responses to my questions regarding programatic execution of remote SSIS packages. Having experienced some significant reliability problems with the Microsoft.SqlServer.Dts.Runtime components from an ASP.NET process (the page either times out, or inevitably just stops responding), I have been prototyping the DTExec command option which Michael suggests as being a better approach to remote programability. So, off I've been prototyping this all day today... I have a stored procedure that wraps a call to xp_cmdshell which takes the DTS (DTEXEC) params as a big long argument. This scenario would h ...Show All
Visual C# CS0246: The type or namespace name 'PaintEventArgs' could not be found (are you missing a using directive or an assembly referen
Can anybody tell me how to handle this error What else directive do I need to include here <%@ Page Language = "C#" ContentType = "image/jpeg"%> <%@ Import Namespace = "System"%> <%@ Import Namespace = "System.Drawing"%> <%@ Import Namespace = "System.Drawing.Imaging"%> <%@ Import Namespace = "System.Drawing.Text"%> <%@ Import Namespace = "System.Drawing.Drawing2D"%> <script language="C#" runat="server"> void Page_Load(Object Sender, EventArgs E) { Example_GetThumb(); } public void Example_GetThumb(PaintEventArgs e) { Bitmap myBitmap = new Bitmap ("pudongyese.jpg"); Image myThumbna ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectShow and playback of DRM-protected WMV files?
Does XNA support DirectShow, or have a Windows Media Player component for playing WMV files What about DRM support ...Show All
Visual Studio 2008 (Pre-release) Using Canvas.SetTop is only working in debug.
I have an object that I reposition at runtime in a drag canvas. Using Canvas.SetTop it works when I step it through debug but not during runtime. Any Ideas I doubt that anyone will be able to divine the cause of your bug from that code. You might want to try using Debug.WriteLine()s to print out the values of the variables being used. That way you can test the issue without "breaking into the debugger" (which, as you mentioned, seems to make the bug go away). ...Show All
Visual Studio Team System Cherry Picked Changesets and TFSBuild
Is there a way in the tfsbuild.proj file to specify a given changeset as the base and a few followup changesets to merge into the base for a build I know you can specify a given changeset as what you wish to build from, but I want to be able to merge in some later changes, without merging in ALL later changes. Eugene's comments are good. If you really want to do this, you'd need to run tf.exe's merge command via the Exec task to merge the changes, if you mean branch and merge. Otherwise, it sounds like what you'd want to do is label the sources. Then you'd need to set SkipGet to true and use the Get task in the AfterGet target to do a get where the version is the label. There's some more informatio ...Show All
Visual Studio Tools for Office Addin for Outlook2000
Does a addin developed using VSTO work in outlook2000 Thanks. Hi "supersonic" Addins can work with multiple versions of Office (although MSFT doesn't recommend it). Best place to ask this would be in the Outlook newsgroups. There are quite a number of Outlook folks that create Addins - both the "traditional" kinds as well as with VSTO. They'll be the best people to give you advice on how best to approach the task. http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.outlook.vba&lang=en&cr=US ...Show All
