webflier's Q&A profile
Windows Live Developer Forums Need Add-in event to fire when Messenger starts
Hi there. This should be a simple one. I have an add-in but I need it to fire an event as soon as Messenger is started by the user and their status is set to OnLine. From my testing, it only loads and fires the Initialize event if you manually enable the add-in or if you change the status *after* manually enabling the add-in. This does cause Initialize to fire for that session, but I need for it to happen automatically the next time Messenger starts. I am listening for StatusChanged, but if someone can tell me how to listen for the status = OnLine then that might work as well, but it doesn't solve the auto-load issue. Any thoughts on how to get Messenger to auto load the add-in and fire an event Tks in advance. AL I have ...Show All
Visual FoxPro DataEnvironment open tables, sometimes fails.
Considerations: a) This application ran several years in VFP6 without problems. b) The problem appeared after compilation on VFP9. c) She runs on VFP9-SP1 - Windows Server 2003 SP1 - Terminal Services. d) The server holds 1GB RAM; (15 users max in simultaneous) e) The application is composed by 280 forms; 250 tables in 4 databases. EXE file 10.5MB. f) All forms hold the following configuration: .DataEnvironment.AutoCloseTables = .T. .DataEnvironment.AutoOpenTables = .T. (No code in DataEnvironment events) .DataSession = 2 (Private DataSession) f) The error happens occasionally independently the user, form or server load. (I don't get associate any server load variation.) g) We regi ...Show All
Visual Basic Help again...need help with a code i do not know how to make
Hello,everyone again. I need help with a code i need to add the final touches to my lights out app,this is my problem I need to make a If then with all of these in it Button1.backcolor = color.black button2.backcolor = color.black AND SO ON TILL Button25.backcolor = color.black So i can make it If button1-25.backcolor = color.black then msgbox ("Congrats You have Passed the level,Please click on next to continue to the next level") End If But since button1-25 does not work,could anyone help me Thanks In Advance! yes that wont work because you are trying to take 25 away from button1 but thats invalid as you are dealing with a control object, not a numeric v ...Show All
.NET Development Function and argument matching with regular expressions.
I have strings like: MyFunctionCall(a.b(c.d.f, a).c,a.b.c.d) I would like to have a regular expression that can return if it is a function call, the name of the function and a list of the arguments to the function. I have started with: Regex regex = new Regex ( @"( <function>[A-Za-z]+)\(" + "\r\n" + @" ( >" + "\r\n" + @" [^()]+ " + "\r\n" + @" " + @"| \( ( <arguments>)" + "\r\n" + @" | \) ( <-arguments>)" + "\r\n" + @" " + @" )*" + "\r\n" + @" ( (arguments)( !))" + "\r\n" + @"\) | ( <function>[A-Za-z]+)" + ...Show All
Visual Studio Team System Help needed!!!
Hi Guys I have visual studio team edition loaded on my machine and two other developers working on a project with me.I need a way we can share the code and look at what the other developers have done. This will be help us better write the program we developing. Any suggestions to any software or ways to do this is appreciated. Thanks Ashish Are you using Team Foundation Server Basically you would put the code in a source control repository and allow the other devs to access the code so you are all working on the same code base. TFS has the built-in Source Control repository and works with Team System. Devs then can check-in/checkout code from the repository. -paul ...Show All
Windows Forms VB2005 Set focus to cell in new row in datagridview
Hello, How do I set the focus to a curtain cell in the NEW row in a datagridview Thanks in advance... ...Show All
SQL Server How can I launch a report without generating it automatically?
I am accessing a report in IE by typing the following link in the address field: http://localhost/ReportServer/Pages/ReportViewer.aspx /Reports/TheNameOfMyReport When the page is loaded, the report is generated automatically because all report parameters have default values. How can I modify my report so that it is not automatically generated I would like to wait until the user clicks on "View Report" before rendering the report. As a temporary solution, I removed the default value of one report parameter but I would like to get it to work even if I leave all default values in. I have seen sites where they describe a list of extra parameters you can include in the url to modify the behavior of the report like: ...Show All
.NET Development Modifying Access query from .NET
We have application where we need to be able to update the access 2000 queries at startup of applications. How do I do that programatically A Procedure is defined as an action (insert, update or delete) query in Jet SQL. You should be using a View for SELECT queries. If it's "not working" then you will need to specify the error you are encountering when performing the operation. ...Show All
SQL Server Need help with SQL statement
I have the following SQL statement that pulls in the correct data, however I need one of the columns from one of the tables to pull in ALL records even if there are not any. Okay, so I am still running into some problems. Here is my select statement (this is using ODBC for an AS400 DB2 mainframe): SELECT DISTINCT QS36F.UEVTREG.ARM, QS36F.UEVTREG.REG, QS36F.UEVTREG.SHOWDT, QS36F.UEVTREG.TRIAL, QS36F.UEVTREG.BRDCOD, QS36F.UEVTREG.BRVAR, QS36F.UEVTREG.CLASS, QS36F.UEVTREG.DIV, QS36F.GRPMST.GROUPCODE, QS36F.GRPMST.BREEDCODE, QS36F.BRDMST.BRDESC, QS36F.UEVTJUDGE.JUDGENAME, QS36F.UEVTJUDGE.JUDGE, QS36F.UEVTREG.EVENTCODE FROM QS36F.UEVTJUDGE, QS36F.UEVTREG, QS36F.GRPMST, QS36F.BRDMST WHERE QS36F.UEVTJUDGE.EVENTCODE = QS36 ...Show All
Visual Basic Terminate the function
I have two forms so called "form1" and "form2". I have a function in form1 which will run a calculation, show form2 and display the progress and result on form2 during the process. I would like to click close button on form2 to terminate that function in form1 during process. How should I do I would suggest something similar, but instead of using a thread pool thread and the abort method, I'd suggest using the BackgroundWorker component. Best regards, Johan Stenberg ...Show All
Software Development for Windows Vista About WorkflowRuntime.CreateWorkflow
see Code1: WorkflowRuntime workflowRuntime = new WorkflowRuntime(); workflowRuntime.StartRuntime(); Type type = typeof(MyWorkflow); workflowRuntime.StartWorkflow(type); Code2: WorkflowRuntime workflowRuntime = new WorkflowRuntime(); WorkflowInstance instance = workflowRuntime.CreateWorkflow(typeof(HelloWorldWorkflow.Workflow1)); instance.Start(); question: why i can't find CreateWorkflow method of Workflowruntime in my SDK document, what is the difference between them Which version of WF are you using StartWorkflow has not been around since Beta 2 I think. You should probably upgrade to a more recent build. Go here for more information on CreateWorkflow. ...Show All
Windows Live Developer Forums Browser Capibilities
Am I right in saying microsoft virtual earth is not compatible with netscape, mozilla or opera I've been having many problems with these browsers, and when i go to the virtual earth site in these browsers, it opens a different kind of page then you'd see in IE or FF. I was wondering if there is any way around this. I am targeting these browsers, so it's quite a big problem. Thanks for your help. If your using ASP.NET AJAX you can use: Code Snippet //detect non-compatible browsers SupportedBrowser: function () { var supported = false ; //IE if (Sys.Browser.agent == Sys.Browser.InternetExplorer && Sys.Browser.version >= 6) { supported = true ; ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How will it be the content creation for XNA??
Hi people, I want to know if XNA will provide it's own tools for content creation, or what formats will it support (COLLADA, .X). And what about a GUI System, will it have one I'd like to see whatever could be made available from the meeting. I know everyone is busy getting ready for Wednesday but any info someone could share would be good. ...Show All
Visual C# Am I setting up my architecture correctly?
Im a begining C# programmer and was hoping you guys could help me. Im working on my first real project and I am a little confused on how exactly to set it up. I've read so many articles on this, but they all seem to be saying different things. Here is a psuedo code example of my current setup: //Data Access Layer class EmployeeDA { public void Insert(Employee emp) { //code to add employee to db } //similar methods for Load, Delete, Update, etc } //Business Logic Layer class Employee { private int id; private string name; private EmployeeDA = new EmployeeDA(); //here would be the code for the properties and constructors public void Insert() { EmployeeDA.Insert(this); } //similar methods for Load, Delete, Upd ...Show All
Internet Explorer Development Starting Internet Explorer 7 with multiple url paramters
I need to be able to open Internet Explorer 7 with several url paramaters so that each url will open at the same time. I would like to be able to do this from code (ie .NET Process.Start() command). Any suggestions would be much appreciated. There's no way to do this just using shell execution. You can CoCreate an IE instance and then call .Open on it, passing the new OpenInNewTab constant ( http://msdn.microsoft.com/library/default.asp url=/workshop/browser/webbrowser/reference/enums/browsernavconstants.asp ) to Navigate2 ( http://msdn.microsoft.com/library/default.asp url=/workshop/browser/webbrowser/reference/ifaces/iwebbrowser2/navigate2.asp ) See also http://msdn.microsoft.com/library/defau ...Show All
