RizwanD's Q&A profile
.NET Development environment properties
Hi all, how can I retrieve the following properties from managed code in vb 1. App Domain Name 2. Thread Name 3. Process ID 4. Process Name 5. Dll Name & Code Line thanks! Hi Param, At the moment as of v1.1, both the IDs will be same but Microsoft claims that they may change this. And in future version at runtime, the Win32 Thread Id can change during execution of a program. Regards, Vikram ...Show All
Smart Device Development Load xml file with nested elements [C#]
Hi all, sorry but I new to this language. I have this xml file: <cities> <city name="Springfield"> <enabled>true</enabled> <street>Homerstr.</street> <street>Lisastr.</street> <street>Bartstr.</street> </city> <city name="Madrid"> <enabled>true</enabled> <street>Av.da Concha Espina</street> </city> </cities> What I would like to do is to load as collection Springfield's streets. I have a List control listing cities, using: DataSet cities = new DataSet( ); cities.readXml(xmlFi ...Show All
SQL Server how to access a cube and its dimensions in a cube
Imports Microsoft.AnalysisServices.AdomdClient Imports System.Data Imports Microsoft.AnalysisServices.AdomdClient.Dimension Imports Microsoft.AnalysisServices.AdomdClient.CubeDef Imports System.Object Imports System.Diagnostics.Debug Imports System.Data.OleDb Partial Class _Default Inherits System.Web.UI.Page Public Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim con As AdomdConnection Dim str As String str = "Data Source=evenapp\evenapp;Catalog=Adventure Works DW; Integrated Security=SSPI" con = Ne ...Show All
.NET Development IIS on Windows Xp Home
hi, can any one help me out in installing IIS on Windows XP home edition, I tried a lot but was unable to do so. thanx firstly the thread is in the incorrect forum, best to post your question over at the appropriate communities: http://www.microsoft.com/communities secondly, it is NOT possible to install and use IIS on XP Home. It was taken out for a reason and there was a reason for creating a Home and Professional Edition. ...Show All
Windows Forms BUILD WEB BASED APPLICATION SERVER
Ok Microsoft Experts, I have a tough one (I presume) I want to build a web server where all my users can run their applications from. So that the applicaiton is not locally on their computers, but on a webserver and they access the applications through that web browser. Any ideas examples etc... What are the application and what kind of network If it's an application like word and your site is on the internet then it's not possible, the user need the have the application installed on their desktop. ...Show All
Visual Studio Express Editions Where I can find link to download VS2005 Express?
I tried to find link to download Visual Studio 2005 Express. I coulnt find it.. Where I can find link to download VS2005 Express Thanks There is no such thing. There are only the express editions, one per language and one for web development. I'm sure your google search found those. If you want an all in one IDE, you need to buy it. ...Show All
Software Development for Windows Vista Correlation tokens...
Hi, I have several workflows that need to make simultaneous exchanges with external methods and events through a DataExchangeService. To make sure each event is caught by the correct handler I’ve implemented the correlation attributes to the exchange interface. It all works fine, but I find it tedious to set up the parameters and properties related to correlation on the different activities in the workflow. I do not understand why this has to be as complicated as it is now. Why have Microsoft used a parameter in the external method as a correlation key. This means that you rely on the workflow developer to specify a unique key. Would it not ...Show All
Architecture Message vs Service.
EmailValidation message vs EmailValidation Service. SOA is mostly about services and messages. Rather than create a number of services with different names would it be recomended if we create 1 generic service and have it request/reply messages. For ex: EmailValidation service. Instead of creating a service for email validation, create a validationService and have it process all the validation messages for the application. Just wondering how others are approaching this. Thanks Sailu Hi sailu, I think SOA is more about bringing people, business processes, policies and technology more closely aligned by using loosely coupled ...Show All
SQL Server FireEvent issues with Reporting Services
I am attempting to use the following command line (and associated script) to trigger an existing subscription within Reporting Services (2000): command line: rs.exe -i MyScriptFile.rss -s "MyReportServer/ReportServer" The input scriptfile (MyScriptFile) contains the lines below where the scheduleID is taken from Reporting Services from an existing 'once only' schedule. The schedule, - when triggered - should fire off a subscription and email recipients with a particular existing report. Sub Main Dim rs As New ReportingService() rs.C ...Show All
Visual Basic how to use window registry
how to use window registry in vb.net window application I would suggest you post that question in a more relevant forum. This is a forum about the team foundation server product... not a vb.net forum. check here: http://forums.microsoft.com/MSDN/default.aspx ForumGroupID=10&SiteID=1 ...Show All
SQL Server SQL Server 2005 Remote Connection Problem... Big Time.
Hi, I installed SQL server 2005 express edition on my windows server and I had no problem with connecting it remotely through Management Studio, then I removed it and installed a full edition SQL server 2005. That's when it's gone all wrong. Now I can't remotely connect the server through Management Studio. The error I get is the same as some of the people in this forum has which is: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network In ...Show All
SQL Server Secure Social Security number in my DataBase
Hi, i have a data base in SQL 2005 and i it has many tables with confidencial information Like Social Security numbers, Credit card Numbers, etc. And i would like to encrypt this information or make something to make this info invisible to any hacker, or any person that logs on the server. Here are the limitations: 1 - I cant make any changes in the front end, so if i encrypt the data, I have to make all the modifications in the database, and if the front end needs some encrypted information, the database should dencrypt it. Any one has any idea Best Regards. The only true way to make things invisible to a ...Show All
SQL Server Referencing SQLDMO in UNSAFE assembly
I created a SQL Server Project in VS 2005, and tried to add a reference to SQLDMO Object dll. But the reference --> add reference, does not allow it. It does not work, even if I set the Assembly Permission Level to UNAFE/EXTERNAL ACCESS. Reason I'm trying to do this: We have a SQL 2000 stored procedure that uses SQLDMO using sp_OACreate to BCP files to database. We are converting to 2005 and because of SOX restrictions, I'm trying to replace the sp_OACreate part with external stored procedure written in C#. According to BOL, I thought atleast UNSAFE should support this, but it seems not. Probably, I'm expecting too much.. ...Show All
Visual Basic conditionally install .net 2.0 framework using InstallShield 8
Hi folks, I've got a old app written in vb6, and some new components written in vb.net. I've got my head round creating a vb6 installer using InstallShield 8, and now I want to add the new components to the installer. It's easy enough to deploy the exe (& dlls), but I want to EITHER deploy .net 2.0 framework too, OR download & install it if needed. This link gives me some ideas, once I can work out how to access my scripts...http://www.installshield.com/news/newsletter/0407-articles/frame.asp CSDL0704=%3ATT:Email_ID%3E Anyone else got a better idea Good weekends all round peeps ...Show All
Windows Forms how to adjust the form to the picture?
i am very new vb express just getting my ideas together so that i know what to put in the program i had several attempts to put the right code for adjust form to picture can anyone help me!!! hello Mr benWillett i would like to know how i can remove the windows form and insert a picture as background and make it movable, like those graphic applets many thanks ...Show All
