Ohio Paul's Q&A profile
Visual Studio 2008 (Pre-release) XAML (office 12) Ribbon control
Hi, is there or are there plans to build an office 12 ribbon control for XAML The 'ribbon' definition in office 12 is already in a XAML like XML format so why not imediatly build a XAML version of the whole office 12 ribbon concept And make that available for all developpers so that we can really have a cross application vista experience for the users. Best regards, Kris Even better: http://www.devcomponents.com/wpfribbon/ ...Show All
Software Development for Windows Vista Mixing ManualSchedulerService and DefaultSchedulerService
Hi, I want to run multiple workflows in a WorkflowRuntime in a WinForm Application. I want to be able to specify the thread to be used by some of the workflows (but not in all of them). This results in the following questions: Am I allowed to add both ManualSchedulerService and DefaultSchedulerService to the runtime Is there a possibility to specify the scheduler to be used by a workflow (Or does the runtime simply take the one currently installed ) Thanks in advance. Nikolay Nikolay, You can only add one scheduler service per runtime. The best way to get the control you're looking for is ...Show All
Windows Forms data to table
The following code get the data from a web service and show it on the data grid in my application. How can I put data into the table which has the same structure as ds in my database I am new vb.net any code example will be greatly appreciated. Dim ds As MyWebService.FetchDataSet ds = FetchData() With Me.myGrid .DataSource = ds .DataMember = ds.MyTable.TableName End With Hi Jim, You might find the following articles useful : http://msdn2.microsoft.com/en-us/library/y2ad8t9c.aspx http://msdn2.microsoft.com/en-us/library/xzb1zw3x(VS.80).aspx http://www.asp.net/webmatrix/guidedtour/sect ...Show All
Visual Basic multiple connections to a tcp listener
i am trying to write a tcp listener that can accpet multiple conections on a port -- basically converting some old vb6 winsock stuff over, index socket connections etc) i am running into some trouble understanding how to make multiple threads, etc -- been digging around and found some interesting code the following code listens and wait for a connection and then creates a child thread each time something connects where i am running into trouble is i cant figure out is 1) in my ReadDataClient() how to get the data that is being read in the thread , 2) how to send something back to the client and 3) how do i tell when it disconnects Public S ...Show All
Windows Forms MdiChild ControlBox still visible even when set to false ?
Hi, I have an MDI app obviosly with many mdiChild forms. What I am trying to do is when you open an mdichild i would like the controlbox of the mdichild to dissappear. Despite adding this code in the form_Load event of the mdichild.The controlBox is still there. Anybody knows in which event I should place the following code With Me .ControlBox = False .MinimizeBox = False ...Show All
Windows Forms App domains Vs Windows Processes....
Hi ! Recently I got into an argument with 1 of my colleague...something to do with the App Domains and the way assemblies are shared etc....heres the gist... In classic Windows programming, if 2 processes(applications, say A1 & A2) are using (referencing) the same dll (lets call it 'D') then there will be only 1 copy of the dll in memory, an ...Show All
Visual FoxPro Copying a file to EXCEL from FoxPro.
PLEASE HELP! I'm using Visual FoxPro 6.0 and EXCEL 2003. I created a query with FoxPro 6.0 and copied the data to EXCEL 2003. The Table size is 33827 records and it only copied 16384 records. It only copied half the code. Why is this Here is the code. close data all set talk on set dele on SELECT 0 USE "c:\documents and settings\bartech\my documents\fmpdata\software code\fmp reports\fmptables\line02.dbf" shared select *; from line02; group by 3,4,5,6; order by 3,4,5; into cursor x select x copy to c:\line02wmake&model.xls type xls may be after u group the number of records a ...Show All
SQL Server Old Excel files after SQL2000 > SQL2005 migration
Hello there! We are having some problems over here after our SQL2005 upgrade. If we try to use an excel file that previously accessed the SQL2000 database (same DSN name and credentials), and then try to refresh the data after the 2005 upgrade, we get the errormessage "[Microsoft][SQL Native Client][SQL Server]User 'DOMAIN\username' does not have permission to run DBCC TRACEON." We have tried to delete and recreate the DSN file.. Tried to use SA user instead (with offcourse full access).. An even bigger problem is that we can not even get into msquery to copy the SQL query to make a new file, the same problem appears. ...Show All
Smart Device Development Visual Studio 2005 and Device Emulator Manager
Just installed the final Visual Studio release and the Mobile 5.0 SDK With the Beta 2, in the Device Emulator Manager, and also in the New Project, we had a direct choice to Mobile 5.0 device, but not anymore why Ok, I can directly access the DESS files, but I'd like to have a project with WM5.0 VGA settings immediately... Thanks The Windows Mobile 5.0 SDK (including the Emulators) is a separate install from VS2005. If you already have it on your machine you may need to run a repair of the installation, alternatively you can download it here:- http://www.microsoft.com/downloads/details.aspx familyid=83a52af2-f524-4ec5-9155-717cbe5d25 ...Show All
Visual Basic File I/O to read a specific lineok wait, I've been playing around with the code, but stupid me, I didnt catch this before,
Hey guys, In need of help. I need to read a line from a .ini file (specifically the 4th line). What it is, is a path to a database which I want to implement as the connection file in my vb window forum --> crystal reports so crystal viewer can pull the data from that database. [CONFIG] ReportDirectory=E:\appdata\ MainframePortNumber=1111 ClientsDB=E:\appdata\clients.mdb ProviderDB=E:\appdata\provider.mdb So I need VB to read the 4th line and it has to pull E:\appdata\clients.mdb and set it as the database path for crystal reports. Can anyone shed some light :) thanks. Since the file is a standard INI file (it appears to be), rathe ...Show All
Visual C++ C++/CLI string tables
I made the move from MFC to C++/CLI about 6 months ago and one thing that really peeves me is the new way resources are handled by Visual Studio 2005. I refuse to directly edit resource files (via the VS resource editor) because it too often messes up the layout of my form or breaks it all together. I've been very bad and placed a lot of string literals in code, until I figure out how I want to handle them. My question is...for those of you who use C++/CLI Winforms, how do you handle your resources (primary talking strings). Do you use the resX files If you create a new form in your application VS 2005 w ...Show All
Visual Studio Team System Team Foundation Server Install Breaks WSS 2.0 SP2
The Sharepoint site no longer works after installing TFS. When I try to navigate to the site where Sharepoint is installed, I get the following web message: The virtual server that is referenced here is not in the config database. Previous to installing TFS, I could navigate to this page with no problems. Even when physically at the computer, I get this message when I try to go to localhost. Any help would be greatly appreciated. Hello John, Can you please confirm the following: 1) In IIS, is the Default Web site started or stopped 2) What Application pool is the Defaul ...Show All
Windows Forms Slow application launch
I was not sure in which forum to put this question. I have coded a fairly large visual basic database application and I am finding that the initial application startup time (cold) can take a very long time, in some cases 30 seconds or more. The project was upgraded from Visual Studio 2003 although I have rewritten much of the code and removed a lot of the old forms (they remain in the project but do not get compiled). I utilise the ApplicationsEvents and the very first thing I call is a splash form. The only code in the Load of this form is to set a label to show the Application version (My.Application.Info.Version.T ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Shadow Mapping for 2D/3D Scene
My scene consists of: 2 TransformedTextured buffers 1 mesh The mesh does not actually get rendered into the final scene but serves 2 purposes: 1) act as boundary for character walk path 2) shadow map is generated from the geometry So here is my rendering pseudocode: 1) Render scene to a Texture surface (shadow map). In this phase, the 2 TransformedTextured buffers are ignored (not rendered) 2) Render TransformedTextured buffers from back to front using alpha blending 3) Render shadow map last, blending it over the TransformedTextured buffers Are there any other (better) methods of rendering shadows onto Tran ...Show All
Visual Basic VB 2005 Ejecting removable media
I'm writing a program that reads and writes to MO drives and I need to be able to eject the MO disk on completion. Any suggestions how to do this within VB2005 would be most welcome. I assume it is that same process as with Zip drives and similar to that for CD/DVD drives. Thanks Using the MCISendString API may be the way to go. The following is an example of opening the CD drive and closing it. Two Buttons on a form with the following code should work. Public Class Form1 Declare Function mciSendString Lib "winmm" Alias "mciSendStringA" ( ByVal _ ...Show All
