Software Development Network Logo
  • .NET Development
  • Windows Forms
  • Visual J#
  • Windows Live
  • VS Express Editions
  • Architecture
  • Visual Studio
  • Visual FoxPro
  • Game Technologies
  • Windows Vista
  • SQL Server
  • Smart Device
  • Visual Basic
  • Visual C++
  • Visual C#

Software Development Network >> Brandon H. Campbell's Q&A profile

Brandon H. Campbell

Member List

richardpc
phox
HдLΛвί
bagofnoise
Roman G.
rob111rob
SR20
Ende
DarrelC
Coxis
JayDiscount
jpkuzma
MMikhail
Thankaraj
MarcioJAS
Rusty01
VincentCroft
SB
dear_vvr
DoReMeFaSo
Only Title

Brandon H. Campbell's Q&A profile

  • SQL Server SQL Express TCP/IP Configuretion

    Hi All, I just configure the SQL TCP/IP but after I configure, I can't connect to the server via SQL Management tool. I am getting this error: Cannot connect to WPCC\SQLEXPRESS. ------------------------------ ADDITIONAL INFORMATION: 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1) For help, click: http://go.microsoft.com/fwlink ProdName ...Show All

  • .NET Development Connecting to a database and parameters in sql

    Hi, I am creating a small web app, that searchs a database depending on the information the user enters onto the web form. I create the connection to the database by using the visual studio wizards by binding the data top a grid view. Below is my code SqlParameter word1 = new SqlParameter(); word1.ParameterName = "@tb_1"; word1.Value = TextBox1; SqlCommand cmd = new SqlCommand("SELECT * FROM ApprovedComponents WHERE Vendor = @tb_1"); cmd.Parameters.Add(word1); //Used this in hope after entering cmd into SqlDataSource1.SelectCommand after cmd failed const string command = "SELECT * FROM ApprovedComponents WHERE Ve ...Show All

  • SQL Server Bug in SQL 2005 SP1

    I am trying to chase this down and have noticed similar postings on the web concerning applying this SP. I have successfully upgraded all components except for the "database services" component. Has anyone been able to get beyond this Below is the log: 04/23/2006 09:24:53.523 ================================================================================ 04/23/2006 09:24:53.523 Hotfix package launched 04/23/2006 09:24:56.664 Product discovery successfully completed during the install process for MSSQLSERVER 04/23/2006 09:24:56.680 SP Level check successfully completed during the install process for MSSQLSERVER 04/23/2006 09:2 ...Show All

  • Visual C# compobj.dll is too old for the ole2.dll initialized

    When I try to call using TAPI 3, i get this error; --------------------------- TAPI3 --------------------------- Failed to create call! compobj.dll is too old for the ole2.dll initialized (Exception from HRESULT: 0x8004000E (OLE_E_WRONGCOMPOBJ)) --------------------------- OK --------------------------- any idea please i find the problem,but i don't clear about it. i see a article named ' Tapi 3.0 Application development using C#.NET By devang_bison ' in the http://www.codeproject.com the link : demo and source look at this code script: bcc = ln.CreateCall(textBox1.Text, TapiConstants.LINEADDRESSTYPE_PHONENUM ...Show All

  • Visual Studio 2008 (Pre-release) Menu items disabled when setting a command

    When I change this:         <MenuItem InputGestureText="Ctrl+N">           <MenuItem.Header>             <AccessText>_New</AccessText>           </MenuItem.Header>         </MenuItem> into this:         <MenuItem Command="New" InputGestureText="Ctrl+N">           <MenuItem.Header>  &nbs ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 'ddraw.h' : No such file or directory... can somebody can help me please

    hello .. i'm trying to built "C:\SDK\EyesWeb 4 - SDK Beta\" ...the final line of the log give me 1>c:\program files\microsoft platform sdk\include\strmif.h(21826) : fatal error C1083: Impossible d'ouvrir le fichier include : 'ddraw.h' : No such file or directory i'm trying to get this ddraw.h but i havent find it ...can someone help me - Viusal c++ 2005 express edition - microsoft platform sdk for windows server 2003 - microsoft.net framework sdk v2.0 - and the latest version of diect9.0 ( and i think that i have installed the sdk version) so what could miss to my computer .... thanks to all juju ...Show All

  • Windows Forms How to edit a date to null from a textbox

    Hello, I have a textbox bound to a smalldatetime field. The SQL table definition of the field allows nulls. The dataset was created with an SQL data adapter "fill" command. Whenever I change a date in the textbox to an empty value it replaces it with the original datetime. How does one get the textbox to accept an empty string or, more basically, how can a date be edited to null from a textbox Any help or reference to documentation is much appreciated. You could add a Parse handler for the textbox, like orderDateTextBox.DataBindings[0].Parse += new ConvertEventHandler (ParseValue); void ParseValue( ...Show All

  • Visual Basic Am i correct, red highlight area is vc++ bit function...am trying to convert to vb, pls help

    '// write data stream into 'void WriteBits(BYTE* p_buff, int pos, int len, unsigned long value) '{ '    int start_byte, end_byte; '    int start_bit, end_bit; '    int byte_pos; '    BYTE width_mask, or_mask, and_mask; '    BYTE byte_value; ' '    start_byte = pos / 8; '    start_bit = pos % 8; '    start_bit = 7 - start_bit; '    end_byte = (pos + len - 1) / 8; '    end_bit = (pos + len - 1) % 8; '    end_bit = 7 - end_bit; ' '    if (start_byte == end_byte) '&nbs ...Show All

  • Windows Forms STAThreadAttribute problem in managed c++ windows forms

    hi, i m developing a windows forms application using MC++, when i do debug the project , it fails in the line of ' openFileDialog1->ShowDialog(); ' and gives an error like that : An unhandled exception of type 'System.Threading.ThreadStateException' occurred in System.Windows.Forms.dll Additional information: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. This exception is only raised if a debugger is attached to the process. But its already done in Form1.cpp like that : System::Threading::Thread::CurrentT ...Show All

  • Visual C# Read-only wrappers for derived classes

    Can anyone point me to a good method for implementing read-only wrappers around a derived class rather than, for example, a simple collection What I mean is that I have class A which inherits from class B. B is not abstract, so can and will be instantiated on its own. I need to be able to create read-only versions of A and B. The only way I've come up is to have a class ReadOnlyB : B, blocking writes and forwarding reads. That's fine. But for A, if I implement a class ReadOnlyA : A, it has to override not just the members of A, but those of B as well - not nice, especially in a hierarchy 3 or 4 deep. Got to be a better way Thanks. Dou ...Show All

  • .NET Development .NET 2.0 Error

    I have created a webservice at the location //localhost/WebSite using VS 2005 Beta 2. The webservice contains nothing but the helloWorld web method. When I run a debug I get a server unavailable error in IE and the following in the event viewer: Warning: Failed to initialize the AppDomain:/LM/w3svc/1/ROOT/WebSite Exception: System.Web.Hosting.HostingEnvironmentException Message: Failed to access IIS metabase. Error: Failed to execute request because the App-Domain could not be created. Error: 0x80131500 Does anyone have any idea why this is happening or how I can fix it If more information is needed please let me know. Thanks ...Show All

  • Visual Studio Express Editions How can I get Visual Studio 2005 Express by shipping?

    I want to know how can I get Visual Studio 2005 Express (having all the components e.g. Visual Basic 2005 Express Edition, Visual C# 2005 Express Edition,Visual Web Developer 2005 Express Edition) by shipping. Actually i m unable to download such big files that are available on download site for Visual Studio Express edition. The book Microsoft Visual Basic 2005 Express Edition: Build a program now! comes with a visual basic express on a cd. You can get it from a local book store or order it online. ...Show All

  • Windows Forms Application settings

    What are the circumstances for making the Save method work   Up to now I've only gotten a series of errors telling me that I don't have the access required to save the file.  That is entirely fine I guess, but the property setting I've mapped is a User setting, and so should probably be saved in isolated storage or some other location&nb ...Show All

  • .NET Development Creating new Child records with a DataSet

    How do I create new records in a table which contains multiple foreign keys using a DataSet ...Show All

  • Software Development for Windows Vista Confused on why is is possible to drop activities in .XOML and .XOML.CS files?

    Hi everybody, I may be overlooking something obvious, but this is sort of confusing to me, so I would appreciate a clarifying voice on this. If I create a WF console app, delete the original "Workflow1.cs" file, and add a "Sequential workflow (with code separation)" item, then I get 2 files in the solution explorer: "workflow1.xoml" and "workflow1.xoml.cs". I can click on each one of those two files, and add activities separately ( ): For example I put a "code1" activity on the .xoml designer file, and a "code2" activity on the .xoml.cs designer and create some handlers for them. The code is reflected in the class, as it can be se ...Show All

©2008 Software Development Network