bhouse1273's Q&A profile
Visual Studio Express Editions A simpel program
Hi I'm a newbie in programming, I try to learn as good as I can. I try to write simpel programs, but now I stuck on this problem. I wanna do a program with a button and a richtextbox, when I press the button the textbox should change, and when i press it again I wannt it to change to sommthing else. Like this mayby: First: "hello world" Seconde: "Don't press me" third: "Goodby" Thanks for any (good) answere! And excuse my english!!! Hi Try something like this: Dim Messages() As String = New String(2) {"Hello World", "Don't Press Me!", "Goodbye"} ...Show All
SQL Server MySQL OLEDB Driver
Hi! I have a small question, there are OLEDB drivers availible for .NET on the MYSQL download site. But when I install them I'm not able to see them inside SQLIS, I've tried them inside Visual Studio and they work fine. Is there a way to get them "registred" or add them as a reference inside SQLIS so that I may choose them when setting up an OLEDB Source / Destination You say OLEDB drivers for .NET but that doesn't make sense to me. OLEDB is not a .NET provider instead it would be ADO.NET. Are the drivers OLEDB or are they .NET. If they are .NET then they wouldn't be available from our OLEDB source but from our DataR ...Show All
Smart Device Development is there a cell phone keypad library for PC App?
Hi Can some one guide me to find in the Smart Device library a dll that simulates Cell Phone Key for Short Messaging System, the only problem it will be used for a Windows XP Application -S I'm not sure I understand your question. This forum is for device development questions - so you're probably better off asking on one of the desktop development forums/newsgroups ...Show All
Software Development for Windows Vista Problem with Condition using Enum
I am trying to create a condition for the IfElse Activity within the expression (condition) dialog and notice that it only seems to work with primitive types (string, int, bool, etc). When trying to add a Predicate to the expression that compares an property that is of type enum to the enum value, it generates the following error: [Property] is not a valid value for [EnumType] Type must be a type provided by the runtime. Parameter name: enumType Press 'ok' to edit the value. Press 'Cancel' to cancel Any ideas or solutions to this Thanks, Anthony Yes the enum type is public. The code condition do ...Show All
Windows Forms Constituent Properties
I've developed a usercontrol that has a datagrid with a label below it. Because the grid has so many properties I just exposed it as a property of the usercontrol like this: [Description("The grid portion of this user control")] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] public DataGrid TheGrid { get { return _TheGrid; } } I want developers to use&nbs ...Show All
Visual Studio Express Editions Please Help!! Can't download due to BITS error!!
I have read the faq on my error message: "Background Intelligent Transfer Service (BITS) Disabled" and I have set the BITS service to Manual - (it already was) and the only dependency it has is RPC and that is set to 'automatic' (it is disabled so I can't change it to 'Manual'). I tried to "start" BITS and I ran the BITS admin repair tool but still get the same error when I begin to download. Please help friends - I can't even get the download to start. And this is odd - I have never ever had a problem downloading anything before. J. I found a solution to the p ...Show All
Visual Studio Tools for Office VSTO property for hidden Excel sheets
Is there a property on one of the VSTO classes or interfaces that allows one to determine whether a particular worksheet in the current workbook is hidden I am currently hiding some of my sheets via Format->Sheet->Hide on the main toolbar, and I would like to be able to identify the hidden sheets programmatically. TIA, Nick Keller Software Developer/Analyst Mercury Media You can go through your collection of sheets and check for visibility: That would give something like this: VB If Not CType(Globals.ThisWorkbook.Sheets(1), Excel.Worksheet).Visible = _ Excel.XlSheetVisibil ...Show All
Visual Studio Tools for Office Excel Constants
Dear all, I can get the maximum limit of Excel (vary on different version) by using, e.g. Rows.Count and Columns.Count), and I'd like to know how I can get the maximum number of character per a formula (E.g. 1024 for Excel 2003), or more generally, how I can get all Excel build-in constants Thanks, Hi Peter, I have re-posted your question on the Excel Programming newsgroup http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.excel.programming&lang=en&cr=US Thanks and regards, Darryn Lavery [MSFT] ...Show All
Windows Forms Reset a list box so nothing selected
I am writing a search form for a database and have an option for 'New Search'. How do I reset a list box so nothing is selected for the new search Hi, Set the SelectedIndex property to -1. listBox1.SelectedIndex = -1 Regards, -chris ...Show All
Visual Studio Express Editions UserControls/Design Time Property Grid
I'm designing and UserControl with a lot of properties. I would like to place some of the porperties in sub catagories. Similar to the way the X,Y properties are displayed for the Location property under the Layout catagory. Can someone help me emulate this behavior. Thanks Robert Sure... you can supply a TypeConverter attribute to a property. The TypeConverter will convert your datatype to a string a vice versa. This is the string that is displayed next to your property. A typeconverter can also tell the propertygrid what properties are available for editing. That's where th ...Show All
Visual Studio Express Editions directory listing into an array or file
I apologise if this has been asked before but i have been trying to use the search for over an hour now and cant find anything. I have made a tree view window, that gets populated with the files found on the computer. then when one directory is selected it location is displayed in a textbox. i am now trying to get all of the files from that selected directory into a file, or an array so i can then compare them, as i am doing this twice. sorry no source code, as i am finding it hard to find a site that will show the syntax for GetFiles(), and GetFileList() to see if these can solve me problem, if you know of any please tell m ...Show All
Visual Basic Web Service setup help needed
Hi all, I'm in the process of learning how to create and consume web services. I understand how to create the service and how to access the service from vb.net but what I don't know is how to set something up that my web service runs on. I don't have a website to publish the service on so I've briefly looked into ways to set up some kind of desktop emulation or host service that I can use. I've seen references to IIS running on the desktop as well as something else (I'm drawing a blank and can't remember the other service). Can anyone point a link out on the easiest way to set up and test a new web service There has to be an easy wa ...Show All
.NET Development SqlDataSource Deletecommand
Hi all I have a gridview with an updatecommand and a deletecommand. The updatecommand works fine but the deletecommand fails with a "variable @id must be declared" error message. This variable is in the filter for the delete request but this filter is absolutely the same as the one used for the update command. it's something like "where id = @id " in both requests. It sounds like the editing event (before update command) changes something in the declaration of variables since it's the only difference between deleting and updating functions. Any idea Thx ZeDuncan ...Show All
Visual Studio time series plot for Xrystal reports
I want to make a time series line graph from SQL Server database table I've got a date field (x-axis field), a site field (series name), and a value field (yaxis). I'm trying the chart 'expert' but I cant define the x axis field. I'm trying a standard report using the line graph -- how can you define x, y axis fields and series -- it so easy in excel Thanks Pete Im currently having the same issue and I tried the instructions that you have listed here, but I am still having an issue with the actual points on the chart. I would like to have the points connect to eachother like the typica ...Show All
Microsoft ISV Community Center Forums work localy with database
hello, i have a database on the network and when i run a function with many queries it works really slow. is there a way to copy the database to the local computer, make the queries and continue working on the database on the network other users also work on the network database so it's important that the file stays linked to that DB. please help... refael The speed problem could be the number of users or the database size. Consider moving to another platform such as SQL Server. Try compacting the database, and archiving of old data. ...Show All
