Software Development Network Logo
  • VS Express Editions
  • Architecture
  • Microsoft ISV
  • Visual Studio
  • VS Team System
  • Visual Basic
  • Windows Live
  • SQL Server
  • Windows Vista
  • Windows Forms
  • Visual C#
  • Visual FoxPro
  • Visual J#
  • Visual C++
  • Game Technologies

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

Kbyerly

Member List

Nihar1
Rafael Rivera
Suma Sushilendra MSFT
Rama Nagesh
Rajesh
Evergray
Waleed Seada
jesus m
MatrixObjects
Scott Johnston
carlengerer
AnilK
flashfreaker
TheDoctor30306
Leigh_d
Dub
Nick Parker
Bertrandkis
PURNARAM
Fraadl
Only Title

Kbyerly's Q&A profile

  • Visual Studio 2008 (Pre-release) Databinding problem

    Hello, Could you provide some ideas on how following problem could be solved. Let's say I have two classes: 1) class Status, properties: Code, Description 2) class Case, properties: Code, Status (of type Status) Let's say I have two objects: 1) statusCollection = new List<Status>(); 2) case = new Case(); What I want to achieve is to construct a Window with textbox and combobox controls on it. Textbox would display case.Code, and combobox would list all available statusCollection item Status.Code values. When the Window is loaded, combobox initial value needs to be equal to case.Status.Code. How bindings should be s ...Show All

  • Visual Studio How to listen keystorkes in VS.Net IDE

    Hi, I'm writing a add-in for helping our development team. Something like live templates, templates will be stored in a xml file with keyname. Like forloop, ifcondition and so on... So when the developer types forloop in the codewindow, then a tooltip should appear on the window, saying press some key to fill the template. For doing this i tried using add-in, but in VS 2003 only LineChanged event is available for texteditor events in DTE. So I don't know how to track the keystrokes happening in the current window. Please let me know the solution or alternative way to handle this or any workarounds. Regards, Saravana Kumar B Samo, I desc ...Show All

  • .NET Development filter

    Table1BindingSource.Filter = "date= " & 5/5/05 can u pls correct the following code. Based on the value of datetimepicker control, the filter should be applied. Another problem is how can filter in such a way that it shows records between start date and end date pls let me know Try doing something like "date>=#" & StartDate.ToShortDateString() & "# and date <=#" & EndDate.ToShortDateString() & "#" Also try replacing the # with ' if that doesn't work. ...Show All

  • SQL Server sp_send_dbmail

    Hey, I've the following format. I've the profile and everything required to send mail setup. When I run the below it fails saying the attachments is invalid [Execute SQL Task] Error: Executing the query "declare @filename varchar(100) set @filename='\\Server\f$\DeletedRecords.csv' EXEC msdb.dbo.sp_send_dbmail @profile_name = 'DBA public profile', @recipients = abc@test.com' , @body = 'Attached is the file from dts package.', @subject = 'Automated Success Message' ,@file_attachments=@filename ;" failed with the following error: "Attachment file \\Server\f$\DeletedRecords.csv is invalid.". Possible failure re ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C# - DirectX 9.0c - Creating a Basic Hexagon

    I was wondering if someone could walk me through drawing a basic hexagon using DirectX 9.0c in C#. I've been using the Vector3 structure, and I am having problems understanding how to initialize the view transformation matrix for a hexagon, as well as what input vectors will represent the hexagon (understandably 6). Thank you in advance, Owen If I were you I would not purchase the book by Wendy Stahler. The book by Eric Lengyel is very good ( although I do only have the first edition) it provides enough of mathematics and physics to play with for a long time. ...Show All

  • Visual C# GetType from instance that has a null value

    Hello How can i detect the type of an instance that has a null value Test test = null; System.Type type = test.GetType(); returns a nullreference exception..... The Watch window in the debugger of VS.NET is returning the correct type, so it should be possible.. Thanks Marco Hi, VS saves info about all symbols in your project, and it even saves information that you don't have access when running it, when debugging and that's probably the reason why you can get its type in the debugger. ...Show All

  • Visual FoxPro Export data to text- How I can bypass the default text delimitter?

    Dear all, I am exporting data from Visual FoxPro 6.0 to text file, so I use "Export..." in the menu, then choose file type "delimited text". I want the data export to text with field seperator is a bar character ( | ) and no text field delimiter. But FoxPro puts the double quote character ( " ) as default text field delimiter. How can I bypass this double quote character For example: Currently FoxPro exports my data to text in this format: "This is the 1st field "| "This is the second field"|12345|" This is the third field"| But I need that text output without those ...Show All

  • Visual Basic License Agreement Dialog

    I'm creating a setup project for an application and I would like to present a EULA to the user. I using the supplied License Agreement Dialog  and am supposed to set the LicenseFile Property to the rtf file that contains the EULA. The file was added to the project Simple enough right However when I do a test install the EULA is not shown. Does anyone have any idea as why this is happening Thanks I am a little confused about your reply here...and I may have confused things earlier with my reply. So please try the following: 1. Launch Winword.exe (ms word) 2. Add your text for your agreement dialog 3. Complete a "S ...Show All

  • Visual Basic vb express beta 2 + threads

    Hello, i just decided to convert to the latest Beta of vb 2005 and now i have some problems. After fixing the small errors/warnings the program was compiling and running. The problem is that it crashes every time another thread tries to access a var/function/sub/object of the Main thread. The error is a Null Reference Exeption. Here is a code example: ------------------------------ Public Class Main public sub writeLog ( byval str as String )     txtBox.Text = txtBox.Text & str end sub private sub myThreadSub()     Dim thisThread As System.Threading.Thread     thisThread = New ...Show All

  • SQL Server Forgotten DTS package passwords

    How do you obtain a DTS package password if you have forgotten the password in SQL Server 2000 with SP3 ...Show All

  • Windows Forms Windows form keeps dissappearing

    Hi, Ive got a rather silly question... hope someone can help. I have created a project with several forms. One form in particular is causing me problems. I cant seem to find my main form (form 1). This is the second project this has happened in. The solution explorer lists all my forms except form 1 which is my main form. When i debug/run the code, my form comes up as per normal. Whats going on Why cant i find my form in solution explorer or anywhere for that matter I think i may have overlooked a simple concept here but novice coders tend to do that! I would be really grateful for any help. Cheers Aaron ...Show All

  • Visual Studio Express Editions Icons

    This isn't really relevant but does anyone know any free software (downloadable) that lets you creat icons to save as the ico. format or atleast save jpegs to ico. The best one is probably microangleo , which works as free trial. Otherwise there are lots of runners' up in second place, as usual, google is your friend. ...Show All

  • Visual Studio Express Editions Return type of a function in a dll

    ABC_STATUS ABC_Init(HWND hWnd, UINT messageOffset ); //hWnd Handle to window waiting a message. //messageOffset Offset value of message ID. The above code is a VC++ dll and i am using it in C#.  The returning variable ABC _STATUS contains values as: ABC_STATUS ABC_NORMAL : This function succeeds. ABC_E_BUSY : This function is work in progress. ABC_E_START : This function fails to begin thread. Tell me how to get the value of the return variable ABC _STATUS in C#.   Willfin ABC_STATUS ABC_Init(HWND hWnd, UINT messageOffset ); UINT is the Of ...Show All

  • Visual Studio Team System Subfolder overwrite issue in Team System RTM

    Hello, We've run into a frustrating problem with the Team System RTM involving drag and drop operations in the IDE that overwrite files in subfolders. The issue is illustrated here with an animated GIF movie: http://blogs.vertigosoftware.com/teamsystem/archive/2006/03/31/Subfolder_overwrite_issue_in_Team_System_RTM.aspx James Manning confirmed this as well, so I think it's a bug in the RTM. I need to figure out a few things now: 1) Can anyone can think of a good workaround for this bug In other words, how do we overwrite existing files in the IDE with new versions 2) Is there any ETA for a hotfix on this bug How long will we have to wai ...Show All

  • Visual Studio Express Editions Database error running the club website starter kit app

    Hello Forum Members, I downloaded the release version of Visual Studio Web Express and then installed the club web site starter kit.  I created a new web site using the template and then tried to run it.  It looks like the database file is not compatible with the database instance. Any help or advise would be greatly appreciated.   Server Error in '/Club Web Site Starter Kit1' Application. Check the thread below for the current version of the kit and some tutorials of how to use it. Hope this helps. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2084157&SiteID=1 ...Show All

©2008 Software Development Network