Software Development Network Logo
  • Visual C#
  • Game Technologies
  • VS Express Editions
  • Visual J#
  • Microsoft ISV
  • Visual Basic
  • Visual Studio
  • Windows Vista
  • Visual C++
  • Architecture
  • Visual FoxPro
  • Smart Device
  • .NET Development
  • SQL Server
  • Windows Forms

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

dknapp

Member List

parthsaha
Pavr
HoySir
LeHobbit31
Matthew H. Sawyer
squimmy
smthng
howdyj
Harald Kjersen
sairambab
Luc De Bruycker
zyont1000
zhangshaolin
Stephen Leach
tnorth
JuSlaughter
Colvic
varomix
cipri
Albino
Only Title

dknapp's Q&A profile

  • Visual C++ CoInitialize() in Managed C++ VS 2005

    Hi, I am using accessing an unmanaged c++ lib-file from managed c++ in Visual Studio 2005. This is my code: bool MyClass::Initialize(String ^config) { CoInitialize(0); // Allocate memory mHandle = new MemoryBufferHandle(); . . . } This is part of my error: error LNK2028: unresolved token (0A00029D) "extern "C" long __stdcall CoInitialize(void *)" ( CoInitialize@@$$J14YGJPAX@Z ) referenc ...Show All

  • Visual Studio Team System Check Out of renew files

    When I make check out of a file that a my colleague has changed, Visual Sourcesafe 2005 advise me of a renew version but it doesn't get the latest version. Is it possible modify this way to manage the files Is it possible to have an automatic "Get latest version" of the file when I check out it (like the old version of Sourcesafe) Hi Richard, I read the blog posts and they give me the answer to the questions. Thanks Angelo ...Show All

  • Windows Forms Pass around object references or IDs?

    Say I have a TreeNode that represents a Customer object. It displays the customer's name, and when it's activated a form opens to edit that customer. In order for the form to know what customer to edit, the tree node has to keep some kind of reference to the customer object that it represents, and pass some information to the form to indicate the customer to edit. As I see it, there are two ways for the tree node to keep the reference to the ...Show All

  • Smart Device Development Bug Report, ReadOnly Property doesn't honor BackColor/ForeColor on TextBox

    Problem takes place when textbox readonly property is set to true. When I try to customize the back or fore color it immediately resets them back to default. Example: textBox.ReadOnly = true ; textBox.BackColor = Color.Black; // Text box displays with default colors Yes, please see this: http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/search gr ...Show All

  • Visual Studio Tools for Office How to select a task pane at startup?

    hi, I have a Windows form application that via menus should open the same VSTO workbook. The workbook should have the ability to present a different task pane at the beginning, depending on the menu action selected by the user on the Windows form. The issue is that I have not found a way to do this: the "tag" property is not accessible from the Windows form, and the "Open" method does not offer the option to pass parameter ...Show All

  • Visual J# How do I remove a package downloaded by mistake?

     Hi and thanks for your help.  I have already gone to the Add/Remove and it isn't listed.  I also checked the Windows components and couldn't find it there either. I downloaded: Microsoft Visual J #.NET Redistributable Package 1.1 and my computer doesn't have enough memory to allow me to open my e-mail.  I have done everything I know to do to increase my memory, but it hasn't worked.  I know I need more memory anyway ...Show All

  • Visual Studio Team System well i think

    Hello, As you all probably know, when doing checkout in VSTS, it doesn't perform "get latest" to the files. instead, you work on the local files. I know that this is the way VSTS works and that i can't change it. what i want is to program a policy by my self. the policy will be triggered when someone will do checkout. it will check if he choosed files that aren't latest and if so it will raise "custom form" which i will design. the flow is: 1. a ...Show All

  • Visual Basic app Opacity in in VB2005

    hey guys how come when i try to set the opacity via option in the application, it turns 100% say when i click a button that has it assigned here is the simple code i am using: Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me .Opacity = 50 End Sub eventually, i want it so that the user can set the opacity via "trackbar" ( i'm just experime ...Show All

  • Visual C++ Reading and Writing Xml from unmanaged VC++

    Hi, Unfortunately I cant move to managed at the moment. I need to read and write Xml Files from un managed VC++, what is the best way to do this are there any api's that i can use, if which is the best. Thanks in advance Will For general how to questions, please use the newsgroups at http://msdn.microsoft.com/newsgroups . Folks there might have reay algorithms for that. Thanks, Ayman Shoukr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Tom Miller's Render Loop

    I am using vb.net 2003 an i am at a loss as to how to convert Tom Miller's render loop c# code sample into vb, could anyone help public void MainLoop() {         // Hook the application's idle event         System.Windows.Forms.Application.Idle += new EventHandler(OnApplicationIdle);         System.Windows.Forms.Application.Run(myFor ...Show All

  • SQL Server Identity column not returnd after AddNew / Update with ADO and SQL 2005

    Hi, I add new records to a table with ADO. The tables contain an auto-increment identity column. I want to retrieve the identity value after the insert operation. This works fine for SQL Server 2000. On SQL Server 2005 this only works if I use a table in the select statement. If I use a view in the select statement, ADO returns no value for the identity column, a trace with profiler shows that there is no Select @@IDENTITY statement. What ...Show All

  • SQL Server Merge Replication IIS Worker Process Error

    Everyday between 18:00 and 20:00 nearly 1000 PDA Subsriber anonymously synchronise via Merge Replication and at least two time he have the error : IIS Worker Process Faulting application w3wp.exe, version 6.0.3790.1830, faulting module sscerp20.dll, version 2.0.7331.0, fault address 0x000110f4. And subscriber which synchronising meanwhile becomes suspect. Can someone offer a suggestion as to the cause of and correction for this ...Show All

  • Visual C# The IDE often automatically changes the file subtype from "Form" to "Code" in the .csproj file

    The IDE often automatically changes the file subtype from "Form" to "Code" in the .csproj file, which renders the forms unviewable in design view until that change is undone.  Is there any way to prevent the IDE from doing this automatically Thanks, Wilfred This sounds like a bug. If you can reproduce it consistantly, post a bug report on the Microsoft Product Feedback Center . ...Show All

  • Visual C++ My Visual Studio does not load stdafx.h & stdafx.cpp in my project file

    Whenever I create project file it won't work because stdafx.h and stdafx.cpp files are not preloaded into the project file, how do I fix this problem Thank you for your input on my problem and your wise thoughts on my future.  I appreciate your time and effort on everything.                         Fellow Programmer, &nbs ...Show All

  • Visual Studio Express Editions I'm trying to Open Excel From VB

    I have created a user form so that when a button is clicked, it should open the relevant spreadsheet. However, I do not know what command to use. I know that when you create buttons is Excel itself, you use the 'Workbooks' and 'Worksheets' but what do I use in VB This is important as I am stuck and I need to get this working by the end of the week. Thanks in advance Ronnie. Ronnie, You also ne ...Show All

©2008 Software Development Network

powered by phorum