MSDN Viewer's Q&A profile
Windows Forms Custom Designer Window
Developing a cutom designer form for my control. Form has a treeview control in it. How do you embed a propery designer window inside a form in runtime. The property designer window is like when you are in design mode and right click a control and hit properties. I want the ability to set properties inside the property desinger  ...Show All
Visual Studio MSDN Installation issues
Hi, Though Installation of MSDN April 2003 succeeds, I am not able to see any contents in the MSDN GUI ( Blank - About says unknown user and Unknown product ID). I am able install October 2001 MSDN properly. Please let me know the reason for the same. Thanks Sujatha, thank you for posting this question. In order to better troubleshoot the problem you are seeing, I suggest that you uninstall the April 2003 MSDN installation and run setup again with setup logging enabled to determine what might have caused the problem. To run setup with logging enabled, type in the following command in a command w ...Show All
Visual C++ Finding file handle count
Hi all, I m working on a file security project in which I have to track the handle count for any secured file at any time. There will obviously be a way to find the handle count for any opened file but I dont know how to find it. Plz let me know how to find the handle count. Thanx in advance Regards, Thanx for replying Perhaps I was not clear or use wrong word. It is handle referenec count-number of processes that are using the specified resource or file. I want to know at any time, how many processes are using the file or have the handle of that file. Regards, ...Show All
Visual C# How can I use MS Word's syntax checking feature?
I'm programming in C#. I need a function that get string as input and result in whether that string is in correct English syntax or not ,like It has in MS Word(MS word will underline the text that isn't in correct syntax). Thank you, You can build up your own library, but you can also use the Spellcheck of Word. Check these articles at codeproject: Spellcheck.net NetSpell - Spell Checker for .NET ...Show All
Visual C# How will I determine if the value of a variable is an integer?
or a decimal if (isInteger(var) == true) Meanwhile i can tell you if (xxx) is better than if (xxx == true) --------------------------- float x; (x%2 == 0) -> integer ---------------------------- better you explain what you want to check because there are many solutions to your problem ...Show All
Visual Basic Win Forms Databinding with DataGridView - how to hide columns?
I apologize in advance for asking such a simple question, but I've looked around quite a bit and can't find an answer. I'm trying to do something like this: Dim dt As New DataTable dt = MyObject.GetList(RecordID) Dim bs As New BindingSource bs.DataSource = dt With dgReports .DataSource = bs End With Which works fine, but ...Show All
Visual Studio Tools for Office dynamic smart tag???
Hi, I use Visual Studio 2005 professional editioin. I have created a smart tag, you can see it when you locate to (Word > Tools > AutoCorrect Options command > Smart Tags tab), I have checked Recoginze method by using MessageBox.Show(....) and it works, but i have two problems: 1. I don't know if Action class is registered or not, I have registered both classes in the same way by using GUID and creating subkey in the: HKEY_CURRENT_USER\Software\Microsoft\Office\Common\Smart Tag\Actions But the action button (smart tag button)does not appieres and I dont know how can i check if the Action is register, I have used MessageBox.sho ...Show All
Visual FoxPro report labels
hi all,im making new reports during run time according to users actions.for example he selectes some fields from comboboxes then he puts in a text box a value that is for the "where like.."and i save the results in a temporary table.from that table i create report and the i report form to print the new report..the problem is that the new report has as labels the names of the fields..for example if the field name is costomer_id it shows costomer_id is there a way to change in run time the name of each labe so that when you choose for example costomer_id it will print Identification Of Costomer.. the reason is that if i can change the label i ...Show All
Windows Forms object property binding
Hello people. I am trying to bind a NumericUpDown.Value to a "custom" property without any luck. Some code: class Form1 { ... private float f; public float F { get { return f; } set { f = value;} } Form1_Load(...) { nud.DataBindings.Add("Value",this,"N"); } } No errors... no nothing. The values in nud.Value are not reflected in f. Anybody... Thank you. ...Show All
Visual Studio Team System Item Version
Hello, I was able with the VSS object model to get my hands on and item, get the items latest version, test for the existance of a label on that latest version and then retrieve the label. How would I do this with the TFSOM. Thank you, James Start with this example: http://blogs.msdn.com/buckh/archive/2006/03/15/552288.aspx VersionControlServer.QueryLabels() has an overload that lets you filter by server path and/or version. ...Show All
Smart Device Development WebBrowser.DocumentText
I try to put some images to the webbrowser with .documenttext method but it can not show it.It shows x. I try all possible way of writing path but it didn't work. Can't we put an image to the webbrowser with this method The problem resolved by installing the August-ServicePack for NETCF: a bug in webbrowser was fixed and the above mentioned assingnment works. ...Show All
Windows Search Technologies Forum for Vista Windows Search APIs?
Hi Which forum or newsgroup is best for asking development questions about the 'Windows Search' APIs in Windows Vista So far looking at the posts in this forum they seem to be specifically about WDS on XP/2k3. One possible forum I came across was the "Search, Organize and Visualize in Windows Vista", but I don't see much activity in the forum and not really many developer related queries and hardly any responses from MS developers. Thanks Hi Sean, You've come to the right place. Please feel free to ask your Windows Vista Search questions here. I'll do the best I can to help find the ...Show All
Visual C# Windows-Service StartUP
Hi folks, it is possible to change the Startup Option of a windows service for example from automatic to manuell like in the managment console I don't think there is a standard fuction for that in the .net framework, but you can always use interop to access a service. You need to call the following Win32Api methods (use dllimport): 1. OpenScManager 2. OpenService 3. ChangeServiceConfig 4. CloseServiceHandle (for the service) 5. CloseServiceHandle (for the ScManager) All these function are in advapi32.dll. Let me know if you need more help so I can supply you with a code example. Sven ...Show All
.NET Development Server as form - how to call methods on the form etc.
Hi all, I am trying to write a music player (hosted in a winform) that can be controlled using Remoting over TCP/IP from different applications (e.g. asp.net, pocketpc etc.) The problem I have been unable to solve is how to get my remote object (instantiated on server as singlecall) to call methods on the server winform which hosts e.g. the mediaplayer activex control. For example, I want to do soemthing like the following: 1. Client (say PocketPC app) calls "play" method on remote object passing filename of mp3 to play 2. Remote object validates existence of file and calls method on winform to play file 3. MediaP ...Show All
Windows Forms Exporting OCX files
I have created a control in Visual Basic 2005 Express Edition Beta. When I build it, it just makes a dll files. Where is the OCX toolbox file Now I am getting the error again :( "Object Refrence not set to an instance of an object" but only when I debug it. The control works fine in design mode. What causes this ...Show All
