JiriKrov's Q&A profile
Visual C# GridView columns
Hi, I have a small problem with GridView. I have a DataTable with at least 5 columns, the size is variant. I want all columns except one in the DataTable to be visible. anyone know a workaround solution for this Set the size of the column you don't want to display to 0, then it isn't visable. But why do you want to add a invisable column. Store data somewhere else, it sounds like a bad design. ...Show All
Visual Basic [VS2005] 0 width pen still draws a line
Does anybody knows why a Pen of 0 point width still draw a line For example, I expected the following code to draw nothing on the PictureBox : Private Sub PictureBox1_Paint( ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles PictureBox1.Paint e.Graphics.DrawLine( New Pen(Color.Brown, 0), 10, 10, 150, 150) End Sub But i still get a line of one point width. Is it normal, or is it a bug of V ...Show All
Visual Studio Task Class relation to Package
I have a custom package and I have written a class that inherits the Task class to help in my build process. Is there any relation between the Task class and the Package I'm trying to figure out how to access the OutputWindow from my Task class. I found some sample code like this, but I'm not sure how to access GetService from my Task class. IVsOutputWindow outputWindow = GetService( typeof ( SVsOutputWindow )) as IVsOutputWindow ; ...Show All
.NET Development Bluetooth support
hi, i'm searching for information on bluetooth support on the pocket pc for the .NET CF 2.0 , searching the MSDN library i haven't found almost anything, is the only way to handle a bluetooth communication with a PPC using P-Invoke , or are there classes in the CF for handling this communication could anyone point me to the right information Simon Garcia http://32feet.net/ This suite of library provides a .NET ...Show All
Visual Studio Express Editions Service C# Express
Trying to create a simple service for "educational" purposes. Using msdn: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbtskaddinginstallerstoyourserviceapplication.asp To add installers to your service application In Solution Explorer , access Design view for the service for which you want to add an installation component. Click anywhere within the designer's surface. In the Description area of the Properties ...Show All
Windows Forms myGridColumn.NullText Help
I have a datasource and with in that i have null fields which i need to turn to "". whats wrong with my code.. it keeps saying that im out of the index range.. please help.. oConn.Open(); SqlCommand oCMD = new SqlCommand("select&n ...Show All
Software Development for Windows Vista Media Center
I installed and validated Windows Vista 5270 today (Jan 2, 2006). When I tried to load Media Center I got the message "This trial version has expired and can no longer be used." If I reset the computer date to Dec 31, 2005 or earlier, Media Center loads OK. Seems like the expiry date for Media Center in CTP build 5270 has been set to 1/1/2006. Are there any other programs in 5270 that share this problem, and will we be getting updated ve ...Show All
Windows Forms Displaying nested children elements in DataGridView
Hello, Let say I have the following XML file : <Patients> <Patient> <ID>100</ID> <NAME>Sarah Readings</NAME> <DESC>flu</DESC> <FORMULA> <PARAM>panadol</PARAM> <PARAM>linsep</PARAM> </FORMULA> </Patient> </Patients> I would like to display this data in a DataGridView table. Normally I would load it to a DataSet and ma ...Show All
Visual Studio Express Editions Suddenly my Form1 is HUGE!
Visual Basic 2005 Express Edition: My debugging sessions have been going fine, suddenly my Form1 is HUGE! My screen mode is still 1024x768, but, my Form1 is greatly enlarged - like it is in 800x600 mode. I don't know how that happened! I compared the Properties of my Form1 with the Properties of Form1 in a new application and they are the same! How do you mean Your buttons all got bigger Your fo ...Show All
Visual Studio Team System Strange results for Code Coverage for a class using generics
Hi, I have a very strange result when I run code coverage. The result look like this (as I am not able to post a picture here, please look at http://spaces.msn.com/ralfkret/blog/cns!5AA01457E351459A!116.entry ). As you might notice I have a method "MoveNext" selected in the Code Coverage Result pane. But the class "ObjectConnector" does not have such a method. The code hightlighting in the editor window looks kind of strange to me as w ...Show All
Smart Device Development How to get emulator PPC 2003 SE work in .NET 2005 Beta 2??
Hello... I hope someone will help me. My problem is as follows .. I create a new device application and try to run in in emulator.. the emulator starts just fine, but it won't connect to it! At all! The error is "Connection failed. Could not connect to network. Verify network configuration" What should I do Thx to every post... :) I solved the problem by installing the loopback adapter, and manually assigne ...Show All
Visual Studio Team System unique scenarios how to test load testing?
My web application having program name as unique field. Same program name should not be used by multiple numbers. While doing load testing I will record with program name as Program1 and generated the web test. When I am calling this web test in my load test with 10 users all 10 users will try to create the program name as program 1. at this time validation message will come that program name entered is already exit in database. Pls ch ...Show All
SQL Server Scheduled Job Not Working
I have created a scheduled job in the enterprise manager, which checks around 20 different date columns and replaces any non-dates with NULL using the following syntax: - update policy set [exp] =null where isdate (substring([exp],4,2)+'-'+left([exp],2)+'-'+'200'+right ([exp],1 ))=0 go update policy set [eff] =null where isdate (substring([eff],4,2)+'-'+left([eff],2)+'-'+'200'+right ([eff],1 ))=0 go update policy set [written] =null where ...Show All
Windows Forms Announcing vbdotnetforums.com
Announcing a FREE resource and welcoming all that would like to participate. http://www.vbdotnetforums.com Enjoy! ...Show All
.NET Development SslStream and SSL protocol not recognized (i think)
i wrote this simple apps to connect to an IRC server but it doesn't work :( using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; using System.Net.Security; using System.Net.Sockets; using System.Security.Cryptography.X509Certificates; namespace provaSSL { class Program { static void Main( string [] args) { try { string certName = "" ; TcpCl ...Show All
