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

Software Development Network >> Ken LC's Q&A profile

Ken LC

Member List

Nicolas SC
Meda Pandu
tomsmi
Andreas12345
Wardster
Aleksey Savateyev
croesener
Julien Bonnier
jsbWS
areknee
RomanG
Nikolai Bochkarev
fblair
monyplaba
Daniel Petrik
Roy mm
Jigar acharya
BuffaloUS
CorySeaman
Johnny Quest
Only Title

Ken LC's Q&A profile

  • SQL Server Microsoft SQL Server Management Studio Express Error At Started!!!

    有 用 (JIT) 而不是此 框的 信息, 此消息的 尾。 ************** 异常文本 ************** System.IO.IOException: 法在易 父 下 建 定子 。 在 Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) 在 Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity) 在 Microsoft.Win32.RegistryKey.CreateSubKey(String subkey) 在 Microsoft.SqlServer.Management.UI.ConnectionDlg.RegisteredServersUtils.CreateKeyValueIfNotExist(String regPath, String keyName) 在 Microsoft.SqlServer.Management.UI.ConnectionDlg.RegisteredServersUtils.RegisterLocalInstancesIfFirstTimeUser() 在 Microsoft.SqlServer.Man ...Show All

  • Windows Forms Assertion Failed! Handle has not been created.

    Hey,   I have recently been working on a tutorial application using C#, and between each "slide", I need to fade out the current slide's controls and fade in the next slide's controls. To do this, I created a new control, and added a FadeIn and a FadeOut command. I successfully added the fadeout command, and I escentially mirrored it to make a fadein command by copying the code and switching out the variables. Now, here is the problem that I am having. At program execution, this code is called to fade in my first screen: [CODE] Debug.WriteLine("Fadein() Called");         Debug.WriteLine("Fadein() line1") ...Show All

  • Windows Forms Problem Deleting Data from DataGridView

    Hi. I am using a DataGridView control, when I select a row in this control and type "Supr" key, the row that I selected is deleted of DataGridView Control. I want to display a Messagebox after typing "Supr" key asking: "Are you sure you want to delete this row ", if user select "No" button, the row shouldn’t be deleted of DataGridView, but if user select "Yes" button, the row should be deleted of DataGridView control. I tried to do this using RowsRemoved event,but it 's impossible because this event is executed after the row is deleted. Could you tell me which event I should use , ...Show All

  • Visual Basic How to use DataGridViewControlCollection in place of Control Array of MSFlexGrids

    Hello, I am learning VB2005 by rewriting a large VB6 program. My VB6 program used loads of MSFlexGrids in a single Control Array. Control Arrays are out with VB2005 so I was looking at a way of using DataGridView controls in the form of a collection. The MSDN documentation points in the direction of DataGridViewControlCollection but I cannot decifer how to add DataGridViews to form a collection and then how to access each one in a similar fashion to my VB6 Control Array. My VB6 program loads the MSFlexGrid's in this simplified fashion: For I=0 to MaxFlexGrid With MSFlexGrid1(I) Code to load cells Next I Is the D ...Show All

  • Visual FoxPro Create a Directory

    How can i create a directory when the app begins but validating if the directory exists avoiding an error code thanks a lot! Hi Eric, found it. MD fails to create a directory of more than one level, when the parent directory is either hidden or a system directory: Md (Addbs(GetEnv("APPDATA"))+Sys(2015)+"\"+Sys(2015)) Creating the directory one level at a time works, though. ...Show All

  • Visual C# StackLayout in java -> in C# ????

    Hi, I am a java developer and I want to start a C# application.  I need several windows (Panel) that i store in a stack. I display only the one that i want to view.  It is a MDI application (each windows has its own toolbar for CRUD operations) but it looks like a SDI because i only display one form at a time. So, i really don't know how to do it Could somebody give me a link or sample code or a good book reference Thanks JMi I found these: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=18351 and http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwinforms/html/ ...Show All

  • Visual Basic Capturing Key press or Key Down Events for an entire Form

    Im trying to make a form for a test application. It has a heap of buttons and textboxes etc on it. I want to capture when the uses presses a random selection of keys (about 6 different keys) and have the form respond depending on what key they pressed, and what control they currently have highlighted. I don't know if i should be using keypress, keydown or something completely different Any help appreciated Cheers Mc Hi, As per my understanding you want to get the events generated by the controls that are located on you form and more also want to get the focused control. If so the ...Show All

  • Windows Forms Yet another Toolstrip question.....

    I have a really large project around a toolstrip. It already has several thousand lines of code to support all the dynamism I want. I run toolstrips through many conceivable configurations. I put them through flow mode and change their stacking etc. Now, I'm seeing something new that I have not seen before. The toolstrip separators are horizontal and look like hyphens instead of the nice vertical separators.  A drop down button gets very small and is only the size of the arrow head. Once they do this, I can't get them to appear as they used to. Also I've seen this with new projects with default toolstrip item settings with NO code invol ...Show All

  • Visual C++ changing from VS 6.0 to VS 2005

    I have a compilation error when i transfered from VS 6.0 to VS 2005. This is the error 7 error C3861: 'AssignCopy': identifier not found c:\dev\commonfiles\myclasses.h 95. when i was given this program 2 make the necessary changes i was told that AssignCopy was in a predefined copy class and this is it #include "afxmt.h". Any help would be appreciated. Thanxx CUnderscoreInName(CString& stringSrc) { // ACTUAL COPY NECESSARY SINCE ONE OF THE STRINGS IS LOCKED AssignCopy(stringSrc.GetLength(), stringSrc.GetBuffer(0)); stringSrc.ReleaseBuffer(-1); } This is the bloc ...Show All

  • Visual Studio Express Editions Configuration Settings in VB 2005 Express

    In Application under Settings in "Value" I get a Hard Code such as "C:\Documents and Settings\HP_Owner\My DocumentHomeInventory.mdb. How do I get rid of this hard code Hi, Is your problem solved Thank you, Bhanu. ...Show All

  • Visual FoxPro VFP 9.0 SQL worthless under a non client server network?

    Hello everyone; I have posted this problem here and also on UT and no solution yet. I have a small network with a 2003 server, and XP pros. I am running vfp 9 select * from products where status = "S0000" takes apx 10 seconds when run over the network. When running this locally, it takes only a fraction of a second. The product table contains 100,000 records, and the result of the SQL command is just a few hundred records. I have checked sys(2023) and my temp files are on my c: drive. Does this mean that VFP has to run in a client-server environment in order for SQL commands to be performing reasonably ...Show All

  • Visual Basic File Reference Vs. Project Reference? What's the difference?

    I'm having an error noted here: http://support.microsoft.com/ kbid=907757 It suggests using file-ref instead of project-ref. I assume file ref is where you add a file (add ...existing...module, etc.)to a project, is that correct In a Visual Studio solution you can have multiple projects as part of that solution.  These solutions can include class libraries which you can then step through and debug your project. Solution1    Project Application    Project Class Library In the Application project when you add references - you can specify the "class library project" which is ...Show All

  • Visual C++ Opening files from explorer.

    I have associated the extention .vip to my program Viper.exe. However, I have no idea how to make the program open the .vip file that has been opened in explorer! How do you find out which file was double clicked to open the filw. Thanks in advance. Hiya wrote: I have associated the extention .vip to my program Viper.exe. However, I have no idea how to make the program open the .vip file that has been opened in explorer! How do you find out which file was double clicked to open the filw. Thanks in advance. It will normally be the first command line argument passed to the executable. ...Show All

  • Software Development for Windows Vista More reading material

    I was wondering where could I get more papers to read about the WWF. There are few places that actually tell the interesting features, specialy codes and good examples of how WWF works. So if you have any link you might find interesting for someone, somewhat, new to WWF to read, I'd appreciate. Thanks. Hi Lazarus Well the most definite read will be the book " Presenting Windows WorkFlow Foundation " http://www.samspublishing.com/bookstore/product.asp isbn=0672328488&rl=1 " There is also Activities availble for download from http://www.windowsworkflow.net/Activities ...Show All

  • Windows Forms Confirm ... is it a bug?

    I'm using a datagrid in vb.net in an windows application. If I make a change in the datagrid, in one column only, then click on a button to update the database, the app does not recognise that a change has been made (ie. dataset.GetChanges returns nothing). The pencil icon still appears next to the row that was changed. If I manually click on anot ...Show All

©2008 Software Development Network