baddest's Q&A profile
Windows Forms changing row order in DataTable
Hello, I'm using DataTable object, and I want to change the row order inside the table. Is it possible I prefere not to declare a sort column: use the initial order and move rows Thanks, Ori Sorry there is no way to change the order in a datatable. You would have to remove the rows and insert them back in at the position you want. I would add a column to the datatable for your show order and sort the default view on that. ...Show All
Visual Studio Express Editions Visual C# Express Edition Installation Problem
Hi, I got the following error when I tried to install Visual C# 2005 Express Edition: "Error 1304.Error writing to file: microsoft.visualstudio.designer.interfaces.dll. Verify that you have access to that directory" Anyone know why this error occurs, and how to solve it The strange thing is that I have been able to install and run Visual C# in the past without modifying the settings for Panda at all. I guess a re-installation of Windows might be in order, for the umpteenth time BTW, I greatly appreciate the help, man! ...Show All
.NET Development Authenticating client using SSLStream
I have seen the MSDN sample code for implementing SSL in a TCP client/server application (http://msdn2.microsoft.com/en-us/library/system.net.security.sslstream.aspx) I then wanted to add the 'optional' client authentication piece to this sample by changing the client to use: I Added: X509CertificateCollection X509Coll = new X509CertificateCollection(); I Added: X509Coll.Add(new X509Certificate(@"c:\Projects\SSLStreamClient.cer")); I Changed: sslStream.AuthenticateAsClient(serverName, X509Coll, SslProtocols.Tls, false); it originally was: s slStream.AuthenticateAsClient(serverName); I created SSLStreamClient.cer using makecert.exe and placed it in CurrentUser.Personal and in CurrentUser.Trusted Root Certi ...Show All
Visual Studio Team System During a merge, the "Building Change Summary" goes into infinite loop
My machine hangs while resolving conflicts during a merge. Here's what is happening: I initiate a merge between 2 branches It correctly identifies the conflicting files. I select one of the conflicting files and click on "Resolve" button. The "Resolving Conflicts" window comes up saying that its building a change summary. This process of building change summary keeps spinning.....and my machine hangs. The resolving conflict operation never ends. Note: This only happens for some files and not others. I tried doing this from multiple machines and got the same result. Is this a known problem, bug Thanks. It can happen if there are two identical paragraphs, and ...Show All
Visual C# losing parameters in function
Hi everyone.. i am writing a function below public kayit[,] sinifa_yaz(string yazilacak_adres,int kayit_sayisi,int ara_deg) where kayit[,] is a class..when function works and returns value, compiler deletes array's values from memory..how can i reach them and use again.. for (int i = 0; i < dizi.Length; i++) { int kayit_say = kay_say(dizi ); b=sinifa_yaz(dizi , kayit_say,i); } i want to update b at each time.. I don't quite follow what the problem is. What do you mean by the compiler deleting the array values Do yo mean the array is cleared each time through the for loop or after the function returns but before you can do anything with the values You are not doing anything with b in the above ...Show All
Smart Device Development configure the desktop machine for Windows Mobile 5.0 development
Hi, While installing Windows Mobile 5.0 Pocket PC SDK on my desktop PC, I'm getting following error, anyone know the solutions ---------------------------------------------------------------------------- Software development tools required to use this SDK for application development are not installed on this workstation. Before trying to run the Setup Wizard again, verify that the required software is installed. To determine which software development tools are required, see the Microsoft Web site at http://go.microsoft.com/fwlink/ linkid=21615&clcid=0x409,which you can open in an external browser window by clicking the Open Browser button. ----------------------------------------------------------------------------- Also if anyone kn ...Show All
.NET Development Installing .NET Framework 3.0 x64
Hi There, I'm trying to install the .NET Framework 3.0 x64 bit and i keep on getting the following error :- [12/14/06,14:51:45] WIC x64 Installer: [2] Error code 1603 for this component means "Fatal error during installation. " [12/14/06,14:51:45] WIC x64 Installer: [2] Setup Failed on component WIC x64 Installer [12/14/06,14:52:15] WapUI: [2] DepCheck indicates WIC x64 Installer is not installed. [12/14/06,15:14:52] MSXML 6.0 Parser [x64]: [2] Failed to fetch setup file in CBaseComponent::PreInstall() [12/14/06,15:14:52] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147467260. [12/14/06,15:14:52] setup.exe: [2] CSetupManager::RunInstallPhase() - Call to ...Show All
SharePoint Products and Technologies Search Pages and Results Pages
Hi everybody, i want to creat my own search settings to search for example documents by project. Project is a column of my content type 'Project Document'. Can i do this with create search and results pages How can i do it Have you sources or links where i can find information about thirs customization. Thanks :) take a look at the Plan Search section of the Planning and Architecture guide at http://technet2.microsoft.com/Office/en-us/library/b28ba53d-a3e8-440f-9fcb-f592d858894a1033.mspx mfr=true it will get you started. ...Show All
Visual Studio Express Editions How to Display messagebox texts in multiple lines
hi all In messagebox.show "aaaaaaaaaaaaaaabbbbbbbbbbb" will show the entire mesage text in one single line how do i add a newline to this text so that messagebox box text is in 2 lines followed by OK button Line1--"aaaaaaa" Line2--"bbbbb" Thnks all CStr not needed if you use the & concatenation operator: MessageBox.Show( "aaaaaaa" & Environment.NewLine & "bbbbb" ) The + is needed in C# as it does not have a separate string concatenation operator. Alternatively, you can use the vb constant - vbCrLf - instead of Environment.Newline: MessageBox.Show( "aaaaaaa" & vbCrLf & "bbbbb" ) ...Show All
Visual Studio xsltransform should give better error messages
It can be quite pain full to locate the error coursed during an xsltransform I would like to see more location information when this happens i.e. file and line number or if the xml parser can not give line numbers then the signature of the template or global variable in which the error happened (value of name, mode and match attributes) It would also be nice if the xslTransform had an option for include debuginfo so one could use visual studios xslt debuggin capability with just in time debugging For the most part the XSLT parser does given decent and complete error information and even includes properties that designate which line and column the error occurred at. I've been working with XSLT for a l ...Show All
Visual Studio Changing database login info at runtime VS05 RTM vs VS05 Beta 2
I've a group of reports developed with Crystal 11 that need to have their database connection information changed at runtime. I'm following the sample code pattern for integrated security with winforms. With VS05 Beta 2 this all worked just fine. With VS05 RTM if the runtime database connection matches the report connection everything works fine. If the runtime connection is to a different database I get an error that seems to indicate that the Re portDocument.DataDefinition.ParameterFields values aren't being read correctly. Has Crystal functionality changed from Beta 2 to RTM Is the sample code wrong for the production version of Visual Studio Or am I just a lucky bug finder TIA for any information. ...Show All
.NET Development ASP.NET interaction with Client PC
I'm doing an ASP.NET project that works great while debugging. Upon publishing, I realized that the code was firing on the server side. After much research, I found that the codebehind on a server cannot launch remote processes or do any File I/O on the client side. I've looked into: WebServices - I can only pass / receive variable data. .NET Remoting - requires exe on client side and is difficult for me. FileWebRequests - still looks for files on server. My question: Is there any way to perform File I/O and procedures on a client machine from my ASP App without developing an exe for the client side Thanks. ~Matt ...Show All
SQL Server Invoice Detail
Hi I have a invoice that displays the company name in a rectangle on top then it has a list in the list it has details tables my problem is that the invoice detail goes on the next page I need to have the company name as well on the second page I cant put it in the same table as the detail because I have a few tables in the detail so it is actually no header is it possible to have Repeated the Company name information on the next page Thanks A bit of a hack, but how about just creating another rectangle with visibility property =IIF(Globals!PageNumber.Value > 2) Not sure if that will work though since the body does not know about page numbers. Did you try Chris Hays's fix http:// ...Show All
Visual Studio 2008 (Pre-release) color space?
Hi all, does anyone have any experience with WPF and color spaces (i.e. Adobe 1998) I'm finding that images loaded into my app keep their color space fine (in this case, adobe 1998), but i'm rendering a bitmap from on the fly compositions (some layered canvases) using RenderTargetBitmap. I encode to Tiff and save to harddrive and find the colors have changed dramatically. Not sure how to keep the adobe 1998 colorspace/ assign a colorspace /or even possibly assign and difference colorspace than the original. can't seem to find anything in the sdk docs or the forums... thoughts thanks, steve sadly, i don't know how one goes about adding a colorspace to the encoder. Of course, i'm choosing a PixelFormat wh ...Show All
Windows Live Developer Forums How to get latitude and longitude from a postal address
hey, Can you tell me how do we convert an postal address into latitude and longitude Thanks Cheers, What I have in place at the moment is a ws which returns all the points, for each of the point it works it out in code (based on hardcoded lat long). Then I add all the push pins to the map, then I add the ID to a array, then I have a onclick event of the checkbox control to delete all the map points in that array, resulting in a layer effect. Seems to be working ok with the amount of data I have at the moment. ...Show All
