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

Software Development Network >> Walt-the-IT-Guy's Q&A profile

Walt-the-IT-Guy

Member List

Dmitry Goncharenko - MSFT
YummySatay
Mandeep
M.D.A
IllegalFunction
brireed
Max Andrade
amienel
Topry
cokert
Im Greatest
JNadal
Steeler
Alexander Yarushin
Nick Waanders
Brian Cecile
John VB
Yury P
hrishi1976
davidhite
Only Title

Walt-the-IT-Guy's Q&A profile

  • Windows Forms handle multiple URL links in a richtextbox

    how do you determine which link was clicked Private Sub RichTextBox1_MouseUp ( ByVal sender As Object , ByVal e As System . Windows . Forms . MouseEventArgs ) Handles RichTextBox1 . MouseUp Dim TheUrl As String = "www.TheUrl.Com" Dim StartIndexOfLink As Integer = Me . RichTextBox1 . Find ( TheUrl ) Dim EndIndexOfLink As Integer = StartIndexOfLink + TheUrl . Length Dim ClickedIndex As Integer = Me . RichTextBox1 . GetCharIndexFromPosition ( New Point ( e . X , e . Y )) If ClickedIndex >= StartIndexOfLink An ...Show All

  • Visual Basic Missing Form [Design] Screen

    I have a serious problem that is causing me to lose weeks of development time. I removed a foreign key from an SQL database that was not needed. When I went back into a working VB project that was using this database, I received an error on the form [design] screen regarding a missing foreign key. From this point on I have been unable to "find" the form design screen within my project. It seems to have simply disappeared from my project. Is this a bug, or is the form designer hidden where I cannot see it ...Show All

  • Visual Studio 2008 (Pre-release) Speed of XAML

    Is it possible for you guys to give us a realistic timeline on when XAML wil be ready to be a actual viable option to develop applications for E.g when will the whole framework standardize and when will we be able to develop apps that won't run at snail speed Thank you very much, Jaco There are many applications in development today, and some are even available for evaluation. The February CTP is the build you should use. There are companies that have been developing WPF applications since PDC 2003, and they are fairly well into their development at this point. Is there some specific iss ...Show All

  • Windows Forms Recognizing MDI Parent Closing Event

    Hi.. How can I know when the X button of MDI parent is click in my MDI child form. I need to check if the parent form is closing than do certain thing in my child form.  Thanks in advance.. Sumit Gupta http://www.sumitonnet.20m.com I had the similar requirement. If more than one MDI child form is open, and if the main application is&n ...Show All

  • .NET Development ContextSwitchDeadlock on DataAdapter.Fill();

    I have application which uses Access DB I have main form with dataset and mdi forms with DataGridView bound to dataset tables in main form. If I insert record in DB and trying to update dataset table using DataAdapter.Fill() program stops responding for a long time. If I debug application last step is DataAdapter.Fill() and after some time I get a ContextSwitchDeadlock exception. public void ExecuteQuery( string TableName, string SqlCommandString) { OleDbCommand myCommand = new OleDbCommand (SqlCommandString, AccessConnection); if (AccessConnection.State != ConnectionState .Open) AccessConnection.Open(); ...Show All

  • Software Development for Windows Vista Approachses for assignments

    I would like to create worklist for activities.  What would be the best apporach to doing this   Would I impliment my own activity that creates a workitem with a URL for a user to navigate to What about getting context into the system of who the current user is and making workflow decisions based on this information Any direction in this area would be helpfull. Thanks in advance, Mardo Mardo, There are several ways to design a system to create tasks or worklists, and you could use either a state machine or sequential workflow as your starting point.  You'll need to also use an EventSink activity to get data into th ...Show All

  • .NET Development variable name from string?

    If I have an int like: int i = 1; and I have a string representing int i like: string name = "i"; is there a way I can turn the "i" into a variable name to access it's value Not really. You can put all int's into a dictionary and access them by name: Dictionary< string , int > numbers = new Dictionary< string , int >(); numbers.Add("i", 1); numbers["i"] += 41; Console.WriteLine(numbers["i"]);  // prints 42   Why do you want to do this, anyway Maybe there's a better solution... ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. No shader syntax highlighting

    The readme file of the Dxsdk December update says: "HLSL syntax highlighting works properly in Visual Studio 2005 but the Direct3D 9 Shader Debugger is not currently supported. " Well, the syntax highlighting has never worked for me in VC++ 2005. I thought the Dxsdk December update would fix this ( I found another post here that said it would) but it didn't. Is there anything I can do to activate it   Kloda wrote: Ok, thanks to both of you for the replies. If that's true about PIX it seems like a step backwards in user-friendliness, having to capture a full stream every time you want to deb ...Show All

  • Visual Studio MSDN 8 Installation on a server

    Hi all, Looking to setup MSDN on a server and have clients connect to a single install of the library (to save disc space) but can't seem to find any documentation on how I do this (or for VS 6 and 7 for that matter!) regards, Alex Hello, Unfortunately this feature is not available.  But, in VS2005 we've added Online Help integration, so you can get F1 & Search functionality without installing any docs locally. There is a "run from source" option in VS2003 & Quarterly MSDNs, but it doesn't allow multiple clients to connect to a single doc install.  It still requires part of the installation to occur on the client's mac ...Show All

  • Visual Studio MSDN pages do not open when selected.

    Using the MSDN Library included with Visual Studio.net, the left side panel works but all pages selected,  by index or search or from the table of contents do not show in the right pane. There is a flash in the lower task bar and the title of the selected page does apear and remain in the field above the right panel. I appreciate any help you can offer. Hello lle, Sometimes your IE cache is the casue for this type of issue.  Close MSDN, empty your IE cache and then restart the MSDN library. Thanks Khairun Jamal ...Show All

  • Windows Forms TaskVision: Danger of BadPractices

    Hi! Since TaskVision doesn't follow any of the Microsoft Patterns (as a matter of fact it doesn't follow any pattern at all, it doesn't even follow the  ADO.NET  API or WindowsForms.NET API) and so many people is downloading it, using it, and basing their work on it.... Is TaskVision creating, with each download, an "anti-pattern programmer" Is TaskVision c ...Show All

  • Visual C# help me (dll problem)

    i have made a WindowsControlLibrary (dll file) (i made a winform and then copyed every thing (almost) to the control ) but every time i try to load it with asp.net nothing happens the asp.net file : public class WebForm1 : System.Web.UI.Page { private void Page_Load( object sender, System.EventArgs e) { Assembly a; a = Assembly.LoadFrom(@"C:\saa1\vc#\WindowsControlLibrary2\bin\Debug\saa2.dll"); Type t = a.GetType("WindowsControlLibrary2.UserControl1"); Object obj = Activator.CreateInstance(t); } and the control file: namespace WindowsControlLibrary2 { public class UserControl1 : System.Windows.Forms.UserControl ...Show All

  • Visual Basic making images with buttons

    i want to make a program where when you check a check box it shows an image.what kind of coding does the button need You need to make a form with a checkbox and and picturbox on it and use code somewhat similar to this. Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged If Me.CheckBox1.Checked Then Me.PictureBox1.Load("c:\logo1.gif") Else Me.PictureBox1.Load("c:\logo2.gif") End If End Sub ...Show All

  • SQL Server Problem when moving index with included columns to another filegroup

    Hi, This may be a GUI bug. When I manually create and then execute a script to move an index with included columns to another filegroup, it works. When I try to edit the storage property of the index through the GUI, index properties, then when I ask to generate the script for the change to the clipboard, I get an error Could not add [FirstIncludedColumn] to the collection because it already exist. Microsoft.sqlserver.Smo it works if the index does not includes addtl columns. Is that a bug It really looks it works when done manually. Thanks, Philippe This sounds like a bug to me. Please fi ...Show All

  • .NET Development Problems adding web reference

    Hi guys, I quite new to web services. I'm not quite sure if this is the place to post this but my problem involves a web service so here goes. I am using Visual Studio 2005 to create a windows service which will call some functions exposed by a web service. Now, my problem is that I can't add that web service as a web reference. Some background on the web service is that it is compiled in Delphi 2005. And it has a .dll extension, which is different from the books and web I've read which shows .asmx extensions. When I right click on project, select add web refereence, and on the dialog that comes up, I browse the web service, I get t ...Show All

©2008 Software Development Network