JavaBoy's Q&A profile
Visual Studio Cannot Open Solution File (*.sln) in Visual Studio 2005
I installed Microsoft Visual Studio 2005 (see Installed Program Information below*) Other information: System Info: Windows Server 2003, Standard Edition, Service Pack 1 Steps to duplicate the error: 1. Click Start, All Programs, Microsoft Visual Studio 2005, Microsoft Visual Studio 2005 2. Click File, Open, Project/Solution 3. At the Open Project dialogue box, navigate to the location of *.sln file, select *.sln file, click open. I get this error: The application for project 'C:\vbnet03sbs\chap01\MusicTrivia\MusicTrivia.vbproj' is not installed. Make sure the application for the project type (.vbproj) is installed. As you can see, I am a newbie in all these Visual (.NET) stuff from Microsoft. I bought a book that has a CD cont ...Show All
Visual Studio report viewer
report viewer will not print the first time user clicks the print icon, however the second time it prints. This is consistent on five different computers with locally attached printers. barchard wrote: that did it ... thanks so much.... do you have any idea as to directly print a report without the preview Try this (I never tryed myself didn't have the need) http://msdn2.microsoft.com/en-us/library/ms252091(VS.80).aspx Best regards. dp ...Show All
SQL Server omitting null columns
Hey everyone, I haven't got any idea where to even start looking for a solution to this problem so any help would be appreciated. I'm trying to write a stored procedure that will return a table yet omit any columns that don't have anything written to them, so any columns that have no data will not be present in the table returned after the stored procedure. Thanks in advance. Never mind the answer I gave you before, I didn't see this requirement You should handle stuff like this client side not server side it is just adding unnecessary processing on the DB side To do this on the DB you will have to use <evil>dynamic SQL</evil> dump the result in a temp table and build the SELECT statement dynamically by using a bunc ...Show All
Visual Studio Tools for Office Transparent icon for FormRegion
I am using the GetRegionIcon implementation to assign the icon for the region on the Ribbon. But I can't get the transparent background recognized by the Outlook. I've tried to use both transparent png and icon. Neither works. I am using the code that Ryan posted here: http://blogs.msdn.com/tq/archive/2006/11/30/outlook-2007-form-region-sample-second-edition.aspx Transparency for form region icons only works when the color depth of the monitor is 32-bit. If you are using 32-bit color in high DPI or at other resolutions and you aren't seeing transparency, then it's a bug we don't know about and you should let me know :). ...Show All
SQL Server fail to change the value of parameter with operator 'range'
Hi all, I have couple of paramters with operator 'range(inclusive)' in my report(Agains datacube), and I always get failure when I choose value with them. here's a example( 3 such parameters on my report). ... From date To Date ... From age To Age ... From Salary To Salary @salary is the last one. when i choose a value for 'From Salary' or 'To Salary' from the dropdown list, it runs correctly. But if I choose value for 'from age' or 'To age' or 'From Date' or 'To Date', it fails due to An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'DimTimesheetTimesheetNumber'. (rsErrorExecutingCommand) Range oper ...Show All
SQL Server Which one is better?
I have 2 tables A - having 118040500 records B(its temporary table) - having 1500 records. When I say select * from A where a.id in (Select b.id from B) A.ID is unique it takes almost 2 minutes to return data. How can I optimize this. Should I remove in with join Will it help Please suggest incase you have any other suggestion thanks in advance You should just experiment with it-try all alternatives and chose the best one. Generally, the server is having more alternatives choosing a plan when executing a join than a correlated subquery, so you might try this: Select A.* from A join B on A.fID=B.fID. I guess this join will work best when you have Clustered index on both A.fID and B.fI ...Show All
Windows Forms Progress Bar image
Hey, I made a .png image and added it to the resources file, but now I need to make the progress bar BLOCKS the image...How do I do that I looked at codeproject.com but I did not find anything with making the blocks your own image... Actualy, there is a problem, with this code: pictureBox2.Image.Width = +2; How do I do that without errors Becuase I got an error... This progress bar works the way I am doign it becuase it has nom actual included code or anything relyign on it, so I am just using images, so I made a borde iamge and inside is another image set to streach and this 2nd image when timer1_tick happens it will get longer by 2 pixels... Thanks :) ...Show All
Windows Forms DateTimePicker control problem
Hi guys, I'm using the data designer that generates form data entries. In my form entry there's this dateTimePicker control to save the date for the supplierPurchaseDate. I read someones thread that says I should set the ShowCheckBox to true.. but this doesnot solved my problem, When I clicked my save button there's this error that says supplierPurchaseDate does not allow Null values. Right, coz I set in my schema that it should not allow Null values to be recorded. But then the checkbox beside the date was already checked, why is it it says Null where there's a value Any idea guys to make this work and eventually save the value for my supplierPurchaseDate. Thanks, Hi, I think it wil ...Show All
.NET Development Web Service client has "nothing" for result.
I have a crazy situation where I'm hitting a web service (written in Java), with a client I'm writing in VB (2005, with ASP 2.0)... the return type from the web method is a complex data type (not that complex - just has four different strings). It is consistently returning "nothing" when I call the web method. Here's the thing: I can hit the same web service with XML Spy sending in the same information, and that works just fine. I also used a sniffer tool and was able to see that my client is indeed receiving the correct response back from the server via HTTP... it's just that Dot Net is losing it somehow and by the time it gets back to my VB code, it says there's "nothing" there. (Argh!) Has anybody hit a situati ...Show All
Audio and Video Development How to use a specific media source component
Hi All! I am looking for a way of using a specific media source component. When I try to play back a WAVE file on the BasicPlayBack sample, SourceResolver loads WavSource.dll in order to create a MediaSource component. 【Question 1】 In order to create a MediaSource component, how does SourceResolver choose which media source dll to be loaded 【Question 2】 Is there any way for our app to specify a media source dll to use Is there any way not to make other apps use such as MERIT_DO_NOT_USE of DShow filter My best regards. Thanks. A1. The appropriate DLL, at DllRegisterServer (regsvr32) time, will have put an entry in the registry to associate itself with the extension in question (".wa ...Show All
Smart Device Development How to change Height of rows in DataGrid?
I wanted to know how is it possible to change the height of the rows that show up in DataGrid With Desktop .Net version it's possible by using the RowsAdded event but there's nothing like that in Compact Framework. No events can help for sure, there has to be some other way. Any thoughts The following code may not work if one click on the arrow icon in the vertical scrollbar of the datagrid. The line that has more than one line height will be corrupted visually. public void SetGridRowHeight(DataGrid dg, int nRow, int cy) { ArrayList arrRows = ((ArrayList)(dg.GetType().GetField("m_rlrow", BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.Instance).GetValue(dg))); obje ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Exchange Frame Buffer for Texture
Greetings everybody, My Problem is that I need to "grab" the Output from the Framebuffer, no matter what it currently displays, and use these frames as textures for further manipulation in Direct3D. The difficult thing here is that I don't want the Application to first write the complete Frame in the normal Framebuffer, then read it to a texture but directly set the Texture as the Framebuffer, alter the texture and finally write the altered Texture into the normal Framebuffer for display. And this shall not work only for 3D-Rendering or Video-Display, but also with normal Desktop-Apps and even the bare Desktop itself. So I think I must find a way to reroute the Frames heading to the Framebuffer for display to "my own" F ...Show All
SQL Server Grant Database Access
I am setting up report services after I installed the report server add-ins on sharepoint 2007. at first step, Reporting services integration, I put report server web service URL -- http://ssrsdev1/reportserver authentication mode -- windows authentication it went OK. at second step, Grant Database Access, I put ssrsdev1 for server name (default instance) and then click OK and then I put the user name (a member of local admin group on ssrsdev1) and password, but I always got errors says: Unable to log on with the given username and password. what wrong here what should I check I am sure the user and password is right and I can log on to ssrsdev1 physically with admin right without any problem. thanks for any thought on this. zwp ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA 3D MODELS PLEASE HELP
does anyone know of a modelling program that will export to the .xnb file extension, does anyone know of a program that creates those file types specifically. any help greatly appreciated. There is no such modeling program, because XNB is created by the XNA content processor. You can create XNB by adding a .X file or a .FBX file to the XNA project, or by running a build rule on a .X or .FBX file to generate a .XNB file, using MSBuild, or by instantiating and calling the model importers and processors yourself. ...Show All
.NET Development impersonating the user initiating an action over the network
I am trying to write a simple server/client application that will perform operations on the server using the permissions of the person running the client. I have saught to do this by serializing a WindowsIdentity object representing the client and sending it through a NetworkStream that is connected to the server (which will run as a windows service). Then I attempt to impersonate the user on the server using the WindowsIdentity object. Well, aparently the WindowsIdentity object does not contain a full set of credentials because once it gets to the server it simply sais that the handle is bad. I can see how this situation would happen, but what to I need to do to transmit the user's security token to another comput ...Show All
