Software Development Network Logo
  • Visual Studio
  • Microsoft ISV
  • Windows Vista
  • Visual C++
  • Visual Basic
  • Game Technologies
  • VS Team System
  • .NET Development
  • Smart Devicet
  • Windows Forms
  • Visual C#
  • Visual FoxPro
  • Audio and Video
  • IE Development
  • SQL Server

Software Development Network >> pblecha's Q&A profile

pblecha

Member List

Han Qiao
nikitaj
EWL
fiNAL.Y
Muzzzy
George Abraham
jwrodriguez
Alexander Petukhov
Buddy Funny
QWERTY890
urvish jain
Delpasso22
KookyDude
Michaelo1
DamsDev2007
vtortola
ilanb
Mark Hogan
eshashishekhar
Carver42
Only Title

pblecha's Q&A profile

  • Visual C# remote database

    Hi can anybody know how to create a database on remote system using ado.net sqlserver and c# I tried like this SqlConnection _sqlConnection = new SqlConnection ( "Data Source = (192.168.1.77); Integrated Security=yes" ); SqlCommand _sqlCommand = new SqlCommand ( "create database employee;" , _sqlConnection); _sqlConnection.Open(); _sqlCommand.ExecuteNonQuery(); _sqlConnection.Close(); but it shows exeception like An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not o ...Show All

  • Visual FoxPro how to create a setup wizards?

    Sorry for the incomplete questions before. Yes, i know how to build an executable but i really don't know how to create a setup wizards in Version 7.0 but in Version 5.0 you can only click the Tools--->Wizards--->Setup. Where's the Setup Wizard in Version 7.0 Starting with VFP 7.0, a version of InstallShield was shipped. You can use that to create an installation package for your application. There is a guide to doing this: "Walkthrough: Creating a Visual FoxPro Application Setup Program Using InstallShield Express " available from the VFP Website at: http://msdn2.microsoft.com/en-us/library/ms917481.aspx ...Show All

  • Visual C# can any body help me in reversing strings

    this fuction help me to convert the arabic words to hexa .. and it doing the job 90% because it convert it in reverse   this means that the true hexa for example is (062F0645) but the function returns it like this (0645062F) and this makes each word come in reverse order   for example ... I love you becomes uoy evol I   how can fix that     public string ArabicHex( byte [] b) { string temp,s="",h=""; int i=0; while ((i <= b.GetUpperBound(0))) { temp= "00"+b .ToString("x2"); h = temp.Substring(temp.Length-2); if (h == "000D") { h = ""; } s = h + s; i += 1; } return s; }   thanks in advance ...Show All

  • Visual Studio Company Name and Package Name

    Hi, 1. I forgot the "Company Name" I used to sign up the VSIP membership, is there any way to get it 2. I was told that I should use "Package name" as "Product Name" when I apply for PLK, what exactly does "Package Name", is it the name of the class deriving from the "Package" base class Thanks, Michael Hi Michael, The VSIP member site is pretty busted when it comes to this issue. We're working on getting that corrected. But in the meantime, just drop me a line (remove the .online portion from my email address) and let me know what company you registered the PLK under, and I'll pull the information from our database for you. Thanks, ...Show All

  • Visual Basic Assigning two properties two different values results in the same value on both. VS2003

    Hi Everyone, I could use some help on a problem that has everyone where I work stumped.. We have a class with simple properties and are assigning different values to each property from a data reader from an SQL server 2000 instance. We have checked all the information we can, we are definately getting the correct data from the database, there are no overloads for the properties, the variables we are assigning are different and the two calls are definately following each other. A breakpoint following the assiging shows that the values are incorrect as soon as the values are assigned. Following the "go to definition" link in visual studio takes me to the expected properties. Breaking and following the code shows nothing ...Show All

  • Windows Forms Updating DataGridView from Background Worker Thread.

    I am simply trying to update a few cells in my DataGridView from my BackgroundWorker Thread. I have two classes the Main class which is my Main Form and all the controls are created in and a Worker Class where all my Background work is done. Here is the code that I am using to update my DataGridView in the Main Class Public Delegate Sub UpdateTransferStatusDelegate(ByVal rowIndex As Integer, ByVal status As DriveStatus, ByVal checked As Boolean, ByVal RefreshNow As Boolean, ByVal Message As String) Public Sub UpdateTransferStatus(ByVal RowIndex As Integer, ByVal status As DriveStatus, Optional ByVal checked As Boolean = False, Optional ByVal RefreshNow As Boolean = True, Optional ByVal Message As String = "") If Me.d ...Show All

  • Visual Studio Team System Build Number Field in TFS assemblies ..

    I just noticed the following: for TFS version 1 assemblies, the file version was "8.0.50727.147". for TFS version 1 SP1 assemblies, the files that were changed have a file version of "8.0.50727.762". I thought the pattern used by Microsoft for the build number field was "ymmdd". Consequently, I am curious to know why the build number field remained unchanged in SP1 (since obviously the SP1 build took place at a later date) .. Thanks in advance. The file version is: <major version>.<minor version>.<build number>.<rebuild number> Major version generally increments for each "major" release. Minor version increments for &quo ...Show All

  • Visual Basic Code to Convert numbers to time

    I hope I am in the correct forum it is my first posting I have a database which has three fields for Hours Minutes and seconds these are just numbers and have no relation to time. I need in a report,code that will convert the numbers to time and add the seconds to minutes and add the minutes to hours. Thanks Bartley It looks like you are writing VB code in Access, as these forums are intended for VB.Net development . The VB Language in Access is called Visual Basic For Applications and is a very different language to VB.NET. The VBA specific forum http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=74&SiteID=1 Or you may find more assistance in following which specifically deals with MS Office develo ...Show All

  • Visual Studio 2008 (Pre-release) ScaleTransform a Visual to create reflection effect

    Hi I'm trying to apply a visual to a border to make it reflect the content above it, the problem here is that I need to set the CenterX and CenterY to be half the size of the visual. Now the values are hardcoded, you can see what I have below. Is it possible to do this with XAML < Style x:Key = " brdAdorner1PgProductFilter " TargetType = " {x:Type Border} " > < Setter Property = " Grid.Row " Value = " 4 " /> < Setter Property = " Grid.Column " Value = " 1 " /> < Setter Property = " VerticalAlignment " Value = " Top " /> < Setter Property = " Width " Value = " {Binding ElementName=grdVisu ...Show All

  • Visual FoxPro convert memo field and contents to text file

    Hi, I have a table order.dbf in visual foxpro which contains of memo field. My table is as below:- order_no order_date prdcode order_qty remark B00000001 26/07/2006 2020173 10.0 memo When I double click the memo I'll be able to see the details. Eg. order has been cancelled. I would like to convert all the table information including order has been cancelled to text format with a specific alignment. I'm beginner user of visual foxpro. Kindly advice how to do that. Thank you. If the contents of memo field in all the record is less. use a report writer to make a report. then give the command repo form <filename> to <ouputputfilename.txt> ascii t ...Show All

  • SQL Server Edward, any PM possible?

    Edward, Is there a way to get in touch with you on a private message basis I'd like to discuss your coming book and other mentoring questions. Thanks, Philippe pcand at you guesswhat cox net Sure. Just remove "noreply.online." from my dispay e-mail. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All

  • Visual Studio 2008 (Pre-release) Controling RichTextBox elements' position

    I want to build a kind of equation editor. To do this, I need to be able to control the elements' position to have things like a division, where the operation (division) stands between the 2 operands (which are on top and on below the division separator line). Is it possible to have this type of control on the RichTextBox's elements I tried with a Transform but the caret does not respect this transformations. Ofcourse, at the same time, I want to keep the natural caret behavior. Thanks. Hello Mike. You have a point there, but Valentim doesn't use Runs. He uses Panels. So, actually what he does is insert full controls in the FlowDocument. And controls don't have carets inside handled by the FlowDocument. Or ...Show All

  • Visual Basic Reading the Text property of a combobox by reference

    I have a panel on my Windows form that contains a number of comboboxes. When a user inputs values to these comboboxes and hits the OK button, I need to retrieve the name, datasource (datatable) and Text contents of each combobox the user has put a value in. Here’s what I’ve got so far: Dim x As Integer Dim cbxModel As ComboBox . . . For x = 0 To Me.Panel1.Controls.Count - 1 If Me.Panel1.Controls.Item(x).GetType.ToString Like "*ComboBox" Then cbxModel = Me.Panel1.Controls.Item(x) If cbxModel.SelectedText <> Nothing Then Me.OdbcDAAccess.SelectCommand.CommandText = AddWhereClause(Me.OdbcDAAccess.SelectCommand.CommandText, _ ...Show All

  • .NET Development how to make text or xml file contain ceriation code of controls

    hi, i want to know how to make text file or xml file that contain creariation code of all controles in the form like this this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.listbox1 = new System.Windows.Forms.ListBox(); this.button4 = new System.Windows.Forms.Button(); this.button5 = new System.Windows.Forms.Button(); this.button6 = new System.Windows.Forms.Button(); this.SuspendLayout(); // // button1 // this.button1.Location = new System.Drawing.Point(216, 32); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(112, 23); this.button ...Show All

  • Visual Studio Express Editions Error spawning CL.exe?

    What is this problem My project can't compile How to solve this After i add in cl.exe path directories, when i run the project is say cl.exe this application has failed to start because mspdb71.dll not found. How to solve it ...Show All

©2008 Software Development Network