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

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

Pockey

Member List

JimGecko
kettch
dfl
KrazyMGA
Phantisy
Nash Bridges
h3mp
bigblueapple
Yawei
shahidferoz
rperreta
Mathew1972
Jim Kansela
Jassim Rahma
psmNATx
Jeff Williams
Peter Ritchie
Jamie Thomson
mkooiker
LSStudio
Only Title

Pockey's Q&A profile

  • Windows Forms Custom forms designer ToolBoxItem dragging is failing in 2.0

    My issue is quite similar to Greg's: http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx FeedbackId=62c8cb67-2f23-44fa-b8d5-1e53fe9fe3eb and also SasaJ's: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=318518&SiteID=1 I have a custom forms designer that was working beautifully in .NET 1.1 and is now experiencing issues in 2.0. Basically I have a custom toolbox, with a custom ToolBoxItem that is dragged from the toolbox to my root component (a form), which has a designer inherited from DocumentDesigner. I experience the same issue as SasaJ as far as the OnDragEnter and OnDragLeave being fired one after the other rapid fire. This in turn leads to the nasty flicker as described in Greg's thread, above. The O ...Show All

  • Visual Basic Program to execute on one machine only

    Hello, My problem is that I want to deploy my program onto a 'thumb drive' and sell it that way and I need the program to only run off that drive. It is a small program that can easily be copied and run by anyone so I thought that if I could somehow 'lock' it to the small USB drive then that would solve my problem. Because some games require a CD to be in a drive before they will run I figured that that would be something that I could do, my problem is finding any help in how that might be accomplished. Can anyone point me in the right direction Thank you very much Bill Langston making the usb drive read-only would only keep people from writing to the drive, it would not keep them from copying the program contained ...Show All

  • .NET Development how to deploy VB.Net Window Application (.exe)

    This is my experience of deploying VB6 Window Application (.exe) and I wish to have the same result for deploying VB.Net Window Application (.exe): Note: I create and save the project (VB6 and Vb.Net) in C drive of my local PC. My project consists 2 Window Forms: LoginForm and ShowYourProfileForm. The project means to show user personal profile based on their valid login. Project associates with Microsoft SQL DB. My VB.NET source codes are under Microsoft Development Environment 2002 and Microsoft .NET Framework 1.0. In VB6: After debugging my source code in my local PC, I copy and paste the .exe to a network shared drive; for example, lets call it G drive. Then create a shortcut of this .exe in G drive and save in the same locati ...Show All

  • Smart Device Development Navigation between ListView Control and Other Controls ...

    Hi, I have UI with a list control and up-down control attached to it then I have another listview control below it.. I set the focus to the list control in WM_INITDIALOG. The problem I'm having is when I presses the down navigation key, the focus will be go to the listview control and highlight the first item but when I press the up navigation key again (on the first item in the listview) it will not go back to the list control (which just right above listview control)...it will just stucked in the listview control....I have tabstop enabled for both list and listview control...is there a way to fix that except I check whether the user press the navigation key in listview control. thanks in advance.. Genera ...Show All

  • Visual C# Events in C# are declared in different way from VB

    Why don’t we have in C# events declared with “Handles butError.Click at the end After the Sub butError_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) like we have in VB. Here is what I mean: In VB events re declared like this: Private Sub butError_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles butError.Click But in C#, it s like this: private void butError_Click(object sender, System.EventArgs e) Without handles …..etc Thanks Different design goals, I'd guess. In the case of C#, MSFT probably needed to make the language syntax as familiar as possible to Java, C++ and 'C' programmers with an absolute minimum of new language keywords to learn. In th ...Show All

  • Windows Forms Threads and BackGroundWorker

    Hello I have a form to convert data from a FoxPro database to SQL2005 database. Because Foxpro tables are not normalized, i must create a Method specific for each table so i can insert the values correctly in multiple tables in SQL. It seems crazy, i know, but it's the only way to achieve this correctly and guarantee the data is going to be well written in SQL with FK constraints and everything. I want to be able to execute many of this methods at the same time. I created a UserControl that contains a Label, ProgressBar and checkboxes. Every table to convert has one of this usercontrol attached so you can keep track of the progress of every table in the conversion process. All this works perfectly fine IF i don't use Threads (my g ...Show All

  • Visual Studio Team System Work Item assignment on build Unit Test failure

    Hello, I've managed to get my build type assign the build failure Work Item to myself when the build fails, however, it does not create the work item if the sources build OK but the unit tests fail (and therefore the build fails). Does anyone know how to enable this Also check out the following forum post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2718118&SiteID=1 ...Show All

  • Visual Studio Express Editions excel read only

    hi all im trying to save an excel file but i wish to save it as rad only so no one can make any changes to the file but in the save as command it calls a property called ReadOnlyRecommended but this asks the user when they open it it they wish to open it read only i dont wish to give them a choise thanks in advance tim After you have saved the file and closed it, set the ReadOnly attribute via System.IO.File.SetAttributes: Public Shared Sub SetAttributes (ByVal path As String , ByVal fileAttributes As System . IO . FileAttributes ) Member of: System . IO . File Summary: Sets the specified System.IO.FileAttributes of the file on the specified path. Parameters: fileAttr ...Show All

  • Windows Forms Adding and using C++ class to Visual C++ project

    Hi, Have some really stupid questions about the Visual C++ 2005 environment that I hope someone can help me with... I have a Visual C++ 2003 book but there seams to be alot differences with the 2005 version. I am new to Managed C++. I have previously used C# a lot and I wanted to learn more about .NET. I have created a Managed C++ project and I have created a Windows Form with some components. I have no problem writing code in this Windows Form class. My problem starts when I add a class to my project. When I add a new class in a C# project I am used to the class adding itself in the same namespace and with the class definition and everything. I just start coding and there are no problems. With Managed C++ it is different I have n ...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

  • Visual Studio 2008 (Pre-release) WPF Architectural Question

    Looking for architectural suggestions here: My application has a document (non-xml) with objects (about 25 different types) representing items on a page (think PowerPoint or Visio here).  I want to display the items on a page and I would like to make something to edit the objects as well. Here's the question:  How would you lay this out   One idea is to create one ContentControl for each item and assign the document object to the Content property of the ContentControl. Another would be to create one ContentControl for all the objects and use DataTemplates to govern their representations.  The drawback here is that this is less flexible.  I might want to use the documents in different contexts (s ...Show All

  • Visual Basic Can I disable Task Manager?

    Hello Can I disable Task Manager in Windows by using VB 2005 Thanks HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System Modify/Create the Value Data Type(s) and Value Name(s) as detailed below. Data Type : DWORD Value // Value Name: DisableTaskMgr Setting for Value Data: [0 = Enabled (Default) / 1 = Disabled] Exit Registry and Reboot http://www.theeldergeek.com/enable_disable_task_manager.htm ...Show All

  • SQL Server Stored Procedure with CURSOR OUTPUT parameter, using JDBC and a callable statement

    My server is MS Sql Server 2005. I'm using com.microsoft.sqlserver.jdbc.SQLServerDriver as the driver class. I've established a connection to the database. I'm trying to invoke a stored procedure using JDBC and a callable statement. The stored procedure has a parameter @CurOut CURSOR VARYING OUTPUT. How do I setup the callable statement so the output parameter is accepted by the driver I'm not really trying to pass a cursor up to the database Server but I'm wanting a cursor back from the stored procedure that is other than the result set or other value the stored procedure returns. First problem: What java.sql.Types (or SQL Server specific) value do I specify for the out parameter I'm registering on the CallableStatement Second ...Show All

  • Windows Forms Concurrency violation help me please

    hi i use vb.net 2005 and an access database i connect to one table and change many things on the table and then save it again i use the disconnected mode i disappointed i try to solve the concurrency violation like the msdn said (get a fresh copy of the table and merge it to the worked one)but it sometimes save and sometimes not !!!!! although im one user for the database help me thanks in advance. thanks for reply the database is Access database xp 1- the table structure contains autonumber field and 4 string fields and date field and this table has relation to child table one to many .. 2- the error messages says "Concurrency violation the update command affected 0 of the excpected rows" it appears some times and times ...Show All

  • SharePoint Products and Technologies Accessing data in lists and libraries in a state machine workflow

    I'm currently trying to develop a state machine workflow in VS2005. For this workflow I need 2 data sources: data from the current form item for that this workflow was started (it's an InfoPath document in a form library) and data from a specific dataset (can be identified by a specific field in the list) in another list on the website How can I get access to this data I need it for the workflow to identify which user has to get a task assigned next and in the end I need the list to be updated with the results of the workflow. Thanks in advance ;) Tried a bit around with NameSpaceManager and finally got it: XmlNamespaceManager nsmgr = new XmlNamespaceManager (myDoc.NameTable); nsmgr ...Show All

©2008 Software Development Network