Rudy A's Q&A profile
Visual C++ Modifying intrinsic property sheet inclusion
Intrinsic property sheets like "Optimize for speed" seem to be added to all projects. It's strange seeing that under a debug configuration. How do I remove sheets such as that one when they're not what I want Thanks, Gary Ok, but why should a non-removable property page be attached to all my projects What if I don't happen to want it I can override its settings, but I'll have to look at it forever in the IDE. -Gary ...Show All
Smart Device Development Custom Control, inheriting from TextBox Control
Hi all, I want to create a simple Customer Control that inherits from the TextBox Control, but am not sure if the same rules apply for Controls in the CF 1.0 Framework as with Stand Win Forms Controls - What I want to do is to be able to add to properties to the TextBox Control that allows me to override BackColor of the Control (preventing the standard grey colour). does anyone know of any good tutorials Thanks Tryst The runtime aspect of a smart device custom control is similar to a custom control targeting the full framework. It's the design-time aspect that is different. The following article details how to create a smart d ...Show All
SQL Server FTP Task issue
The FTP Task I've created fails. It appears to be making the connection initially behind a firewall, but it suddenly switches from port 21 to port 3397. Anyone experience this issue Since my firewall is restricting the connection to just port 21, I can't make a permanent connection. FTP use 2 ports for it work - one for control connection (21) and one for data connection (any other, 3397 in your case, but may be other). ...Show All
Visual C# default()
In going through the Workflow examples, I keep seeing this type of parameter declaration: public string ReportEmployeeId = default (System. String ); I can't find any documentation on this and haven't come across it before. Any help is appreciated. Thanks, Ned This feature of C# comes with generics. check out following link for more details. http://msdn2.microsoft.com/en-us/library/xwth0h0d.aspx Hope this helps. -Jay ...Show All
SQL Server Creating "installation" script
Hi all, I’m newbie with SQL Server. I need to create a installation script SQL (creating tables, indexes, permissions, databases). This script calls other scripts. In Oracle I use @script_name.sql, but in SQL Server I don’t know to do this. Other question: Is there a way to call the Query Analyzer in .BAT file, where the .BAT file calls installation scripts SQL. Thank U very much, []’s Yes sure you can do this, you have to call the equivalent to sqlplus.exe for SQL Server, its OSQL.EXE. The -o Option takes an input file with the statements that you want to execute. Other options are described in detail -S for the server -U for the User ...Show All
Visual Basic XOR encryption in Hex
Hi, I have got the following code where I can encrypt a string and after re encrypt it to decryptit (reverse it). The problem i have is that instead of getting ASCII characters as a result (Hd[[H*^7f...) I need a result in Hex (02A414B6FF...) Dim i, a As Integer For i = 1 To Len(text) a = i Mod Len(key) If a = 0 Then a = Len(key) Transform = Transform & Chr(Asc(Mid(key, a, 1)) Xor Asc(Mid(text, i, 1))) Next i Thank you in advance. Here's the matching decryption method: Dim encrypted As String = " 1F0A1B3B00572000053B0B" Dim decrypted As String = "" Dim key As Strin ...Show All
Visual C# VS.Net 2005 DataGridView problem - locked and uneditable in the inherited forms!!!
This problem occures in visual inheritance scenarios when you inherits from a form that contains a DataGridView. Here are the steps so you can try it yourself: 1. create a Form1 2. add a DataGridView from the toolbox 3. assure that the DataGridView is declared as protected in Form1 4. create an inherited form that inherits from Form1 (Project->Add New Item->Inherited Form) The problem is that the DataGridView in the inherited form is locked - you can't move it in design mode neither you can access it's properties from the Properties window - all the properties are displayed as readonly. I've tried this scenario in VS.Net 2005 Team Su ...Show All
Visual Studio 2008 (Pre-release) New WPF Community Site
We are live on WPF.NetFx3.com. Feel free please to upload or link to your samples. I would love to hear your feedback on the site. Marjan Hi Marjan. I was at Microsoft presentation last week and was ver impress with what WPF could do. My question is. We are in Visual Studio. NET 2003 or 2005. MFC C++. Can we develop WPF in this environment or not . If not , what whould be right route to go Can application integrate inside parts wriiten in WPF and parts whic are not. Thank you, Eugene Feiguelman Software Team Leader Pitney Bowes ...Show All
Software Development for Windows Vista Beta 2 problems with any workflow & designer
Hello, I have a Windows Vista CTP December 05 machine on which I had installed the WinFX RTC CTP December, the Windows SDK CTP December, the Orcas VS Extensions CTP December and the WWF Extensions CTP December. All of them worked OK. I'm using the RTM Visual Studio 2005 Team Suite and RTM SQL 2005 Developer Edition. Now I uninstalled them in the reverse order and it seemed that the machine was clean. I could not see the the WinFX RTC in Vistas uninstall console, but I used the uninstall tool vs_uninst_winfx.exe instead. Is that not enough to uninstall the WWF runtime components There was no entry in Vistas uninstall cons ...Show All
Microsoft ISV Community Center Forums S.O.S Sending Escape Sequence to printer in VB 6
Dear All, I am having trouble trying to send the escape sequence commands to the card printer in my VB 6 program. Could anyone lend me a helping hand on this. Help is very much appreciated. JT Hi JT, Here's the response from our support engineer: According to your description, I guess you are trying to send the printing command to your printer directly through LPT port in VB6 program; however, this is not the recommended way to perform a printing job if you do have a driver with your card printer. And if you don’t have one and you have to use the LPT port directly, please kindly let me know what problem are you ...Show All
Windows Forms Will a 1.0 app run on 1.1?
I have an app built with 1.0. I want to test it on a box with 1.1 installed, but it is not working. How do I configure it to run a 1.0 app on 1.1 box Do I have to build it in 1.1 for it to run on the 1.1 framework Jon If the app is configured to use the v1.0 runtime (in the app.config file ...Show All
Visual Basic Blair Allen Stark
Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $10.00. Assume that no car parks for longer than 24 hours at a time. Develop a console program that calculate and displays the charges for each customer who parked a car in this garage yesterday. ...Show All
Visual C# Web Progress Bar
Hi I am new to this forum and to C#. I am trying to do simple web browser with a progress bar. but so far nothing works. I mean the web browser I did ok but the progress bar did not work. Can anyone help jbattat ...Show All
Visual C# IE Browser Helper Object (plug-in)
Hello All, I have just started to learn Visual C#. Could you kindly let me know if there's an easy way to develop toolbars or plug-ins for Internet Explorer (and, if possible, even for other browser like FireFox, Opera, etc.) in Visual C# Thank you in anticipation, rohit505 ...Show All
Smart Device Development Compile Error converting from evc4.0 the VC++ 2005
This code compiles fine in eVC 4.0 and earlier (been using for years) #ifdef _DEBUG afxDump<<_T("azipStream::m_bZipEntryIsOpen: ")<<m_bZipEntryIsOpen<<_T("\n"); afxDump<<_T("azipStream::m_bZipArchiveIsOpen: ")<<m_bZipArchiveIsOpen<<_T("\n"); afxDump<<_T("azipStream::&m_strOutputPath: ")<<&m_strOutputPath<<_T("\n"); afxDump<<_T("azipStream::&m_strErrorMessage: ")<<&m_strErrorMessage<<_T("\n"); afxDump<<_T("~ ...Show All
