sam2006's Q&A profile
Visual Studio Crystal reports XI R2 and Visual Studio 2005 issues
Has anyone got this error after updating (fresh install) to Crystal Reports XI R2 with reports in Visual Studio 2005 I am posting here because I am not sure if it is a Crystal reports XI R2 bug or a Visual Studios 2005 problem. I thought it might be that my programming was wrong so I tried the samples that come with R2. If anything these should work since the people who developed the software wrote the examples. Even the examples gave me these same errors. Custom Tool is CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator I have these refernces: CrystalDecisions.CrystalReports.Engine - v2.0.50526 CrystalDecisions.Enterpris ...Show All
Visual C++ Project Dependencies
Hello again! Now I have a problem with my application's dependencies. When I build my application in Release, the Dependency Walker shows that the EXE is dependent on MSVCR80.DLL. But I want my application to be dependent on MSVCRT.DLL. Is there a way to enforce use of MSVCRT.DLL instead of MSVCR80.DLL Thanks! Have you found a way to do this yet I'd really like to see VS2005 able to link to mscvrt.dll (like VS6 does)... Can i be done in vs2003 For now.. i'll stick with VS6... /blair ...Show All
SQL Server DataBase Connection
hi everybody; my questions about when database connection : i am when connecting database latter receiveing exception error.Error is : An unhandled exception of type 'System.Data.SqlServerCe.SqlCeException' occurred in System.Data.SqlServerCe.dll codes : SqlCeConnection cnn=new SqlCeConnection("Datasource=\\My Documents\\Business\\LOREAL.sdf"); cnn.Open(); // Exception is here help me.. can i doing Hi everbody, I have a problem like this.There is a programme on PDA and it has a (.sdf) database .When I trying to start program,I got this error : "not access to user table&q ...Show All
Windows Forms c#?
Any idea on when c# version will be released Just in case you don't know, you can do a regular HTML anchor tag to actually create a link to the resource you're talking about to make it a little easier :) <a href="http://www.windowsforms.net/Forums/ShowPost.aspx tabIndex=1&tabId=41&PostID=283">C# Version </a> ...Show All
SQL Server remote connection error SQL2005
I am trying to connect to a remote 2005 SQL server “A” from my 2005 SQL Server Management Studio on a different network. I have opened up port 1433 on the remote server A. I have made sure that “Allow remote connections to this server” is checked on the remote server properties under connections. I have also chosen “Using both TCP/IP and named pipes” under Remote Connections in the SQL Server 2005 Surface Area Configuration. I am using \\xxx.xxx.xxx.xxx\sqlservername and user sa to connect. I get the following error : “An error has occurred while establishing a connection to the server. When connecting to the SQL Server 2005, th ...Show All
Windows Forms Connecting to a Remote SQL Server via windows forms
Hi I am trying to find the best practice to connect to a remote SQL server from a windows forms application. The SQL Server does not belong to same network or domain and has been configured for mixed authentication. I know we can encrypt the connection string within a config file but do we ensure that the credentials are not passed as clear text along the wire in a secure format. Configuration: SQL 2005, ADO.NET 2.0, VS.NET 2005 What are the best practices to achieve this Thanks in advance Kannan I think SSL is designed to make secure connection, so why invent wheel and make another security channel like SSL In the en ...Show All
.NET Development SSL X509Store
I have created a certificate with makecert.exe -sr LocalMachine -ss MY -a sha1 -n CN=test -sky exchange -pe cert.cer makecert.exe import the cert into the certification store. But i delete the cert in the certification store because i would add the cert to the store with my server app. Here is the code, all works fine but Server.AuthenticateAsServer(cert) don't work... Private cert As New X509Certificate2("C:\cert.cer") Dim stor As New X509Store(StoreName.My, StoreLocation.LocalMachine) stor.Open(OpenFlags.ReadWrite) stor.Add(cert) stor.Close() Server.AuthenticateAsServer(cert) ...Show All
SQL Server Cannot in install samples.
When I try to install the x64 version of the AdventureWorks sample database I get an error indicating that the file is corrupt (data1.cab). Is there another version or somewhere else I can go to download the sample .msi files Currently I am going to http://www.microsoft.com/downloads/details.aspx FamilyId=E719ECF7-9F46-4312-AF89-6AD8702E4E6E&displaylang=en and downloading SqlServerSamples_x64.msi and AdventureWorksDB_x64.msi. Thank you. Kevin Burton rkevinburton@charter.net Hi Kevin, You're right, there is a problem with that .msi file. We're working on a fix this week and should hav ...Show All
Visual C++ arrow key held down
when i press and arrow key and then let go an event occurs (OnKeyUp) and my listbox moves up or down one. is there an event so that when i hold the arrow key down it scrolls fast through my listbox how would that be done maybe a timer to see how long i held the key down so instead of the OnKeyUp it should be OnKeyDown i am not sure how to capture how long i have held the key down and have it scroll while the key is pressed i didnt know that when you held the key down that windows sent multiple key presses, then this should be easy to implement, thanks! ...Show All
Visual Studio Express Editions BindingSource.Find by operator LIKE
How to find a letter begins them string with operator LIKE and object BINDINGSOURCE The following code does not work : Dim sString As String sString = "Like 'C*'" Dim foundIndex As Integer = Me .DATI_BindingSource.Find( "Cognome" , sString) If foundIndex > -1 Then DATI_BindingSource.Position = foundIndex Else MessageBox.Show( "Nessun nomimativo con questa lettera iniziale." , "GSL" , MessageBoxButtons.OK, MessageBoxIcon.Information) End If Thanks and ........excuse my imperfect English language. ...Show All
Windows Forms Changing control's property -> Repaint!
I have a problem. If I change control's property (for example, Location, Size, Region, etc), I shall have twinkling. I need the following code: void Freeze() { // PLEASE CODE HERE } void Unfreeze() { // PLEASE CODE HERE } ... ... Freeze(); Location = someLocation; Size = someSize; Region = someRegion; // etc. Unfreeze(); ----------------------------------- Example of twinkling is here - http://www.davincitechnology.ru/out/FlickerDemo.rar I have many problems because of this peculiarity. Because I have many dynamic controls ...Show All
Visual Studio 2008 (Pre-release) how to serialize my collection of itmes
hi all, i have a colletion of items. now i want to serialize this collection. here is the example:- Eg: foreach (item in my collection_items) { item.serialize() } Can anyone please help me in doing this!! Thanks in advance bye nani There a a lot of examples of serialization over Internet: Have you try to search Also, there are not just 1 serialization but many: XmlSerialization, BinarySerialization, etc... Which one do you want to implement Bye ...Show All
Windows Forms 2 Bounds DataGridViewComboBoxColumn - Select value from the first should filter the second !
Hi All, I saw that a some members ask the same question and no one get an answare until now. I have a simple situation , One column is bounded to the "countries" table (country,description) , and the ather is bounded to the "cities" table (country,city,description). All I want is : when the user will select a country from the first column he will see just the relevant cities in the second column. The problem become when eatch row have different country . Please send me a code sample. Best Regards Boaz Shalev. Check out this post: http://forums.microsoft.com/MSDN/ ...Show All
Visual Studio Team System How to ensure successful compile before check-in ?
Hi, It's looking like simple question... Any ideas Thanks, Leon Hi Leon, To ensure that u have a successful compilation before check in. Just get the lastest version of all the files {or porjects} .... rebuild your entire solution and after a succssful build check your code in. Regards, Nasha {MVP} ...Show All
Smart Device Development threading concepts in c++
hi, i wanted to know abt the threading concepts in vc++ and a few links which explain the sample programs associated with these concepts thanx in advance.... Would you please elaborate a little what you want to know about threads in VC++ For reference, here are some links: http://www.codersource.net/published/view/310/threading_in_vc.aspx http://www.advancescripts.com/detailed/726.html http://www.codeproject.com/threads/genericthreadclass.asp I hope it helps ...Show All
