Gayathri's Q&A profile
.NET Development [URGENT] COMPILING AND RUNNING THE .NET APPLICATION on LINUX
Hi: Question: I have developed an application containing 2 projects (one is of type class library and the other is a windows application (.exe) ). I want to compile and run the application on Linux. I know that there is a platform for linux called MONO, but can't find a good article on COMPILATION AND RUNNING THE .NET APPLICATION. I have found some articles but they only contain the compilation of single file e.g. HelloWorld.cs and thing like th ...Show All
Visual Studio adding a file to a folder fails
Hi, I have a wizard that adds my own C# file to a project. If I'm adding to the root folder of the project e.g. ConsoleApplication1 then its fine. If I create a folder in Visual Studio e.g. Folder1 then use my wizard I get "Specified cast is not valid". I get the namespace name from the projectitems.Parent object which I cast to an EnvDTE.Project. The problem is because, when adding a file to a folder, the projectitems.Parent is not a EnvDTE.Pr ...Show All
Visual C++ MFC-> Minimizing the window to the status area
Hi, after I create NotifyIcon, how can I make my program (after doing somestuff first) restore and minimze to tray (statusarea) <Bigguy Graves@discussions.microsoft.com> wrote in message news:29a9c3f6-b163-4359-974b-fa7d9d9c888a@discussions.microsoft.com > Hi, after I create NotifyIcon, how can I make my program (after doing > somestuff first) restore and minimze to tray ...Show All
Windows Forms datagridview: binding textboxes
Hi all, i've just another little trouble: I have a form with some textbox, and a datagridview which is populated by some data retrieved on a sql database. i would like to know, how can i select a row, and populate the textboxes whith the data on selected row. Thank you in advance. Just solved, and i hope in "right way": void datagridCellDoubleClick(object sender, Eventargs e) { //connection code my ...Show All
Visual C++ LINK : fatal error LNK1104: cannot open file 'odbc32.lib'
If I compile I get the following message: LINK : fatal error LNK1104: cannot open file 'odbc32.lib' I'm not a crack in programming, but I just need to make a simple program for my thesis. I really don't know what I'm doing wrong. I've searched for this library but I didn't find it. Can someone help me thx in advance Tom Is it possible that you use VC++ Express and you didn't insatlle ...Show All
Visual C# label.text repetition
Is there any shortcut instead of typing the code like this. I have 300 lines like these. Any suggestion guys, thanks label1.Text = myArray[0, 0].ToString(labelFormat); label2.Text = myArray[1, 0].ToString(labelFormat); label3.Text = myArray[2, 0].ToString(labelFormat); label4.Text = myArray[3, 0].ToString(labelFormat); label5.Text = myArray[4, 0].ToString(labelFormat); --- label6.Text = myArray[0, 1].ToStri ...Show All
SQL Server SQL Server 2005 Express - Upgrading will Lose Data?
Hi - quick question. I wanted to upgrade pre-release version of SQL Express to the latest version, and wanted to make sure that none of the database information would be lost. The thing that concerns me is that it states to uninstall previous versions of SQL Server 2005 Express before installing the latest version. I threw the database tables into a backup directory, and I think this should be fine, but I want to be sure. Let me know. Thanks! ...Show All
.NET Development How to pass user credentials from a windows app to a web service?
Hi, I'm trying to authenticate the user based on the credentials that I get from the client app, but I'm getting empty string as user name. Can somebody tell me if I'm doing anything wrong here. Thanks in advance! Here is what I'm doing: In the windows app, I've set the current security principal as windowsprincipal When I'm making to call to web service, I've tried both these things: 1) MyService service = new MyService ...Show All
.NET Development Query for inserting data into a database
Hi.Can someone please attempt this and help me. I am jus constructing a simple system that saves info into the database from 4 textboxes on the form. The three text boxes take in the title, surname and name of a given person. I have dropped an OleDbConnection Command on to the system thus setting up the connection to the database. I have also dropped an OleDbCommand object onto the form. I have renamed the OleDbCommand to ObjSaveCus. This will b ...Show All
Smart Device Development Password.cpl Not Loading
Hi, As part of our application running on a CE Device, we needed to enable our device to prompt on a custom screen if it is power on. We have done it by using a customised Password.cpl file and it seems to work (mostly). However, every once in a while it just invokes the system's default password screen instead of our. I have checked & cross checked the registry settings and everything is in place. Any help would be most appreciated. ...Show All
Visual C++ ClickOnce Deployment in Visual C++ 2005 Express Edition
ClickOnce Deployment in C++ The Visual C++ development environment does not directly support deployment of Visual C++ projects with ClickOnce, but tools are available to use it. Who makes these tools Microsoft If so what are these tools We indeed are the ones that make the tools :) Check this link http://msdn2.microsoft.com/en-us/library/ms235287.aspx for some information. Thanks, ...Show All
Visual C++ 2005 Resource Editor trashes non-English languages when you edit any dialog
I have an application that has resources in 11 languages, including Chinese (CHS), Hungarian and Polish. These three are especially challenging because they use a non-English code page - Chinese uses 936 and Hungarian and Polish use 1250 (English and western-European languages use 1252). I am not using Unicode but rather just single byte characters sets for all languages except Chinese which requires MBCS (two byte characters). MFC an ...Show All
Visual Studio ASP.NET 2.0 / VS 2005: Invalid class string exception on report load
Hi I'm using: Crystal assemblies: 10.2.3600.0 ASP.NET: 2.0.50727 VS 2005, VB.NET When I try to load a report the following exception appears: => Invalid class string. ------------------------------------------------------------------------------------------------------------------- Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for mor ...Show All
Smart Device Development list view
how do i add a column of data in the list view for example John male 21 in a listview which contain a column header Name Sex and Age.. lstNetwork.Items.Add("John"); lstNetwork.Items[0].SubItems.Add("male"); lstNetwork.Items[0].SubItems.Add("21"); i get an error which Error 1 Value of type 'String' cannot be converted to 'System.Windows.Forms.ListViewIt ...Show All
.NET Development "Child list for field 'Customer' cannot be created".
I converted my VS2003 app to VS2005 Pro. Everything is fine except that one or two datasets are causing problems. If I run the form in question, the following code is highlighted - ((System.ComponentModel.ISupportInitialize)(this.dsMySalesInvoice)).EndInit(); and the message is "Child list for field Customer cannot be created". Supprisingly, the Customer datatable does not even belong to that dataset. The Customer datatable ...Show All
