JohnnyReggae's Q&A profile
Windows Forms Full row selection on the datagrid
Hi, I need to implement the full row selection on the datagrid, just as it works on the list view, You know if you press control, or shift, and then click on a row, well, select rows just as windows explorer does. I have done somthing like catching the mouse_down event, get the row clicked, and select it, but I have problems when you  ...Show All
Visual Studio Tools for Office How to install VSTO on VS2005 Professional RTM
I know that VSTO is only included in Team System Version, but, is there any way to upgrade the prefessional version with VSTO installation separatelly What happend if I install VSTO Beta RC on the final Professional version Visual Studio Tools for Office is also sold separately, as well as being available to MSDN subscribers. You can install it into Visual Studio Professional. There's some information here: http://msdn.microsoft.com/vstudio/products/vsto/default.aspx But I don't know about the beta RC. Cheers, Harry Miller Technical Editor http://blogs.msdn.com/harrymiller This posting is provided "AS IS" with no warr ...Show All
Windows Forms Error when opening, Administrator, click once, .net 2.0
hello all, I have a click once application. my users are not administrators in their computers, I do not know if it is relevant just mentioning. The recent change was that we moved all user profiles to the server. The users has a sevre error, and the application load failed. here is the error description PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727.42 (RTM.050727-4200) dfshim.dll : 2.0.50727.42 (RTM.050727-4200) SOURCES Deployment url : file ...Show All
Visual Studio 2008 (Pre-release) ANN: View a fully functional Clock demo using WinFX on the Internet
The XAML for the following demo was authored in the Mobiform XAML Designer Aurora Beta 7.3, which supports the November CTP. The demo is a clock that keeps real time, based on your internal computer clock. http://www.mobiform.com/demos/avalonclock/webavalonclock.xbap Aurora is available as an embeddable component for XAML authoring in your application. Mobiform is also available to help with your WinFX development, contact us for more details. http://www.mobiform.com Neither of these demos work for me. (win2k3 server SP1 & IE6 SP1, Nov CTP, .Net 2.0 RTM) The pertinent part of the resulting stack trace is System.Windows.Ser ...Show All
Visual C# How can I get special system directory?
How can I get special system directory I want to know special system directory such as c:\Windows c:\windows\system32 ... what do I do I see the following code from a sample openFileDialog1.InitialDirectory="%SystemRoot%"; // it work well openFileDialog1.ShowDialog(); I think the code should be the below: openFileDialog1.InitialDirectory=Environment.ExpandEnvironmentVariables("%SystemRoot%"); openFileDialog1.ShowDialog(); Why does openFileDialog1.InitialDirectory="%SystemRoot%" work well but the following ... string path=Environment.ExpandEnvironmentVariables("%SystemRoot%\\"+"1.jpg"); //OK string path="%SystemRoot%\\" ...Show All
Windows Search Technologies Searching a specific drive or folder
Hi, I would like to know whether I can limit my search to a specific partition (drive) or folder, say I want to search a file named myresume in E drive. or say I want to again narrow my search to the folder resumes in E drive for the file myresume. Thanks for any help philip In the Help section of WDS if you look for the advanced query syntax you will find the following (and a lot more). To restrict by file type: Use: Example All file types everything kind:everything Communications communications kind:communications Contacts contact ...Show All
Visual Studio Unable to acquire/convert string signature from primary or satellite DLL
Hi, there. I made a VSIP package and get a PLK. So, I tested my package, the package loads successfully. But I get couple of same message from the package loading. I really don't know what the message mean. Is there anyone knows what the follow first two message mean --> VSIP: Unable to acquire/convert string signature from primary or satellite DLL. --> VSIP: Unable to acquire/convert string signature from primary or satellite DLL. VSIP: Third party package 'My Package' approved to load ( GUID = {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} ). I analysis the log file, and I found out couple of two ...Show All
SQL Server import/export
Hey, I've recently installed sqlServer 2005 express on my laptop so i can take some work away during christams. What I want to do is copy a db from my work machine that is running sql2000, but i have discovered that import/export is not available in the express managment studio and that I can't connect to 2005 from enterprise manager on my work machine. How can I copy a db Managment Studio Express Any advice would be much appreciated. Tim You have two options that are easy: 1) Backup/Restore, the basic syntax looks like: BACKUP Database [foo] RESTORE Dat ...Show All
SQL Server Can not connect to SQL Express from a different computer
Hello, I have the following problem: I can not connect to an instance of SQL Express from a computer different than the one that the SQL Express is installed on. When trying to connect through Management Express Studio Express CTP I get the following error: **** TITLE: Connect to Server ------------------------------ Cannot connect to (nameofserver)\SQLEXPRESS. ------------------------------ ADDITIONAL INFORMATION: 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 ...Show All
Windows Forms Switching form
I have 2 forms in my application , when i click sign In button on first from , i hide that form & open second form , but when close second form ,first form still is running (its invisible) & calling dispose method doesn't work. ,.What code should i write in closing second form Hello ManishaPatil i faced this problem few days ago, so here is my solution this.Hide(); Form2 f2 = new Form2(); f2.ShowDialog(); this.Close(); // Hope this might help ...Show All
SQL Server how to write 55.5 into sql2000 via OLEDB ?
i use a DB_NUMERIC variable to store the data, coded like this: DB_NUMERIC num; num.precision=5; num.scale=2; num.sign=1; long tmp = long (55.5*100);// which is 5550, 15ae in hex memset(num.val,0,16) memcpy(num.val, &tmp, sizeof(long)); but number on the server side is 55, missing 0.5 what's the problem with my code how can i get a IDataConvert interface what's the IID of Data Conversion Library i cant find it any where... ...Show All
Windows Forms Getting the Control that had focus before the currently focused Control?
Hi all, If I have a GotFocus() event on a Control, is there anyway I can find out what the last Control was that had Focus() before the current Control (which now has the Focus()) I hope I have clarified myself clear enough, if not I will expand on it. Thanks Tryst Instead of exposing the LastFocusedControl in your main form and having each control implement a Handler that sets it, which requires all your child controls to reference their parent control and set their parent control's property, you're probably better off implementing one Handler in your main form that sets a private variable lastFocusedControl. Then, just attached that ...Show All
SQL Server Error with for..next loop variable
I'm setting a variable called ConnectionString_vc in a for..next loop. The connectionstring property of one of my connections is then set to @[User::ConnectionString_vc] via an expression. When running the package in a SQL agent job I'm getting the following error in my logs. I've received this sporadically when running it in debug mode in BIS, but it happens consistently in Agent. The variable "User::ConnectionString_vc" is already on the read list. A variable may only be added once to either the read lock list or the write lock list. Are you using that variable anywhere else Perhap ...Show All
Visual Basic Different
What is the different between Visual Basic, Visual C# and Visual C++ WOW...thats like asking whats the difference between English and French! These days it is basically syntax and keywords, although C++ is the only true low-level language of the three with the ability to directly manage memory and hardware resources! ...Show All
Smart Device Development How to Do C/C++ Development for WinCE 5.0?
How do I create a C/C++ project for our WinCE 5.0 device I don't see our SDK when I run the new project wizard. Dale Larson Johnson Controls, Inc Dale, Can you please share how you fixed this. I think I am having the same issue. WinCE 5.0 SDK's produced by Platfrom Builder are not showing in VS2005 as a platform to target. Thanks. -Jim. ...Show All
