chongqing's Q&A profile
SQL Server how to build a sql server instance in the network using sql express?
Hi, how to build a sql server instance in the network using sql express thank you. Have a look at the install documentation and books only for the setup command line switches, you should be able to get the data there to set up the instance, Then just do the install using the net setup config, you may have to add a setup.ini file to the same directory as the installer. (At least that is how we did it with MSDE). ...Show All
SQL Server Backing up through VS2005
Hi, not sure I have should ask this in here or in the VS forums - but here goes anyway! My vb app is written using VS2005 with an SQL database. I'm now distributing this to users to use with SQL Express. It's hard enough explaining to them how to attach the database without going into the backup routines etc! So what I'd like to do is to have a "backup" button in my app, that backsup the database, trancates the log files & then shrinks the files. Is this possible This shouldn't be too hard. You can just call the backup command from your application. Regards, Matt Hollingsworth Program Manager Microsoft SQL Server ...Show All
Game Technologies: DirectX, XNA, XACT, etc. playing audio file with a foot pedal in vb.net
I've done a lot of seac hin g and grinding snippets of code to try to use my foot pedal. Here's where I am at: I am able to see my device of concern and two others with this line myList = Manager.GetDevices(DeviceType.Device, EnumDevicesFlags.AttachedOnly USB to PS2 Adaptor v1.12 USB to PS2 Adaptor v1.12 USB Footpedal Here's my problem....I can see it, how do I read it's 3 pedal switches on/off states When I look at the deviceinstance properties, I see - odi {Microsoft.DirectX.DirectInput.DeviceInstance} Microsoft.DirectX.DirectInput.DeviceInstance DeviceSubType 0 Integer DeviceType Device {17} Microsoft.DirectX.DirectInput.DeviceType - ForceFeedbackDriver {System.Guid} System.Guid Empty Nothing System.Gu ...Show All
SQL Server Table border in each page break
I have a table which could display one page or multiple page. Some time the data on each field could be large that two row of data could fill the page or some time 14 rows of data could fit in one page. Is there any way to close the border at each page Is there any way of keeping each row of data together in the same page and not seprating in different page Any Help will be highly appreciated, Thanks in advance ...Show All
Windows Forms checkedlistBox .net 2.0
Has anyone had any issues with checkedlistBox control when clicking on the items checkboxes Every time, I click on the checkboxes, it appears as if the checkbox image partly dissapears. This does not happen if I click on the item itself. Thanks Not programmatically. He means, change some of the Windows XP theme options around, ie: color, etc. to see if the problem disappears. Depending on the brightness and contrast and gamma of your monitor as well as the colors of your theme, you may not see the lines of the check boxes very well. ...Show All
Visual C# Hi!! is there any way in C# n visual stdio 2005 that we can.................
hi i want to replace the conventional look of windows forms to a bitmap customize look of my software......there fore is there any way that i can load a bitmap...and on that bitmap i load the "-" "x" the minimize buttons and cancels buttons in a superb look......i hope u understand what i want.....again.....i want to replace the form look through a bitmap...and on that bitmap i want to paste button and take work of forms through it hi...well plz tell me any good tutorials...and something that i can do it.....if there is a way it.....as i m beginer in C#.. .... thank u.// See this Please: http://www.codeplex.com/CustomerBorderForm I hope this is what you need. Best Regards, Rizwan ...Show All
Game Technologies: DirectX, XNA, XACT, etc. C++/CLI 2005 : Where to start with DirectX (Newbie)
Hi, My configuration is following: Visual Studio 2005 Standard Edition Windows 2000 SP4 Microsoft DirectX 9.0 SDK (Dec 2004) After installing Microsoft DirectX 9.0 SDK, the only version which seemed to be compatible with Windows 2000, I tried to check out if my installation was OK and certainly if VC++ 2005 could "communicate" with that DirectX version installed. I tried to include "using Microsoft::DirectX" instruction ...Show All
Visual Studio Express Editions Resource Compiler Fatal Error RC1015
I downloaded the MediaShare starter kit for VC++2005, but can't run it because of the "Fatal Error RC1015" message I recieve. This error occurs because VC++ can't open the include file "afxres.h". I searched my computer, and found two of this file: one in lower case, the other in upper case. How can I resolve this issue include "C:\Program Files\Microsoft Platform SDK\Include\mfc\afxres.h" then it should be compiled with no error ...Show All
Windows Forms MonthCalendar event not firing after losing focus
I have a dynamically created MonthCalendar control inside of a Menu. When I first expand the menu, and the calendar control is revealed, I can click on the dates inside of the calendar and the event handler fires. However, as soon as I close the menu, and come back again, the event handler no longer is getting called when I make a new date selection. Also, the same behavior when using a DateTimePicker, as is with the MonthCalendar. MonthCalendar cal1 = new MonthCalendar (); cal1.DateSelected += new DateRangeEventHandler (cal1_DateSelected); void cal1_DateSelected( object sender, DateRangeEventArgs e) { try { MonthCalendar cal1 = ( MonthCalendar )sender; if (cal1 != null ) { / ...Show All
SQL Server Final Model
I am creating a report model and have to keep going back and forth between VS2005 and Report Builder to see what the "Final" report is going to look like. I am using folders to group together some really nasty list of fields, denormalizing lookup tables, etc. Is there any way to see this without having to reload Report Builder each time I have thought about an XSLT for the SMDL, but that is some seriously ugly XML (especially with the denormalizations). R If you leave RB open, create a new report based on some other model, then create a report on the model you're working on again, it will clear the cache and you will see your changes. Inside Model Designer, you can edit the Expression prop ...Show All
Visual Studio 2008 (Pre-release) How can a .Net program access a WCF Service
How can a .Net program access a WCF Service Can someone provide with with an example From my client I clicked on "Add Web Reference" and entered the HTTP address of the SOAP server. The screen (showing info returned to browser) displayed the following msg: The XML page cannot be displayed Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later. ------------------------------------------------------------------ XML document must have a top level element. Error processing resource 'http://localhost:8080/InOut'. The box on the upper right reported: The document at the url http://localhost:8080/InOut was not recognized as a kn ...Show All
Connected Services Framework Identity Manager - Tools and Utilities
Hi, IDM Spy and SSOManage utilities was there in CSF 2.5 for Identity Mapping. I want to know about CSF 3.0, either same utilities are available or any any new utilities are included Rgs Vasu Hi, I have been able to fix this issue by restoring the backup configuration file for ESSO. Thanks, Ashish Malhotra ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Detecting a controller button press?
I'm using the following code to toggle my grid on/off at runtime: if ( GamePad .GetState( PlayerIndex .One).Buttons.Y == ButtonState .Pressed) grid1.ShowGrid = !grid1.ShowGrid; But it's badly flawed, in that the Y button is "Pressed" every time the button is down (eg. if I hold it down for 1 second, it would toggle 60 times). How can I reliably find if a button was pressed (eg. it's initial down state), without having to keep track of Up/Down states for every button myself If you've got a wired controller, it works on the PC. I'm able to write code to do what I want, I just think this is something that belongs in the XNA Framework rather than everyone have to create their own. Almost ...Show All
Windows Forms How to leave a DataGridView (TextBoxColumn) in edit mode when switch to a modeless from?
Hi I have a UI that uses a DataGridView bound to a datasource. I am trying to implement a UI where the user, while editing a content in a TextBox cell, should be allowed to select a text item from a modeless form. When the item is selected in the modeless form, the code has to insert that item's text into the text box cell that the user is editing at the current insertion point. When the user starts editing in the cell, I display a modeless form using 'form.Show()' using the following EditControlShowing event handler: private void dataGridViewItems_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e) { if (modelessForm == null) { modelessForm = new ModelessForm(); ...Show All
Windows Forms string input via forms
How do I input strings using a form ...Show All
