DanDro's Q&A profile
Software Development for Windows Vista Printing Documents with Windows Vista
I have a Lexmark X6170. They do NOT have Windows Vista Drivers, but I want to print something... I tried installing Windows XP Drivers using a compatibility setting of XP... Didn't work. I tried using Virtual PC 2007 Beta, but it doesn't support USB, therefore no printing support. I also tried making the printer a network compatible thing, but it doesn't work. The printer itself isn't found on the Virtual PC 2007 Beta. Anyway to print using Vista Hello All. nyforever: Well, buy a new printer Don't you just love OS upgrades Seriously though, if Lex doesn't have Vista-capable drivers, unfortunately you're probably out of luck. You might try and get ahold of Lex's tech support line and ask them ...Show All
Software Development for Windows Vista WaitForSingleObject alwasy Object_0
I have a case where my WaitForSingleObject is used by the root thread and Some other thread started by this root thread signals the Event object which WaitForSingleObject is waiting for. But the WaitForSingleObject seems always signaled regardles of the SetEvent function of the child thread. I have tried Manual or Auto Reset and the case is always the same and my Event is started as Non-signaled. Well sometime programming so dense is digging out my brain. I solved my problem But I want to share my experience Never give the same name to the Events that are created with CreateEvent that easy isnt it. Well sometimes jumping those little details puts you in trouble. The effect of CreatingEvents with the same name for different Object ...Show All
Visual C# Display HTML Document in an application form ?
hello any ideas how to display an HTML document on an application form with Visual Studio 2003 using Visual C# thank you David L wrote: Check out the WebBrowser control. For more info: http://msdn2.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx That's what you're looking for thank you so much , but i am not sure if this control is included in the visual studio 2003 , if so, where can i find it ...Show All
Visual Basic Preserve on Commit
I want to process recordset and do periodic commits without losing the cursor. I'm trying to use the "Preserve on Commit" property but I'm getting this msg: ERROR DESCRIPTION: Item cannot be found in the collection corresponding to the requested name or ordinal . Any ideas, anybody, anywhere ------------------------------------------------------------------ Global cnConnect As ADODB.Connection Set cnOracle = New ADODB.Connection strConnection = "DRIVER={Microsoft ODBC for Oracle};" _ & "UID=" & strUserID & ";" _ & "PWD=" & strPassword & ";" _ & "SERVER=" & strDatabase & ";" cnO ...Show All
SQL Server Business Scorecard Integration with SQL server 2000/2005
I was trying to install Business Scorecard Manager Server , for that i have installed SQL server 2000, Analysis services and Service Pack 4 and also have taken mixed mode of authentication . Then i have installed sharepoint portal server 2003 and extended a site . Now when i install BSM server at the end of installation it gives me error that user administrator does not exist in Scorecard server database( Database which is created during installation process itself ). This error comes when installation package is trying to create a query string to already existing SQL server database. Same thing happens even if i take SQL server 2005. Any help in this regard will be really appreciated. Thanks Inder ...Show All
Software Development for Windows Vista Creating contexts/running activities
I have a sequential workflow and 3 child activities. Now my goal is to make my workflow execute again from activity 1 when I'm finishin to execute the second activity (return back). What I'm doing to achieve that is overriding the Execute method on my workflow to provide some custom behavior and bind to the Closed event of each workflow. Like this: protected override ActivityExecutionStatus Execute(ActivityExecutionContext executionContext) { foreach (Activity activity in this.EnabledActivities) { if (activity is ControlFlow.ControlActivity) { ControlActivity controlActivity = (ControlActivity)activity; controlActivity.Closed += new EventHandler<ActivityExecutionStatusChangedEventArgs>(controlA ...Show All
Silverlight (formerly WPF/E) 3d
is there a simple xaml sample of getting started in 3d, I do not want to use any 3d software to output the 3d. A simple box shape and camera viewport would do for starters. Any urls or demos, just cant find any googling it. Richard You probably want to head over to the WPF forums, since 3D isn't supported by the current version of WPF/E. However, I found this blog post to be a good intro to 3D in WPF: http://blogs.msdn.com/danlehen/archive/2005/11/06/489627.aspx ...Show All
SQL Server Invalid object name 'dbo.sysmergesubscriptions'. error
Hello, the Expired subscription clean up agent is failing. When I try and run the command via studio mgmt I get the following error. Any help would be greatly appreicated. We have 5 publishers and one distributor all on a sql2k5 sp1 box. Command run: EXEC sys.sp_expired_subscription_cleanup Error: Msg 208, Level 16, State 1, Procedure sp_MSdrop_expired_mergesubscription90, Line 21 Invalid object name 'dbo.sysmergesubscriptions'. Greg, It seems the arizona one might be the issue since under replication it's not really there nor should it. How can I fix this Thanks in advance. John pub_arizona 4 pub_colorado 4 pub_nevada 4 pub_sandiego 4 pub_f_sandiego 4 pub_f_nevada 4 pub_f_colo ...Show All
Visual Studio Problem with report from DataSet
I have report with subreports and parameters. When I use database all works fine. What I'm doing: 1.create new ReportDocument 2. FileName = reportPath 3.seting db logon for reports using ConnectionInfo 4. seting db logon for subreports using ConnectionInfo 5. setting default parameters for report and subreports (one value form subreport isn't linked) 6. report.PrintToPrinter -> works fine when I want to do this on my DataSet I receive Exception: "Missing Prameter Values". I don't know where is the problem, all worked fine whit database. How to work with reports that use subreports and parameters connected to DataSets Do I have to connect each subreport to dataset separately I've done like this ...Show All
Software Development for Windows Vista How to make parallel tasks in a workflow
Hi I have to make a Workflow for document feedback on SharePoint. Let me explain my problem: To make real parallel tasks in the workflow I have to duplicate the document for each workflow user in a folder called “working”. Each workflow users have to make comments in their own document. When all the users have completed their tasks, the administrator read and merges all documents. My question is: How do I assign the workflow to each document and user Do I have to create a workflow for each duplicate document I draw my workflow for a better explanation Main Doc | Work Folder------------------------------ | | | | Main Doc copy1 ........... Ma ...Show All
Visual Studio Express Editions validating an entire form
i have errorproviders on my form to ensure fields are valid, but im wondering what the best way is to check this on the OnClick button event at the moment im using this logic:- If epError.GetError(txtCode) = "" Then Me .DialogResult = System.Windows.Forms.DialogResult.OK Me .Close() End If shouldn't the epError control have a boolean property to tell me whether [any] controls that have been assigned to it are still invalid To find out if the entire form is valid on a click event, call the Form.ValidateChildren method. This will fire the Validating event for all children controls on the form. You then handle the Validating event for each control you want to check on ...Show All
Microsoft ISV Community Center Forums excel load event
Hi, Currently I have created a macro which I should place inside the load event How do I find the load event of an excel template. This is to place a code in there so it runs when excel template loads. Thanks ...Show All
Software Development for Windows Vista Can I turn off the Vista built-in CD-Recording ?
Is is possible to turn off Vista CD-Recording (CD/DVD burning function) like in XP Thanks. Press WinKey+R and type “gpedit.msc” (without the quotes). Navigate to: User Configuration > Administrative Templates > Windows Components > Windows Explorer In the right hand pane, double click on “Remove CD Burning features” Set the value to “Enabled” and press OK. ...Show All
Visual Studio External link checker for HxS Help system
Is there an external link checker for HxS help systems If so, can someone please direct me to it. Thanks There is nothing currently available from Microsoft, but I am aware of one 3rd party solution - Helpware has a tool called FAR that contains Help 2.x related utilities including link checking. http://helpware.net ...Show All
Visual Basic Enter Key and a Listbox
I read all of the post about the enter key. How do you get it to work on a listbox I tried this in the listbox's keyup event with out any luck. If e.KeyCode = Keys.Enter Then Button2.PerformClick() End If Davids Learning You may want to trap for the return key also ...they have two different key codes...so this should work no matter if you press enter or return: Private Sub ListBox1_KeyUp ( ByVal sender As Object , ByVal e As System . Windows . Forms . KeyEventArgs ) Handles ListBox1 . KeyUp If e . KeyCode = Keys . Enter Or e . KeyCode = Keys .Return Then Button1 . PerformClick () End If End Sub ...Show All
