Raccess's Q&A profile
.NET Development Run on Macintosh
How to run an application Framework (1.1 or 2.0) on Macintosh It's possible Is it necessary to use "Virtual PC" Does it contain Framework Are all the functions usable Tanks Mono: http://www.mono-project.com/Mono:PowerPC Shared source CLI: http://www.microsoft.com/downloads/details.aspx FamilyId=3A1C93FA-7462-47D0-8E56-8DD34C6292F0 ...Show All
Visual Studio Team System Loading appsettings or custom settings from MSTest.exe
I have a unit test (MyUnitTest.dll) that tests a class in another dll (MyClass.dll). My unit tests verify the code that loads the configuration settings. One test method looks like this, [ TestMethod ] [ DeploymentItem ( "MyUnitTest.dll.config" )] public void ReadFromConfig() { MyConfiguration configuration = MyConfiguration .Configuration; Assert .AreEqual("testvalue", configuration.CustomList[0]); } When I run this from VS IDE (I specify "MyUnitTest.dll.config" as a Deployment file in localtestrun.testrunconfig), the test runs successfully. When I run the same test from MST ...Show All
Visual Studio Express Editions Setfocus
How do we setfocus in VB2005 express VB6.0 textbox.setfocus ...Show All
SQL Server Backup CERTIFICATE Fails
I've problems with backing up the certificate (on the Witness Server). On principal and mirror, it works fine (Win 2003 Server, US English), but on my local PC (XP Prof, German) what i use as witness Server following backup command raises an error: USE master ; CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'something$Strong123' ; CREATE CERTIFICATE HOST_W_cert WITH SUBJECT = 'HOST_W certificate for database mirroring' , START_DATE = '01/01/2006' , EXPIRY_DATE = '12/31/2050' ; BACKUP CERTIFICATE HOST_W_cert TO FILE = 'C:\HOST_W_cert.cer' ; The error message is: Msg 15240, Level 16, State ...Show All
Visual Studio 2008 (Pre-release) Why the reverse German-like syntax?
Why do the LINQ queries have to look like a SQL query in German If you are trying to make it easier and are adding SQL-like keywords to the language, at least keep the ordering the same as SQL. The way this is, I have to know C#, SQL for triggers and stored procedures, and LINQ for the in-code queries. I don't see how this is going to make my life any easier. > .... why then has VB decided to do it the wrong way This would hardly be a first for VB and cannot be taken as a guide for what C# should do. I am not on the team, and am not from MS, but what's clear to me is tha ...Show All
.NET Development Webmethod generating an error when return type is a dataset: .NET 2003
Hi, Please could anyone help me with this problem I have a windows application which is being written in VB.NET and through this application I making a reference to one of my web service. The web service returns a dataset object. When I make the call it causes an error: The error is as follows: An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in system.web.services.dll Additional information: Server was unable to process request. --> Message: Cast from string "" to type 'Boolean' is not valid. Source: Microsoft.VisualBasic Method: FromString Stack Trace: at Micro ...Show All
.NET Development Warning in VS2005 that an object is being used before it has been assigned a value.
I'm getting warnings that I don't understand for DataReader and Command objects, and I don't know how to use them in a manner to avoid the warnings. Please help. I have several procedures like the following, and the warnings point to the Finally block where I close the DataReader and Dispose the Command. How should this be restructured Thanks you Public Sub MySub( ByRef pageIDs() As String ) ' returns an array of all PageIDs as a return parameter Dim iRows As Integer Dim dCommand As OleDb.OleDbCommand Dim dR As OleDb.OleDbDataReader Try dCommand = New OleDb.OleDbCommand dCommand. ...Show All
.NET Development .NET Framework - hotfix. Can I discard the original Framework?
I don't know where else to post this, but I just received an automated update hotfix for my .Net Framework that is 1,114 megs...this is in addition to the original .Net Framework that is also 1,114 megs. That's taking up too much of my disk space. I'd like to remove one of them if I can, but I don't know anything about the pros and the cons. Can I just remove the original and use the hotfix in it's place Thanks, Paul The update was pushed to you via Windows Update because it was rated as an Important security update. In general you don't want to disable accepting updates since it will leave your system vulnerable to attacks ...Show All
SQL Server Report Builder logon failed
I used an sql server logon to create the view and model in designer, I deployed the source and model from desigen, when I go to report builder I get this message: Logon failed. Logon failure: unknown user name or bad password. (Exception from HRESULT: 0x8007052E) My server and web service are on the same server and I set up my server security to use mixed mode if that makes a difference. to answer my own question, even though it said it set up the rs service account correctly, it set up a new one with appropriate security and it now works, I just deleted the old id and use the new one. ...Show All
Visual Basic Help with simple task...get data from registry into a text box on a form
I am trying to pull data from the registry and output in into a text box on a form. I have the pull part: Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Dim readValue As String readValue = My .Computer.Registry.GetValue _ ( "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" , "DhcpDomain" , Nothing ) How do I display the readValue in a text box or label Thanks for any help. I know it should be easy. Form1.Textbox1.Text = ReadValue will put the contents of string Readva ...Show All
SQL Server SSIS Inport Wizard does not import dates...is this a bug?
I have an Excel file with 52000 records. One of the columns is a date column d-mmm-yy. This column is NULL-able. Approximately 12,000 records have a value on this column. I started the wizard, and it happens to be that the first record containing a date on this column is record 11,012. However, the wizar imports NONE of the values, and the column shows NULL in all records. Now, if I sort first the data in the Excel spreadsheet so that some records with this date show up at the top then the records are exported correctly. In my opinion, this is a bug that will stop me to use for using at my department. Please let me know your ...Show All
Smart Device Development Application not running properly on with pocket pc 5.0 device
Hi guys! I have an issue its like i developed a pocket pc application in visual studio 2003 .net compact framework 1.1 than converted it to visual studio 2005 .net compact framework 2.0, the application was running all well on pocket pc 2003 devices but as i tried to run it on pocket pc 5.0 device it started behaving awkwardly, the whole application just shows up on 1/4 th of the screen, i than installed pocket pc 5.0 sdk and targeted my application for pocket pc 5.0 device but nothing changed, finally i installed my .net compact framework 1.0 application on pocket pc 5.0 device and it ran well no such 1/4 th screen issue, ...Show All
Visual FoxPro Cannot 'USE' two tables in VFP90 - XP ONLY?
I am using a stand-alone exe in VFP90 and I am trying to create a new form with the following in the init: SELECT 0 USE 'accntdb' ALIAS 'accntdb' SELECT 0 USE 'presetdb' ALIAS 'presetdb' I am compiling with VFP90 S/P 1. Now, this will open both tables when run on Win2K just fine, but when run on XP (latest s/p) only the data in the 'presetdb' table is visible in the browser. The alias is still recognized, but there is no data for 'accntdb'. I have used this method to open tables for 10 years and have never had this problem before. Any suggestions He was using SELECT ...Show All
Visual C# intercepting onclik
Strange request... I have a program written in asp.net and vb. I want to try to intercept a click on a button with my program. Is it possible I explain better: i want my application (console/win/web) does click of the other program (winform).. thx no no...i want to simulate click of a button of another application with my application. Eg: i have an application where clicking on a button it opens a panel... i want to create my app where clicking on my button i open that panel. I think it's not possible ...Show All
Visual Basic Problem Building .exe file
Hello, I am using Visual basic 2003. When I build an .exe file it runs fine on the computer I have visual studio installed on. When I try to run the exe file on other computers I received the following error: 'Could not find MSCOREE.DLL' I copied this file to the computer in quetion and receved the next error: to run this file you must first install one of the following versions of the .Net Framework: V1.1.4322. Is there a way to build my exe file to include these files How do I build a exe file to run on any windows based computer Any help is greatly appriciated!!!! Thanks, rap213 In order to run a .Net application, ...Show All
