Jeremy Thake's Q&A profile
Smart Device Development Installation of Compact Framework 2.0 failed. Why?
Hi all, can somebody tell me why my installtion of the cf 2.0 on an HP 2490 PDA failed Log file of installation: 26/02/2006 23:14:42: Entered Install_Init(). First Call: Yes Previously Installed: No Installation folder is: '\Programme\.NET CF 2.0'. 26/02/2006 23:14:42: Build 2.0.5238.00 26/02/2006 23:14:42: Device CPU: 'ARMV4I', 05020000 (84017152) 26/02/2006 23:14:42: PocketPC 5.01 26/02/2006 23:14:42: Our trust level is: 2 26/02/2006 23:14:42: User LCID: 1031 26/02/2006 23:14:42: System LCID: 1031 26/02/2006 23:14:42: Invoker's command line: '0x822bd84e-0' 26/02/2006 23:14:42: Memory status, K -------------------------- 26/02/2006 23:14:42: Load : 58 26/02/2006 23:14:42: Physical : 5794 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Direct3D Textures
I am unable to create a Texture from a bitmap, but everything else works correctly. The same code works perfectly in Visual Studio 2003. DX3D = New Device(0, DeviceType.Hardware, MainForm.picDrawArea, CreateFlags.SoftwareVertexProcessing, PP) GetTexture = New Texture(DX3D, bmp, Usage.SoftwareProcessing, Pool.Default) Maybe you have used the MDX 2.0 beta instead of MDX 1.1. As MDX 2.0 is not supported by Visual Studio 2003 this mistake couldn’t happen there. ...Show All
Visual Studio Team System TreeDiff question
Hi All I like the treediff feature. In our company we have been using 'BeyondCompare' to see tree differences. Compare does it well except for the fact I can't export it or even get a print out of it. I was wondering could I export this treediff compare resultset to an excel file somehow or even print out the report somehow just wondering any hidden option somewhere that I might not be aware of Thanks. Hello, Unfortunately there is no printing functionality in the treediff ui. The only workaround I can think of is using command line with /noprompt, then process data using script and open in Excel. Hope this helps ...Show All
SQL Server Table transfer errors
Hello, I am trying to transfer a database from one server to another using the Import Export wizard in SSIS and I am consistantly getting this error on 2 different tables so far. - Execute the transfer with the TransferProvider. (Error) Messages * ERROR : errorCode=-1073451000 description=The package contains two objects with the duplicate name of "output column "ErrorCode" (79)" and "output column "ErrorCode" (14)". helpFile=dtsmsg.rll helpContext=0 idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC} (Microsoft.SqlServer.DtsTransferProvider) This error message is beyond cryptic and when I click on the link it sends me to a web page the just tells me that there is no informat ...Show All
Windows Forms Science Fair Help
Hello, I'm entering a local science fair that my homeschool group is doing, and I need some help with code problem. My Basic idea is to build a Windows Form, with buttons that when clicked play a .wav file (recorded by me) explaining the basics of computer programming and how it has advanced through the years. Because ideas like Binary language are hard to explain verbally, I included a read-only Rich textbox that I can write to, to try and visually express the concept. (Actual C# and Basic commands are to be displayed to show the difference in the languages) I got the sound playing, the button commands, and the overall Form design. Now where the trouble comes in... I am trying to use a Thread.Sleep command while ...Show All
Visual Studio Express Editions Excel access through VB 2005 express
Hi, I am just starting a new fresh thread about this...because it is driving me nuts. I cannot find any help anywhere about his...using VB2005 with Excel 2003. I am looking how to pull data off an excel file...and I have seen lots of code that has excel.application in it, but VB 2005 Express has no clue what it is...I have added the references for office. This is really driving me nuts... This is what I have so far, but I don't know what it is actually doing.... What do I do to access data in the file once its open Dim xlTmp As Microsoft.Office.Interop.Excel.Application xlTmp = New Microsoft.Office.Interop.Excel.Application wb = xlTmp.Workbooks.Open( "c:\test.xls" ) xlTmp.Visible = True What do ...Show All
SQL Server Modifying the SQL query for a Report(rdl) in runtime using C#/VB.net
Hi, I have a custom report already created using SQL Server Reporting services 2000 and I want to render this report through a ASP.net application. Before rendering based on the user request I need to modify the SQL query of the dataset that is associated with the report and then launch the report which should display the results that matching the user filter criteria. note that the select list of the query remains the same, only the where clause changes. Please help. -Dinakar There is no object model on the report that would allow you to do this (no "dataset query collection" that you could interrogate, for example). If you wanted to dynamically edit the SQL "in place", ...Show All
SQL Server "Less Than or Equal To" MDX query
The following MDX query is generated by the Reporting Services I need to edit the this MDX query so that it will accept the parameter value "Less Than Or Equal To" the @AccountPeriodAccountPeriod parameter to filter teh cube data. Thanks. SELECT NON EMPTY { [Measures].[Costing], [Measures].[Distinct Count] } ON COLUMNS , NON EMPTY { ([AgencyID].[Agency Id].[Agency Id]. ALLMEMBERS * [Account Period].[Account Period].[Account Period]. ALLMEMBERS * [Account Period].[Prescription Date].[Prescription Date]. ALLMEMBERS * [Drug].[Protocol Code].[Protocol Code]. ALLMEMBERS * [Drug].[Drug Name].[Drug Name]. ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION , MEMBER_UNIQUE_NAME ON ROWS FROM ( SELECT ...Show All
Visual Studio 2008 (Pre-release) How to get mouse position in screen coordinates?
Is there any way how to get mouse position relative to desktop (in screen coordinates) I know about static method Mouse .GetPosition() but it requires parameter specifying IInputElement. Is there something like “screen” or “desktop” or something else I can use as parameter to GetPosition As I need to get this screen mouse position inside method in my class derived from Grid I could use this: PointToScreen( Mouse .GetPosition( this )) But still I think there could be some “desktop” object, or not i think you might wanna look for system.windows.forms as the namespace and there you can use the static method control.mouseposition which is in it. hope thi ...Show All
Visual Basic How to call a javascript from a console application in vb.net
I've created a vb.net console application which extracts data from a given webpage, using webrequest. 'Create webrequest Dim wrqUrl As WebRequest = WebRequest.Create(strUrl) 'Create webresponse Dim wrpUrl As WebResponse = wrqUrl.GetResponse() 'Create Streamreader Dim srUrl As StreamReader = New StreamReader(wrpUrl.GetResponseStream()) I then have some logic that reads every line in the stream and extracts any possible wanted data. This works fine.. but, I encountered a webpage (aspx) which I'd like to read where the content is determined by a javascript. How can I make my console application 'trigger' this javascript The script looks like this: <script language="javascript" type="text/javascript"> <!-- function __doP ...Show All
SQL Server The annoying WMI configuration error
I'm recieving the following error: The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine 'machine information' Error: 2147749896 (0x80041008). I've researched the error and found out some people were running batch scripts to reinstall wmi, but none of them worked for me. One of them I gave up on after thirty minutes and it wasn't doing anything. Please give some suggestions on how I can resolve this issue. TITLE: Microsoft SQL Server 2005 Setup ------------------------------ The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine S1JK9481 Error:2147749907 (0x80041013). For help, click: http://go.microsof ...Show All
SQL Server Installing Express2005 SQL
I am trying to setup a new server for a non-profit i donate my services to. I want to have SQL for an intranet based program that will be converted from a currently used Access database. I can not get Express (any version to install). Below are the specs of the server and the log from the install. Any suggestions and thanks in advance, Lynn Operating System System Model Windows 2000 Advanced Server Service Pack 4 (build 2195) COMPAQ PROLIANT 800 Processor a Main Circuit Board b 500 megahertz Intel Pentium III 32 kilobyte primary memory cache 512 kilobyte secondary memory cache BIOS: 12/31/99 Drives Memory Modules c,d 27.05 Gigabytes ...Show All
Visual C# Underline text
I was wondering if there was any way to underline the text of a string... Application: For right now I am outputing a bunch of strings into a message string to display in a message box. Later I will be outputting to a text file. I have searched the MSDN Lib to no avail; if someone could point me in the right direction, that would be great. Can you use HTML code in VC# Thanks Thom it will keep appending to the stream until you finally want to commit changes to the file, then read the entire stream into the file. You of course need to read the entire file into the memorystream, when loading, so it can continue on appending to the stream. You need to of course as stated in the doc/shown by example, make ...Show All
Software Development for Windows Vista Upgrade from XP to Vista deletes registry key and breaks service application
Hi, We have a service working perfectly fine under XP. It also works perfectly fine with a fresh install on Vista. BUT, If the service is installed on XP and then XP is upgraded to Vista, the service stops working. We found out that during the Vista upgrade it deletes the registry key which is the GUID of our service: HKCR/AppID/{ OUR-GUID } if we set the GUID back then the service works again. Any reason why the upgrade process would delete this Key And what do we need to do so the Service keeps working Thanks. The registry entry was created by the code automatically created by Visual Studio 6 when you decide to create a new 'Service' project. I would expect that Visual Studio would cr ...Show All
SQL Server Sql Script
hello I need to script my Db, tables and storedprocedures. so i can create another same DB Dim con As New SqlConnection(DBClass.Config.DBString) Dim cmdName As String = File.OpenText("pro.sql").ReadToEnd() Dim cmd As New SqlCommand(cmdName, con) cmd.CommandType = CommandType.Text con.Open() Try cmd.ExecuteNonQuery() MessageBox.Show("DB Created") Catch ex As Exception MessageBox.Show(ex.Message) End Try con.Close() Any suggestions Hi, You may use the following; Private Sub CreateDBBtn_Click(sender As Object, e As System.EventArgs) ' Create a connection conn = New SqlConnection(ConnectionString) ' Open the connection If conn.S ...Show All
