UncleRemus's Q&A profile
Visual Studio Express Editions How can I print the Form1 banner on my report page? (dark blue to light blue color strip)
Visual Basic 2005 Express Edition: I would like to print the banner at the top of Form1 (it is a color strip that goes from dark blue to light blue) at the top of my printed page. How can I do that You can use the following command: Dim bm As New Bitmap(Banner.Width, Banner.Height) Dim bmLoc As Point = New Point(100, 100) Banner .DrawToBitmap(bm, New Rectangle(0, 0, Bm.Width, bm.Height)) args.Graphics.DrawImage(bm, bmLoc) ...Show All
Visual Studio Unable to read 2 (out of 3) media
Is there any reason that a TOSHIBA DVD-ROM SD-M1612 DVD player might be able to read the Visual Studio Team Foundation Server DVD, but not the SQL Server 2005 DE or the Team Suite media ("Windows cannot read from the disk. The disk might be corrupted, or it could be using a format that is not compatible with Windows.") Either way, is there an alternate method of obtaining the software hey, thanks a lot for the reply mike i know, HP should be a little more helpful with the updates, what i had to wind up doin was scrapin the old HP drive and i put in a samsung burner, and everything works perfec ...Show All
Visual Studio Page Number
Hi All, I doing the report which have grouping by customer (example), assume the report after grouping with the total pages 8 and will be page break by customer. In my page header, i have to display the total pages and current pages by grouping eg "Page 1 of 2" Mean for the first grouping, its use up to 6 pages then the page header will display "Page 1 of 6" in first page, "Page 2 of 6" in second page and so on. After the pages six, in pages seven, the page header will display "Page 1 of 2". But i only can do with one result that is "Page 1 of 8" in the first pages and so on In ...Show All
.NET Development FIX: "The ASP.NET process identity does not have read permissions to the global assembly cache."
I'm uncertain what the best forum is for this - I also posted this in the ASP forum. I am developing a distributed application with a client-side java calling a webservice serving a static binary database. The application works well with the VS2005 Development server on XP Pro SP2. However when I publish it to an IIS v5 environment, it fails with these errors. 3.) .aspnet_wp.exe (PID: 3988) stopped unexpectedly 2.) Failed to execute the request because the ASP.NET process identity does not have read permissions to the global assembly cache. Error: 0x80131902 1.) Failed to initialize the AppDoma ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XACT Functionality Questions.
How does one make a switch container whereby a sound will loop playing, then when a variable is changed that sound transitions (be it on a marker, the end of the wave, or immediatly depending on the type of sound it is) to the newly defind sound to play. Think of music where there is mellow exploration music, and then you go into combat and the combat music needs to play. Then oncecombat is over victory music needs to play or even exploration music again. Can XACT recognize beatmarkers baked into waves and transition off them Is there any functionality for sequence containers where you specify a playlist and XACT just plays each wave one af ...Show All
Visual Studio 2008 (Pre-release) How add services for same ServiceHost port ?
Hi, I have this services : [ ServiceContract ] public interface ICat { [ OperationContract ] string SayCat(); } [ ServiceContract ] public interface IDog { [ OperationContract ] string SayDog(); } How I can configure all services for same ServiceHost Uri [] uriBase = new Uri [] { new Uri ( "http://localhost:9090/Service" ) }; ServiceHost host = new ServiceHost ( typeof ( Cat ), uriBase); host.AddServiceEndpoint( typeof ( ICat ), new BasicHttpBinding (), "Cat" ); host.Open(); If I try : host.AddServiceEndpoint( typeof ( IDog ), new BasicHttpBinding (), "Dog&q ...Show All
Visual Studio Debugger debugs other Applications
Hi, i have a very strange problem with the Debugger. Sometimes when exiting any application, Windows asks me wether i want to debug it with Visual Studio Debugger or with some other. But the application did not crash, and Visual Studio (etc.) is not running. Can you help me something threw an unhandled exception. Visual studio is registered as the debugger, therefore, it asks you if you want to debug it. Is it a particular app that is doing this on close or is it random. If the former, try reinstalling it. if the latter, try updating drivers. I would suspect an archaic video driver. What operating ...Show All
Visual C# Doing arithmetic on generic parameters
I'd like to write methods that perform arithmetic operations on generic (but numeric) parameters. The following code produces compiler error CS0019 public T Add<T> (T a, T b) { return a + b; } while this produces compiler error CS0072 public T Add<T> (T a, T b) where T:ValueType { return a + b; } Can this be done You might want to check this page at CodeProject. HTH, ...Show All
.NET Development WSE 2.0 SP2 Installer Error 1001
Hi, I'm trying to install Microsoft WSE 2.0 SP2 on an XP Professional machine. This is a fresh install of the WSE library, no other version has been installed previously. I am using the installer directly from: http://www.microsoft.com/downloads/details.aspx familyid=FC5F06C5-821F-41D3-A4FE-6C7B56423841&displaylang=en I receive the following error: Error 1001. Unknown Error (-1) and then: Error 1001.Could not find file "c:\program files\microsoft wse\v2.0\microsoft.web.services2.InstallState". The logged in user is an Administrator. No other issues with installation of other applications have ...Show All
Windows Forms Datagridview col headertext change
Hi Im working with datagridview obj that is binded to DataSet that working with SQL 7.0 In the SQL Database I defined a table with col type: int, char and datetime. On the datagridview I can change the headertext of col of type char, but not col of type int (and datetime). I think its a bug with the datagridview.... please correct me if I wrong. ...Show All
Visual Basic Creation of a PDF file.
Hello, I'm building a program, and I need ot convert a lot of word documents to one pdf file. Does anyone know about a class library or a code that can do it Even if the code can only make one word document to a pdf and then merge the PDF files. Thanks, Ofir. you could concatenate all those word documents into one, then use adobe's pdf online creator ...Show All
Visual C# How to remove content from console application?
How to remove content from console application Console.WriteLine("Something..."); // I don's want to remove it do { Console.WriteLine("Sample text"); Console.Clear() // How to remove the text, which is only in this loop } while(...); Console .WriteLine( "This line stays" ); for ( int i = 0; i < 70; i++) { Console .Write( new string ( '*' , i)); System.Threading. Thread .Sleep(1000); Console .Write( '\r' ); } ...Show All
Visual Studio Express Editions pchnotify.exe error
This is my errors poping up!. 1. first error: Just-In-Time Debugging An exception 'System.TypeInitializationException' has occured in pchnotify.exe. However, no debuggers are registered that can dubug this exception. Unable to JIT debug. 2. second error: JIT Debugging JIT Debugging failed with the following error: Odefinierat fel "undefined error" Please check the documentation topic 'Just-in-time debugging errors' for more information. This error's started after i installed 'Visual Studio 2005 C# express', i allready had an version of 2003 installed. When i for the first time started the new version i was ...Show All
Visual Studio Team System Installing Build Server?
For testing purposes only... would I be able to install the Build Server on top of the single-server deployment machine Or does this have to ba completely separate install I already have the single-server deployment and Visual Studio RC1 (with Team Explorer as well) installed on a single machine (so far so good). Thanks, ~slee You can certainly install Build server on top of your single server machine. But please do keep in mind when you install BB on any machine that you will need the test SKU to run tests as part of Build process. You can check post http://forums.microsoft.com/msdn/ShowPost.aspx P ...Show All
SQL Server subscriptions and hidden parameters
I have a report that has a hidden parameter, the customer name. While testing I decided to see what happens when the customer tries to set up a subscription. In the parameter section of the subscription config, it allows the user to not only see the customer parameter but change it. How do I make it so that the user cannot see this parameter while setting up a subscription Thanks, -Lori Not sure what's up with setting interval parameters in the report design. But once I deploy it, I can go to parameters and uncheck the "hide" box and the "prompt" box. This makes it so the parameters don' ...Show All
