Ross Watson's Q&A profile
Software Development for Windows Vista WWF requierments for a web site in terms of applications
Hi, i need some informations on the requierments of WWF in order to run a web site for clients bugs tracking please. As i understood i will need : -IIS 6 or higher -.NET 3.0 -ASP.NET 2.0 -SQL Server 2005 (or Express ) ... What i don't know at the moment is the configuration needs as i'm totaly new to web server configuration. Another question is for this web site, should i do a "pageflow" (the workflow handle the http requests) or leave the asp pages handle the workflow life of a bug. Bugs ticket will have 4 or 6 states. There will be near 3 key pages on the site. Samples don't reply fully to my questions :(. Last question, when the workflow is running, can i modify the code of the web pages, build and publish ...Show All
Visual C# Dynamic generate JScript code using C#
I want to generate a JScript source code file using CodeDom in C# . To be more specific, I use class JScriptCodeProvider. Everything seems fine except when generating , for example the following JScript code: public class Evaluator implements IEvaluator { } My C# code for generating that is: CodeTypeDeclaration Class1 = new CodeTypeDeclaration("Evaluator"); JscriptTest.Types.Add(Class1); Class1.IsClass = true; Class1.BaseTypes.Add(new CodeTypeReference("IEvaluator")); The problem is that CodeTypeDeclaration class only has the collection BaseTypes but not something like InterfaceTypes hence instead of generating "implements", it generates "extends" public class Evaluator e ...Show All
Smart Device Development Proxy Connection
hi! i have some problem with the setup of proxy of my smartphone. i want to direct all the traffic of all my programs of my smartphone to a specific port of the smartphone. can i do it how can i setup a proxy connection to the same smartphone to a specific port (how can i setup the proxy to do this ) Not sure if this is possible. How would you identify the proxy with the name Not sure if localhost would work. Besides, you have to have a proxy server type program listening to a specific port on your smartphone. --Manav ...Show All
Visual Basic Reset-button
the best place for ASP.NET questions should be posted on the ASP.NET forums: http://forums.asp.net ...Show All
Microsoft ISV Community Center Forums Running a macro if new mail if from a specific address
Hello, I'm currently trying to write a macro that is run when new mail is received in Outlook 2002 (possibly XP not sure though) I would like the macro to check if the new email is from a specific address (in this case sales@falcontrunking.co.uk ), delete the email, and display a message saying "There is a new message in the Sales Inbox". I know how to run a macro when a new message is received and I know how to show a message box saying "There is a new message in the Sales Inbox" but I don't know how to check if the new message has been received from a specific address. Can anyone help me This should do what you're looking for. You may need to adapt it slightly to fit your ...Show All
.NET Development to chk COmputer connected to Network
Is there any methods/ classes which will provide the information about the computer available in the network or not.. [just like search for computer in the my computer/My network places] note: i am using VS 2003 .. Thanks in advance for your information i am using VS 2003 , .net framework version 1.1. so i am not allowed to access the the following comand my.computer Will you tell me any solution based on my framework[1.1] ...Show All
Software Development for Windows Vista Bound Dynamic properties not retained after save - Using Vihang Dalal's Designer Rehosting
I am using Designer Rehosting code posted by Vihang Dalal. I am also using DynamicPropertiesActivity from Ghenadie's blog. I create a workflow with DynamicPropertyActivity as one of the activities. Added 'strTest' to DynamicProperties collection. In order to be able to use this attribute in the rest of the workflow to bing to other activities, I believe I have to bind 'strTest' to a new member. So created a new Property member say dynProp_strTest. I can now use dynProp_strTest to bind to other activities. So far so good. The issue comes up when I try to save this workflow and then reopen it again in Designer. I can no longer see the new member 'dynProp_strTest' that I created. I understand it is getting lost during Save, but do not exactly ...Show All
Visual Studio 2008 (Pre-release) Cannot access a disposed object. Object name: 'Transaction'
Hi, I have created a website using blinq. when i tried to create a new record in my database i got the following error: "The partner transaction manager has disabled its support for remote/network transactions the partner transaction manager has disabled its support for remote/network transactions ” I applied the solution provided on the link: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=230390&SiteID=1 and after that this problem resolved and now I am getting the following error: “Cannot access a disposed object. Object name: 'Transaction'” Any idea Thanks, Hi Matt, I've been following your work through object spaces and comega, great work on ...Show All
Visual Basic accessing a project level variable accessible via any form or module..
I want to retain the name of a file loaded in a Windows Main Form and then be able to access that same file project name within a user control which is part of the same project as the Main Form. As it is now, I am instantiating a file containing global vars and then instantiating the same file all over again.... with uninitialized vars. Can I instantiate a class above the scope of both Mainform and the User Control which is instantiated before MainForm is loaded, available to both MainForm and User Control, that will persist throughout the runtime instance of the executable If I create a class to be used for global vars, where do I instantiated it Is there a place at the application level I can do this Thank you. -Greg Right now I decl ...Show All
SQL Server Hem! Query Problem
I may not be using this right, so if I am not, be gentle Im in Visual Basic Express, I went to the database explorer and right clicked on my table thats in the database and selected new query. I noticed Query1 at the top, anyhow I laid out my query like I wanted, and went to save Guess What, I couldnot find a save but, all I found was save all. I did choose that, but I cannot find the query now. Started a another query and I noticed ,Query2, so it had to have saved it, but where Is this not the right approach Very Confused at this point Davids Learning Andrea is correct. The New Query functionality is used to allow you to run ad hoc queries against your database. I'm guessing that ...Show All
Visual C++ GetProcAddress doesnt find the function in my dll
Hi all! I've just started dealing with dll-s for two days, but I got stucked and dont see how to move on..so to make my first steps, with some searching I created a Test.dll with a function fnTest() in it. Exactly it's prototype in the header file looks like the following: __declspec(dllexport) int fnTest(void); If I'm using implicit linking it's ok. The trouble is on when I try to link it explicitly. HINSTANCE Testdll; Testdll = LoadLibrary("Test.dll"); They are still good, it finds the Test.dll, but the GetProcAddress returns with NULL, although it should work..(The dll is correct, it worked while linking implicitly): fnTestptr importaltfnTest; importaltfnTest = (fnTestptr)GetProcAddress(Testdll,"fnTes ...Show All
Visual Studio 2008 (Pre-release) debugging WCF service in IIS 7
How do you debug a WCF service hosted in IIS 7 in Vista I turned on Windows Authentication under IIS/WWW Services/Security, and have set the service up for Windows Authentication in the IIS manager. I can attach to the w3wp.exe after hitting the service in a browser ( https://ferrari/CommerceServices/TestService.svc ) but I get "The breakpoint will currently not be hit. No symbols have been loaded for this document." Am I attaching to the right process On a side note, is there any way to get F5 debugging support working for IIS7 hosted services Thanks Hello, You're attaching to the right process, so it seems that the problem is just a debugger configuration issue: symbols path. Try ...Show All
.NET Development Adding column to a dbf file
IDE: Visual Studio 2005 Language: Visual Basic Question1: "How would I alter a table (specifically add a column) that already contains data Question2: "If I am unable to add a column to a dbf file that contains data, then how should I approach this problem " Question3: "Should I use an alternitive way to read and write information to a dbf file (I am looking the quickest way to process data.)" Situation: I am trying to find away to quickly process information that is contained in a dbf file. Processing consists of removing records, adding records, and adding fields to a dbf file. Most important processing must be exceptionally fast. For example: I am currenly working on a way to programmically remo ...Show All
Visual Studio 2008 (Pre-release) SVCUtil.exe
Hi All, I am working in WCF. Here my questio is, is it neccessary that to have Winfx SDK installed on the machine to use the SVCUtil.exe Next question, is there any advantage of using SVCUtil.exe instead of Add service reference Regards, Santha SanthaMind wrote: Next question, is there any advantage of using SVCUtil.exe instead of Add service reference Add Service Reference probably internally uses SVCUTIL.exe If you have used web services, The analogy is WSDL.exe and Add Web Reference ...Show All
SQL Server Allow null in a field in Flat File Source
How could I specify in either FF Connection manager or source that it shouldnt give any error and assume blank or no value as NULL Thanks, Fahad Saurabh Kulkarni wrote: you can go to the properties of the Flat file source and set 'RetainNulls' to 'True'. I think that solves your problem. Except the OP stated that the value was blank or empty, not null (char(0)). ...Show All
