Meini's Q&A profile
Windows Forms Dbl click btw rows in grid?
Hi, Some time double click between rows on data grid cause UnHandeled exceptions. Any body experianced this How could avoid/ignore that Can you catch Application.ThreadException or AppDomain.UnhandledException ...Show All
Visual C++ CPP Compile
Hello! I didnt compile a .Cpp File With Vc++ Express :( How i compile .cpp files with VC express edition Ramazan AKTOLU wrote: Hello! I didnt compile a .Cpp File With Vc++ Express :( How i compile .cpp files with VC express edition I don't believe you can compile a standalone cpp file. You'd need to have a project to do that. ...Show All
SQL Server OLEDB Datasources and parameters
I have discovered some shortcomings in the way inline table valued function parameters are treated in the OLEDB datasource. You can select the user designed function ine the Generic Query Builder and test it with the required parameters. However when you attempt to set up the parameters for the result ing SQL Command Text you get and error message to the effect that the parameters cannot be retrieved from the datasource. Once again this is disap ...Show All
Windows Forms Get Current Clicked Column Header?
I can do it if my DataGrid is bound to a DataTable or DataView, however what if my grid is bound to an ArrayList DataView Method: private void dg_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) { DataGrid.HitTestInfo hti = dg.HitTest(e.X, e.Y); &nb ...Show All
SQL Server Problems installing SQL Server 2005 SP 1
SQL Server installation fails with the message: "A recently applied update, KB913090 failed to install" The last executed task was: Integration Service The last installation message was: Checking for lock files via Windows installer sqlrun_tolls.msp Alvin, unfortunately your issue is a different one. Your log contains the following snippet: Using PrevRegRootPath: Software\Microsoft\Microsoft SQL Server\MSSQL ...Show All
Windows Forms Close multiple forms
I've create a no. of Windows Forms and they are related in the following sequence. FormStart --> FormA1 --> FormA2 FormStart --> FormB1 --> FormA1 --> FormA2 The problem is when I reached end of FormA2. I need to provide a method to close all the Form and back to FormStart. How can I achieve this I can't simply use me.owner.owner.close as the no. of level is not equal. hi, thanks a lot alex for speedy reply and ...Show All
SQL Server Secure Social Security number in my DataBase
Hi, i have a data base in SQL 2005 and i it has many tables with confidencial information Like Social Security numbers, Credit card Numbers, etc. And i would like to encrypt this information or make something to make this info invisible to any hacker, or any person that logs on the server. Here are the limitations: 1 - I cant make any changes in the front end, so if i encrypt the data, I have to make all the modifications in the dat ...Show All
Visual Basic check textbox lenght
How do I check textbox lenght in vb.net 2005 this wont work me .MyTextbox.Lenght < 13 then messagebox.show("test") Well, I see two problems with this code. One, you mispelled 'length'. Two, you don't have the word 'if' at the start. Perhaps you have those in your code and not in your example, the fact that you don't define 'this won't work' makes it hard for me to tell. However, if you ...Show All
.NET Development XmlSerializer or custom serialization?
Hi! I'm currently not sure whether I should use XmlSerializer to save the properties of a class to an xml file or if should just write the file manually with XmlTextWriter. The problem hereby lies in the speed of deserialization. My program will load an undefined number of such files and create instances of the corresponding class at startup. Thus the deserialization operation should take as few time as possible, even if that means writing more ...Show All
Windows Forms setting checkedlistbox checked item
Hi, I have a checkedlistbox whose valueMember is set to a certain column of a datatable. I have an array of datarow that has some column values which may or may not be the value member of the checkedlistbox. I want to check if the datarow column's values match with the value member of checkedlistbox items and if they do then I want to SetCheckedItem() those items in the checkedlistbox. How can I do this any sample Thanks, ...Show All
Windows Forms OKCancel dialog
Hi I have a button that displays an msgbox, and in that msgbox the user can click "ok" or "cancel". My question is, how do I know if the user clicked ok or cancel. I need to take proper action depending on that choise. Reg ...Show All
SQL Server SSIS Changing Column Order during Transformation
First let me say, I really can't believe this chain of events myself--and they are happening to me. I am upgrading several DTS packages to SSIS on what will be my new production server. These packages create tables, export them to a flat file, and ftp them off to other locations. What is happening (on the SSIS side) is that the OLE DB Source is reordering some of the columns on its own (moving them to the end of the table/file. Then when m ...Show All
Windows Forms Icons in TreeView disappear in WinXP
I uses icons in a TreeView. When the program runs in Windows 2003, it looks fine; but the icons disappear when the same program runs in windows xp. The program is built in Whidbey Beta2. In Beta1, this problem does not exist. If You have Application.EnableVisualStyles() in code remove it. It has helped me For more details look this: http://rungesrand.blogspot.com/2007/09/what-happened-to-treeview-icons.html ...Show All
SQL Server Processing a cube on SQL server 2005 from a dts package on SQL server 2000
We just started migrating some cubes to the 2005 platform. Still there are some DTS packages running on the 2000 platform that needs some recoding to fit the 2005 enviroment. Therefore we have some solutions where we have DTS packages running on SQL Server 2000 and their "related" cubes running on the 2005 platform. My question is therefore: Is there an easy way to initiate a processing of a cube on the 2005 platform from a Sql server 2 ...Show All
Visual C# Keeping the arraylist value to the next program run.
Hi, I have built a C# program that processes a huge amount of data and keep the processing results in arraylist. This is takes a long time , so if I need to keep these results to be used in the next time , How can I do that. Is there any way Thanks too much. Aya. Hi, if you mean maintain the data in memory then you'll have to leave a program running with that memory shared so that when you run ...Show All
