Ronnell's Q&A profile
.NET Development Show/Hide Placeholder in JavaScript
Hi, I have a Placeholder with a calender control in it. When you click on a button im calling som javascript: (In the button property OnClientClick is advancedSearch_Click()) function advancedSearch_Click(){ var theElement = document.getElementById( "myPlaceholder" ); alert("HI"); if (theElement.visible == false) { theElement.visible = true; } else { theElement.visible = true; } alert(& ...Show All
Visual Studio couldnt open the Visual SourceSafe databse over Http
Hello everyone We are facing a prob using Visual Source Safe 2005. Although v r able to share files from the server using simple http, but the following r the prob: - NOTE: We are NOT using SSL (1) The service http://server/SourceSafe/VssService.asmx page gives a runtime error when opened through a web browser with the follwing details: - Source Error: An unhandled exception was generated during the execution of the current w ...Show All
Visual C++ Poly-Threaded C++ Applications
I have a few programs that I am converting to be threaded. At present I have a couple of programs, computer chess engines, that are threaded and work fine with Microsoft's C++ compilers. When the SMP.H #define's detect _WIN32 || _WIN64 it calls up process.h functions but on other platforms it need to use a bit map in ASM to manage the threads properly. Other considerations include inter-process communications etc. If threads dont need t ...Show All
SQL Server SQL 2000 SP3 Support
Has anybody heard that Microsft is dropping support for servers running SQL Server 2000 SP3 well SP4 has been out for almost 12 months, so yes. Hotfix support for SQL Server 2000 SP3a finishes on 11 July 2006, which is actually more than 12 months since the release of SP4. MS state publically that hotfix support for previous Service Packs is provided for 12 months after the release of the latest SP, which is ...Show All
Visual Studio OpenFileDialog from a Macro
I am trying to invoke the OpenFileDialog within a macro, however I get an error "Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure your Main function has STAThreadAttribute marked on it" when calling the ShowDialog method. I've tried adding STAThread in various places, but to no avail. Can anyone advise on this, or demonstrate the correct use of STAThread in a macro. Thanks I had the same ...Show All
SQL Server SCD and populating dimensions and facts
Hello, This is my first task in attempting to populate a fact and dimension table from SSIS. I have a Fact table Sales and dimension tables Customer and Location. The data I am getting to fill this structure is in one file. where each record contains the sales information as well the customer information and location details on the same row. I am using the SSIS to fill this structure by using the slowly changing dimension for the Customer ...Show All
SQL Server Grouping a query in 30 seconds
Hi, How can I make a query and group the registries in a interval of 30 seconds...like for each line I have a datetime field that have all the day, and I need it to return just like TIME Contador_type1 Contador_type2 Total 01-01-2006 00:00:30.000 2 5 7 01-01-2006 00:01:00.000 3 7 10 It's just an example...but that ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Fundamental Graphics.
Hello. I'm aware this question likely comes up frequently, but I don't want the answer "Use DirectX". - That's not really what I'm looking for. A friend of mine learned C++ using Borland's ancient Turbo C++ compiler - and it, of course, had a ton of specialised functions, like a gotoxy(x,y) for co-ordinate placement in the console window for text output, and things along those lines. However, he learned graphics the hard way. ...Show All
Visual C# opening text files in browser through hyperlinks
Hi I am using a ultrawegrid which has a column which contians names of text files which are present in D drive of server. I am able to create a hyperlink to the file by appending the absolute path in asp 2.0 (.net 2005). But when I click on that link the file is not opening. I want to open the file on whose name the user clicks, in a new browser window. Can anybody help me on this Sohan Hi I ...Show All
Visual Studio Express Editions Registration links leading to "Page cannot be displayed"... help!!
In VB2005 Express; I go to help..product registration..register now... and get a bad page. This includes already being logged on to Passport http://go.microsoft.com/fwlink/ linkid=51341&lcid=1033&h=525242e2f8628ede&c=&pid=76541-000-0000011-00124&bn=050727.42 Is this happening to others Is there another way I can get to product registration Thanks Ian e-z-e2005@hotmail.com Hi Ian, Your ...Show All
SQL Server April CTP:error when attaching db and when creating file in filegroup
Hi. I'm using SQL Server 2005 beta 2 April CTP: I am always getting this error while trying to attach a database and even when I try to create a file in a filegroup for table partitioning. Error: The file "<filename> " is compressed but does not reside in a read-only database or filegroup. The file must be decompressed. is it a security problem Thanks Christina Dear Mirek, &n ...Show All
Windows Forms Windows Form from within Internet Explorer
Hi, Does anyone know how can I get my C#.NET windows form to launch from Internet Explorer Is this possible at all Thanks Thanks again, Sorry to be a pain, but I compile the form to DLL, it is not an application in itself.... ...Show All
Visual C# Normal Distribution Function
Hello all, Is there a way to use the normal distribution in C# For example by loading a statistics-library I would like to be able to calculate the overlap between two different normal-distributions (with different means and deviations). Or else the intersection point between these two distribution functions Thanks in advance, Jaldert You can take a look at the Math class if you want to implement the ...Show All
Visual Studio Express Editions Back Button?
Can I have a Code example for a back button in a web browser. Also a progress bar. <a href="#" onClick="history.go(-1)">Back</a> That's a back button. A progress bar is more complex, because your page needs to update itself to show progress. What do you want to report progress on ...Show All
Visual Studio Team System Detect Use of Unmanaged Resources
Hi, I am completely new to FXCop so sorry if this is a dumb question, but could FXCop detect when an class creates an object that uses unmanaged resources, that does cleanup properly, something like public void CreateMemoryStreamUnmanaged() { MemoryStream memStream = new MemoryStream(100); memStream.Position=0L; Console.WriteLine("Created Memory Stream " + i); ++i; } So, it would say that I have created an objec ...Show All
