Software Development Network Logo
  • Audio and Video
  • SQL Server
  • SharePoint Products
  • Visual Basic
  • Visual C#
  • .NET Development
  • Windows Forms
  • VS Team System
  • Visual Studio
  • Smart Devicet
  • Windows Vista
  • Visual FoxPro
  • IE Development
  • Visual C++
  • Game Technologies

Software Development Network >> Agent00's Q&A profile

Agent00

Member List

vgta
Kirill Tropin
Tryst
Jayaram Krishnaswamy
prashant_katwate
WPF Fan
Charoite
Nick Tompson
noni78
schalti
shailu155
Pedro Martins
Christian Sciberras
F.Costa
Lawrence Parker
chris441962
williamguy
Mike Hadlow
xRuntime
James Alexander
Only Title

Agent00's Q&A profile

  • Visual Studio 2008 (Pre-release) WPF and DirectX

    We are building a CAD aplication. I want know haw easy is to integrate Direct3D/DirectX content into a WPF appication and which are the limitations The way to do this is through hwndhost. Your Direct3D content will target the hwnd and then you can draw the rest of your application content using WPF. I recommend Nick's blog entry on this topic http://blogs.msdn.com/nickkramer/archive/2005/07/18/439680.aspx The hwndhost content will not be usable as a texture, for example, and there are some limitations as to how it composes with native WPF content. -Pablo ...Show All

  • SQL Server Express SP2 Install failure

    Hi, I'm running SP2 to upgrade my current instance of SP1. At the point of "SQL Server Database Services | Configuring components..." it stops with the following error: ##### Microsoft SQL Server 2005 Setup ------------------------------ The installer has encountered an unexpected error. The error code is 2259. Database: Table(s) Update failed ##### The setup log contains the following detail in the "LaunchFunction" ##### <Func Name='LaunchFunction'> Function=ValidateUpgrade <Func Name='SetCAContext'> <EndFunc Name='SetCAContext' Return='T' GetLastError='203'> Doing Action: ValidateUpgrade PerfTime Start: ValidateUpgrade : Tue Feb 27 09:47:13 2007 <Func Name='ValidateUpgrade'> <Func Name='upda ...Show All

  • Visual C# VB6 ActiveX Dll Problem !

    After compiling a activeX dll in VB6. I had tried to use it in my C# application : [DllImport ("MyLib.dll",EntryPoint="Function1")] private static extern int MyFunc (int _num); -> I get an exception "Entry Point not found !" It's my activeX Dll code : public function Function1 (byval num as long) as long ..... How to reuse this dll, Somebody help me ! Hi, Since VB6 is all about COM, you can have Visual Studio do all the work of creating a runtime-callable-wrapper (RCW) for your VB6 dll: Simply add a COM Reference to this dll to your project by using the "COM" tab on the "Add Reference" dialog ...Show All

  • .NET Development XQuery Problem

    can anyone help me fix my XQuery //item[descendant-or-self::item[ancestor::*[@name() != \"option\"] && @locked =\"1\" ]] i can't figure out whats wrong with my query..why it produces an error of invalid token when i tried to execute it.. any help would be highly appreciated.. thanks in advance!! The AND operator in XQuery is just the word "and", not "&&". This is probably the syntax issue. This XPath will be very slow to execute though with nested descendent-or-self axes on the same node name (// is a shortcut for this axis) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Font troubles

    Im a new to XNA so please be patient with me. I'm feeling really frustrated trying to get my own fonts to draw on the screen.  Ive found classes that will take their example image and draw with those fonts.  But I dont want those fonts.  I want mine.  I know that I have to have an image with my letters of my font on it. And that image has to get parsed. Im trying to avoid having to create my own classes and tools to do this. So I downloaded the Bitmap font generater from Angle code. The classes I've found, both here in these forums and at angle code,  that suppose to work with this Angel code tool do not correctly parse the .fnt. At first I was getting exceptions. So I debugged through it and got passed that. But i ...Show All

  • Visual Studio Team System Data not inserted into Web application dB on parameterizing

    I am testing a JAVA web application. when I am recording an insert action, the data is inserted into the Database. When I parameterize that same web test and run it with the setting "ONE RUN PER DATA SOURCE", the test is runing for 'n' number of times. But, the corresponding Data is not inserted into Database. Please let me know where I am going wrong..... Hi, after creating a scenario in the load test you created there is a tree view. In the tree view you will see the run settings node. Go to its properies and you will see Trace option. Just follow what it says there. Hope that helps, guy kolbis ...Show All

  • Visual Studio Express Editions progressbar help

    Hi im new to this programing stuff im using visual basic express edition and im trying to make a program its like a internet explorer and i cant seem to figure out how to get the progressbar to work when im loading the web pages what do i do please help fast! This worked for me: Private Sub WebBrowser1_ProgressChanged(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserProgressChangedEventArgs) Handles WebBrowser1.ProgressChanged ProgressBar1.Value = CInt(100 * e.CurrentProgress / e.MaximumProgress) End Sub ...Show All

  • SQL Server Date values in dimensions

    I need to clear up a bit of confusion I am having about how AS 2005 works with dates.  Say I have the following in the dimensional structures as set up in the relational database (pre processing): sales_fact  --->  promotion_dim And the user wants to be able to break down sales based on the start of the promotion (promotion_start_date). So I could go two ways: promotion_dim           <--- sales_fact   (both tables related at the fact table level) promotion_date_dim <-- or sales _fact  ---> promotion_dim --> promotion_date_dim (actually a synonym of the base date_dim table) I know that the first scenario will work great.& ...Show All

  • Windows Forms Designer forces DataGridView.AutoGererateColumns = false??

    I have setup a DataGridView with a data source of DataTable. In the designer's properties it says AutoGererateColumns= true, but in the designer.cs code it is clearly set to false If I don't change the code it will not display my table properly when the Table is filled with data. Is designer forcingforceing this attribute to false because the datasource is empty at first or what As soon as I do make a change to the design, and save, the designer code flips it to false again. The only way around this is to change it in my init code, or changing the designer code each time I make an edit is this a VS bug thanks, matt I realize that by default it is set to true, but the designer is automatically setting it ...Show All

  • SQL Server SQL Server Mgmt Studio (2005) on WM5 device (Cingular 8525)?

    Can I run SQL Server 2005 Mgmt Studio on my WM5 device (Cingular 8525, a.k.a. HTC TyTn) to manipulate my MS SQL 2005 db on 2003 server box No, unfortunately you cannot run SQL Server Management Studio on your WM5 device. To see the prerequisites for SSMS, you can go to the SSMSE download page: http://www.microsoft.com/downloads/details.aspx FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&DisplayLang=en You have two options: 1) You can run a terminal services client on your mobile device and connect to a PC running Windows which has SSMS. 2) There are utilities available from 3rd party vendors that can run on mobile devices. The latest one I saw was ~$500-$800/server. Paul A. Mestemaker II Prog ...Show All

  • Visual Studio Team System Red X on work items, documents and reports folders in Team Explorer

    TFS Community, I know there has been discussion on this issue previously but none of the proposed solutions has solved my issue. First I have 3 TFS RTM (Trial) instances all in VPC images. In all cases when I access the Team Project from Team Explorer loaded in the same VPC image all project folders appear as they should expanding to show their contents. In 2 cases I am the only user with TFS in the VPC and Team Explorer on the physical machine's desktop. In one instance I was seeing a red X on the workitems folder. Once I deleted the project using TFSDeleteProject and created a new one I saw the same scenario as on the other single user instance: red Xs on the documents and the reports folder. The third instance has been in production for ...Show All

  • Visual Basic Logins

    Can someone point me in a right direction to learn how I can use a login form to login to SQLExpress Server using SQL Authentication I am thinking that I would like to use the login for my app instead of embedding one in my application. Is that wrong to thing like that I am thinking right by using this to gain access to my application and login to the server at the same time Davids Learning what is a good example, and where does she go I got the login to function like it should, thanks again! Is there a way to keep the form from melting away, looks kinda sick just fading out when the login completes.   Ah yea by the way do I have to call that in every form, or once your logged ...Show All

  • Windows Forms Apparent bug in Data Bound DropDown/ComboBox LOB Control

    I know you will just say that this is by design, but it is surely an aweful "feature" that the databound property value of a dropdown is not reflected in the datasource until the dropdown loses focus. This means the selectedindexchange event of a databound dropdown is pretty useless if in that handler I have to do calculations based on the values in the datasource (which of course are not up to date). A sloppy workaround is to read the current value of the dropdown. Another sloppy workaround (which we have implemented) is to call comboBox1.DataBindings[0].WriteValue(); in the SelectedValueChange event of every single dropdown. Am I the only one thinking like this Am I the only one databinding to this control Seriously. ...Show All

  • Visual Studio Tools for Office Bug?

    The following line gives error "Activate method failed" when the oExcel workbook was previously open when the program is run. oExcel.Worksheets( 5 ).cells( nPositions, 1).activate() However, it does work fine when the oExcel object was not open and is opened by the GetObject. All other manipulation of oExcel works fine independently of whether oExcel was previously open or not. The related relevant code is Dim oExcel As Excel.Workbook oExcel = GetObject( "C:\Documents and Settings\Antonio\My Documents\inventory.xls" ) oExcel.Application.Visible = True (manipulation of oExcel) oExcel.Worksheets( 5 ).cells( nPositions, 1).activate() Hi asalce ...Show All

  • SQL Server Sysem.Data.SqlServerCe.SyncStatus' is inaccessible due to its protection level

    I made a merge replication and sucessfully connected with mobile device. Everything works fine. Because I wanna try asynchronous synchronization (which won't stop my application executing when subscribing) I read How to example from MSDN : http://msdn2.microsoft.com/en-us/library/ms172391.aspx But there is a problem with creating SyncStatus class object. I can't get into it and I can't create. maybe some reference will help (I use reference to SQLServerCE). This error stoped my work for now, so I am waiting for some answers. And if it's simple resolution for this problem - sorry. I just started programming applications for Mobile Devices. Best regards. Maciek Wysocki The SyncStatus is just an enumeration ...Show All

©2008 Software Development Network