Carl J's Q&A profile
Software Development for Windows Vista Which style should I use for such workflow?
I have a workflow working like this: It is basically linear from activity 1 to activity 2, activity 2 to activity 3, ....activity n-1 to activity n . But it is possible from activity n to go back to activity n-1. Is there a simple way to handle this in WWF framework Thanks, Chester Chester, You can either use the State Machine Workflow and model your activities in discrete states (once you're ...Show All
Visual C++ Is there any thing equivalent to NotOverridable in C++?
Hi guys, My problem is this. class Base { public: void OneFunction() { cout<<"Base"; } }; class Derived:public Base { public: //overriden, I ...Show All
SQL Server OPENROWSET using Visual FoxPro Provider error 'Could not fetch a row'
Hi, I have 2 separate clients experiencing this problem, Both systems are Win 2000 Server with Small Business Server 2000 (SP4) SQL Server 2000 (SP2 upgraded to SP4, SP4) Exchange IIS etc We use SQL Server to connect to FoxPro 2.6 Tables. We are using OPENROWSET as follows: Select * from openrowset('VFPOLEDB.1','C:\Client Data';;,'Select * from cm') We are now getting this error: Server: Msg ...Show All
Visual Basic VB.Net
How do I start a Access Database for within VB.Net ...Show All
.NET Development Get a value from an SQL database into a Session Variable
Hi, I'm using the 2005 beta. I have an SQLDateSource that get a table returning 1 row with 2 cols. What do I need to do to store a value into a sessions variable. IE Table Username , BranchID Patmca , 1 Session("BranchID") = Any help Thanks Paddy Session("BranchID") = MyDataTable.Rows[0]["BranchID"]; If you have a DataSource then it would be MyDataSourc ...Show All
Visual Studio Express Editions Input Mask for IP Address
How would i make an input mask for an IP Address where if you press period it will go to the next octet i.e. you can type 192 (period) 168 (period) 0 (period) 1 and it will return 192.168.0.1 I know that I can use 099.099.099.099 as my input mask, but then they have to put in all leading zero's or cursor over. Any ideas Hi John, Why not just use four MaskedTextBox controls for entry (each with the appropriat ...Show All
Visual Studio Team System Migrate work items from Beta 2 to Beta 3?
Ok, first of all let me state clearly for the record. I fully realize that MSFT does not officially support work item migration from Beta 2 to Beta 3. I also realize Beta 2 did not have a GO-LIVE license with it, so I am officially on my own on this one. Having said that, "un-officially" is there anything I can do to half-way get this to work When my team moved from Beta 1 Refresh -> Beta 2, we exported all of our work item ...Show All
Visual Basic Databinding to a Checkbox
I have a simple form with 2 checkboxes which are Databound to an object, the properties of which are of type boolean. The problem I have is :- I am using the CheckChanged event. When I check the Box, the value of the UI control is correctly changed, but the value in the object does not reflect the change i.e. the Object seems to lag behind the form. If I subsequently click on another control, and then check the values of the control and the obje ...Show All
Visual Studio Express Editions Benefit Portal
Hi, I am trying to access the benefits for registering the VS Express apps, but when I click on the link from the e-mail I was sent, I get redirected to the Microsoft Connect page. I registered, but all I get is a list of beta programs that I can participate in with no mention of the benefits Where can I access the stock photos and icons Can you confirm the URL I am using is correct http://go.microsoft.com/fwlink/ LinkId=52054 Thanks, Steve ...Show All
.NET Development ConfigurationManager does not read connectionStrings from app.config
Hello, I have created a class library with this app.config: < xml version = " 1.0 " encoding = " utf-8 " > < configuration > < connectionStrings > < add name = " AppConnectionString " connectionString = " Data Source=(local);Initial Catalog=mydb;User ID=myui;Password=mypw " providerName = " System.Data.SqlClient " /> </ connectio ...Show All
Visual Basic Creation of a PDF file.
Hello, I'm building a program, and I need ot convert a lot of word documents to one pdf file. Does anyone know about a class library or a code that can do it Even if the code can only make one word document to a pdf and then merge the PDF files. Thanks, Ofir. you could concatenate all those word documents into one, then use adobe's pdf online creator ...Show All
Visual C++ Application works great on development enviornment but fails on any other XP Pro computer....
Users get the message: "This application has failed to start because the application configuration is incorrect. Reinstalling your application may fix the problem." Does anyone know how to solve this problem I'd like to make sure my application runs on 98SE, WinXP Pro etc... any help Thanks very much in advance! (MFC but no .NET, and I tried to link everything statically....) build log follows: Creating temporary file "c:\Documents and Setting ...Show All
SQL Server Using custom assembly problem. Help!
I've created C# assembly which was included into Script Task code as following: -------------------- Imports DTX55AppDefaults.DTX55ApDefaults --------------------- The ScriptMain window recognize this assembly and can see all methods with no problem. The class View window see the assembly with whole list of methods with no problems. I build the code when ScriptMain window was open and save the code. Then I close window and run the package in Deb ...Show All
Visual Studio Difficulty setting ReportParameter
I am running into issues with setting the ReportParameter method. I am dynamcially setting an ObjectDataSource that is connected to a class object, and dynamically setting a ReportViewer Object. I am running into issues setting the parameters for the report dynamicallly. Here is my code: ------------------------------------------------------------------------ public partial class ProductReport : System.Web.UI. Page { protected Repo ...Show All
Visual C# Casting an enumeration that has a defined type..
public enum foo : ushort { foo, bar } ushort test = foo.bar; Cannot convert from 'Test.foo' to 'ushort' Sure, I can make variable of type foo, but I'm encoding the value to a network stream, so I want it as a ushort. The thing is, I specifically told the compiler the enum is of type ushort, so why do I have to typecast it You need to cast it :-) ushort test = (ushort)foo.bar; Oh - you sai ...Show All
