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

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

wiz

Member List

DexySeeksHelp
mandara
Payton Byrd
deer)chao
Andrew Baker
TerminusEst
Stan Lin
JOSE3007
dazza70
WilliamMandel
TonyMan - MSFT
Geci
Jack He
korenwolf
Tim Allen
joe2000
mglowacki
Vertigo1
JeffWard
sassabrassa
Only Title

wiz's Q&A profile

  • Visual C# DragDrop registratation did not succeed.

    I have a C++ Windows Forms application that displays OpenGL in a NativeWindow contained by a Form that allows drag and drop. This application works fine when compiled with Visual Studio .Net 2003. When I compile this app with Visual Studio .Net 2005 and run it, I get the following error: And exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll. Addition information: DragDrop registration did not succeed. What can I do to get around this problem Please do the following, 1) include the following using System.Net; using System.Threading; 2) add the [STAThr ...Show All

  • Windows Forms First Time Poster - Display Status while process is ongoing

    Fairly new to the vb.net world.  I've done plenty of Client/Server dev and I'm looking for a way to display the status while a process is in the works.  The process is a crystal report that takes approx 20 secs to query and display.  It saves the file to pdf and then opens the pdf file for the end user.  I'd like to d ...Show All

  • Visual C# shared memory

    I need to transfer information through shared memory between 2 exe files. I've found a C++ code that pretty much do exactly what I need to do, but I don't know how to do it in C#. Is there a way to convert this code to C# or write something in C# and would be able to receieve information for the C++ code Sample C++ Code: #include <windows.h> #include <stdio.h> #include <conio.h> #define BUF_SIZE 256 TCHAR szName[]=TEXT("MyFileMappingObject"); TCHAR szMsg[]=TEXT("Message from first process"); void main() { HANDLE hMapFile; LPCTSTR pBuf; hMapFile = CreateFileMapping( INVALID_HANDLE_VALUE, // u ...Show All

  • Windows Forms Flicker and Crash problem in VS.NET 2005 Pro

    I'm not sure if this is just me, but... Has anybody noticed an annoying problem in VS .NET 2K5 where you switch from code view to the Form Designer, and your mouse pointer starts flickering and changing among a few mouse pointers (ex. cross, hourglass, pointer, etc.)   This has happened to me a few times already and I havent' found any other common denominator other than the switch from Code View to Form Designer.  Thanks. Gerard mihail wrote: Hi Shawn. This is what happened when I attached and debug the new process. As an addtion I want to say tha the for is happening is containing a lot of dockable elements and w ...Show All

  • Windows Forms TabPages and UserControls growing to over 30,000 pixels in Width and Height in Designer (2005 beta 2)

    I’m having some major sizing issues with controls in designer view. To be specific, it   seems that controls within container controls such as TabPages will randomly outgrow their parent controls to a very large size (~30,000px! ).   Even when trying to manually edit the designer code, as soon as switching back to design view, the weird numbers are back. Here's a link to a screenshot: http://www.bugben.com/showcase/30000.jpg Has anyone else seen this Or have any suggestions Yes. Several times. Still no luck :(. I seem to still be running into this problem even with new forms I create. O ...Show All

  • Visual Studio Express Editions Cannot write to registry

    I am making this program that will scan various IE 6 settings including policy and other settings like history, cahce limit. I can read them just fine, but i cannot write to them. it gives me an unable to write to registry error, make sure it is not readonly. Well its not read only becuase i can write to it in regedit. Is XP protecting those keys, i need to write to those values. Also this program is also going to view all running processes, i know how to do that but when i click on system or system idle process, some Process.GetProcesses members cause an access is denied exception. I want to read the process info for system and system idle ...Show All

  • SQL Server distributed transaction query with a loopback linked server: limitation

    Folks, I am wondering if there is a workaround for distributed transaction query with a loopback linked server in SQL Server2000. (Please don’t ask for any reason behind this. We just want to test our codes in DEV/QA without the need to rebuild new servers). Does this limitation still apply in SQL Server 2005 Thank for your help. John ...Show All

  • Windows Forms Name Conflicts with existing module,project ........

    I am having problems trying to reference a Kodak imaging component. Everytime a make a reference to it, a 'Name Conflicts with exeisting module,project or object library' appears. However, I did use this reference but the ocx imaging component that I had used,expired so I removed the software and re-installed the windows 2000 imaging component. Now I cannot refe ...Show All

  • Visual Studio Team System Could just be a bug! - loading webtest to loadtest

    Hi guys, I'm using a trial version of Visual Studio 2005 Team Suite Edition. I was trying to create a new load test using the wizard. Then, I want to add a recently created Webtest (in vb code - which has been successfully compiled). I realise that I couldnt find the webtest from the list (Test Mix - Add - /All Loaded Tests - Available tests) I then restarted Visual Studio 2005 Open up the load test and edit the test mix - now I can see all the Webtests, including the recently added one. Does anyone have the same problem Can you still reproduce this   Are you certain the web test build had completed ...Show All

  • Smart Device Development is there IJW support for smart devices?

    I am attempting to mix unmanaged (C++) and managed (C#) code. Normally I would enabled CLR support for the C++ file that calls the C# code and rely on the IJW support in the linker to handle this. However, in the smart device application I am attempting to build, I don't see the option anywhere in the properties (for the project or the file). When I attempt to build, the compiler complains that managed code requires a /clr option. If I add it manually to the compiler flags (via the Command Line property) the compiler reports /clr as an unknown option. This makes me wonder if /clr is supported in the compiler for smart devices. Anyone know ...Show All

  • Windows Forms Deriving from abstract UserControls

    Can you use abstract UserControls I created a UserControl called Dad. Marked it as abstract. I created a class Son and changed it to: public class Son : Dad { public Son() : base() } If I 'View Designer' on Son it fails with a message saying ... The Designer must create an instance of type 'Windows.Application1.Dad' but it cannot as the type is declared as abstract. Is this just a weakness in the IDE What about generic Dad How can we manage this situation : Code Block public partial class Dad <T> : UserControl { public Dad() { } ...Show All

  • .NET Development Trace Listener

    Hi All, I've created a Trace Listener application that streams to a text file. The app is working but now I am at the point where I need to attach it to a certain application running on the target machine. Do I 'HAVE' to attach my Trace Listener to the process in order for it to capture the target app's trace messages Or should the Trace Listeners collection just pick up any trace messages from all applications on the machine... I found this article which is quite interesting, but wondered if I can get away with not going down the Kernel32 route.. http://www.codeproject.com/vb/net/VisualTraceListener.asp Any help would ...Show All

  • Windows Forms Delete selected items from listbox

    Hi -- Can someone tell me how to delete the selected items from a listbox I've tried the following code but it returns the error below: For Each item As Object In lbx.SelectedItems lbx.Items.Remove(item) Next item Error: List that this enumerator is bound to has been modified. An enumerator can only be used if the list does not change. You are trying to iterate through a collection (SelectedItems) that is changing within your loop (when you remove the selected item). You cannot alter a collection while you are iterating through it using an enumerator (which For Each us ...Show All

  • SQL Server Creating a database on SQL server 2005

    Hi, This might be a dumd question, But how do I create a database in SQL2005 the application installed on the server is below Windows 2003 server , IIS 6.0 , .NET Framework 2.0 Beta 2 , Visual studio 2005 Team suite Beta 2 ,  Visual studio 2005 Team Foundation Server Beta 2, SQL server April Community Technology. Thanks in advance. Hi, you can use the Sql Server Management Studio Shiped with Sql Server 2005. Or you code your own app using SQL-Statements (Create Database myDB). ...Show All

  • Windows Forms How to Deploy the Web and Win projects at the same time

    Is possible to deploy the web and windows application in one msi file And let the user to select whether to install win application, web application or both. ...Show All

©2008 Software Development Network