pjutard's Q&A profile
Visual C++ How to read unicode character??
Hi all, Currently i am doing one project related to unicode file reading, showing the characters in the ListCtrl . I got my result applying CFile, API WideCharToMultibyte & the reverse one.Here I read BOM for each file(.txt),then got the bytes for respective characters. but i have some confusion regarding whether those functions work properly if the character is more than two bytes ,ofcourse it is going to surrogates.I just want to know is there any deficiency/limitation in those fuction If I use wistream is it possible I know its possible. But which is the better way.Tho ...Show All
Visual Studio Reports d/n work in VSTO for Outlook add-in. Sample projs attached. Please help validate that this is a bug.
I've created a test app that demonstrates that reports don't work in a VSTO app. The attached zip contains two sample projects, one VSTO, one standard winform. The Winform works, VSTO, not. The only difference is VSTO. http://us.f1.yahoofs.com/bc/3244135e_L4060b625/bc/VS2005B2/ReportTests.zip BCNaCLDBRJAJSXti I've also submitted it as a formal bug request, so if you can validate, go here and let them know so they'll give it more priority: http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx feedbackid=50543bcc-f651-4724-844e-0943092e6cb4 Help me Obi-Wan, your're my only hope... ...Show All
Visual Basic Limit on Event numbers/space per class
Hi, hope someone can help with this advanced problem in VB6 We have a class which has a number of events defined as follows Event RequestAQuote(ByVal sExchange As String, ByVal sAMR As String, ByVal lVolume As Long) Event RequestAQuoteForCross(ByVal sExchange As String, ByVal sAMR As String, ByVal lVolume As Long) ' Contract / Strategy Selection Event SelectOutrightContract(ByVal objSelectedContract As clsKOEStrategy, ByVal dblPrice As Double, ByVal strPrice As String, ByVal lVolume As Long) Event SelectStrategyContract(ByVal sB_S As String, ByVal colStrategyLegs As Collection, ByVal dblPrice As Double, ByVal strPrice As String, ByVal l ...Show All
Visual C# Adding tables programmatically
I am updating a portion of my application and I need to programmatically add a new table. How can I accomplish this I do not have direct access to the database system since this is being used by other people (this is a public application for anyone). do you mean database table can't you use sqlstr creat if so take a look to this tutorial http://sqlcourse.com/create.html hope this helps ...Show All
Visual Basic Toggle capslock
How can I toggle capslock Visual basic 2005. Windows XP. I'd like to capslock on when the form load. This code doesn't work: Public Class Form1 Private Declare Sub keybd_event Lib "user32" ( ByVal bVk As Byte , ByVal bScan As Byte , ByVal dwFlags As Long , ByVal dwExtraInfo As Long ) Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load Call keybd_event(System.Windows.Forms.Keys.CapsLock, &H14, 1, 0) Call keybd_event(System.Windows.Forms.Keys.CapsLock, &H14, 3, 0) End Sub End Class The error is: Pinv ...Show All
SQL Server HELP: Failed to create the task. (Microsoft Visual Studio)
I created my first SSIS project in BI Dev Studio but get the following error when trying to add a data flow task to the Control container: ================================== Failed to create the task. (Microsoft Visual Studio) =================================== Value does not fall within the expected range. (Microsoft.SqlServer.ManagedDTS) ------------------------------ Program Location: at Microsoft.SqlServer.Dts.Runtime.Executables.Add(String moniker) at Microsoft.DataTransformationServices.Design.DtsBasePackageDesigner.CreateExecutable(String moniker, IDTSSequence container, String name) Any advice greatly ...Show All
Windows Live Developer Forums FireFox bug in V3
I tried my VE v3 app in FireFox and I got the following error: Error: [Exception... "'Msn.Drawing.Exception: Your Web browser does not support SVG or VML. Some graphics features may not function properly.' when calling method: [nsIOnReadystatechangeHandler::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no] Any help is appreciated. I'm surprised to see that nobody has encountered this bug. (since nobody has replied to this message) Or, probably nobody from Microsoft is monitoring this forum!!!!!! ...Show All
Windows Forms datagridview create multiple column header rows
In a bound datagrdiview ss there a way to create multiple column header rows Thanks Simmy No, the DataGridView does not have this feature. -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All
Windows Forms how to change menustrip dropdown backcolor? (2.0)
For instance I want to leave the control color for File menu but onclick change the blue to something else in VS2005 Figured it out, RenderMode in design time or ToolStripManager.VisualStylesEnabled = False in run time. ...Show All
Smart Device Development Development for Command Prompt
Sorry if this is a really basic question. I've just discovered the command prompt for Pocket PC 2003 and was wondering how I could develop console applications using eVC++. Are there any code/project setup examples Thanks in advance. If you have already installed PPC 2003 SDK, Open EVC ceate a new project of type In the dialog box that appears , select the Projects tab then select WCE Pocket PC 2003 Application Select any application type(a hello world if u r really want to do a quick start, ) Buidl and deploy and you are done, -Srikanth ...Show All
Visual FoxPro Old Fox Pro Code Please Help
I have the following code from an older version of Fox Pro. I typed it into VFP 8 and I can't get it to work. Does anyone have any suggestions SET BELL OFF SET TALK OFF SET DEVICE TO SCREEN CLEAR ****** NUM1 = " " NUM2 = " " NUM3 = " " NUM4 = " " NUM5 = " " NUM6 = " " @ 10, 5 SAY "ENTER LOTTERY NUMBERS" @ 10, 50 SAY NUM1 PICTURE "XXX" @ 10, 50 GET NUM1 PICTURE "XXX" @ 11, 50 SAY NUM2 PICTURE "XXX" @ 11, 50 GET NUM2 PICTURE "XXX" @ 12, 50 SAY NUM3 PICTURE "XXX" @ 12, 50 GET NUM3 PICTURE "XXX" @ 13, 50 SAY NUM4 PICTURE "XXX" @ 13, 50 GET NUM4 PICTURE "XXX" @ 14, 50 S ...Show All
Visual FoxPro How to open the table exclusive for ZAPping?
Hi Sir, To be able to PACK/ZAP a table it must be open exclusive, such as USE myTable EXCLUSIVE .... My question is, Why there isn't a place in data enviroment (TAB DATA) to stated that myTable should always open EXCLUSIVE so I can pack/zap anytime Please tell me where is the proper place (the way) to open a table exclusively SELECT myTable USE USE myTable EXCLUSIVE thanks Joe If the table is open and you want to use it exclusively temporarily so that you can zap it, you can do this: SELECT mytable USE DBF() EXCLUSIVE ZAP USE DBF() BUT, as others have pointed out, using tables exclusively is not good when you have multiple u ...Show All
Visual Basic Database Questions
I'm fairly new to creating programs that utilize databases. I have just purchased a book about ADO.NET, but I wondering if anyone could offer some opinions on where to start. In particular, what database program should I begin learning Most of the applications that I want to develop will really only need a local unshared database to systematically store and recall information. I would really like to avoid spending a large amount of money on purchasing a database program, so would MSAccess or MySQL be a good place to start Also, where can I find a good tutorial on the basics of building database applications If anyone else has any point ...Show All
SQL Server Also for Sql server 2000
i get this error when i wanna install sql server 2000 http://img287.imageshack.us/my.php image=error4pt.png kk thks... i cant afford to buy.. haha.. but its okie.. ill try install spl 2005 ...Show All
SQL Server Setting Multi-value parameter by default option - Programmatically
Hi, I want to set the default values to my parameter from my .Net Application. Right now, I have set the default values to my multivalue parameter at BIDS(Business Intelligence Development Studio) IDE only. Samething I want to do programmatically. How it can be done Any Ideas. I am giving my sample of existing code, One of my Report Parameter name is PeerGroupID and having Multi-value option set. ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms. ProcessingMode .Remote; System.Collections.Generic. List < ReportParameter > objParams = new System.Collections.Generic. List < ReportParameter >(); o ...Show All
