Jon Watte's Q&A profile
Windows Forms Getting the DocumentInfo from a file
I need to find out what tags there are in the document info pane of a file. In XP, you can set some properties to a file, like title, description and such. How can you access this though code Thanks in advance. There are many different kinds of files, each with their own way data is stored. Unfortunately this means you need to have code that extracts this information for each file type you want to dis ...Show All
Windows Forms Custom DatagridviewColumn/Cell
Hi, I have tried to build my own DatagridviewColumn/Cell based on the DateTimePicker- and the FilePath-Examples. But it doesn't work. I've found the FilePath-Example only in cs, is there a vb-Version too Please help. Here are the code: Imports System Imports System.Drawing Imports System.Windows.Forms Imports System.Windows.Forms.VisualStyles Public Class CountryColumn Inherits DataGridViewColumn Public ...Show All
Visual C++ How do you start it up????
#include "stdafx.h" #include <stdio.h> int main() { printf("hello world"); return 0; } okay i got this written in Visual Studio C++ Express Edition Beta2. How do i start it up please tell me the steps i need to do. Thank You You can press F5 to run your project or look inthe Build menue for running your project. You really need to read in the help rather than depending on the folks in these forums. Thanks, Ayman ...Show All
Visual C++ Can I add a user defined Language? (AFX_TARG_MYLANGUAGE)
Hello, We are implementing multi language for a couple of our products, and one of our developers was wondering if it would be possible to add a user defined language. The reason for this, would be that we could make different screens / layout in the same language, but for different clients. The combobox on the dialog after "Insert Copy" in the resource editor should list this entry, otherwise we would have to manually edit the .rc file to cop ...Show All
.NET Development SSL Socket Request C#
Hi, I have issue communicating with SSL sites. I would like to receive data from a SSL (HTTPS) site. I am using Socket class in C# my code is similar to the code below. As you seen there are no indication of how to behave with a SSL request. class MyClient { public static void MyGet( string sHost, int iPort) { IPHostEntry IPHost = Dns.Resolve(sHost); Console .WriteLine(IPHost.HostN ...Show All
Visual Basic Interval Timer Class: Timing Intervals
Since I'm doing a lot of graphical animation currently, I needed the ability to time how long - time-wise - one methodology takes compared to another. Here's a class to do accurate timing, specifically, with a fine granularity (this code is extracted from some C# code and some C++ code): Public Class IntervalTimer '---- Win32 API Calls Private Declare Function QueryPerformanceFrequency Lib "kernel32" ( ByRef Frequenc ...Show All
Visual Studio Express Editions Problem Publishing
When I try to publish my VB .Net code, I get a series of errors relating to the length of the file names/directories: Error 2 Unable to copy file "bin\Release\Filllmark Saleshelper Configurator.exe.manifest" to "bin\Release\Filllmark Saleshelper Configurator.publish\Filllmark Saleshelper Configurator_1_1_1_0\Filllmark Saleshelper Configurator.exe.manifest". The specified path, file name, or both are too long. The fully qualified fil ...Show All
Software Development for Windows Vista Question on SDK/Vista Developer content?
Hi all, We'd like to get your opinion on how we should spend some of our resources on developing content that is targeted at you, the developer. We are feaverishly working away at producing API documentation an other things, but what areas do you feel need more work We have some resource allocations to make and you input would be very valuable here. I am talking about additional conceptual things like application compatibility, migrat ...Show All
Software Development for Windows Vista Automation element for PasswordBox
I cannot obtain an AutomationElement for a PasswordBox control neither via AtomationElement.FromPoint nor via TreeWalker. Is it restricted by design or is there any way to get this Automation Element Thanks, Vlad. If the PasswordBox implements the UIAutomation Provider interfaces you should be able to access it. Password controls have ControlType.Edit and have IsPasswordProperty set to true. You c ...Show All
Visual FoxPro VFP 9 and Installshield
When I try to create a setup for my app written in VFP 9, I am getting the following error in Installshield: ISEXP : warning -4354: The build was unable to extract COM information from the file C:\MyApp\MyApp.DLL in component MyApp.DLL. Please ensure that the file is self-registering and verify that the self-registration process does not fail. I am running Windows 2003. Any tips or leads on why this is happening As the foxpro install walkthrou ...Show All
.NET Development web service authentication
how can i athenticat in web service and is it secure Hi pooya, This page contains the most common authentication scenarios for Web Services with code samples. http://msdn.microsoft.com/webservices/default.aspx pull=/library/en-us/dnpag2/html/wss_ch1_intro.asp Regards, ...Show All
.NET Development Legacy Development (.NET 1.1) in Visual Studio 2005
(cross-posted from Visual Studio General) My company has a significant codebase that has been developed for the .NET 1.1 framework and written in the C# language with Visual Studio 2003. My development team would like to leverage the new tools in Visual Studio 2005, but we cannot upgrade to .NET 2.0 at this time. How can this be done I have been evaluating the Visual Studio Express IDE, and it has&n ...Show All
Visual Studio How should I define filters that work for dynamic help in VS2003/5?
I am trying to find out how to define filters for Dynamic Help that respond to user-defined attributes within the HTML source files (as opposed to the context-sensitive messages emitted by the current object in focus inside Visual Studio). For full details, see below; any advice at all (including "this cannot be done", should this be the case) would be greatly appreciated. Feel free to write to me at edwarddotgrahamatugsdotcom. Tha ...Show All
Visual Basic MSFlexGrid OCX license enforcement
My app has used a MSFlexGrid OCX control for many years. I cannot even say where the original OCX came from - the previous developer found it. After porting to Studio 2005 the app now complains that the OCX is not licensed (see http://forums.microsoft.com/MSDN/AddPost.aspx ForumID=29&SiteID=1) but only on certain boxes - in this case an XP box with only Studio 2005 installed. It works on WinXP and Win2k boxes with both Studio 2003 and ...Show All
Software Development for Windows Vista Using the Rules Engine with complex data containers
We are currently working on an implementation of the WF Rules Engine to validate complex data containers. These data containers contain not only simple properties, but collections of other data containers which themselves may also contain collections of other containers. We are evaluating what a suitable business rule set would look like to validate these containers, and the feasibility of business end-users [or developers] maintaining the rules ...Show All
