Selva's Q&A profile
Visual Studio 2008 (Pre-release) Cannot open SvcConfigeditor.exe.
Hi, I am unable to open SvcConfigEditor.exe. It does not open and I get a message that it has encountered a problem and needs to close. Thanks, Akhil Depending upon the build and framework versions that you are using, this may be worked around by turning off strong name verification for the tool: sn -Vr SvcConfigEditor.exe You can further restrict the impact of this by doing this just for your username: sn -Vr SvcConfigEditor.exe username This will not be required for the final release. Hope this helps, Andy. ...Show All
Visual Studio Express Editions Connecting to Remote SQL Server
Hi Everyone, I have looked everywhere on the Microsoft site for an example of how to add a Datasource for a remove SQL Server, all the wizard wants to do is creat its own database file. All I want to do is connect to an established database so I can start playing around with it. Is it at all possible Kind Regards, Paul A question which is asked quite a bit, If I am not mistaken the VB Express is limited to local instances. So if your problem is that you are not being able to connect to a SQLServer. Are you using VB.Net Express and your SQL Instance is remote If so, the expre ...Show All
.NET Development TableAdapter insert/update/delete order
I have a typed-dataset with a dozen or so tables which are hooked together with typical on-to-many and many-to-many relationships. I'm using table adapters to do the CRUD actions. For updates I was using: //Update parent tableadapter_parent.Update(dataset.parenttable); //Update child tableadapter_child.Update(dataset.childtable); But I am getting foreign key reference errors when deleting records because the adapter is trying to delete a row from a parent table but it can't because there is a FK refrence to it in a child table. But if I reverse the order of the table adapter update calls so child tables are updated before p ...Show All
.NET Development retrieve data from detailview
I am trying to accomplish something that I imagine is very simple, but I cannot find any specific information on it. I have a DetailView control bound to an SQLDataSource. I want to retrieve the data from a specific field in the current record. I have been successful in retrieving the field names, but the data is eluding me. Thanks I have found one way to get the data: DetailView.Rows(RowInDetailView).Cells(CellInRow).Text Anyone know of a way to access the dataset directly ...Show All
Visual Studio 2008 (Pre-release) Databinding to a service method...
Using what seems to be the preferred approach for accessing WinFX services, is data-binding possible There are two approaches, I understand, for handling references to a WinFX service. In the first, you use the "scvutil" application to auto-generate proxy classes. These classes wrap all necessary logic to call a service. There is no direct reference to the service project in your consuming application, and you can generate these proxies even if you have no access to the service's code. The alternative, if you're developing the service yourself, is to define the service contract in an interface library, and reference the li ...Show All
.NET Development Automatically detect a CD and read CD contents
Hello all, I am trying to make a module which will do two jobs: 1. Automatically runs when a CD is inserted into the cd rom drive. 2.copies the contents on CD to any location on hard disk. I am usng C#.net 2003. Anyone please help me! Thanks http://msdn.microsoft.com/library/default.asp url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/autorun/autoplay_intro.asp http://msdn.microsoft.com/msdnmag/issues/01/11/autoplay/ ...Show All
Software Development for Windows Vista COM Security issue on Vista Beta 5308 release!
Hello. I developed a COM object in Windows Vista Beta 5270 release which registered with Sync Center. I used as a model the sample code from Windows Vista SDK. It all worked fine until I installed the new 5308 release of Windows Vista. Now, the code fails when trying to register the dll. This is the sample code that fails: hr = CoCreateInstance (CLSID_SyncMgr,NULL,CLSCTX_SERVER,IID_ISyncMgrRegister,(LPVOID *) &lpSyncMgrRegister); if (SUCCEEDED(hr)) { hr = lpSyncMgrRegister->RegisterSyncMgrHandler(CLSID_SyncMgrHandler, wszCLSIDDescription,0 /* dwSyncMgrRegisterFlags */); AssertSz(SUCCEEDED(hr),"Registration Failed"); ...Show All
Visual Basic Any way to trim all these IF statements?
Hi, I'm a VB6 hobby programmer and I'm just getting in to VB2005. I installed the VB Express ed. last night. I'm writing a simple game and have run into a coding issue. I have 15 buttons on a form. As part of the game, you click the buttons to essentially move them around. After each click, I run a subroutine to check if the user has "won" the game. In order to check for a win condition, I check to make sure each of the 15 buttons are in the right location on the form. This has caused me to have an "if statement" mess of code. The way I wrote it is like this: Private Sub CheckWin() If ESX = 114 And ESY = 139 Then   ...Show All
Visual Studio vs 2005 beta 2 setup fails
When I try to setup vs 2005 beta 2, it says that it failed to setup visual studio itself after it gets to the end screen. The installation seems normal untill then because the vs 2005 even gets a checkmark next to it when on the install screen. The progress bar never moves when it is on vs 2005 though. I will post the error log when I can find it. Hello, I am getting the same kind of error when installing Visual Studio 2005 Beta2. The comments before the "return value 3" are: MSI (s) (20:D8) [11:12:03:571]: Assembly Error:Function not defined in specified DLL. MSI (s) (20:D8) [11:12:03:571]: Note: 1: ...Show All
Software Development for Windows Vista Unable to install "Orcas" with WinFX SDK and Runtime Beta 2
On fresh Windows XP SP2 I have successfuly instaled: - Visual Studio 2005 C# Express edition - Microsoft Pre-Release Software WinFX Runtime Components - Beta2 - MicrosoftR WindowsR Software Development Kit (SDK) for Beta 2 of Windows Vista (6.0.5383.1.1.WindowsSDK_Vista_idw.DVD.Rel.img) in that same order. But I'm unable to install Microsoft Visual Studio Code Name “Orcas” Community Technology Preview – Development Tools for WinFXR. Instalation stops and i get window which says, that prerequisite is missing and that I must install WinFX Runtime components. But I have alredy installed them! Here is my errorlog of "msi ...Show All
SQL Server How to reference different databases on different servers in one query
Hi, I'm a novice to SQL Server, though I have some experience in Access. My problem is this: I have a table on my local database that I want to insert into a remove database on a different server What are the steps neccessary My local server name is 'HOME\SQLEXPRESS' Local database: 'MyDBTest', table name: 'dbo.Courses' (the fields are: ID, CourseName, TeacherID) The remote SQL Server IP is: 129.113.271.58 (I've changed the real IP) The name of the database on this remote server is: 'ku.univ', and the remote table name I would like to update is 'dbo.Courses' (the table has the same fields as the local one ...Show All
Visual Studio Tools for Office Outlook PST file extraction
Does anyone know how to open outlook pst files and extract the contents to another format. For example, a database. I need to periodically receive pst files, extract the contents from them and store them in a database. Outlook automation is not the best option because it prompts you to allow anonymous access before letting you process and email. I would like no use interaction if possible. Hi The automation is the best way at present, what is the email source is this exchange If so you could look at using CDO and or if you need to extract, you can use MSACCESS and import the data from clicking Imp ...Show All
Windows Forms A Server program have to work as a Client and Server program based on a condition
Hi Friends, I have a requirement which demands, a Server program to work as a Client and Server program based on a condition. Scenario: Client make a request to Server1, based on a condition this Server1 should not process this request, it has to simply forward this request another Server2 running elsewhere in the network. In this situation the Server1 acts as&n ...Show All
Visual Studio 2008 (Pre-release) how to implement a application like the north face demo on PDC 2005?
In the demo, user can use a mouse to rotate a sports clothes. I am always being attracted and puzzled by it. Can one give me some advice to implement this Thank you. I have not done much with WPF 3D yet, but there is probably a utility class that will do the manipulation. If not a simple conversion of mouse x to rotation angle would be a good first step on rolling your own. ...Show All
Windows Forms How do i add comobox dropdown feature to data grid view ?
I have myDataGrid which is binded to myDataSet member table myTable1 myDataGrid is loaded and there ar 3 columns: column A, column B and column C I want user to be able to enter any value in column A and column B, but column C should contain only predefined values. In other words i want user to be able to select value from dropdown list. I also want to store values avivable for selection in my SQL DB table myTable2 How do i do this The way in which i do this kind of functionality is by going into the Property Builder of the DataGrid and converting column C to a template column (there is a link at the botto ...Show All
