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

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

dpetrek

Member List

Ted Warring
erfg1
Pockey
Winnie.Wang
abadreamer
NCAnand
Rachel Wang
scott gallimore
oopman
Kosmo007
Mbowles
Juan Ignacio Gelos
beechum1
minigendo
Jake.K
hrubesh
Artschi
rajendra patel
NB76
Nick Colebourn
Only Title

dpetrek's Q&A profile

  • Software Development for Windows Vista AutoCAD 2007 and 2005 compatibility with Windows Vista

    My bussness revloves around the use of AutoCAD. I recently installed Windows Vista Ultimit on my computer. After i tried to install AutoCAD 2005 on it to discover it would not work. Is there any patches in order to make it compatible. If not Is AutoCAD 2007 Compatible before i go and buy it. thank you UPDATE : I've tried a few things since i posted the above this morning. I've established that the program behaves normally and does connect to network shares when UAC (via turning off admin approval mode) is turned off. Now, with UAC on, i killed the explorer.exe process (via taskmanager) opened up a command prompt by right clicking it and running it as admin and then restarted explorer.exe from there, in ...Show All

  • Visual Studio Tools for Office VSTO 2005 SE Beta

    "Anyone who has a licensed version of Visual Studio 2005 Tools for Office or Visual Studio Professional and above (either standalone versions or via an MSDN Premium or Professional subscription) is eligible to download a free copy of VSTO 2005 SE Beta." Right... but do I have to have VS 2005 Tools for Office installed to prove that I have it This is going to sound really stupid, but I have a proper license that I've never been able to install because I have Office Standard + Access standalone instead of Office Pro (due to a mistake by our volume license provider). Why is there such a restriction Seriously, shouldn't there be developer version of Office bundled with VSTO H ...Show All

  • .NET Development SQLDataSource update using parameters not working

    I'm passing a parameter to a stored procedure stored on my sqlserver, or trying to atleast. And then firing off the update command that contains that parameter from a button. But it's not changing my data on my server when I do so. I'm filling a dropdown list from a stored procedure and I have a little loop run another sp that grabs what the selected value should be in the dropdown list when the page loads/refreshes. All this works fine, just not sp that should update my data when I hit the submit button. It's supposed to update one of my tables to whatever the selected value is from my drop down list. But it doesn't even change anything. It just refreshes the page and goes back to the original value for my drop down list. Just to ...Show All

  • Visual C# How to update a program

    Hi, I have always wonder how do you make an application to update itself, but now I'm about to publish an application and updating the software could be an issue with too many users. I had thought about sharing the executable in a network share and when I needed to update I would just replace the excutable on non working hours, however I would like to know if there's a better way to do it, or a link to an article or tutorial would be greatly appreciated as well. Thank you. You may want to look into ClickOnce as it makes the process about as easy as it can get. ...Show All

  • SQL Server Port Usage

      The powers that be at my company have decided to redisign our network.  The big change is that they are completely separating the two domains, whereas I guess right now one runs inside of the other. What this means to me is that I need to get a document together which shows all the connections between different SQL servers, web pages and services that I've created over the last year. My question is, what ports do all of these things use to communicate with SQL Server 2000   I believe the only connections right now are using ADO/ADO.NET,  or straight SQL Linked Servers.   Ah, each SQL Server instance uses its own ports--it's not up to ADO.NET and (generally) one does not address the IP:port when ...Show All

  • Smart Device Development cameraCapture.showDialog throws error

    Hi, when I call cameraCapture.showDialog() i get a InvalidOperationException thrown everytime, it seems as though the pda tries to open the camera dialog but then fails . I am developing on a HP hw6915 pda, WM 5.0 any ideas sample code attached below: CameraCaptureDialog cameraCapture = new CameraCaptureDialog (); cameraCapture.Owner = null ; cameraCapture.InitialDirectory = @"\My Documents" ; cameraCapture.DefaultFileName = @"test.jpg" ; cameraCapture.Title = "Camera Demo" ; cameraCapture.VideoTypes = CameraCaptureVideoTypes .Messaging; cameraCapture.Resolution = new Size (176, 144); cameraCapture.VideoTimeLimit = new TimeSpan (0, 0, 15); // Limited to ...Show All

  • Visual C# Compiler Error CS0570 from C++ defined property

    Compiler Error CS0570 Does anyone understand error CS0570 'class' is not supported by the language This error occurs when using imported metadata that was generated by another compiler. Your code attempted to use a class member that the compiler cannot process. The code being called was written in Managed C++ paraphrased like so: public ref class FilePath { ... [MyPropAttribute] property int Name { const int get(); } ... }; The attribute [MyPropAttribute] is defined like so: [System::AttributeUsageAttribute(System::AttributeTargets::Property)] public ref class MyPropAttribute: public System::Attribute {...}; When I try to use the property in C# code I get CS0570, but see no document on how to get around t ...Show All

  • .NET Development Creating a generic stack at runtime using reflection

    Hi, I want to be able to create a generic stack and push object onto it at runtime. I have the following code: type t = Type .GetType(nameOfType); Type type = typeof ( Stack <>); Type [] args = { t }; Type constructed = type.MakeGenericType(args); object stack = Activator .CreateInstance(constructed); This works but I cannot cast the object to a generic stack in order to Push something onto the stack. The only way to do it is to use InvokeMember on the stack but that is slow and cumbersome.. Any suggestions Best regards Alex Lehmberg You can't. You cannot cast it to Stack<T> because this is not a type by itself and you canno ...Show All

  • Visual Studio Express Editions Help with "Concentration" Game

    I am a student studying VB for the first time and I've run into a snag programming as assignment. It's a matching game consisting of 8 pairs of matching words randomly assigned to 16 labels. When a label is clicked, the word currently assigned to it will display. If two labels are clicked and the words match, the labels are disabled and change their color. This is done until all 8 pairs of words are found, after which a message box is displayed indicating the game is over. I am confused as to how I can randomize the list of words and assign them to the labels, as well as how to check for matching. Any help would be appreciated. So here's the array I've got with the words to be used: Dim sItems(15) As ...Show All

  • Visual Studio After installing VS 2003 SP1 "Error while trying to run project: Unable to start debugging"

    Hi, After I installed Visual Studio 2003 SP1 I can't debug my Office COM AddIn anymore. I get the message: Error while trying to run project: Unable to start debugging Unable to start program <office application> Having googled I checked various things like: 1. That unmanaged code debugging is enabled 2. Com security to ANONYMOUS LOGON is set 3. thousands of other suggestions regarding reregistering random dlls but nothing helps. Ive been able to replicate this on a virtual machine but I am reluctant to accept that a SP breaks all my existing projects. Is there anybody out there who knows how to make COM add ins and VS SP1 work together Any help very much appreciated. Many thanks in advance..... ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. New XNA wargame : StrikeZone

    Hello I am doing a wargame engine. You can see video here : http://pitil.blog.mongenie.com/ The engine will be open for every one ! Thank you pitil wrote: Yes Mercury help me a lot :) why make what is already made :D If you want my change just ask me, it is for the scrolling background and depth problem :) Yes! I'd be really interested to see your modifications :) Your game is looking fantastic by the way - i'm also interested in doing an RTS game in the future :) My email address is in my profile << ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Detecting a double click

    I've tried writing some of my own code and I've also tried the "Input Component" tutorial on XNA Spot, but I can't seem to recognize the second click in a double click. My application just reacts as if there was a single click. I'm looking for either a way to recognize it as 2 clicks, or have some flag that tells me it was a double click. Either one would be fine. Any help would be greatly appreciated. Besides this little issue, I have been very impressed with XNA so far. Bill The first way that springs to mind is you use a timer variable. The first click sets that timer to increment automatically every update. Next time you detect a click, check to see if the timer is any value above zero and if it is, then ...Show All

  • SQL Server No ADO type command for Data Flow?

    I'm probably not looking in the right place, but all I could find when creating a data flow task was OLE DB Commands.  I was trying to utilize a dataaccesslayer piece of code that we use every where in our projects, but because it uses ADO and not OLE DB, it caused an issue between the column data types. Is there an ADO command object available   Or are we forced to use the OLE DB command object   All I was looking to do was to Execute a SQL command.  There's an object on the Control Flow level to do that, but not on the Data Flow level---not sure why that is. Thanks, Jeff Tolman E&M Electric Its because executing a stand-alone SQL statement isn't relevant for a data-flow. ...Show All

  • Visual Studio Express Editions Total Troublesome

    Happy New Year VB Programmers!!!! Im having a few probs with this one: Private Sub ItemsDataGridView_RowLeave( ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles ItemsDataGridView.RowLeave Dim i As Integer Dim total As Double = 0 Try For i = 0 To ItemsDataGridView.RowCount - 1 ItemsDataGridView.Item(3, i).Value = ItemsDataGridView.Item(0, i).Value * ItemsDataGridView.Item(2, i).Value total += ItemsDataGridView.Item(3, i).Value Next textbox1.text = "£" + total.tostring Catch ex As Exception MessageBox.Show( "Error With Calculation, Please Try Again" ) End Try End Sub Ive put this code on my ...Show All

  • Visual Basic VB 2005 Express false compiler error

    I have a VB 2005 WinForms Project which is giving what I think is a false error. On the Designer screen for the main form (which normally displays the form layout etc.) I get: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. '.ctor' is not a valid identifier. Hide at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomEventBindingService.ValidateMethodName(String methodName) at System.ComponentModel.Design.EventBindingService.EventPropertyDescriptor.SetValue(Object component, Object value) at System.ComponentModel.Design.Serialization.CodeDomSeriali ...Show All

©2008 Software Development Network