Ridz4fun's Q&A profile
Visual Studio 2008 (Pre-release) WPF\E C#
Hi, 1. I need to run a WPF/E application from Apache server. Any Steps 2. What are the restrictions on using WPF/E 3. I need to develop a Graphical Interface using WPF/E which should be controlled by the values i get from from SQL SERVER DB. How should I proceed for the same How to add c# code to WPF/E applications [ Important ] Regards Vijay Hello, 1) WPF/E can run off any server as it is just serving .xaml text files. You might need to setup the MIME type for it. 2) It hasn't got a Go Live license yet as you would expect, so it cannot be used on a production server/site. 3) WPF/E doesn't contain any data bindings so this is not possible (as far as I know) - might be work around ...Show All
SQL Server T-SQL Code help
Hi, When I execute the following procedure, SQL Server creates an error called 'must declare @table variable'. So I did not overcome this error. Would you please help me CREATE PROCEDURE erase @column nvarchar(25), @erasable nvarchar (25), @table nvarchar(25) AS delete from @table where @column=@erasable Hi again, I learned the answer. When we use exec statement for Strings, the batch in the String is also compiled and executed but this is only valid for Strings, is not it ...Show All
SQL Server How to reset identity column's value?
Hello friends, I have a table in SQL server 2005. it contains one identity column named EmpID it's datatype is int isidentity and auto increment by 1. I deleted all the records from this table. Now I want that EmpID should start again from 1 how can I do it Thanks & Rgds, Kiran Suthar. Dbcc checkident() will allow you to reset the seed value. If your table does not have any constraint, you can use "truncate table" to quickly delete data and reset the seed in one step. ...Show All
Visual Basic How do you direct 'PrintPreviewDialog1' print output to 'PrintDialog1.ShowDialog'
My PrintPreviewDialog1 works fine, also my PrintDialog1 where I can specify the usual printer, copies etc. and work with the result to access eg. the Copies. However - the PrintPreviewDialog1 'Print' button simply prints one copy to the default printer ... how do I set this button to link to PrintDialog1 instead The usual If PrintPreviewDialog1.ShowDialog = (the items available) then ..... etc. doesn't intercept if the user has clicked the Print button, this action just fires-up the print routine direct. Any clues Nick B What you describe sounds like the mouse is captured by the "Print" button in the preview control. You can't get to that button to cancel the capture. A work-ar ...Show All
Windows Forms Data grid view
Is there a way to change or edit a existing row in a datagrid control. If there is can you give me example ...Show All
Internet Explorer Development About OLE in-place editing server application with IE7
The project we are developing is a OLE in-place editing server application, and the documents managed by Internet Explorer as a container ,it works fine with IE6, but in IE7, some errors. The SPY++ utility lists the window handles,the top container's classname in IE7 is "IEFrame", under it are the windows with a classname of TabWindowClass, in IE6 this is only one container with classname "IEFrame", In IE7, our application use the TabWindowClass as a container, I want to know how can I do to get the top window "IEFrame" as our application's container instande of "TabWindowClass" Thanks. __________________ WinXP + SP2 + ...Show All
Game Technologies: DirectX, XNA, XACT, etc. question about ATI 3D Rage pro
Is my ATI 3D Rage pro graphics card fully compatible with XNA or do I need to upgrade, and if I upgrade which ATI card will work the best with XNA If you are looking for a shader 2.0 card, I think you should go for 9600 and up. However, I don't think you can get that in PCI. Your best chance for a PS 2_0 card is a Geforce FX5500 PCI. ...Show All
Software Development for Windows Vista SqlTrackingService - read ConnectionString
Hello, I'm using a SqlTrackingService instance in my WorkflowRuntime. This service is configured within an app.config: <configuration> <configSections> <section name="WorkflowRuntime" type="System.Workflow.Runtime.Configuration.WorkflowRuntimeSection, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> </configSections> <WorkflowRuntime Name="WorkflowServiceContainer"> <CommonParameters> <add name="ConnectionString" value="Initial Catalog=encodaWorkflowServices;Data Source=localhost;uid=comdat;pwd=comdat;" /> </CommonParameters> <Services> <add typ ...Show All
Visual Basic VB.Net form and fonts get squished on some computers
I have an VB.Net application whose main form takes up a good part of the screen. If I run the executable on some computers, the form is smaller and the text boxes are squished together. The screen resolution appears to be the same on all the machines. Any ideas would be appreciated. crabbylou So if the screen resolution is the same, are the fonts the same, have you anchored the controls to the form boundaries and is the form the same size - if you had anchored them and reduce the size of the form then this will squish the controls together. Which version of VB.NET are you using and can you duplicate this with a single form application - so as to rule out anything else your existing application ...Show All
Visual Studio Express Editions about count?
hi there how do we use or execute a command in label which you can count the number of output.... for example "Select count(*) from user" (number in query in a datagrid) and the output must be seen in textbox or label... thx in advance newbie din ako...i'm just trying to share to others what i have learned so far...cp is not allowed here in our office so i suggest magpost ka na lang dito ng questions and i'll try my best to help...:) ...Show All
Audio and Video Development Maintaining State - script vs markup
I've got a new guy I'm training on HDi and he's asking the same questions I did when I first start coding in HDi. And I realize I never get definitive answers on the best way to maintain state. For example, it seems like you should be able to maintain the state of several buttons and menu operations in markup using state:value(). But I have never been able to get this work and the only solutions I've seen in markup (in production HDDVDs and samples) involve using dummy elements to hold a "value" for the state of the menu. Even Peter's example use this design pattern (see blog), and he prefaces his example with the same perception that my team does: this seems hokey/messy. Note this conversation between the two of us: ---------- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Cannot run XNA projects
I have directx sdk august 2006 release and .net 2.0 framework, c# 2005 express, & xna express Creating a new project, without adding any additional code, the project will not run under start with/ or without debugging. I have tried the multiswap fix in other posts. I am having the same problem but do not know my graphics card details ATI MOBILITY RADEON 9000 IGP, I have Service Pack 2, can run DirectX9.0c easily, I have everything I need...But I gut a message along this line: this.GameComponents.Add(this.graphics); ...Show All
Visual Studio Tools for Office Custom Dictionary Problem
Hi Guys, I am a sri Lankan. I want to plug a sinhala Dictionary and validate the spellings, written in sinhala. So when user right click on the spesific word the word i select from the data base has to be shown in the spellin list insead of english. if you have any code or resource which can help me to do this please tell me. Tharindu (Sri Lanka) Dear Sir, I am develpoing a Microsoft Word 2007 Add-on. So users should have word 2007 installed in there machine to get this feature. Pleas help us if you have any details or experience about this. Thanks Tharindu ...Show All
Visual Studio Express Editions Compile as dll?
MSVC++ used to have an option under templates>Win32 for dll templates. Now it doesn't. I read on a help issue that if this is the case you "compile as a dll". I have no clue how to do that, please help. Doesn't Visual C++ Express 2005 support Win32 console applications I also think it supports producing a DLL as long as it doesn't use stuff like MFC. ...Show All
Visual Studio Express Editions BindingManagerBase Position_Changed Problem
Hey Everyone, I have a program that has several textboxes bound to 1 dataset which contains only one table. When the form loads, the data is displayed in the textboxes allowing the user to add, edit, delete, etc., as well as navigate through previously entered records. However, when trying to navigate through the records, it doesn't do anything. The recordCountLabel, which keeps track of the record number that is displayed, changes, but the first record stays on the screen. Here is a little of my code. Protected Enum Record RecordNum DDate Shift ATO Vehicle End Enum Private Sub Form_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load 'Loads data into the 'TripSheetI ...Show All
