Software Development Network Logo
  • Visual FoxPro
  • SQL Server
  • Visual Studio
  • Audio and Video
  • Windows Vista
  • Smart Devicet
  • Visual Basic
  • SharePoint Products
  • Windows Forms
  • Game Technologies
  • Visual C#
  • Visual C++
  • .NET Development
  • Microsoft ISV
  • IE Development

Software Development Network >> Buddhist's Q&A profile

Buddhist

Member List

John S S
Shuggi_e
shakeelw
JHarjung
BobishKindaGuy
Testsubject
Ramesh Nikam
cnishigu
Ruben T
DavidLong
Devesh Srivastava
Michael Herman - Parallelspace
CDBrb
Jeff Green
PawanSingh
arioule
lotus99v8
Biju S Melayil
Richard Russell
Kyle Leitch
Only Title

Buddhist's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. 2d Platforms

    I understand it'd be pretty difficult to help me with a problem with me just describing it, without seeing code so... http://skynes.tripod.com/TheWizard.zip There's a link to a zip file containing my XNA project and all images. The Project so far is a mix of a couple of tutorials I found online (2d wizard and a tile engine) along with sprites I found online. I haven't made any of my own sprites yet cause I don't see the point until I have everything working, but I will be using all my own original sprites when it works. Anyway. So far it's a wizard who can jump and shoot fireballs. An enemy (movement currently commented out) walks across the screen, firballs dont do anything yet, but touching the enemy costs you a life. M ...Show All

  • Visual Studio Copy task does not overwrite read-only files

    How do I make Copy task to overwrite read-only targets The quick anser is "You can't." The copy task always fails when it tries to overwrite a read-only file. You will have to retrieve the list of files being copied and delete them from the target folder prior to calling the Copy task. The nice thing is you can retrive the list with something like this: <Project DefaultTargets="" xmlns=" http://schemas.microsoft.com/developer/msbuild/2003 "> <ItemGroup> <FilesToCopy Include="C:\Temp\**\*" /> </ItemGroup> <Target Name="Build"> <Message text="@(FilesToCopy)" /> </Target> </Project> ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Rendering To Textures in Beta2

    I used Texture2D's heavily with the usage RenderTarget, however in Beta 2 its like a whole new API. I understand that Surface no longer exists and RenderTarget/2D should be used. The problem is, the whole mentality is backwards compared to what im used to. From what I see I should create a RenderTarget2D and set that as a render target, then do rendertarget.GetTexture() if I want to set it. Thats fine. However, how do I copy between render targets There is no StretchRect or equivelent function I can see, which I used alot before. Surely I dont have to go about getting a texture, setting it, creating a 'copy' effect, setting a new render target, resolving the new render target just to copy from one to another Is there no alte ...Show All

  • SQL Server URGENT: SMO help needed

    Hello, I am trying to enter some data into sqlServer 2005 that has a computed column using a bulk insert. But, it does not allow me to do so with the computed column being turned on, I have tried to use SMO, but I keep on getting an error message saying that the alter table has failed. My bulk insert code: Using bulkCopy As SqlBulkCopy = New SqlBulkCopy(constant.createSqlServerConnectionString(), SqlBulkCopyOptions.KeepIdentity) bulkCopy.BatchSize = 10 bulkCopy.DestinationTableName = parTableName Try Me.alterColumnSpecification() bulkCopy.WriteToServer(parDataTable) Catch ex As Exception Console.WriteLine(ex.Message) End Try End Using And Here are my SMO code to alter the column speci ...Show All

  • Windows Forms Add a bitmap to a richtextbox.

    Hi, I am attempting to print a results page to a printer. I have set up a .RTF file with a header and can load it into a richtextbox and add additional text to the file. I can save the new contents to a .RTF file, and using a wonderful utility I found embedded within the Help system, I can print the richtextbox to a printer. What I can't do, is add an image object to the richtextbox before I print it. I want to do this so that I can add a graph to the results page. Does anyone out there know if this is possible and if so, how to do it I am still struggling to understand C#, so any code would be more than welcome!! Many thanks John Woodiwiss Is there any way to preserve t ...Show All

  • Visual Studio Team System how to rectify the problem "AssembliesShouldDeclareMinimumSecurity" that FxCop shows

    Hi, FxCop shows error " ComVisibleTypeBaseTypesShouldBeComVisible ". How could this be resolved. Thanks in advance. Don't you think it's enought to write your question once And before asking maybe you should read the page the FxCop rule violation links to. ...Show All

  • SQL Server What is msmerge_contents90_forall.bcp?

    Hi, I have merge replication running (sql2005) with 13 subscriptions. I use dynamic filters to reduce subscriber traffic. I have noticed that when I create a dynamic snapshot for a new subscription it is including a file called msmerge_contents90_forall.bcp. This file is approx 110Mb in size. What is this file How can I reduce the size of it I tried running the snapshot agent at the publishers but it still generates the same size file. Many thanks for your help. Graham Thanks for the info Greg. I see there are two clean up jobs already defined. Agent history clean up : Distributor and Distribution clean up : Distributor. Are you refering to any of these two Another question I must as ...Show All

  • SQL Server Loading images into SQL

    I have created and inserted successfully images into table but when I use Gird View, or other Control can’t see the photo. Any help. please Juvan Here is the query Create Table EmployeeProfile ( EmpId int, EmpName varchar(50) not null, EmpPhoto varbinary(max) not null ) Go User following to to insert image: Insert EmployeeProfile (EmpId, EmpName, EmpPhoto) Select 1001, 'Vadivel', BulkColumn from Openrowset( Bulk 'C:\Blue Lace 16.bmp', Single_Blob) as EmployeePicture Hi Andrea, Thanks for your help, I got it. Would it be possible if you write the same code using web developer express I wanted to add it to my website. Again thank you very much. Juvan ...Show All

  • Visual Studio Express Editions C++ express edition 2005 Error running debug

    Hello, I just installed the visual C++ 2005 beta and I made a basic C++ program. But when I got to debug it, it says the system cannot find the path specified. All I did to make this program was go file>new>project and then file>new>file>visual C++>C++ file and typed my code into that. It is just a very basic cout program that I made as a test to make sure I installed correctly and everything. But it looks like I did something wrong and I'm not sure what. Thanks. So I download it from here correct http://msdn.microsoft.com/vstudio/express/visualc/download/ Also, is this compiler compatible with C as well as C++ ...Show All

  • Windows Forms Expand ComboBox ItemList on MouseOver

    I was wondering if it where possible to expand the ItemList on a ComboBox when the MouseEnter event is fired. I don't see any method to trigger the list to expand... Try setting DroppedDown property to true: comboBox1.DroppedDown = true ; Andrej ...Show All

  • Visual Basic Create Web-like Forms as Windows App

    I have used VS 2005 to create a family-based web site ... about 100 pages/forms consisting of mostly text with some graphics thrown in for interest. I have no intention of putting this out on a publicly-accessible server but instead had anticipated burning everything onto CD's and then distributing that to family members so that they could view the site on their own machines (XP Pro SP2) using IE. In inquiring on this forum how to do that I am told that that is not feasible and that instead I should have created a windows app and simply deployed that app to the family (via CD). That's fine except for one thing ... I don't know how to create a web-like app as a windows app. For example, as I create the app I want to be able to easily highli ...Show All

  • Visual Basic Locate a specific row in a datatable

    I am having a problem using the method of finding rows by column values using the following code: Dim FoundRows() as Data.DataRows Dim NeededExpression as String NeededExpression="Name= 'John's Car' " FoundRows=Dataset1.Tables("Cars").Select(NeededExpresion) The above cannot find the name I need and I think the cause of this is in the data itself because it has the character " ' " typed in the Data Table. Is there a way of working around this problem Thank you Batico, Modify the two lines in your program like this: NeededExpression="John's Car" FoundRows=DataSet1.Tables("Cars").SelectedItem("Name",NeededExpression) ...Show All

  • SharePoint Products and Technologies ...this web site is not assigned to any indexing module

    Hello colleagues, who knows what to do when I get this error when trying to search in WSS3 The Sharepoint Central Admin contains the Sharepoint Search Service with status: running, the search DB exists, but when I try searching, I get ...this web site is not assigned to any indexing module... The translation may not be accurate, which could be the reason of not having found anything using search engines. I suppose it is something simple, but no ideas...:-) Any help would be appreciated. Thanks a lot Ravie Hello Kenthas, thank you a lot! I think this is a usable option - it took me only 10 minutes to backup the site using stsadm, create a new Web application, configuring search and ...Show All

  • Windows Forms Custom Control Click Event

    I Have created a custom control which has a couple of labels on it and a progress bar. When i use it on a form, i want to assign a click event to it, so that if you click anywhere on the control, its registered as a click on the control. Adding the control.click event to an eventhandler doesnt seem to work. What am i doing wrong What do i need to do to get it to do what i want Cheers I think that one of us is still misunderstanding the other here. I apologise if its me. I have a control that i have created which has two labels and a progress bar on it. I have compiled this user control and used it to place a control on a form in another project. When the user clicks on it in situ on the form, i need it to ...Show All

  • Visual Studio 2008 (Pre-release) Get value from ltemControl

    Scenario: I display a detail view using ItemControl to which i bind an object picked up thru reflection. I bind properties of the class to datatemplate where i have a combobox as in a column. I need to get back the selected value from the Combo Box, if I understand correctly, you can use ItemFromContainer method to get the item and then get the template and use the name of the combobox to get the selected value ...Show All

©2008 Software Development Network