Kevik's Q&A profile
Visual Basic How do I get the latest version of the application to display
I used the splash screen template and the code is already written for the version, but it does not work. Is it something I did wrong or was it shipped like that and will be fixed in release. I have create an "About" item on the menu and have tried all type of "system.assembly.version" namespaces without any luck. found it elsewhere... Code Snippet if (System.Deployment.Application. ...Show All
Windows Forms Select a single cell in listview
Dear All, I am using the listview with C# in VS.NET 2005. I would like to select a single cell (not just cells in the first column). I want to have a cell free selection and it highlight the selection in the cell as well. Appreciate your help. LG To my knowledge the ListView control does not support this. You need to use a DataGrid or DataGridView control. I’d recommend using the DataGridView c ...Show All
Visual Basic How to get Stings of 8 bit Chars from Comm Port
I am using an MSDN RS232 sample VB code in VSTS2005 to read and write from/to the Com1 port. But the example uses System.Text.ASCIIEncoding.GetString which only handles 7-bit ASCII characters, not 8-bit. I don't see any Encoding format that will return strings of simple 8 bit bytes of characters from the Serial port unmodified. What Encoding code can I use for simple strings of 8-bit bytes so that I can handle 8-bit binary data from the COM1 ...Show All
Windows Forms send message to other process
Hi:( The problem is: I have two winform processes A and B. When form A is closing I want him send a message to form B, so that form B can save the data. How can I do that Thanks in advance. mm shoulnd be so hard.. but the real problem is.. if the process B is killed there wont be a closing event.. The best way i know yet(i`m far far far from an expert) is to do it with socket, i know you can do it with interprocess but that my ...Show All
Windows Forms SQL SELECT statement
SELECT * FROM POSTCODE WHERE STR='THE CRESCENT' AND PTN='' AND CNT='' AND LOC='' I have this statement which I generate from the values of four textboxes. It works fine if all the boxes are completed, however in this case the user has filled in only Street. So here I want to return all the str='the crescent' regardless of whats in the ptn/cnt/loc columns. How can I do it Tweak to make use of generics: List& ...Show All
Software Development for Windows Vista New WWF books in sight?
Hi I have read the Presenting WWF book. It’s ok but a little depracated and not vvery in-depth wich is not what it was ment to anyway. But is there any "real" WWF books on the way Can't find any on schedule which is to bad i think. Regards Anders the only book i heard of is the one that dharma shukla posted about in his blog. point your browser at http://www.dharmashukla.com/ it seems like the ...Show All
Visual C# timer loop from vb5
Hello I was wondering if C# has an equivalent to this: 'loop for .1 second Duration! = Timer + 0.1 Do Until Timer > Duration! Dummy = DoEvents() Loop You can use Application.DoEvents(), but personally I'd use a Timer object (drop a timer onto a form and set it's timeout appropriately, and add a handler for it's timer callback). ...Show All
Microsoft ISV Community Center Forums How to become an ISV
How to become an ISV what are the advantages of being an ISV and purchasing a MSDN Subscription what are the licensing Issues Having a MSDN Subscription and being an ISV can I deploy the developed applications to my clients How much should I pay to be an ISV and have a MSDN Universal Subscription (in Indian Rupees) Can an Freelancer be a ISV Can the Freelancer be a ISV and Work for a Company who is a MS Partner Please answer these questions in ...Show All
.NET Development Socket performance
Hello, I developed a small server web for a SOAP service, that uses Serialize methods, it works very weel, but, the problem is the performance, if the request is made in the same machine where it is the service to run is very fast, however if called another machine, data transfer is very slow. It will be that it has some problem in the way as I am to use the socket a part of Listner code (the HttpClient class it's a owner class, that it ...Show All
Visual Studio text wrapping incorrectly
Has anyone found a way to make the text wrap work correctly in a string field According to business objects, the solution is to replace the USP10.dll with anyone that is <= version 1.421.3790. I have tried this and the results are the same, I'm using the full version of CR XI. Thanks for any help! Hi, what exactly are you trying to do Is it a text field that you have added formulas to Or jus ...Show All
Visual Studio Team System How does the test pick up values from List Boxes
I am trying to do some performance testing for our web application and have recorded a test using data entry from a listbox. However when teh test is run again it does not work as it has no value. The application in the test indicates that some criteria must be entered. You might want to try recording the site in netmon or Fiddler ( www.fiddlertool.com ) so you can compare what a browser does with what got recorded into your web test. You w ...Show All
Visual Studio Team System Whidbey FxCop 1.32 ignores certain methods ?
Does the Whidbey FxCop 1.32 have built in intelligence for ignoring certain methods I ask because I have various rules which check ASP.NET generated assemblies. They run fine using the .NET Framework 1.1 FxCop 1.32 but when I run them on ASP.NET 2 assemblies using the Whidbey FxCop 1.32 none of the private generated methods are visited. This makes me wonder if they are being deliberately excluded. Guy We can chan ...Show All
Windows Forms Shadows Property Problem
I've created a new control (derived from DataGrid) where I want to hide a certain property value of the grid. I use the shadows keyword to hide it. That part works fine meaning that a client using the control cannot see the property.   ...Show All
Visual Studio Newbee Question
I can not find it as a stand alone product. I thought maybe it is package with Visual studio 2005 like eariler versions of source safe. The only thing I can find on Microsoft's site is a road map to Source safe 2005. Are you sure it is a stand alone product Thanks, jjeffrie ...Show All
SQL Server decimals
I need to learn to format text boxes in the report design to not have any decimals but to have commas when needed. Any help is appreciated. I dont understand very well your question but to remove decimals you only have to convert to int =Cint(Fields!field.value) ...Show All
