mliesmons's Q&A profile
Visual FoxPro Fonts, ? and set alternate
Hi; I have lots of older code that uses commands and set alternate to create a text file and then it uses modify command to view the file. I have noticed that on my development PC, this created a file with Fixedsys font. On the installation pcs the font is "Courier". Is there a way to determine what font will be used when issuing commands to a set alte file I know that I can use the font clause in the command itself but I was wondering what determines the default font used. Thank you all for puting up with my "oldie" questions. TOOLS -> OPTIONS -> IDE Tab THere is a drop-down for "Specify Window/File Type" Choose "Text Files" Amend the settings to whateve ...Show All
Visual Studio Team System Suggestion: Selectively deploy objects
Hi, This is a feature request. I think it would be nice to be able to "switch off" an object from being included in the DBPro build. This way, you could include things in your project but that don't need to be deployed until a later date. I recognise tht this isn't as simple as just checking a boolean flag - there's the whole issue of checking dependancies and thus disabling those as well. Thoughts Comments -Jamie Hi Steve, as part of the considering the "whole picture" I would also suggest keeping Jamie's thread Deployment strategies - what to do about differences across servers in your sight. I think there may be more coming there too. Jamie's idea that the items should be visible but ...Show All
.NET Development XML File with No Namespace information
Does anyone know if it is possbile to deserialize an xml file that has no namespace information in it as I am getting an error (CTfile xmlns=''> was not expected) It will deserialize if I add an entry for xmlns="some valid url" any ideas Datarocks wrote: [ XmlType (Namespace= "http:/www.dfes.gov.uk/schemas/cbds" )] [ XmlRoot (Namespace= "http:/www.dfes.gov.uk/schemas/cbds" , IsNullable= false )] [ Serializable ] public class CTfile { So your class definition with the XmlType respective XmlRoot attribute demands a namespace with URI http:/www.dfes.gov.uk/schemas/cbds. In that case it does not astonish me that the deserializer give ...Show All
Visual Basic syntax error
Hello to all, When I try to run an application that I am working on I get a sytax error with the line of code being referenced. Error code: syntax error: missing operand after '=' operator. Line of code referenced: Me.ChannelBindingSource.Filter = "FolderID = " & FolderComboBox.SelectedValue I have looked at this until I am ready to pull my hair out. Could someone please point me in a direction that I haven't been able to since I must have my blinders on. Thanks Spidermans-- Yes in the data base there is a space between the & and FolderComboBox.SelectedValue and also the channel is spelled correctly. I mis-typed it here. I have retyped the line several times with no success. I will try the suggest ...Show All
Visual Basic radio button help
hi folks can you help me please.... I have a radio button on my form which plays a tune when clicked my.computer.audio.play ("c:\windows\media\song1.wav", _ radio button.text= song1........ this button can play any song...if the song is renamed song1..... but what I want to do is let the user change the radio button .text to the name of the choosen song...and save it..... so that when the form loads the radio button displays the name of the song instead of song1.... ps....I am stupid so I may need some code thank you so much cheyenne This will allow the user to select a wave file to play and set just the name of the wave file to the radiobutton text: Private Sub Button1 ...Show All
Visual C# Use internet explorer urls
I'm making a webbrowser. Now i want to load the same urls that IE uses to a combobox, and set them too. In fact, I just want to know how to get access to the IE urls, so i can set/get them in my app. I hope that I am clear enough. Thanks in forward Thanks for the fast replies. I meant the recently typend urls :D I will certainly try it. But i have one more question. I want to add the typed urls to the combobox items too. Now I am aware of the combobox.items.contains() method, but I discovered that it checks for the whole string. People can type different variants of a url, like google.com or www.google.com , and the combobox will see this as 2 different strings, so it adds both of them. Now, how d ...Show All
Windows Forms Custom Folders in Click Once
Hi, I want to use clickonce deploymnet. I have application where, inside bin folder I have folders which are required at run time. e.g. I have Reports Folder like \bin\Debug\Reports where I have stored all the RPT files which I called at run time . So I want that , this Reports folder should also get created at the same path where my exe will be installed. Is there any way through ClickOnce, along with exe, my custom folders also get created On Publish tab of project properties, there is option of ApplicationFiles, but it is not allowing to edit/Add. Can anyone suggest the way out of it ...... Thanks Vyanki It is very simple, create a simple windows form. Build and run it, it will run like simple win ...Show All
Visual Studio Need help with visual studio/visual basic.net !!!!!
I am currently reading a book titled learning visual basic.net as an attempt to teach myself visual basic. Early in the book, it calls for use of the visual studio.net command prompt. I have the free express version of visual basic as I cannot afford visual studios. I cannot seem to find a visual studio command prompt, does anyone know where I can get one (if possible) for free. The rest of the book it would appear that visual basic express edition is sufficient, but i cannot find a command prompt to use. Can someone PLEASE help me! im afraid the Express editions dont have the command prompt. It's an Express edition, for free, with some limitations otherwise what would be the point in giving it away for free ;-) what exactly do you ...Show All
.NET Development detect windows firewall
hi, is there any way to detect if windows firewall is installed and to scan the exceptions to check if a port is opened i have a program that is a tcp server and when i run it i must check if the configured port is opened in the firewall. Hi my friend There is an example on the following link http://www.planet-source-code.com/vb/scripts/ShowCode.asp txtCodeId=904&lngWId=10 that can help you to scan your own IP address (127.0.0.1) and check which ports are opened. You can get the source code an explore how he do it. Hope that helps, otherwise write me back! Regards ...Show All
SQL Server How to retrieve the actions using MDSCHEMA_ACTIONS?
Hello, When I run the following code, I get an empty schema. Dim drAction As DataRow Dim dsActions As DataSet dsActions = MyConnection.GetSchemaDataSet(AdomdSchemaGuid.Actions, _ New Object () {szDatabase, Nothing , szCubeName, Nothing , Nothing , szCubeName, 1}) The result: dsActions.Tables.Count = 1 but dsActions.Tables(0).Rows.Count = 0 Even though my cube contains two actions as it is shown in the following: < Actions > < Action xsi:type = " DrillThroughAction " > < ID > Drillthrough Action </ ID > < Name > Drillthrough Action </ Name > < TargetType > Cells </ TargetType > & ...Show All
Visual C++ Statusbar Updation in Multithreading Environment..
Hai, Iam using SDI application. I have to update status bar text in a thread, running in Application class. code as follows, ///////////////code in main class////// HWND Sts = m_wndStatusBar->GetSafeHwnd(); ///////////////code in Application class////// extern HWND Sts; //////////////////code in the thread CStatusBar* pSts = (CStatusBar*)CStatusBar::FromHandle(Sts); pSts->SetWindowText("Waiting for File..."); Everything work fine, is this the right procedure to update the Status bar or to pass message to mainframe to update Thanks in Advance. Generally, CWnd-derived classes should be accessed only from the thread which created them. Classic way is to send/post message to the wind ...Show All
SQL Server Value On Chart
Hi, everybody. I have a pie chart.And I want my data values to be on the chart.For example, I want the show the Fields!EmployeeCount.Value to be on the pie or column. How can I do this Thanks in advance. Hi put the field name in the "data Label" under the "point label" option. in the data label, click on the field name (Values:), then click edit, it should give you the point label option. Works for me ...Show All
Visual Studio 2008 (Pre-release) Service and WCF
Hello Everyone, I asked a similar type of question before and I want to be completely sure as this is little confusing to me. I have a customer which wants to use the .NET 3.0 framework and WCF and everything should run as a service on Windows Terminal Services. I'm wondering what type of project should be made and how to use WCF there. Any examples, articles really appreciated. Thanks, Harsimrat Yes, that clears that and I have one more question : If I want to create a Window Service and WCF in that, I can do that by Creating a Window Service Project and use System.ServiceModel and other .NET 3.0 libraries and use ServiceContract and DataContract This is my first time working ...Show All
Windows Forms Want to set initialdirectory to the mycomputer
Hi All, I am using openfiledialog and savefiledialog in windows form. I want to set its initial directory to "my computer". I have tried Environment.GetFolderPath(Environment.SpecialFolder.MyComputer) but it's not working. Anybody please help me in this..... May be you can do some research in the following articles http://msdn.microsoft.com/msdnmag/issues/03/03/CuttingEdge/ Hope it will help you ...Show All
Smart Device Development Change size in other .resx
Hello , im using visual studio 2005. I have created localizable Form. For this form i have three .resx (for English, Czech, Finland). This .resx was created by visual studio 2005 in design mode. Each .resx has different form size. Exist possibility how to set global new form size for these .resx (language English, Czech, Finland) Possibility is remove form size from each language .resx and in Language = (default) set new size but i think is not good.... Exist some way how to make changes in all language .resx for one form Thanks Hi, thanks for your help , im looking for visual studio utility which allows you to change component property for all form's .resx. So at this moment I have the fo ...Show All
