SAD1's Q&A profile
SQL Server Beginning with SQL Express
Hi everyone, I want to set a database which will be made of two parts: - One main set of files which is shared among users - Another set of files which is proper to each users and will be mainly used for processing infos. Because I must support Windows 2000 and XP as O/S platforms, I can't use SQL Everywhere. It seems that I'm stuck with SQL Express. My questions are the following: - Can SQL Express manage database files with variable namepath - How can I configure SQL Express so that such a file may reside on a dynamically configurable path, I mean, which would be configured by application Many thanks in advance for your help, Stephane Hi Stephane, There are a couple of ...Show All
Visual Studio 2008 (Pre-release) Problems with DataTemplate, Listbox and Binding to SelectedItem
Hi I'm trying to define a DataTemplate for an enum class. A Listbox containing RadioButton for every enum state appeared to be a common solution and worked so far. The point were I'm getting into trouble is when I try to bind the SelectedItem of a Listbox (which is one of the enum states) to the object which the datatemplate was applied to. My XAML: <DataTemplate DataType="{x:Type custScrewing:ScrewDriverState}"> <DataTemplate.Resources> <!-- This data provider provides an array of different ScrewDriverState enums --> <ObjectDataProvider MethodName="GetValues" ObjectType="{x:Type sys:Enum}" x:Key="allScrewDriverStates"> <ObjectDa ...Show All
Visual Studio Express Editions how can I just load form1 without show him from other form(form2)?
Hi, I have an application that take 6 second to load and then to appear on the screen (in the 6 second you can see the form but he look like stuck and after 6 second it is working properly). I want to do a progress bar while the application is loading. So I thought maybe to make another form(form2) with a progress bar and to load the first form (form1) while the progress bar fill in ( in form2). but I didn't find how can I just load form1 without show him I be glad to hear other ideas if you have Best Regards, Yaniv just don't Show the form. Instantiate it but don't call the Show() method until you are finished with your progress form you are best t ...Show All
Visual Studio 2008 (Pre-release) Where to Download XAMLPAD?
Hi, I am looking for XAMLPAD, does anyone knows the link to download it The closest I could find is XamlPadX v2 at http://blogs.msdn.com/llobo/archive/2006/12/30/xamlpadx-v2.aspx Not sure if this is the correct one Thanks Ponnu Hi Ponnurangam, You must download the SDK ( http://www.microsoft.com/downloads/details.aspx familyid=7614FE22-8A64-4DFB-AA0C-DB53035F40A0&displaylang=en ) to get XamlPad. The item you mentioned is an extension. If this answers your quesiton, please select "Mark as Answer" Thanks, Chad Campbell ...Show All
.NET Development dll version conflict
I am using Visual Studio 2003 to develop a project using the open source DotNetNuke portal framework. I have created two projects named Financial and Financial.SqlDataProvider. Both have references to DotNetNuke and Financial.SqlDataProvider has a reference to Financial. When I try to build the solution I get two errors. The first is: Error: The dependency 'CountryListBox, Version=1.0.2182.21387, Culture=neutral' in project 'Financial.SqlDataProvider' cannot be copied to the run directory because it would conflict with dependency 'CountryListBox, Version=1.0.2182.41880, Culture=neutral'. The second is the same but with the version numbers flipped. I have found that removing the DotNetNuke.dll reference from either of my projec ...Show All
Visual Studio Team System Selective schema comparing
Is it possible to filter which classes of objects will be compared/synchronised A couple of specifics from a sync I've just done: 1) Schemas and Logins. The development database has a couple of logins which we don't want on the production databases, but I've not seen anyway of telling the schema compare to ignore them. There's also a schema (unused and could be deleted, but...) on the dev database which we don't want to sync 2) My dev databas is SQL 2005 Developer and one of the target databases was SQL2K MSDE. On this database I couldn't do a write updates because I got an error about fulltext enabling the database, which wasn't available at the target. I don't want to check for this anyway. Kev ...Show All
Smart Device Development Exiting a Smart Device Application
I am developing a smart device application in Visual Studio 2005 for a Symbol handheld pocket pc device. I have two forms for the sake of this discussion lets just label them Form1 and Form2. Form1 is the login form that is loaded by the application using the following code: Application.Run(new Form1()); After the user is authenticated on Form 1 I create a new instance of Form2 and open it using the following code: Form2 frm = new Form2(); frm.ShowDialog(); There are now two instances running one of Form1 and one of Form2. I know this because when I check the system memory I can see both processes. My question. If I am on Form2 and I create a exit button how do I close the entire application. How do I close both forms and en ...Show All
Windows Live Developer Forums Messenger live Close everytime i try to sign in help
Every time I use the live messenger this happens: 1. Is start normally after I appear online 2. The msn today appears 3. An error occurs and says that messenger live has to close and if I want to report this error. I say yes. I try everything. Reinstalled erase the messenger updates but nothing seems to work Can anyone help me The purpose of this forum is to discuss MSN and Windows Live application development using the Messenger Activity API, and Windows Live Bots. If you have technical support questions about using MSN Messenger or Windows Live Messenger, please check the following resources... Messenger Technical Support is available on the Messenger newsgroup: http://su ...Show All
Smart Device Development 2 processes that need to communicate with each other
Hi, I have 2 processes that need to communicate with each other In .NET CF environment using C#, what is the IPC communication mechanism that I can use Please point me to some examples using C#. thanks in advance, Oren Oren Solomon wrote: Hi, I have 2 processes that need to communicate with each other In .NET CF environment using C#, what is the IPC communication mechanism that I can use Please point me to some examples using C#. thanks in advance, Oren Either use a pair of TcpListener/TcpClient, or P2PMessageQueue (wrapped in OpenNETCF SDF) ...Show All
Visual Studio Express Editions How to name buttons with database field values
To begin, I know very little about VB express. I started out using VB for apps in excel. I could record macros and copy or edit, but I'm having a little trouble writing code from scratch in VB express. Anyway, here's what I'm trying to accomplish. I have about 40 buttons on a user form. I would like for each button's text to be the value of a separate field in a data table (using SQL Server Express) and update when the data table is changed. I have selected all buttons at once and through the data binding option in their properties tied the "text" property to a specific column in my data table. The problem is that when I do this, every button's text contains the first field value in this column. Since the only option when sel ...Show All
Windows Forms Change "Just Me" to "Everyone"
In VS 2003 Deployment Project, how do I change the Installation Folder to default to everyone instead of just me, or better yet remove this option all together Thanks I have not worked with VS2003, but in VS2005, you just change the property InstallAllUsers of your Setup project to true. And it does the trick you want. It may be the same for VS2005. Regards, Wasif Ehsan. ...Show All
Software Development for Windows Vista Persistence Services and DTC
I'm using a TransactionScope Activity that required me to add a Persistence Service to the runtime ( I understand this) However, when I add the SqlPersistence Service to my runtime, I started getting DTC errors. I'm running a WCF Service hitting the SqlPersistence DB on my local machine accessing data on a separate SQL Server box. Is it a requirement to have DTC enabled on my local machine and the SQL server Is this strictly because I don't have the my local SQL server and the network SQL Server linked Any help would be appreciated. Thanks! So from what you're saying, if the persistence Tables and sp's were in the same DB as my data, this would not be an issue OR Would I still need to enable it on the workstation/server that's runn ...Show All
Visual Studio Tools for Office howto link a textrange to a scrallbar within Word (VSTO 2005)
Hi, I would like to display text using a scrollbar within a Word document. Let's ask the other way round, I know how to call the VScrollBar constructor [Microsoft.Office.Tools.Word.Controls.VScrollBar vScrollBar = this.Controls.AddVScrollBar(range, 15, 50, "vScrollBar");] (and it shows nicely in the Word document when launching the application), but how can I link some text or textrange to the VScrollBar control Thanks, Claudia Hi Claudia, here's some code to get you started: private void ThisDocument_Startup(object sender, System.EventArgs e) { Word.Range range = this.Range(ref missing, ref missing); Microsoft.Office.Tools.Word.Controls.VScrollBar vScrollBar = th ...Show All
Windows Forms events
hi, i was playing around with events and this came to my mind. and i cant understand how this works exatly i thought there was 1 even handle for each event , i was wrong. or not Public Class Form3 Public Sub New () ' This call is required by the Windows Form Designer. InitializeComponent() ' Add any initialization after the InitializeComponent() call. AddHandler Me .Load, AddressOf s1 AddHandler Me .Load, AddressOf s2 AddHandler Me .Load, AddressOf s3 End Sub Sub s1( ByVal o As Object , ByVal e As EventArgs) MsgBox(1) End Sub Sub s2( ByVal o As Object , ByVal e As EventArgs) MsgBox(2) End Sub Sub s3( ByVal o As Object , B ...Show All
SQL Server Error on Named Calculation
When I creat a Named Calculation with the following code: case when [Sales]<1000 then 'Below' when [Sales]<2000 then 'O.K.' when [Sales]>=2000 then 'Good' else 'None' end I get error on save: IErrorInfo.GetDescription failed with E_FAIL(0x80004005). Thanks. Joe. ...Show All
