geordie tom's Q&A profile
Visual Studio Can I disable paging on an RDL report?
I have a user requirement to display thousands of records as a full dashboard on the same page ( no paging). Is this do-able with an RDL report If yes, how Using the property browser, set InteractiveHeight and InteractiveWidth properties of Report object to 0. ...Show All
Visual C++ Is there anything wrong with this command?
/* read in the parameters from the infile */ if ((fp = fopen(Infile, "r")) == NULL) { sprintf(msg, "Input Error: can't open %s", Infile); Error(msg); return FALSE; } I have this part of my code, where in another subroutine data is wrote into an input file and here I want to open the input file for the use of the data within it. When I execute my program, I obtain the error: Input Error: can't open in. 8()E where () symbolises what looks like a musical note. I have to agree with Martin here: the output above shows that your program has executed correctly (a return code of zero by convention ind ...Show All
Visual Studio Team System Web Test Unable to Record
I have found an issue with the Visual Studio 2005 Web Test which is preventing me from recording any further scripts. Each time I attempt to record a new test it no longer records the URLs visited. The left had pane in IE normally displays information on the Web Test tool and information on URLs visited. This appears as just a grey panel – I’ve also noticed that the PC is running very slowly and the memory usage is maxing-out at 100%. (The PC I’m using is a P4 1.8GHz with 712MB RAM.) I have been able to record several tests in the last week without any issues and this problem has only just arisen. - Things I ...Show All
Visual Basic How do I calculate the appropriate font size to fit a string within a given area?
I'm working on an application that displays multiple buttons that resize themselves when their container size changes. I've added a handler (AddHandler MyButton.Paint, AddressOf PaintMyButton) In the PaintMyButton routine, I'd like to paint a text string on the button that fills the button face regardless of the size of the button. I'm using the e.Graphics.DrawString(). The problem is calculating the appropriate font size as the button size changes. Is there a function or (efficient) algorithm that will will return a font size appropriate for the rectangle. I'm envisioning something like ... Function CalcFontSize(FontName, Displa ...Show All
Visual Studio Tools for Office Select a Range by a Cell
Hi, Imagine I have a Excel.Range (A1:C5) named "Test1" and now, my activecell is located at B2, I'd like to know how I can select and retrieve the whole range "Test1" by a cell This is not work: Range["B2", missing].CurrentRegion... What's the correct property Thanks. Hi Peter, To slect a range, try something like this: C# Range[ "A1" , "C5" ].Select(); // Or, just use the name of the Range and call the select method: Test1.Select(); Rufus ...Show All
Software Development for Windows Vista Installing ISA Firewall Client in Windows XP 64 Bits
Hello, My name is Rubens, I'm from Brazil... I have a MS ISA Server 2004 in Windows 2003 Server 32Bits, but, I have a workstation running Windows XP x64bits, I Can't install MS Firewall client in this machine, because my version is 32bits Where I found 64 bits for this version(64 bits) Firewall client I hope you answer!! Thanks!!! Rubens G Araujo rubens_ga@hotmail.com ...Show All
Windows Forms validate DataGrid bound to Array
Good afternoon, I have a DataGrid bound to an ArrayList. The ArrayList contains "segment" objects. Among other properties each segment object has a "value" and a "length". The following must be true: segment.value.Length = segment.length In other words, if segment.lenth = 3 then segment.value = 245 would be OK but segment.value = 2456 or segment.value =&n ...Show All
SQL Server How to current logged windows user name in tsql
Hello how can i get current logged windows user name in tsql. I know with windows aut it is possible how can i get this when sql auth. Is there any system function or any special codeing required regards Chikuu take a look at suser_sname() select user_name(),suser_sname() Denis the SQL Menace http://sqlservercode.blogspot.com/ ...Show All
SQL Server RECEIVING messages from a Windows service
I've done a bit of work with the External Activator but I think it may be a bit overkill for what I need to do (which is RECEIVE messages from a single queue and process them with managed code). I've tried creating a Service Broker Interface service that retrieves messages from this queue, but I notice that if I set the timeout to -1 to watch for messages indefinitely, the Service never completes the OnStart code. I notice if I change the service's timeout to something greater than 0, the message is retrieved, but this defeats the purpose of using a Windows Service app, which I want to continuously monitor the queue. I noticed the Externa ...Show All
Visual C++ error CS0229: Ambiguity between 'XX.Name' and 'YY.Name'
I tried to implement the following scenario in VC++ 2005 beta2: an object implements 2 interfaces, one defining a property get and the other defining a property set. This works perfectly well when implemented in C#. However, in C++, I get the compiler error message transcripted below. Here is the C++ source code: namespace NS { public interface class INamed { public: property String^ Name { String^ get(); } }; public interface class INameable { public: property String^ Name { void set(String^); &nbs ...Show All
Windows Forms Can't close a word application object after opening it...
Hi. I'm using the code below to open a Word Application, print, then close the document, and finally kill the Word instance (so I thought). And it's just not working. WinWord.exe still shows in the Task Manager each and every time this code is run. The list gets so long, that the computer runs out of memory. Any& ...Show All
Visual Studio Team System Warehouse not updated due to field deletion
I had posted a problem deleting a field definition ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=162221&SiteID=1 ). We eventually were able to delete the field but now it seems that by removing the field the cube has been affected and the warehouse no longer updates correctly. The field deletion worked, the fields are no longer appearing. (noticed that the fields get renamed in the Field table, they are not physically removed and the reporting type is not altered) example: 10035 10035 0 0 0 .Del10035CBD-OldBugPriority .Del10035CBD-OldBugPriority ...Show All
Visual Studio Tools for Office where is Access runtime
I installed Visulal Studio for Office 2005 thinking that it has the Access Runtime included, but can't find it anywhere....Even in the setup I dont have the choice for Access, only for Word, Excel and outlook. Is it included or not Similar question was answered just yesterday. See this thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=258458&SiteID=1 ...Show All
Visual Studio Team System Unablke to connect to source control
Hi We have another issue however this one relates to people not being able to access the source in the source control. We have created a solution which is used by multiple people. On the various user's machines I connected to the Team Foundation Server and downloaded the source, compiled the code, ran it and everything was fine. A couple of the guys started modifying the code. One of the guys started having problems with the source control more or less straight away and lost the link to the team foundation server. Checking the bindings on the workspace showed that the bindings were invalid. Trying to connect to the team foundation serv ...Show All
Windows Forms Problems with setup project - am I thick?
I've a c# forms project that uses SQLExpress and Managed DirectX (developed under Beta 2) I'm trying to build a setup program for it. I need to do the following:- Include DotNet 2.0 Beta redist Include SQLExpress redist Provide a .exe.config which is not the same as in the development project (e.g. some directories will be different on the target) Provide a link on the desktop and the programs menu. Included more than one executable (ideally in the same directory) I would LIKE to populate the database with a script during installation. I can do the redist inclusion with the 'Publish' option. I can do the links with a Setup Pr ...Show All
