Abs777's Q&A profile
.NET Development fatal error C1190 in VC++ .NET
Hello, I am gettin a fatal error C1190 when I try to compile the code and run it. Could anyone provide a solution for that I guess I need to set the /clr switch. Here is the error: fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' option It points to the syntax on code: #using <mscorlib.dll> <Yeah the third line of my code!!!!> ;-) Would appreciate if anyone cud provide a solution for this! :-) Thanks a much! Karthik Thnx a much! Bjoern! I set the field, " Create/Use PCH through file " as StdAfx.h ... Still its popping the same error!.. Any idea on what paramete ...Show All
Visual Basic Attempting to add a datasource
While in vb.net express, I still can't make a connection to the sqlexpress database when I attempt to add a new data source. I have tried everything. This is the error message I get: Unable to open the physical file “c:\Program Files\Microsoft SQL Server\MSSQL.1\Data\Master.mdf”. Operating system error 32: “32(The process cannot acces the file because it is being used by another process.)”. An attempt to attache an auto –named database for file c:\Program Files\Microsoft SQL Server\MSSQL.1\Data\Master.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share. I have no problem ...Show All
Visual Studio Datasets not being removed from RDLC file
First I wanted to thank the MS team for ReportViewer which is one of the best additions, in my view, to the VS line. That being said I have run across a bug in the control, when I add in a data source, and then later remove all references to that data source in a report the datasource is not removed from the RDLC file. This causes issues because the IDE(rebind data/select data source) thinks that you still need to reference that datasource in the report so the only workaround is to open the RDLC file in notepad and manually remove the reference. Please read this article: http://www.gotr ...Show All
Windows Forms Problems binding to COM based SDK
I'm attempting to write a WIndows Forms UI for a Com based SDK. The SDK requires the creation of a session object from which object factories and data structures are available. Language: VisualBasic Visual Studio: 2002 .Net 1.0 One of the data structures returned is a list of objects to which I would like to bind some UI controls. Unfortunately I rec ...Show All
Software Development for Windows Vista Prerequisites in developing Windows Vista appls
I want to try out developing WPF, WCF, etc. applications on Windows Vista using Visual Studio. Can anybody help me on what I need to do to start the ball rolling What do I need to install How do I install them You should check out http://msdn.microsoft.com/windowsvista/building/ which contains information on Developing Applications for Windows Vista. For download links for the Windows SDK and extentions for Visual Studio 2005 see this: http://msdn.microsoft.com/windowsvista/getthebeta/default.aspx And, you could also consider using one of the Visual Studio products. Professional edition would be freat for you if you want to deve ...Show All
Microsoft ISV Community Center Forums Runtime Error #13 Type mismatch
Ok I have a speadsheet with a userform that adds data into the spreadsheet when the add button is clicked. This has worked fine and all of a sudden today it decided to give me a runtime error. Here is the code it seems to have a problem with. Do While Not Cells(row, col).row = Range("InsertRow").row frmDate = frmMonthlyExpenses.txtDate rowDate = Cells(row, col) row = row + 1 Loop I don't understand what is wrong. It worked fine and then crapped out. It also did this same error on another sheet that I am using. Please Help!! Tiger Hello Tiger, The problem is y ...Show All
Visual Studio Team System Team Project Creation failed because of some user account problems
I used a single-server mode and encountered the following error: Error TF30004: The New Team Project Wizard encountered an unexpected error while initializing the Microsoft.ProjectCreationWizard.Reporting plug-in. Explanation TF30171: The Microsoft.ProjectCreationWizard.Reporting plug-in used to create the new team project could not be initialized and returned the following error: TF30224: Failed to retrieve projects from the report server. Please check that the Yukon Reporting Web and NT services are running and you have sufficient privileges for creating a project.. User Action Contact your Team Foundation Server administ ...Show All
Visual Basic Validating within a User Class
I need to populate a container with an indeterminate number of label/textbox pairs for input. Since it is indeterminate at design time, I thought I'd create a user class with both a label and at text box in a pair so I could create them at run time and populate the labels appropriately from a data file. I need to validate each text box for numeric value. Then, I need to use that value to build up a subtotal on the form...sort of like this: Account Amount 1-1100 37.00 2-0000 90.00 .... Total 127.00 Can I code a validation event handler into the class at design time I know I can use the same handler for all the instances ...Show All
SQL Server Combine Data and Split into separate txt files for each header/detail row groupings
I’ve created with the help of some great people an SSIS 2005 package which does the follow so far: 1) Takes an incoming txt file. Example txt file: http://www.webfound.net/split.txt The txt file going from top to bottom is sort of grouped like this Header Row (designated by ‘HD’) Corresponding Detail Rows for the Header Row ….. Next Header Row & ...Show All
Visual Studio Team System Executing Web Tests without MSTest.exe
Could anyone tell me how to run a code library containing coded WebTests (Classes derriving from the WebTest class) without the use of MSTest.exe I have got as far as reading the vsmdi file, creating an instance of each test and iterating through each WebTestRequest in it, I just do not know how to perform the Request, obtain the response and validate it. The majority of the logic is already in the WebTestRequest class so I can't see that it would be that difficult Thanks in advance Tom Medhurst The customers wanted the tests shipped with the product as a `confidence booster` that the system was setup co ...Show All
SQL Server Behind the Scenes SQL commands
Hello, I am running SQL 2000 SP4 on a Windows 2003 standard edition server. The SQL database gets changed/updated through a web interface. I was wondering if there was any way for me to see which SQL commands were being run on the database when changed like deleting/inserting users are being applied from the Web frontend Any help is appreciated, thanks. Robert Take a look in Books On Line at using Profiler, this is not available in MSDE, so if you are using MSDE then take a look for articles on uing SQL Trace. ...Show All
Visual Studio Express Editions Compile a program as a Microsoft Windows service?
Is it possible to make a program as a Microsoft Windows service I need to know, Blair Allen Stark wrote: Yes Doh -.- How ...Show All
SQL Server OLAP Data Distribution
Hi Guys, I'm having a bottleneck with my RAM due to large OLAP data. Disregarding additional memory, I want to distribute the OLAP data to different disk so that Disk que will be distributed, in these way it can lessen the bottleneck. Is there a way to do this thanks... For AS2K you can move the data folder to a different drive and folder - but everything must be contained underneath that same folder. For AS2K5 you can also move the data folder, but it also allows you to specify a different device and folder per partition, measure group, or cube. All of the metadata files must sit under the data f ...Show All
Visual Basic Deployment needing .NET Framework Help
Greetings, Okay. Currently I am developing a Private File Sharing Server and Client Application in Visual Studio.NET 2003 with Visual Basic. Well, after programming it, and etc and it works great when I run it via my computer, both the Server and the Client, but when I run the Setup file for the Client on another computer, I get the following message (see screenshot below): But, when I go to the Control Panel and stuff and check to see what .NET version is on the computer that Im trying to install the Client on, I have version 2.0 (see screenshot below): So, now my question is, how could I fix this so that the message w ...Show All
.NET Development setting up multiple ethernet connections
im running 2 network connections. one to connect my computer directly to the internet using a modem(adsl), im using an ethernet cable for this to get higher speeds so its plugged into a network adapter. the second one is for the local area network which im using to just share files etc with the other computers in the house. one of the computers on the network also has its own direct internet connection and its set up so the other computers can use the internet through that computer(because the other computers on the network are using the shared internet connection) my problem is that i cant seem to setup the network connection ...Show All
