Igzz's Q&A profile
Visual Studio 2008 (Pre-release) How to switch between scenes
i've just started using Expression Interactive Desginer, and i've created then imported 2 scenes in a Visual Studio, how can i switch between the 2 Scenes (ie, if i click in a button in one scene, it shows the other one) Two options here: a) If you are using Page as the root element: this.NavigationService.Navigate(new Uri("Page2.xaml", UriKind.Relative)); b) If you are using the default Scenes that Expression currently creates: NavigationService navigationService = NavigationService.GetNavigationService(this); navigationService.Navigate(new Uri("Scene2.xaml", UriKind.Relative)); Thanks, -Unni ...Show All
Visual Basic File Copy Time Estimator
I have a progress bar in my folder copying application that works great. How do I add and option that shows the estimated time to copy the entire contents of my selected folder. I am using a actual class to copy the files. Here is the code I. I have all the other items to call the class in the code of my main form. Imports System.Threading Imports System.IO Public Class CopyClass 'This will hold the reference to the client form Private _clientApp As Form 'Create a delegate method that will map to the CopyThreadMessage method of the client app Private Delegate Sub CallClientCopy(ByVal ThreadName As String, ByVal FilesRemaining As Long, ByVal Message As String) 'Create a delegate method th ...Show All
Visual Studio Express Editions VB express guided tour class example
I recently downloaded vb express and began going thru the guided tour. I got to the part about creating a class and followed the instructions exactly. Then I come to the part about testing your class and the instructions don't correspond to what I'm seeing. For example, on the project menu there is no "Set as Startup Project". Also, when I choose Add References there are no projects listed on the project tab. Its probably something simple that I'm doing wrong but I'm stuck. Any help would be greatly appreciated. Thanks. I was doing File-> Open-> New Project instead of File-> Add-> New Project. I knew it was something simple. ...Show All
Visual Studio Express Editions Installation error
I have tried to instal C# express 2005 online and from cd and it doesn't work. It has to shut down the installation beause of the error the exact error message you recieve. EventType : visualstudio8setup P1 : 10861 P2 : 8.0.50727.42_rtm_x86_ixp P3 : msi P4 : inst P5 : f P6 : ca_beginhelptransaction.3643236f_fc70_11d3_a5 P7 : - P8 : 1603 P9 : - P10 : - C:\DOCUME~1\Robert\LOCALS~1\Temp\WLF23.tmp C:\DOCUME~1\Robert\LOCALS~1\Temp\SDB24.tmp C:\DOCUME~1\Robert\LOCALS~1\Temp\VSW1\VSSWMSISummary.txt C:\DOCUME~1\Robert\LOCALS~1\Temp\VSW1\VSSWMSIInstallTime.txt C:\DOCUME~1\Robert\LOCALS~1\Temp\VSW1\VSSWMSIFailInfo.txt <NoFiles> which OS are you using Windows xp service pack 2 h ...Show All
.NET Development Best Practice - Implementing Dispose / Exposing the Disposable Resources
I apologize if this thread is in the wrong forum. Our general rule of thumb is if our class owns a class level unmanaged resource or a managed resource that contains a Dispose method then we implement IDisposable on our class. So, for instance, we have a class level DataTable that we instantiate from within the class, since it has a Dispose on it, we implement dispose. No problem there. My question is, if we expose that class level DataTable that our class owns via a property, or return it via a function or even return it via a reference parameter....should we still clean it up via dispose We are divided here at our shop. I say no, my boss says yes. We are currently cleaning it up in the dispose. 8) My thought is we are sending t ...Show All
Visual C# Visual Studio installation files
Hi, Please, I am trying to install Visual Studio 2005, but i receive error 1311 - '_15690_RTL_x86_enu_MM_Setup_Files_VS_STD.cab' file is missing. Please can any one send the file Regards, Benjamin ...Show All
.NET Development Error when trying to connect to web service.
Hello. Your help is very much appreciated. I keep on getting the error " "An unhandled exception of type 'System.InvalidOperationException' occurred in system.web.services.dll Additional information: Path property must be set before calling the Send method" Whenevr I try to call a method on the web service. In the wsdl I do have the location defined: < wsdl:service name ="InformationPort"> < wsdl:port name ="InformationPort" binding ="tns:Information"> < soap:address location ="https:// theCorrectPath/TheService.asmx" /> </ wsdl:port > </ wsdl:service > I'm a newbie in web services. Would you know what might be the cause of the error p.s. I am using x.509 cer ...Show All
Visual Studio Express Editions Smtp Exception?
I was trying out an email code when I found this error: A first chance exception of type 'System.Net.Mail.SmtpException' occurred in System.dll Here is the code I was using: Imports System.Net.Mail Imports System.Reflection Imports System.Net.NetworkCredential Imports System.Text Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Body As String = "Message goes here" SendMessage( "to@yahoo.com" , "from@yahoo.com" , Body, "Subject goes here" ) End Sub Public Sub SendMessage( ByVal [To] As String , ByVal Fromm As String , ByVal Body As ...Show All
Visual C# Unit testing C# classes
I'm using Visual Studio 2005 Pro for C#. I would like to unit test my C# classes. Is there an unit testing suite for C# For C++ classes, I've been using CppUnit Hi, Have a look at NUnit ( http://www.nunit.org/ ) This is a mature project now with lots of community support. Cheers ...Show All
Visual Studio Team System tf.exe gets stuck doing a Get from a label
I'm trying to get a system set up using FinalBuilder ( www.finalbuilder.com ) to automate a complete product build. I'm running into a problem doing a Get from Label in the FinalBuilder project - sometimes (most of the time, actually), tf.exe gets stucks after getting all of the files and fails to terminate currectly. (By stuck I mean that the process continues to exist, is consuming no CPU time and performing no I/O operations). Now, there's every possibility that this is really a FinalBuilder issue (and I've inquired on their foums as well), but I thought I'd ask here in case anyone knows of any reason why tf.exe might "hang" after getting a bunch of files. It "smells" like tf.exe is waiting for console input, ...Show All
Visual Studio Express Editions Breaking a long code line?
How can I break a long code line all you need to do is terminate each line with " _". For example: Dim newConnection As System.Data.SqlClient.SqlConnection = _ New System.Data.SqlClient.SqlConnection( _ "some connection string here") ...Show All
Visual Studio 2008 (Pre-release) how to bind to a dictionary (or something like that)
I've got a dictionary<String,Object> and want to bind a xaml object to the key of the dictionary so it shows the corresponding value. So far I only found ways to bind to get/set accessors, or to attached DependencyProperties, but can't find a way to bind to the key of a dictionary. Is there any way to bind to something like this thanks, Sam I see now, I made a mistake: I forgot to include an example. Say I got a dictionary like this: Dictionary < String , String > row1 = new Dictionary < String , String >(); row1.Add( "No" , "1" ); row1.Add( "Name" , "Smith" ); Now I want a binding to 'No' and to 'Name'. I want to bind ...Show All
SQL Server Very possible log shipping bug in '05
I am trying to set up a dual log shipping configuration in SQL 2005 where I have one primary server to two secondary servers. All of the following is being done from the primary server. If I fill out the entire log shipping configuration window with both servers and then press OK, and let it all get set up, and then run the log shipping report, I only get status information for one secondary database - the other one is there but has no information available, yet the setups on both secondarys are OK and the jobs are succeeding on them. If I then go back into the log shipping screen for my database and remove the server that I'm getting no status information for and press OK to actually remove it, then go back in and re-add it and ...Show All
Windows Forms Checkboxes in ListView
I have set Checkboxes properties of the ListView on. When I check on checkboxes, checked items are high-lighted. But the first record is also high-lighted. How can I make it high-light only selected items, not including the first record Which properties have I set wrong Thanks for your assistance! PHUONG_LE Sorry, VB6 questions are off topic for any of the forums at this web-site. Try www.vbcity.com. ...Show All
Connected Services Framework SSO in CSF
hi, Is SSO using the identity manager limited to only usernametoken/kerberos or CA cert can be used too The topic "Using secondary credentials" appears to indicate only the above two options thanks ...Show All
