AsifHameed1's Q&A profile
Visual Studio 2008 (Pre-release) Disable visually impairing ClearType in WPF?
Hello, I'm a developer and spend quite a bit of time on the computer. After upgrading to the latest expression betas, I noticed the expression products got a nice UI overhaul. They look nice! However, I wear glasses for viewing objects in the distance because of my myopic vision and I do not use my glasses while working on the computer because I can see things quite clearly up close. I've tried ClearType technology in the past, and tried various ClearType PowerToy tweak settings and still find that clear type anti-aliases fonts and makes them appear "blurry", "fuzzy" and "soft". After working with the new expression products with ClearType enabled for about 3 minutes, my ey ...Show All
Windows Forms MTAThread and AutoComplete
I need to use the WaitHandle.WaitAll and TextBox.AutoCompleteMode. The problem is that the first requires MTA and the latter STA . Is there any way around this rich Hi Rich, Based on my knowledge, to invoke a method on UI Control on the main thread from another thread, we recommend you use the Control.Invoke which is implemented by SendMessage. Due to the Winform is not thread safe, we do not recommend you put it into MTA thread. Also .NET do have more payload than Win32, because if the .NET code underlyingly call the unmanaged code, it need P/invoke or COM interop marshalling(if .NET code call an unmanaged COM, we also need marshaller). Also for .NET code to run, the .NET runtime need to JIT the MSIL to nat ...Show All
Smart Device Development serial port multi thread issue
I have a serial port app that works on a laptop but seems to freeze on the pocketpc. The incoming communication is a constant stream at 9600 baud and it looks like the "comport data received" function doesn't quit even though it is called using "me.invoke". So my question is, why does this work on the laptop and not on the Dell Axim x51 Here is the code: Public Class Form1 Public comport As New SerialPort() Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Try AddHandler comport.DataReceived, AddressOf OnSerialDataReceived comport.DataBits = 8 comport.StopBits = StopBits.One ...Show All
Visual C# many radiobuttons in deifferent groups without GroupBox
I have many groups of radiobuttons in my win form. but I dont want to add Groupbox for every each group of rb. can I set some property in order to group some rb together or using groupBox is the only way to do it thanks in advance for your help, Edward Yuu can use Panel and put a set of radio button in it and use anoother panels and do the same with Radii buttons. You'll get your desired result and Panels will not be visible seprately at run time. Basically to group some Radio buttons you need some container to hold them, Container's Example: Form, Panel, TabControl. In Simple words, a Control which can hold other controls! Best Regards, Rizwan ...Show All
SQL Server Help with query - New to SQL
Not sure how to quite ask this question. I know how to do what I want under MySQL but with MS SQL I'm mystified. The main issue is that the database I'm attempting to access is fairly large so my query times out also that I lack any real access to the server itself except via my workstation. What I'd like to do is try to map the structure of a table in the database so that I can see what fields the front end is current not utilizing. The basic setup is a webserver and access the database via PHP. I'm hoping that this is a simple thing to do but I haven't found a solution yet anywhere online. < php require ("connect.inc"); $db = @MSSQL_CONNECT($hostname,$username,$password) or DIE("DATABASE FAILED TO RESPOND."); ms ...Show All
Visual C# sumary not visible in other projects
Hi! I write a .dll file that contains a class, his methods has coments about sumary, parameters and return. If i use this class in the same project, i view perfectly this comments in the tooltips, but if i put this dll in another project ... i don't view the comments in the tooltips of code insight. From the object browser i can't view the comments either. What's the problem Regards. This is most likely because the project isn't set to build an XML documentation file. Take a look at this walkthrough about using XML doc comments to document a component: http://cyrino.members.winisp.net/9112006/XMLDocs.doc . Hope that helps! Anson ...Show All
Visual Studio ReportVeiwer and cookieless sessions
Does anyone have viable workaround for using web reportviewer in cookieless mode Thanks, Ben. Thank you, I installed SP1 and now reports are showing! There are still problems, however: 1. When in cookieless mode, no images will display on the report. For example, the sort arrows do not load. 2. When trying to export to excel or pdf, I get the following error (which is what I got before SP1 if I tried to view the reports at all): ASP.NET session has expired Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it origin ...Show All
Visual Studio Express Editions Upgrading VB 6.0 project to VB 2005 version in VB 2005 Express Edition
Hello All, I am currently upgrading myself from vb 6.0 to vb 2005 and I am using vb 2005 express edition. I have made a project in vb 6.0, in which I have used windows common controls, but the coding is quite complicated. I want to upgrade this project to vb 2005 version. Can anybody tell me is it possible to upgrade the project in express edition. I tried to open the project in vb 2005, but instead of showing Upgrade Wizard, it has shown a file containing only the details of the contents of the project for eg, the name of classes, modules and forms which are there in the application. If it is possible to upgrade, then please tell me where I am going wrong and how can I do the needfull. Thanks and Warm Regards, Adarshdeep S ...Show All
Community Chat Is the new java goin to nail down .net ???
hello guys , One of my frnds told me that the new java is goin to nail down .net.Is this true Regards jr Web Developer www.iitjobs.com nobugz wrote: Java has always had a sizable lead over .NET. I doubt the new version is going to change that unless they really messed it up... not according to Anders Hejlsberg ... http://www.regdeveloper.co.uk/2006/11/14/c-sharp_hejlsberg/ "If I look at where the innovation is occurring, I would venture to say that we're being a bit more innovative these days than is the case in the Java world," he said. "Java has generics, but they chose to do it in a different way where it's really just compile time sugar that goes away, ...Show All
Smart Device Development emulator uid
Greetings to all, I am trying to identify of unique form PPC. Well, so far everythings ok, I have found code that gets the MAC to me from a phisical device, but the problem I have at the time of getting something that identifies of unique form the emulator to me of the PPC. In this page it says to me how to do so that the most real PPC http://blogs.msdn.com/vsdteam/archive/2005/10/07/478295.aspx In this other says to me that there's no way http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=9997&SiteID=1 I need something that is unique and each emulator can identify me. I let the code to get the MAC to you from the physical device, in case somebody has this problem, because solved. [DllImport("coredll.dll")] private static ...Show All
Visual Studio Express Editions Platform sDK missing files ...?
Hello, Im new to VS EE (Visual Studio Express Edition) i started to learn C++ but once i installed Platform SDK for windows server 2003 r2 i started to get the following ERROR while trying to create a Windows aplication: ------ Build started: Project: test, Configuration: Debug Win32 ------ Compiling... stdafx.cpp c:\program files\microsoft platform sdk for windows server 2003 r2\include\windows.h(157) : fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory Build log was saved at "file://c:\Documents and Settings\User\Desktop\test\test\Debug\BuildLog.htm" test - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== As you can ...Show All
Visual Basic Working with Rich Text
I have been searching the forums and have seen many examples of how to change various items once they are in a RichTextBox. What I am curious on is how to set the text values (i.e. bold, underline etc) before text is inserted. For example... dim txt1 as String, txt2 as String txt1 = "Just some text" txt2 = " and this is other text" rtb.text = txt1 & txt2 If I wanted to make txt1 underlined, and txt2 bold... Can I apply that formatting BEFORE putting it into the RTB, or does it have to be put in first, and then use the "selected area" sections and specify the formatting that way. Sorry if it seems like a silly question. I've never had a need to "massage" anything rich text rel ...Show All
Windows Live Developer Forums Virtual Earth Bugs & Workarounds
Here's a short list of bugs/missing items and workarounds we found while developing Atlas using the Virtual Earth API. http://blogs.freshlogicstudios.com/Posts/View.aspx Id=b733b75e-7cd7-4c0c-97b6-2c53d6ce076b Yeah, not cool. I shouldn't have to type O''Fallon into local.live.com to get directions. I'll add it to the list of workarounds. ...Show All
Visual Basic Using .CSV files, the DataGrid control and the Open Dialog Box
First thing is I want to use a box that gives me a file browsing dialog box similar to other programs if you went to say, File - Open then attach the selected to a varriable. I also want to restrict the file being chosen to .CSVs only. Next thing is being able to parse the data from a .CSV and put it into a DataGrid. There are some exceptions to this though. As an example, here are the first two lines of one of the CSV files I need it for: calldate,callsessiontype,calltype,callsource,calldestination,callanswered,callended 11/15/2006 8:47,Inbound PSTN,inbound,3153787XXX,3158491XXX,11/15/2006 8:47,11/15/2006 8:47 The first part is that I need the entire first line skipped. I need the date which would be cell 1, skip three fields, us ...Show All
.NET Development Asynchronous Vs Threading
Hi, I want to know what are the differences between Asynchronous invocation and threading.Does Asynchronous invocation creates a new thread Thanks, Suresh Hi, There are many differences, actually delegate async invoke (use a thread from the pool (async invocations may use threads or fibers) to execute (like queuing a task on the Threadpool object), so they can not be compared, one uses the other one. Threads are independent execution flow with its own stack. Imagine them as they are a different program running "at the same time" as your main program. When you want a specific task to be exceuted but as soon as you call it you want your program to continue the asynchronic invocation is d ...Show All
