Michael Kenney's Q&A profile
Windows Forms ToolStripTextBox and Focus
Anyone here know how to get focus into a ToolStripTextBox when a form first loads Right now, ToolStripTextBox.Focus() does not do this. Any ideas Thanks. ...Show All
Windows Forms convert IntPrt back to its original Object in VB.NET.
Hi All, I want to convert IntPrt back to its original Object in VB.NET. Is it possible I am a newbee and I need help on this from u. Thank you. I'm not an expert in this but I think you can not get a control by using theise function. If you want to edit the control you will have to use win32 api. If your using theise function this mean that you are trying to access none .NET control ...Show All
Windows Forms Creating Custom Dialogs
Hi, I try to create a custom dialog in VS2005(C++), but the result is, that the dialog’s behaviour is like a "normal" control. It should behave like all the standard dialogs, which means, that you can place the control at design time on the "component tray" like i.e. the printDialog. Searching around, I found, that I have to set: TopLevel to false, and the FormBorderStyle to none/FixedDialog. But this is not working for me. What’s going wrong Best regards, Carl Aha... well... These two items you see in that menu are simply a shortcut, for convenience. In the same menu you will also see 'Add ne ...Show All
Windows Forms Localized Deployment, localized .NET installer
Hi, I want to localize the deployment (Russian and other languages) of my Win Application. I know how to localize the MSI (localization dropdown option), but how to localize the .NET installer I read in the help article : ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_deploy/html/eee53da5-bc30-454f-9271-ff35f02313a8.htm that one can download localized merge modules (dotnetfxredist_x86_language.msm) from the MS website, but I can't find where. Thank you for your help. Gidon The short answer is no, you can't do that. The dotnet frameworks is built on a core+langpack approach... so n ...Show All
.NET Development Bulk text file manipulation through VS.Net
Hi I am assigned with a task to manipulate a text file containing approximately Two to Five hundred Million records based on conditions given by the user. Similar to updating a database. Manipulation will contain tasks like, Filtering data from files, faster retrival and displaying data. Is there any methods available in VS.Net through which the manipulation can happen in less amount of time and the performance is also kept to a higher degree. Can any body help me out. Thanks in advance, Gokul. Gokul, This forum is mainly for questions specific to the tools included with Visual Studio 2005 for Developers such as th ...Show All
Software Development for Windows Vista How to load conditions from a .rules file in a designer hosting application?
I want to let my designer hosting application be able to read conditions from a .rules file after it reads a workflow from a .xoml file. What can I do The rule editors and related classes use the WorkflowDesignerLoader. They call the FileName property to get the "name" of your workflow file (I put name is quotes since you don't really have to have a file - you might be storing your workflow in a database. Then they call GetFileReader - passing in that name with .xoml or .cs with .rules (so if you pass back foo.xoml - they will pass foo.rules to GetFileReader). You return a TextReader. They they ...Show All
Visual Basic Listview Question
I have a listview that contains data that I'm pulling back from a database, which works great. Now I want to add a URL to the end of a description field, when certain criteria is meet, and that works. The problem that I have is that the URL is not clickable within the listview. Is there a setting I'm missing like the richtextbox detecturl's for the listview, or is there another way to recognize that text as a link so that I can do a onclick event Secondly, once I get the click working, I'll want to add an image rather than the URL in the listview, is it possible to load an icon sized image in the listview for the url Hi Jeff, ...Show All
Software Development for Windows Vista WinFX RTC December 2005 Not working with December Vista SDK
There's a problem with the WinFx RTC download for December 2005. The links on the page http://www.microsoft.com/downloads/details.aspx familyid=BD3BA2D5-6ADB-4FB2-A3AA-E16A9EA5603F&displaylang=en There's a link to download the entire WinFx RTC package instead of the "smart" installer. http://download.microsoft.com/download/9/4/9/949EEA41-364A-45DC-8F4E-47E7AC147D25/winfxrc.exe I checked the time/date stamp in the downloaded files from the WinFX RTC and the Dll's are all from 11/18/05. this is for the WinFX RTC that is linked on the downloads page indicating it was December 2005 WinFX RTC. This happens wi ...Show All
Visual Basic SQL Server + Integrated Authentication and/or Impersonation...
Does anyone know how to impersonate a user and then use integrated security with SQL server Every place I've looked so far only shows how to use integrated security through IIS (asp.net), however I do not want my application dependant on a web server. Ive read a few articles that suggest Impersonating a user account, however for some reason, everytime I impersonate a user account, SQL server identifies me as "NT AUTHORITY\ANONYMOUS LOGON" Is this by design or am I doing something wrong Any help would be appreciated. Well.... I finally figured it out what I was doing wrong. ...Show All
.NET Development Convert Data to Binary
Hi All, How to convert from any data, such as string, interger ar Ascii to banary Any help would be appreciated. Hank You can't. binary is a number system, any integer can be rendered as binary, but it can't be *converted* to binary, that makes no sense Perhaps you need to explain what you want to do here ...Show All
Visual Basic Best way to make frequently used functions available to all apps?
I have written several functions in VB.Net that I reuse again and again. Other than importing modules, copying and pasting, etc. does Visual Studio have some sort of tool that I don't know about to make these readily available to any new apps Thanks, Dave Thanks for both of the suggestions-they both sound a lot better than the way I was doing it before and I'll give them a try! Dave ...Show All
Visual Studio Team System TFS Project Structure creation
HI Can any one tell me how to create a team project for the above secenrio we are in product development, so we have a product at top level and which in turn has n sub modules projects.The Structure is like this Product Module1-Team A (10 persons are working) Module 2-Team B(20 persons are working) Module 3 -Team C(10 persons are working) ......................................................... .......................................................... Module n-Team N( 10 persons are working) Based up on this scenerio, i want to create a team project where in ,project Lead of a particular Module ...Show All
SQL Server Reporting Local mode images and text
I am attempting to put an image on a report and place a textbox over top of the image. The image is a certificate of completion and the textbox is the person's name. When I put the image on the report it forces the textbox to print under the image. It sounds like you're using the Webforms viewer. Overlapping report items are not supported when rendering to HTML. If a report item overlaps another item, the items are arranged so that they do not overlap. Some more information: http://msdn2.microsoft.com/en-us/library/ms156022(SQL.90).aspx -Chris ...Show All
.NET Development xmldocument.validate exception handling
Hello All, I am writing a Web Method that when passed a string containing a path to an XML document it will get that document and validate it using xmldocument.validate. I know that the validate method takes an event handler. When validate fails I would like to pass a message back to the web service consumer. This is what I have so far. Does any one have a better suggestion One that fits a standard. I think part of my problem with this solution is that I am throwing a new exception back to the web method. Forgive my lack of understanding, but how do I send a string back to the web method from the event handler. Thanks, prosimma ...Show All
SQL Server Update fields on n-side of 1:n-relation
I have some tables with 1:n-relations. Now I want to update the n-side of the relation. Whatever i do the result is always: Subquery returned more than 1 value. This is not permitted ... Both number and internalNumber are unique in table k, which is the 1-side of the relation. Ab is one of the n-side tables. UPDATE Ab SET knr = (select k.internalNumber from Kunden as k where kNumber=k.number) In my opinion there should be one kNumber at a time and for each kNumber exists exactly 1 record in k. The following gives the same result: UPDATE Ab SET knr = k.internalNumber from Kunden as k w ...Show All
