DevDiver's Q&A profile
Software Development for Windows Vista Error 0x8004D00E on SQL Server 2000 + Windows 2000 SP4
We have an ASP.NET application running on Windows Server 2003 whose database backend lives in a different machine which runs SQL Server 2000 and Windows 2000 Server SP4. Whenever we try to use System.Transactions we get errors. We are almost sure that the problem is related to MSDTC refusing network connections. We tried to run the same thing using Windows Server 2003 in the backend server, and we were able to make it work by configuring MSDTC security using the COM+ console. However, we still need to support Windows 2000 for the backend. There is apparently no GUI for MSDTC security on Windows 2000, and the registry settings we have tried so far did not work. We think this should be a very common issue, but we have ...Show All
Software Development for Windows Vista Privateprofile access win.ini as filename hung app
I have found that when using pathname\win.ini as the filename for use with private profilefunctions that this will not work correctly in vista. Vista reports a hung app message. If the filename is changed to something else such as pathname\setup.ini, the same code works exactly as expected. This fault was found in vista beta 2, and then again when tested on release version of vista. When it's changed to setup.ini, does it elevate The reason I ask, for example is the Calculator in Windows XP. If the view is changed from “Standard” to “Scientific”, calc.exe calls WriteProfile API to write into windows\win.ini, which is only writable by administrator users. Are you doing similar functionality ...Show All
Visual C# Help Converting Encryption Code From Java/JSP to C#/.NET
Trying to figure this out and it has been killing my brain for quite a bit. Trying to convert this JSP/Java code into C#/.ASP.NET for entering information from a user login page to match it against the database of hashed passwords. java.security.*; public class Encrypt{ String passwd; public String getPass() {return pswd;} public void setPassword(String pswd) { MessageDigest sas = MessageDigest.getInstance("MD5"); byte[] tmp = pswd.getBytes(); sas.update(tmp); passwd = new String(sas.digest()); } } //separate java function which logs into DB for password retrieval which I minused out... public class Login{ public String EncyptPswd(String strPass){ if (strPassword == null) {return null ...Show All
.NET Development .NET to COM calling COM
Hi all I have created a class library dll in Visual Studio 2003, written in VB.NET. (Framework 1.1) I implemented a simple interface with two functions: Public Interface IDTS Function getSum( ByVal a As Integer , ByVal b As Integer ) As Integer Function execute_DTS( ByVal _serverName As String , ByVal _userName As String , ByVal _password As String , ByVal _databaseName As String , ByVal _DTSPackage As String ) As String End Interface In my DTSRUN.vb file I created the two functions which implements the above interface. I also use the dtspkg.dll COM object. (C:\Program Files\Microsoft SQL Server\80\Tools\Binn) - SQL Server 2000 I added another simple project with a windows ...Show All
SQL Server Connect to SQL Server 2005 from visual studio 2003
hello all, i have SQL Server 2005 installed on a network computer and want to access it through code in asp.net. I am using visual studio 2003. I have porvided this connection string to connect to that Sql Server 2005 Express instance but failed: data source=mynetworkstystem\SQLEXPRESS;database=MobMatiLogs;User Id=sa;password=mobmasti786 But I get the error: SQL Server does not exist or access denied. Anyone please help me! Thanks in advance Thanks ali for your reply! But what permissions do you point to And to me IIS Manager may not come in here. It seems purely SQL Server problem. Can you please guess and tell me some security permission on network computer as you said As I have just installed SQL Serv ...Show All
Windows Forms problem with images
hi i m using form level security for my site, but when i m using it images are not displayed proper,would u suggest why this could happen ...Show All
Visual Basic Generics, Collections, and Inheritance...
I have an inheritance model as follows: Public MustInherit Class ProviderBase End Class This is because the fact that ProviderType1Base inherits from ProviderBase does not make a List of ProviderType1Base to inherit from a List of ProviderBase. These 2 list types are completly unrelated. There is not much to do here other than passing a List of ProviderBase as a parameter instead of a List of ProviderType1Base. It's quite typical when you need to deal with cases like this to use (almost) everywhere List of SomeBaseType. ...Show All
Visual C# Property Storage
Is there a component or method to store for position and the size of a Windows Form and other controls Developer Express had a nice component that would allow you to store and retrieve this kind of info for any component, any property. Hi, yes, you can use property - Application Settings binding functionality. To make Visual Studio 2005 create the necessary binding code to load (and store) the form's position in user's configuration files, follow these steps: 1. Open Form's properties 2. Find (ApplicationSettings) and open it 3. Open Location item combo and select New 4. Enter the name of the setting (e.g. MyFormLocation) and click OK 5. On FormClosing event, save settings ( Properties. S ...Show All
.NET Development installing .net framework SP1 problem
I was just trying to install the sp1 for 1.1 on a media center pc and i need it because i want to connect to my 360.. Anyways, the message: (Microsoft Visual C++ Runtime Library runtime error! Program: C;/WINDOWS/system32/msiexec.exe This application has requested the Runtime to terminate in an unusal way. Please contact the application;s support team for more information) i have windows installer 3.1 and framewark 2.0 and 1.1 installed and it wont let me uninstall them either, same message comes up. Please can anyone help me Hi, mAh3u I'm having the same problem. Would you please share with me the fix for this problem. Thanks, Steph Wilson ...Show All
Visual Studio Team System Using a rule to show code metrics
Hi, I'm trying to use a custom rule to calculate and then output certain basic code metrics. For example, count the number of interfaces, classes, how many abstract classes etc.. I have worked out how to gather all the metrics I'm after, what I can't fathom is how to generate a single lne output at the end of analysis. I tried adding my 'fake' problem within an override of AfterAnalysis but this doesn't work - it is not displayed as output. I realise in this case I am not really using the tool as intended - but is there a way of wrapping up the results of several Check()s in to a single 'problem' Tim, If these metrics are measured against an assembly, then simply override the Check(Module) ...Show All
SQL Server Error on Export to Excel
We are getting this error when we try to export to excel in one report. Has anyone had this problem and what can I do to fix it Server Error in '/Reports' Application. ...Show All
Windows Forms WebBrowser control issues !
I have a list of webpages that I want to visit and get some data from each page in the same way so I decided to do the following: //the function that'll process the page when it's loaded browser.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler (SetDownloadedCelebsInfo); //This function causes the browser to go the page I'd like to process private void StartDownloadingCelebsInfo() { if (celebIndex < celebNames.Count) { this .celebInfo = this .celebsInfo[celebNames[celebIndex]]; this .celebIndex++; this .browser.Navigate(settings.RootUrl + this .celebInfo.Homepage); } else { //Done With All CelebsInfo NotifyCelebsInfoDownloaded( this , new Cele ...Show All
Visual Studio 2008 (Pre-release) Custom Control Support in Cider
Hi, What is the timeline in Cider for support a Custom Controls Actually ( RC1 ) Not parse the xaml for custom controls Not Add the custom control the the toolbox automatically like Winforms provided Not load and show the custom control on the designer Not manage correctly the Namespace, load correctly the NS if I reference externally the assembly, no project reference. This feature list is very important for any custom control's maker! :-( -- Andrea Gelati I haven't seen any timeline for Cider but the thing is that it's NOT RC1. Unlike .NET 3.0 that is RC1 and will RTM by the end of the year, Cider is part of the Visual Studio 2007 which will be ready probably in lat ...Show All
SQL Server email task and file system deployment
does email task only work with sql server deployment I have an email task in my ssis package and i want go for file system deployment. thanks, kushpaw ...Show All
Visual C# Active form problem.
Hi All, Here's the problem: I have a main form which opens a smaller form. Which is fine, but I don't want the user to be able to click back to the main form without closing the smaller form first. Do I have to use MDI Forms or is there another method Thanks in advance. ...Show All
