Ravuth's Q&A profile
SQL Server Export a report as JPEG format
Hi, From the Reporting Services 2005 Documentation, it mentions that a report can be rendered as a JPEG format. Here is a quote from the aritcle: "The Image rendering extension renders a report to a bitmap or metafile. By default, the Image rendering extension produces a TIFF file of the report, which can be viewed in multiple pages. When the client receives the image, it can be displayed in an image viewer and printed. The Image rendering extension can generate files in any of the formats supported by GDI+: BMP, EMF, GIF, JPEG, PNG, and TIFF. For TIFF format, the file name of the primary stream is ReportName .tif. For all other formats, which render as a single page per file, the file name is ReportName_Page.ext where . ext ...Show All
Game Technologies: DirectX, XNA, XACT, etc. C++ or C#
Hello, I am currently taking a class in C++ and I've always wanted to make games. I downloaded the c# XNA software. My question is: Can I use visual C++ instead of learning a new language (C#) to make games for the XBOX 360 and PC Or would it be better to go ahead and dive in to the new XNA software, and why is one better for gamming applications and / or learning to write games I wonder why Microsoft had a care for building it with hobbyists in mind, at least when XNA comes to mind. Last I knew, the hobbyists weren't the ones paying the bills. It's rather the big guys in the industry that need tools to help them with what they are already using, but with XNA focusing on the little guys is a l ...Show All
Visual Studio Express Editions process kill
Hi guys can you help me out here if I do a Process.Start( "c:\program files\super mp3\smrpro.exe" ) smrpro opens in the middle of my form........ how do I reposition it, or dock it....and how do I kill it Process.GetCurrentProcess.Kill()......just kills my project any help please cheyenne I may be. Explorer has an API interface that is axExplorer. Ok.... Try this. Create a formclosing event on your form. I named my player object wmp Private Sub Form1_FormClosing( ByVal sender As Object , ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me .FormClosing Wmp.close() End Sub ...Show All
Windows Forms Creating a Event handle for a DropDownItem in a MenuStrip
I've create a menustrip in VB.NET with the code for it below. how do i create event handling for each of the items such as add and delete. Public Sub managerToolBar() food = New ToolStripMenuItem( "&Food" ) food.DropDownItems.Add( "&Add" ) MenuStrip1.Items.Add(food) End Sub How do i create a event handle for say if i click on Add to open another form Cheers for any help in advance Try this: Public Sub managerToolBar() food = New ToolStripMenuItem( "&Food" ) ToolStripItem foodAdd = food.DropDownItems.Add( "&Add" ) foodAdd. Click += new System.E ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Allow Users to offer user created Games through Xbox Live to everyone, Is it Impossible for Microsoft
I realize that there are challenges but, if it were, that users could offer there own creations over xbox live to all 360 owners, there would be an entirely new world to explore. I believe that it could be done. Microsoft would have an infinitely expanding library. Most commercial game creators cant take the risk of trying new and uncertain gaming ideas with production costs being so high. They would love to have the freedom to always give gamers new and unique experiences. But most times they continue the traditions that work and are going to sell. Thats why I believe that users should be given the ability to share their creations with all. We dont fear any risks and with xbox live, the downloads could be tracked and popular creators coul ...Show All
Software Development for Windows Vista Simple STS Example RC1
I can't get the Simple STS RC#1 managed card samples to work: With the WCF Simple STS running: a) The managed card sample times out in the ID Selector b) The SmartCard sample can't read from the token. c) The Self-Issued card cannot find the backing certificate. Anyone else got this running -fs ...Show All
SQL Server SSRS 2005 - Extra pages in the report.
Hi. I'm having trouble when creating new reports using the VS 2005 reports designer. When I add content to the header (form title and address fields) and partial content to the body of the page (about 1/3 of a "normal" page), the report is generated with two pages. Why is this In the preview, I see that the report is only one page. I can't seem to find any options that allow me to set the number of pages for the report. TIA, ...Show All
.NET Development sql transaction
Hi, Could you please assist in using transaction in the following scenario In the datalayer the system loops through the records of a dataset, identifies the changes and then applies the necessary stored procedures for update, delete, insert. i.e. dataset data; foreach record in data if record is modified then call update stored procedure with the appropriate ID if record is added then call insert stored procedure with the appropriate details if record is deleted then call delete stored procedure with the appropriate ID A sample code for an action query is below: Notice that this is the kind of action for each record as explained above. The question is where to put the transaction please public void EmployeeDetailsDelete( ...Show All
Visual Studio Team System Team Foundation Server & Web Project
Hello ~. I've installed Visual Studion 2005 and Visual Studio Team Foundation server. After I installed VSTFS , I cannot build any web Project using VS 2005. Help me~ ...Show All
.NET Development Substring with regex??
This is a simple stripping MyString.substring(1,150); but I want to strip the first 150 chars and also any of the following characters if found in the first 150 chars: HTML tags carriage returns line feeds tabs Can this be done using regex and substring or just regex How can this be done CalvinR wrote: Starting point http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconCOMRegularExpressions.asp Language elements http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpgenref/html/cpconRegularExpressionsLanguageElements.asp Grouping http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpgenref/html/cpcongroupingconstructs.asp Hi Calvin, When ...Show All
Windows Search Technologies Word Add-In creates problems with Desktop Search Preview
Hello All, Sorry for the long post, but I wanted to be somewhat clear. I'm developing a Word (2003) Add-In for an IM management system which handles the DocumentBeforeSave event, and runs a Windows Form to aid in attaching metadata to the document (mainly for XP). It also gives the user the ability to cancel the save event. Everything is working well with the Add-In, but when I tested it with various technologies before deploying, I found a problem with Desktop Search. When the Desktop Search generates a preview of a word document, it triggers the DocumentBeforeSave event, thus running the form. If the user simply adds the metadata when prompted by clicking OK, there is no real problem (other than the hassle of having this popup in a p ...Show All
.NET Development Confused on the setup of VS with SQL Server
Hi, I have a bit of confusion over what exactly is happening here. I have taken over a project that was left over from a company and I have just got out of school and my experience is more so with Java and Sun(as my University was sponsored by Sun). Anyays, I have a project in VS 2003. It is a web server application(that is many people inside the company can access this program by typing in the url://myprogram/ ..." The web application uses a MS SQL Server Database. Fine and dandy... I can open up VS connect to the database, view the tables and such but cant view the stored procedures. So I asked, and was told to use the SQL Query Analyzer to create and edit my Stored procedures in the database. The list of queries is in a file called ...Show All
Audio and Video Development WMP11 Bugs in just a casual hour of usage...
I got a new MP3 player that could benefit from WMP11, so I installed it and here are some bugs in just an hour usage: 1. If you paste Album Art, for some reason all the other ones that do not have Album Art gets temporarily updated as well. It seams to go away when you actually click the file that got updated mistakenly to play it. 2. Update the MP3 Tag info outside WMP11 using some Mass Tag editor software and bingo.... WMP11 has no clue what is going on... I click the file hoping WMP11 will update the info associated automatically, but it just disappears, the new Artist name and Album name I provided are nowhere to be seen. 3. Update Album Info is not effective at the very least. 4. Can you provide a fo ...Show All
Visual Basic simple question textbox to textbox
i am working with one form, i want the text inputed by a user from one textbox to be displayed in another read-only textbox thanks for your time Hi, maybe something like this Private Sub inputTextBox_TextChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles inputTextBox.TextChanged readonlyTextBox.Text = inputTextBox.Text End Sub Andrej ...Show All
Visual Basic My.Settings Class
How does one use the MySettings class to save the state of a check box before a program exits When the check box is changed, I save the state of the check box: My .Settings.Item( "Choice" ) = True My .Settings.Save() And then restart the program and call the check box state back when the FORM loads: Me .RadioButtonEnableCH.Checked = My .Settings.Item( "Choice" ) However, it does not recall the check box state correctly – it is always checked. What am I doing wrong Did you mean to say that: My .Settings.Item( "Choice" ) = Me.RadioButtonEnableCH.Checked Because right now, you are always saving TRUE, which means your check ...Show All
