ComputerSolutions's Q&A profile
Visual C# Customized Localization per User
Hi guys, I have spent quite some time researching thsi but can't find anyone who has had the same problem. I'm writing a site but I want the text on the page to not only change dependendant on the country they are in but also depending on the user that is logged in. So for example gerald logs on and the text shown is: "Please select an item from below" If fiona logs in she woudl get: "Please select a product from below" If fiona was french it would say it in french. I'm interested in if this is possible with Localization and resource files. If so how ...Show All
Visual Basic Add New Data Source for My SQL doesn't work
I have tried also installing and using the ODBC driver version 3.51 and the My SQL driver 3.1.8. None of these work. What do I have to do to add a new MY SQL data source Michael I was told by two different Microsoft employees that Visual Studio 2005 Express Edition was the right version of Visual Studio 2005 for me to use for all of my needs including access to ODBC and MySQL data. They emailed me a link with a comparison of all of the different variations and features of the different versions of Visual Studio 2005. I am trying to remember now, but I think it included a chart with bullets or check marks and comment ...Show All
Visual J# Where are the Object Test Bench Features?
The functionality of Object Test Bench seems to missing from the Software Architects edition I know that unit testing is only in the Developers Edition, but I had thought that the Object Test Bench was tied to the Class Designer which is included in the Software Architects edition. I can bring up the Object Test Bench window, but the functions, like Invoke Static Method, which are context menu items off of the Class Designer, don't appear. Thanks for any info. Could you please provide more details about your solution and it's projects And also provide me the exact steps to repro & error me ...Show All
Visual C++ How Design Line(or Function like Sin(x)) in Picture Box??
Hi! I don't Know that VC++ has a control for design line or... like VB please help me! I just can design line on DialogBox.I want design in Static variable (like PictureBox or StaticText). A picture box hosts a picture. You'd do better just to draw your line in the OnPaint handler of your form. There is no design time support for drawing a line that I know of. ...Show All
Visual Studio Express Editions Convert extremely simple VB app to a self-contained exe?
Is it possible for me to take a one-form, very simple application I wrote in VB and make in completely self-sufficient All the application does is have a couple buttons and a text field. The buttons simply call shell programs on the local machine. Kinda bloated to require a MASSIVE .net 2.0 install for such a simple app... Thanks. hi, no you can't every thing your write in .net need .netframework running to be able to execute it, hope this helps ...Show All
SQL Server Problem in connection to sqlexpress witn ASP.nET
hi all When I use asp.net 2.1 to connect sql 2005 express locally I got error message to say 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 Interfaces, error: 25 - Connection string is not valid) I use following connection string ConnectToDb.ConnectionString = "Data Source=servername;InitialCatalog=PushToMail;Integrated Security=true"; for more information : when I open SQLEXPRESS this oblige me to inter servername : ...Show All
Windows Forms Add New row to DataTable doesn't refresh DataGridView control. Please Help!
Here's my scenario: I have a form that has a datagridview control. There's another grid on the same form that is a child view. I have one dataset, with two tablebindings and tableadapter objects. Everything loads great, I start it up, first grid loads with all the records and second grid refreshes as I click on the rows of the first grid. Now, I want to add a new record to my parent table. I made the main grid read-only because I don't want the user to manipulate the data directly. So, on the click of a button, I display a little pop up window with the fields I want the users to enter. When you click on OK, I add a new row to the datas ...Show All
Visual Studio 2008 (Pre-release) FullTrust application getting SecurityPermission exception
Hi all, I am deploying a WPF app using ClickOnce for a FullTrust Win app. I am getting a "Request for permission type of 'System.Security.Permissions.SecurityPermission ... failed' exception when I try to call into an asmx WebService to query a database. Doesn't setting as FullTrust imply that all security permissions should be granted I had this working previously, but can't figure out why it is broken now. Here is what I see in the exe.manifest: <trustInfo> <security> <applicationRequestMinimum> <PermissionSet class="System.Security.PermissionSet" version="1" ID="Custom" ...Show All
Visual Studio Tools for Office Excel BeforeRightClick TransparentProxy
When VSTO was in Beta 2 the Excel "BeforeRightClick" event handler would receive an instance of an Excel.Range type. Now, instead of the range it receives a Transparent Proxy that consequently causes my Application.Intersect() method invokation to fail ( "No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))" ). I'm not sure where the Transparent Proxy came from, it was not in the Beta 2 code, but it seems like when I try to use it, the Intersect method now fails. Can anyone help out Thanks, - jim WRT this.Application vs. ThisApplication. This has been due ...Show All
Visual Studio AddNamedCommand(...) and VSIP
Hi, I am developing a VSPackage, and need to add commands like the EnvDTE::Commands::AddNamedCommand(...) method. However, although i have access to all the EnvDTE interfaces, i can't access the EnvDTE::AddIn object from within my package. I have tried querying it from different interfaces but to no avail (everything returns E_NOINTERFACE). Apparently a VSPackage is NOT an addin and hence does not have an AddIn instance. I want to add named commands from within a VSPackage. Can someone tell me the preferred method (urgent!) Thanks in advance. What Nobody knows anything about it Am i stuck with having to use an addin for adding named co ...Show All
Visual Studio Team System Backup you data with Team Foundation Server Beta 3
Since the documentation looks to be outdated: What are the steps to take to backup all the data within TFS3. It should be a backup of all tables (including SharePoint Services and Reporting Serves data) from SQL Server and a backup of Windows SharePoint Services. Is that it Are the attachements now stored within the database Thanks, Neno Yes, all of the mutable data is now within the database. So backing up TFS is just backing up all of the SQL databases on the data tier. Our admin and operations guide will have details on how to do that but it's pretty straight forward. ...Show All
SQL Server JDBC drivers and SQL Server 2005
(1) Will Microsoft provide a JDBC driver for SQL Server 2005 (2) If it does, will the driver allow a person to perform SQL queries on the XML datatype and/or XQuery types of queries Thank you! re: (1) yes, will have more to announce about Betas and release dates shortly re: (2) yes, SQL Server 2005 XML data type work is planned, but it's not finished yet so I don't want to comment too much on specific functionality. -shelby ...Show All
SQL Server VB.NET 2003 STD WITH SQL SERVER EXPRESS
I have installed Sql Server 2005 express and Visual Basic. Net 2003 standard edition. How do I connect to Sql Server 2005 express from Visual Basic. Net 2003 standard edition I tried to use sqlnative client to connect, but it gave an error message saying this is not supported in this version of Visual studio. Looking for an answer ... thanks. Hwo did you use the native client, it should be possible to use it in the connection string. Otherwise use the .NET 1.1 provider (without using th enew cool features of SQL Server 2005). The connection string can be seen on www.connectionstrings.com und ...Show All
Windows Forms MainMenu Control
Hi, I am relatively new to Visual Basic.NET. Is there any way to change the color of the MainMenu Control. Does it have an OnPaint method that can be overridden. I would like for the Menu to blend with the background of my forms. I would greatly appreciate any advice. Have a look at the source on my site, to&nb ...Show All
SQL Server Calling report from other machine (without domain)
Hi: I have an stand alone win2k Advanced Server (without domain). I created a folder (rpp) an I upload all my rdl reports. Now I can see all reports in my server but I can’t see them in other machines IE show me a message asking for a user, password an domain but I’ve not domain in my server. Sorry, but It’s my first time using reporting service and IIS at the same time. Thanks ja first you go to ReportManager and you assigment role to users. And you calling other server s report on network for example : \\192.168.1.1\ReportServer ...Show All
