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

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

AlexBB

Member List

VaibhavChoubey
programmer01
dylanh
weblivz
Lorry Craig
Kyle McK
Jun_1111
Craig G
Ian Arhip
boran_blok_edan
Barry-ELX
herenvardo
tcebob
GrahamY
Chuff
Toni Greco
ChrisMcV
Jamie Thomson
Black Dhalia
tvcouch
Only Title

AlexBB's Q&A profile

  • Visual Basic Speed up assigning points to a 2D array

    The program that I’ve written works but is incredibly slow and I am wondering if there are more efficient ways to accomplishing my intensive tasks. I have a large text file with real world xy co-ordinates. Each co-ordinate is an easting and a northing for a point. My overall goal is to read in all of the points and assign those points to a raster grid where each cell represents a specified area in the real world (i.e. 10meters by 10 meters). The value of a cell simply represents if a point is present in it or not (1 or 0) The extent of the raster grid is 1000m x 1000m and the smallest cell size I’m working with is 0.1m so the output grid would have a size of 10000 cells by 10000 cells. I dimension an array c ...Show All

  • Visual Studio 2008 (Pre-release) Custom Elements in XAML

    Hello, I am trying to create a custom element for my XAML code but don't seem to be able to. What I want is to have a hyperlink which takes a Click attribute which is the method to be called, a Action which is what is to be done, then a Resource file which could be anytihng like text or media to be displayed. Would look something like this: <Media Click="MyMethod" Action="Start" Resource="media.wmv">Test</Media> The problem is that when I inherit from hyperlink, I cannot referrence it from my xaml code. Why is this Is there a way to do it - like creating a custom schema Thanks Ben In order to have a custom tag you need a custom control/element. To see the attributes and suc ...Show All

  • SQL Server assigning datepart function to a datetime variable?

    I am getting wrong output when assigning a datepart function to a variable. I should get 2006 but instead I get an output 1905. Below is the code and output. Any help will be greatly appreciated. Thanks DECLARE @FiscalStartCurrYear datetime SET @FiscalStartCurrentYear = DATEPART ( year , GETDATE ()) select @FiscalStartCurrYear Output ----------- 1905 - 06 - 30 00 : 00 : 00.0000 This should work:   SELECT DATEADD ( year , DATEDIFF ( year , 0 , GETDATE ()), 0 ) -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 --     < Rob68@disc ...Show All

  • Visual Studio Tools for Office "Unable to install or run..."

    I wrote a Windows application in VB.net, VS2005. My program uses one-click deployment and is up to version 1.4. We recently tried to install the latest version of the program on a user's pc who hadn't had any of the earlier versions of the program installed. When she clicked on the Setup.exe the VS 2.0 framework was installed aok but failed afterwards with the following error message: " Unable to install or run the application. The application requires that assembly office Version 11.0.0.0 be installed in the Global Assembly Cache (GAC) first ." The user has Office 11.0 installed on her pc already. I am a total newbie when it comes to the GAC and assemblies but I looked at the program's references and saw that I had: ...Show All

  • Visual Studio Team System How do I get a list of test cases (e.g., *.mht) through OM

    I would like to get the list of Manual Word Test Cases and put into a combo drop-down. I have not come across the right code to do this. How does one do this Thanks. ...Show All

  • SQL Server File System Error: The record ID is incorrect

    Hi, We have deployed SQL Server 2005 with Analysis Services and Reporting Services. When running a report, we get the following error: An error has occurred during report processing. Cannot read the next data row for the data set DM_GASTOS. File system error: The record ID is incorrect. Physical file: . Logical file: . The error occurs both with a local user account and domain user account. The user account is member of a role which has Cell Data Security restriction in Analysis Services. When other member run the report, the error goes away. Anybody has seen this before Any solutions Cheers I'm having the same problem. I have the same OLAP data base in 3 servers, and the error is th ...Show All

  • SQL Server function does not exist for decision tree when running tutorial

    When I run the Microsoft tutorial for data mining I get this error when I get to the decision tree part. I get a similar error for clustering in the same tutorial. However, The Naive Bayes demo seems fine. The messages said the project was built and deployed without errors. Does anyone know how to fix the error: TITLE: Microsoft Visual Studio ------------------------------ The tree graph cannot be created because of the following error: 'Query (1, 6) The '[System].[Microsoft].[AnalysisServices].[System].[DataMining].[DecisionTrees].[GetTreeScores]' function does not exist.'. For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft%u00ae+Visual+Studio%u00ae+2005&ProdVer=8.0.50727.762&EvtSrc=Microsoft.AnalysisServices.Viewe ...Show All

  • Visual Studio VSS20005+VS2005 Certification error

    I've been trying to get VSS2005 to work over the Internet by following the directions at http://alinconstantin.homeip.net/WebDocs/Scc/Default.htm but i can't get it to work. All the settings are done (ie setting VSS to use SSL, filling in the adress, configuring VS2005 to use the VSS over Internet plugin). I used SelfSSL to generate and assign a certificate on my server and installed it via IE (on my workstation via the View Certificate->Install in IE6 and on my server via the IE7 Content->Certificates->Import) but it doesn't seem to accept it. In IE it works because i can now access https://myserver/ without IE showing the messagebox about certificates. If i disable the Over Internet-setting it works just fine, howev ...Show All

  • Windows Forms What is an "Application Reference"?

    The file in the Start menu used to launch an application installed with ClickOnce is of type "Application Reference". Where can I find more information about that file type Is it specific to .NET Does anybody know if there is a way to choose the icon for that file   Setup projects are a different type of project that create windows installer files. See http://msdn2.microsoft.com/en-us/library/996a3fxs(VS.80).aspx for an overview. I should probably note that setup projects are only available in VS Standard and above, they are not available in any of the Express additions. Regards, Elizabeth Maher VB Team. ...Show All

  • Smart Device Development Why my CF1.0 SP2 apps wont run on CF2.0 SP1 device?

    Hello to all, Our device manufacturer just upgraded their device to CF2.0 SP1 and now none of my apps will run. There are no errors generated when you try to execute these programs. When you execute the apps, they simply dont start. The apps were developed with VS2003 using CF1.0 SP2 and ran fine on the device before they changed to CF2.0 SP1. Should'nt CF2 supports apps targeted for CF1 Does anyone have any ideas Thanks -Chris Yes, CF2.0 SP1 is installed. This is what is displayed using cgacutil.exe: Microsoft (R) .NET Compact Framework (2.0.6129.0, 1.0.4292.0) From what I understand this means that the OS build should support CF2.0 SP1 and CF1.0 SP3. I would also g ...Show All

  • SQL Server table name too long via ODBC

    Hi, I am traing to execute this select SELECT count(*) CM_CERT_VARIANCE_DET_APINV_RELATE using SQL SERVER ODBC, however, I received this message: "Identifer too long" Is there any table length name limitation I think, there is, because works well on SQL environment. I mean, should this table have less then 18 characters Can I work around this limitation cheers, Alessandro Hi Rob, Doesn't work SELECT COUNT(*) FROM [CM_CERT_VARIANCE_DET_APINV_RELATE] OR SELECT COUNT(*) FROM CM_CERT_VARIANCE_DET_APINV_RELATE I get the same error "Identifier too long" cheers, Alessandro ...Show All

  • Software Development for Windows Vista CorrelationManager.ActivityId changes when in a method under Workflow

    I am having an issue with the CorrelationManager.ActivityId changing on me when I am running inside of Workflow. I understand that the CorrelationManager utilizes the CallContext to store its state, but I can't figure out why the ActivityId is a different guid when running under Workflow. In fact, the ActivityID is set to the WorkflowInstanceId. Within my workflow method I can do a CallContext.LogicalGetData("System.Diagnostics.Trace.CorrelationManagerSlot").Peek and get out the stack in the same position I expect but if I do a CallContext.GetData("E2ETrace.ActivityID").ToString or (Trace.CorrelationManager.ActivityID same thing) I get the WorkflowInstanceId. This is causing me much difficulty when trying to log a ...Show All

  • Visual Studio What's new in the February 2007 CTP of GAX/GAT?

    Does anybody know exactly what has changed in the Feburary 2007 CTP's of the GAX and GAT February 2007 CTP's: Guidance Automation Toolkit Guidance Automation Extensions Sorry everyone, we had a few hiccups with the release and needed to roll back. Hopefully it should be live on Monday. But if you want to find out what to expect in the meantime, I've copied the release notes to my blog at http://blogs.msdn.com/tomholl/pages/guidance-automation-extensions-and-guidance-automation-toolkit-february-2007-community-technology-preview.aspx . Once the release is *really* live, I'll post some more details to my blog. Sorry for the confusion! Tom Hollander Microsoft patterns & practices ...Show All

  • SQL Server Automatic sync between SQLce and Access

    Hi, I am converting an old eVB application to CF.NET 2. It's a very simple setup. 1) An Access database sits on the host and has occasional edits applied to it. 2) An application on the PDA with a mirror copy of the Access database (filtered data) and also has occasional edits applied 3) When the user puts the PDA in the cradle the databases get automatically synchronized with each other. Probably couldn't get much simpler than this. This used to be very easy to do with PocketAccess and ActiveSync. Unfortunately this is no longer supported. I decided to use the new SQLce database instead when porting to CF.NET. It's working like a charm except that I haven't found an easy way to synchronize with the desktop Access application. Mer ...Show All

  • Visual C++ error C2664: 'gethostbyname' : cannot convert parameter 1 from 'class CString' to 'const char *'

    when I use the following code in the unicode project of vc, it has the following error: error C2664: 'gethostbyname' : cannot convert parameter 1 from 'class CString' to 'const char *' Can you tell me how to do this data conversion and make this statement workable Thanks you very much. lpHost = gethostbyname(pstrHost); Since this function requires Ansi string, I think you have to convert your Unicode one. There are different approaches. I would suggest trying this simple MFC-based method: CString yourString = . . .; CStringA ansiString = yourString;   gethostbyname(ansiString); I hope it works.   See also: CT2A macro, WideCharToMultiByte function.   ...Show All

©2008 Software Development Network