Software Development Network Logo
  • Game Technologies
  • Visual Studio
  • Visual FoxPro
  • Windows Vista
  • Windows Forms
  • Smart Device
  • VS Express Editions
  • Visual J#
  • Architecture
  • SQL Server
  • VS Team System
  • .NET Development
  • Visual C++
  • Visual Basic
  • Microsoft ISV

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

ChiefW

Member List

Soul 2.0
Helios
Ata John
tr-1
adandreamohr
Fayed
steady_pace
B.B.
jpiterak
jimoctezuma
choskyg
RickTIndy
ottar16739
wigga
Sascha Trowitzsch
BBach
OCCcoach
luca82
Mark A. Richman
clovernet
Only Title

ChiefW's Q&A profile

  • Windows Forms ComboBox databinding

    I can bind my combobox to a datasource.... but i also like to add an item to the combobox without having the item in the db .... like having the All option in the combobox. something like this : All cat dog So cat and dog is in the DB ... but id like to add the item All ... without having it in the DB. Is it possible Add a row to the table in the dataset for the 'all' option. This will not update your DB unl ...Show All

  • Visual Studio 2008 (Pre-release) Client and server clock needs to be synchronized?

    I'v been trying to get wsHttpBinding to work over the internet, and finally found out why I always got errors. In the trace log I got the following exception: The security timestamp is invalid since its creation time ('20/06/2006 20:43:12') is in the future. The security timestamp is invalid since its creation time ('20/06/2006 20:43:12') is in the future. Current time is '20/06/2006 20:32:17' and allowed clock skew is '00:05:00'. ...Show All

  • Visual Studio Where does VS2005 store source control provider info?

    In VS 2003 and previous versions, the list of source control providers and the default SCC provider were stored in HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider. It looks like Whidbey does not use these values.  I'm trying to make sure that our SCC tool will appear in the Whidbey list, and also have the capability for the user to set the default VS SCC provider from our app.  How do I do that in VS 2005 ...Show All

  • Visual Studio ReportViewer drillthrough in WebForms looking for .rdlc instead of .rdl in Local processing

    I am creating a ASP.NET application for reporting. I have created the reports (.rdl) using the Report designer. I keep all these .rdl files in a folder and this reporting application will list these reports. Clicking on a report will generate the report. I am reading the rdl xml to get the query and query parameters, then retrieve the data and add datasource to the LocalReport. This is working fine. In the drillthrough event I get the original d ...Show All

  • Windows Forms Dispose order

    Hi there I have a few tables in my dataset. Each one has an associated datagridview displaying that tables content. A couple of the grids have columns that are comboboxes that are databound to some of the other tables. The problem is, when I shut the app down, the Dispose method of the container is getting rid of the tables that are referenced by the combobox column and I get a database error for each row in the table that references ...Show All

  • Visual Studio 2008 (Pre-release) Lambdas and type/variable checking

    I would like to use lambdas with a custom object model.  The lambda would be turned into a parse tree and I would execute that against my application object model, much like DLINQ or XLINQ are able to do so.  This requires that somehow the compiler know what are valid properties, operators, types, variables, etc in the expression.  How is this accomplished   Will this be available to the end-user of LINQ.  This would mak ...Show All

  • Software Development for Windows Vista IndexOutOfRangeException when creating new StateMachineWorkflowInstance

    I am trying to populate a grid with the current states of several state machine workflows. To do this, I am iterating through a collection of SqlPersistenceWorkflowInstanceDescription objects and adding the items to the grid then to a dictionary called stateMachineInstances. The variable _swps is a reference to the SqlWorkflowPersistenceService. // Get a collection of all persisted workflows IEnumerable < SqlPersistenceWorkflowIns ...Show All

  • Windows Forms paste event?

    I have a "paste" button on a toolbar above a richtextbox object. When I click it, I can test to see if the clipboard format is one I am expecting and then do the paste (I don't want the user to be able to paste in  ...Show All

  • SQL Server connecting to sql server from mobile device

    How can I connect to sql server from a mobile device the server is on pc and my app is on the device. I want to perform commands and stored procedures which will be performed online on the pc and get immediate results. is there any way of achiving that You will need to add a reference to SQLClient in your project. Once this is done its the same as if you were connecting to sqlserver on the full framework with AS ...Show All

  • Smart Device Development MessageBox.Show not Blocking

    I have wrapped my Application.Run with an try/catch handler which displays details of any exceptions to the user before exiting the application. To test this the application throws an exception when a button is clicked. give this a shot: static void Main() { try { Application .Run( new Form1 ()); } catch ( Exception e) { ThreadPool .QueueUserWorkItem( new WaitCallback (ErrorThread), e); } } static ...Show All

  • Visual Studio Tools for Office Unlocking VBA project in Excel

    Hello, I have one password protected vba project in my excel file. I want to unlock this vba project through C# code. Could anyone help me on this I tried the sendKey function of C# but still not able to get through. Here's the code that I have used: if(Workbook.VbProject.Protection== Microsoft.Vbe.Interlop.vbext_ProjectProtection.vbext_pp_locked) {  Workbook.Activate();  WorkBook.Application.OnKey("%{F11}",Type.Mi ...Show All

  • Visual Studio Add web control to web form designer at design time

    Someone please help me !! I am trying to add a standard web control (e.g. label, textbox, datagrid) to the currently active web form surface in VS2002/2003. If I add it using the DesignerHost.CreateComponent method it seems to add to the controls collection OK, and usually the code-behind shows the declarations. But the HTML design / source tabs never display the added item. How can I get this working Someone mentioned simulating drop after pla ...Show All

  • SQL Server SSMS - Intermittent Login Failure

    I have a 2000 / 2005 side-by-side installation on our test server. To login to 2005 with SSMS, the connect string is hostname/SQL2005, 1434 There's a WiFi network connecting my client PC to the network. SSMS fails to login frequently. I need to exit SSMS, then login again. It'll work. A new problem today - after successful login, I can't open a project and login successfully. Error messages states "Failed to Login". ...Show All

  • Software Development for Windows Vista About keystrokes event

    Hi, I have read some code like below SendMessage(hWnd, WM_KEYDOWN, 'C', 1 + (0x2E << 16)); SendMessage(hWnd, WM_KEYUP, 'C', 1 + (0x2E << 16) + (1 << 30) + (1 << 31)); I don't know what it is emulating does it mean 'C' key is pressed for 0x2E times Thanks in advance. ...Show All

  • Visual Studio Express Editions Simple, yet complicated questions...

    Hello, I am new to programming, and would like to jump right into making some quality applications. I have been in a C++ programming class since August, and have really become familiar with the basics. At first, I practiced with the simple stuff, and made some very cool console applications. After creating these applications, I made a release build, and sent them to some friends to get their opinions. Then, I began to step into Windows F ...Show All

©2008 Software Development Network

powered by phorum