Benjamin Bradley MSFT's Q&A profile
Windows Forms runtime object properties
hi i want to know , how we can use textbox's all properties at runtime. e.g i create textbox at runtime i want to move it at runtime Just to add to Vikram's post: To create a text box at runtime add the following method to the form you want to add it to: private void AddTextBox() { TextBox textbox = new TextBox(); textbox.Bounds = new Rectangle(75, 100, 200, 30);   ...Show All
Visual FoxPro object execel, word with vfoxpro
where I can find a manual of extrinsicos objects of excel and Word (.add, font.value, .HorizontalAlignment, .Font.size , etc, etc )to be used from Vfoxpro urgent. how set a cell in excel to numeric format grazie There is also a good article in UT Magazine: http://www.utmag.com/September2002/Page45.asp Here's the Excel Object Model: http://msdn.microsoft.com/library/default.asp url=/library/en-us/modcore/html/deovrmicrosoftexcel2000.asp ...Show All
.NET Development How to find all SQL Server Instances over a network from .NET
I'm need to show an "Add Connection Wizard" or make similar dialog to config my application database in a production environment. How can i find all sql instances in a network (as osql /L command) .NET 2.0 have any way to do Finally i found the managed code for do this! Is a new feature in .NET 2.0: (From .NET 2.0 Doc.) VB.NET Version Imports System.Data.Sql Module Module1 ...Show All
Windows Forms TextBox, decimal field and null values
Hi all, As the username suggests, am new to all this- so appologies for what seems to be a silly question... Working on a small application on VS 2005, I've noticed that when binding a textbox to a table ('price') column of decimal value that accepts null values, whenever I erase the contents of the textbox, it gets 'locked' till I fill it back with a numerical value. In the "price" column's properties in the TableDataSet ...Show All
Visual Basic MyBase.Load Me.Load form question
I simply can't get my mind around this, and appreciate any insight into what is happening... In VB .Net 2005... I've noticed that if i create a new form (Form1) with 1 textbox (TextBox1) and derive a new class from Form1 called Form2, the IDE (by default) uses MYBASE to handle the load event (MyBase.Load) but uses TextBox1.Click to handle the textbox1events. In addition, I've noticed that in Form2, I can also add a Me.Load eventhander (For ...Show All
Visual C++ // stdafx.h : include file for standard system include files,
i just started to write a simple console application by using Visual C++ 2005 Express Edition Beta , #include "stdafx.h" #using <mscorlib.dll> using namespace System; int _tmain() { console::writeLine(s "Hello world" ); return 0; } But when i try to debug the file,i got an error.The error was : : fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory is there anyone can help me ...Show All
Visual C++ sqlfront.h
Hi, I'd been a VC 6 user for years. I just switched to VC 8 and found that there wasn't an 'sqlfront.h' in the ./Include folder of the VC 8 program directory. I am wondering if there're any equivalent headers I can include so that I can use the types or structs defined in the 'sqlfront.h'. Thanks Matthew PS: I also installed the PSDK for Server 2003. I am not an expert in SQL but looks like http://www.sqlteam.com/foru ...Show All
Windows Forms ListBox And DataGridView
Can someone tell me how put the items from a listBox into a DataGridView Use the following code snippet // create a table DataTable dt=new DataTable(); // add column for which data to be inserted dt.Columns.Add("First Column"); // add rows to the table by getting the values from the listview for (int i = 0; i < this.listBox1.Items.Count; i++) { dt.Rows.Add(this.listBox1.I ...Show All
.NET Development ServerXMLHTTP - responseText
I've got an issue regarding the text "ServerXMLHTTP" returns. (msxml6.dll) I'm using it to get my mails from hotmail into a windows-forms tool. This works OK, accept some characters are misunderstood. Example : a (so a with ^ on it) The encoding which it uses is apparantly "Windows-1252", which is supposed to be bigger than the iso-8859-1 character set. Nontheless, the iso appears in the senders' names. e.g. (I'll ...Show All
Visual C++ COledbrecord
Hi. how can i create a database using COledbrecord and the create the tables and querys mido1971 wrote: Hi. how can i create a database using COledbrecord and the create the tables and querys This is not the right forum for this sort of question. try the Microsoft Newsgroups : http://www.microsoft.com/communities/newsgroups/default.mspx or try the ADO/ADO.NET forum on Code Project : http://www.codeproject. ...Show All
.NET Development >NET PaypalIpn
Hi i am trying to develop a page that use's paypal's IPN my code is the following: Loads of variables declared as strings Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try 'Loads of variables picking params using request.params &nbs ...Show All
Visual FoxPro Fax using Visual Foxpro
Is there anyone who knows how to fax a word document inside Visual Foxpro. Thank you Rolly FAX_SERVER = "\\server02" &&name of fax server FAX_NUMBER = faxespending.faxnumber &&number or fax recipient SENDER_NAME = faxespending.sendername &&name of sender (not requierd) DISPLAY_NAME = faxespending.displayname && ...Show All
Visual Studio Report of User Settings
Is there a way to get a report of the rights each user has in Visual SourceSafe 6.0 I have an auditor wanting this information. Is there something out there that tells me how I can read the RIGHTS file David - have you tried using SourceSafe Admin application and use Tools->Rights assignment for the User menu =grigori ...Show All
SQL Server Simultaneous DB access
I have C# Express and the SQL Express Management Studio CTP installed. So far, I've been forced to disconnect from the server in one app to connect to it in the other. I understand there is something around a 4 connection limit in SQLServer Express, so I don't see the problem. During one of these episodes, SQL Mgmt Studio hung while opening DB properties, then the SQLServer service couldn't be stopped. Now the DB can't be opened even after a re ...Show All
Windows Forms Bindingsource.Filter Problem
I have a Windows Forms app with about 20 combobox controls on one form that are databound to a dataset from a SQL 2005 Express db. In addition to the comboboxes, I have one DataGridView that uses a bindingsource (MaintenanceBindingSource) as its datasource. I want to use the filter property of the bindingsource to filter records from the dataset based upon the value (text) of the SerialNoComboBox and display them in the DataGridView. I've tried ...Show All
