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

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

dickey

Member List

Mark Marquis
Passaconaway
Helen999888
Gravy
Prerak Shah
Dan Finch
carlp22
crussting
hashmi
oysts
c_shah
Cem Usta
AntoineF
Vitalijus
epimp
Vadimus
sathyank
nikos_22
PQSIK
orent
Only Title

dickey's Q&A profile

  • Visual Studio CommandBar icon problems and Connect, OnConnection not called

    I have an add-in which is using a tool window, I'm trying to change the CommandBar icon, but changing the icon index seems to have no effect until I delete the .addin file, close then reload the project, then restore the .addin file. I've tried this with the MyAddin example with no problems. Further investigation shows that closing then re-opening the project also causes the menu entry to disappear. Using breakpoints, it seems that the Connect and OnConnection functions are not being called except when the add-in is first loaded (by comparison the MyAddIn example calls Connect and OnConnection every time it is loaded). Any ideas what's going on or how I can fix it FWIW, read carefully this article: HOW ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Referenced Assembly Warnings/Publishing Problems

    I just finished making something small and wanted to make it available for some friends to try out. I'd like to make executables during each success stage of my games, but when I tried to publish the code I recieved the following error: Warning 1 Referenced assembly 'C:\Program Files\Microsoft XNA\XNA Game Studio Express\v1.0\References\Windows\x86\Microsoft.Xna.Framework.dll' targets a different processor than the application. KDP I checked out the error help, but it really didn't help me how to rectify the problem. I know its just a warning, but I'd rather not have it. Also, the published files wouldn't install properly and kept causing illegal errors. I'm assuming that the two are related. Any insight as to what exactly is c ...Show All

  • Visual C# DateTime Difference on WinForm and WebForm!

    I write a simply code to see the difference: this .label1.Text = DateTime .Now.ToString(); this .label1.Text += " " + System.Globalization. CultureInfo .CurrentCulture.ToString(); The output of WinForm is “ 28/11/2006 11:03:21 en-GB ”, while WebForm is “ 11/28/2006 11:02:55 AM en-US ”. Even I restart my computer, the difference is still on. Can you explain this difference You may have an issue, if you change the system defaults to another LANG then anything that runs as local system will adopt the new settting. Any new accounts will also adopt the setting. Is you webapp in its own application pool with its own users if it is, it will use the LANG settings from that users ...Show All

  • Visual Studio Install VS.Net 2002 on WinXP - VS Installer Launches Installation of Dell Modem on Hold in Spanish!!

    This is very, very weird. I had VS.Net 2002 installed on Win2K, which crashed on Windows Auto Update, couldn't recover it. So I installed WinXP SP2 from scratch on new drive partition. Was able to re-install VS-97, VS-6 with no problem. On re-installing VS.Net 2002, I was prompted to install Windows components, plus security updates, IIS, FrontPage extensions, etc. I could not get the Windows Components installation CD to launch from the VS.Net installation window, so instead of select components, I installed all components on the Windows Components CD. That seemed to satisfy the pre-req, so I was able to launch the VS.Net installation--I THOUGHT--BUT WHAT HAPPENED WAS VERY WEIRD--instead of installing VS.Net 2002, the installer launch ...Show All

  • Visual Studio Tools for Office Programatically insert a content control immediately after an existing one

    I have a Word 2007 content control called "Name", located within a table cell. I would like to set a reference to this content control's range, and then insert a paragraph immediately after it, and add a new content control in that new paragraph (let's call it "Name2"). So, I want the new content control to be in the paragraph below the first one, but within the same table cell. I am having trouble getting the range pointer to be outside of the existing content control. I've tried setting the range to the entire cell range, and then collapsing it and moving left by one character, inserting a paragraph, etc. (see code sample below). While I can get this automation working in VBA, I have not been able to make it happen ...Show All

  • Software Development for Windows Vista CreateWorkflow Exception

    I created a State Machine Workflow Console Application with the Visual Studio Project Wizard. When I run it I get an InvalidOperation Exception when calling the CreateWorkflow Method. Additional Information: "The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly" Anyone an idea how I can solve this problem thank you in advance. I use a german Windows XP SP2 Proffesional and the VS 2005 Team Edition. I installed the .Net Framework 3.0 and then the VS Extensions for WF. I'm not sure what elevated mode means. I only wanted to test WF, so there is no workflow to investigate, yet :-) Thanks in advance ...Show All

  • SQL Server Calling SSIS packages from a Service Broker Queue

    I would like to call an SSIS package from a Service Broker Queue. There is one way that I am aware of - Using xp_cmdshell from within an activation stored procedure and using DTEXEC. Is there a more elegant way of executing an SSIS package from within SSB Also, I am not interested in writing a .NET external activator to process my messages in the queue. I would like this operation to be strictly database oriented. Having said this, I am also trying to avoid triggers processing the messages in the queue. Thank you! SQLCLR with unsafe assembly (in order to call Process.Start()) would be slightly better option than xp_cmdshell. Even then, starting external processes from an activated stored procedure is l ...Show All

  • Internet Explorer Development document.location.search is null in ie7 rc1 for local url

    I launch my app from a local file and pass it the location of a remote server in the query string.  For example, given the following shortcut: "C:\Program Files\Internet Explorer\iexplore.exe" file:///c:/abc/abc.html REMOTE_SERVER=https://ie7.microsoft.com/server/ I have javascript on that page which parses document.location.search to obtain REMOTE_SERVER .  In ie6, this works.  In ie7 rc1, it is null.  Can anyone suggest a fix or workaround   -Thanks This does not seem to work. document.URL is slightly different. It changes the forward slashes to backward after the drive letter and removes one of the forward slashes after file:/// , but it still removes the sear ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Mesh Classes?

    I don't find any Base Mesh classes or support for Key Framed Animations... Why does MS choosed to not put those classes in the framework Not generic enough There is a Model class in the framework. You don't currently have any way to load data into a Model, though: that functionality is provided by the Content Pipeline, which was not included in the beta. ...Show All

  • SQL Server ACT! and SQLsmbiz server

    I honestly have no idea what I even need to ask here but bear with me. I had ACT 3.0 installed on my Dell Inspiron notebook. MS Professional with SP2, MS Small Business and MS Small Business Accounting. I use Outlook with Contact Manager too. As ACT 3 is old and not really useful to me now I wanted to upgrade to ACT 2006! Before so I and without knowing I shouldn't have done so, I "uninstalled" ACT 3.0. Or so I thought. Installation seemed successful with ACT 2006 except I am not able to either build or open any database or demo database. Get message relating to no Master something". Tried to uninstal ACT 2006! but unable to remove all components. Long story short I called ACT and after paying $199.00 for a service agreement ...Show All

  • Visual Basic Sample code calling crystal report 10

    i have my report done in crystal report version 10.. can you please give me sample code calling this in vb6 my report has parameter thanks Private Sub Form_Load() Set CrxReport = crxApplication.OpenReport("e:\client.rpt") CrxReport.ParameterFields.GetItemByName("client").AddCurrentValue "A138" Me.CrystalActiveXReportViewer1.ReportSource = CrxReport Me.CrystalActiveXReportViewer1.ViewReport Me.CrystalActiveXReportViewer1.DisplayGroupTree = False Me.CrystalActiveXReportViewer1.Zoom 100 Me.WindowState = vbMaximized End Sub we have 5 database with the same table how can change database when opening this report thanks ...Show All

  • Visual Studio Tools for Office How to work with Excel Rows and Cells?

    Hello, I am new to VSTO and VS 2005. I have a challenge to develop a prototype of an Excel sheet which will allow my testers to create test cases using some inputs from external source like a XML file or a VBScript. Scenario is like this: I need to develop an Excel sheet which connects to a XML file and some script file. It parses these files and loads some values in a TreeView control. I did this using UserControl and displaying this in TaskPane. Then I created Range to hold the value selected in TreeView. However, when I select a value from TreeView, it is copied in all the cells of defined range. I want to control this. I want to copy the value in selected cell and row or the cell which is active in defined Range. ‘Environm ...Show All

  • Visual C++ Project properties error

    I am using VS 2005 Standard version 8.0.50727.42. I have a solution that contains one VC++ project. My colleague is able to able open the project and edit the properties but in my case I get the following error when I try to edit the properties for WM PPC 5.0 sdk or WM SP 5.0 "The operation could not be completed. Unspecified error." I was using VS 8 Beta2 and now using complete (standard ) version after uninstalling beta and installing complete. I am able to edit the properties when I select the Win32 platfrom Thanks. Thanks, But there is no option to select the indiviual components. Option is - check box for smart devices Development. Am I missing something here ...Show All

  • SQL Server Restore database on different domain - performance

    Hi, I'm trying to restore database on the server in the different domain. The destination server is located in the physically remoted place. First I tried UNC path (including IP address) with DBCC TRACEON | OFF (1807) optioin but it didn't work. Some Internet document suggested that the FTP file transfer & restore locally on the remote domain but I didn't use this method because there is additional step. Instead I used the following scripts: DECLARE @COMMANDLINE VARCHAR(500) SET @COMMANDLINE = 'NET USE B: \\192.168.1.xxx\sql_backup$ password /USER:SourceServer\read_sql_backup /YES' EXEC master..xp_cmdshell @COMMANDLINE RESTORE DATABASE [DestinationDB] FROM DISK = N'B:\SourceBackup.bak' WITH FILE = 1, NOUNLOAD ...Show All

  • Software Development for Windows Vista RunTimeID Property Issue

    While trying to setting the RunTimeIdProperty in the PropertyCondition, the following error is thrown. How can one set this property PropertyCondition value for property 'AutomationElementIdentifiers.RuntimeIdProperty' must be 'Int32[]'. <snip> PropertyCondition addCondtion = new PropertyCondition ( AutomationElement .RuntimeIdProperty, ControlType .TreeItem); <snip> ~JK Thanks for the reply. Do you have any example link showing how to implement ClientSide Provider for windows application.I have go through the article for menu strip, but that did'nt help much. ...Show All

©2008 Software Development Network