Software Development Network Logo
  • Architecture
  • Visual FoxPro
  • .NET Development
  • Visual Studio
  • VS Team System
  • Visual Basic
  • Windows Live
  • Visual C++
  • Microsoft ISV
  • Visual C#
  • Windows Forms
  • SQL Server
  • Smart Device
  • Windows Vista
  • Game Technologies

Software Development Network >> Bill P.'s Q&A profile

Bill P.

Member List

mokschnok
spottedmahn
Devang Khandhar
Mathieu Descorbeth
theking2
sadavies
Gavin Sullivan
Neilgd
sql2k5 newbie
AntonioF
Paul Steele
slwkidd
Bill2000
tyou_aki
Simone1
Pelephant1
gentoo
Ryan Kelley
IloveThis
Kirk Rader
Only Title

Bill P.'s Q&A profile

  • Windows Forms deploying under microsoft iis sharepoint services

    Hi, I would like to use the ClickOnce Deployment on a Windows 2003 Server where Windows SharePoint Services are running. I've tested the deployment on a Windows XP Professional PC with IIS which worked fine but is not applicable since the PC is in use as a Workstation. If I want to publish on the server I always get an error message. Has anybody an idea how the server has to be configured or if it is generally possible to deploy on this kind of server. Even a good link would take me a few steps forward. Thanks. Hi, What error are you running into. Here is a link to some troubleshooting st ...Show All

  • Visual C# How to restart from Standby or Hibernation

    I am trying to implement both a startup and shutdown function via USB commands. I have been able to send my PC into either Standby or Hibernate power states using (.NET 2.0) Application. ShuttingDown = Application .SetSuspendState( PowerState .Suspend, true , false ); Is there a similar method for waking the PC from Standby or Hibernation I was under the impression that while in Hibernation mode the processor was stopped (ie the application was not running). So, is it even possible to wake a machine from either of these two states via software In hibernation, the computer is turned completely off, as ...Show All

  • Windows Forms DataGridViewComboBoxColumn value is not valid

    howde... I decided to move towards VS-2005 after seeing that the Datagrid has be revamped to included comboboxs, buttons, images etcs.. I noticed that the Dreaded Tablestlyes has been dropped (YAAAARR!!!!) any way after useing for about a day scratching my head..  I keep getting DataGridViewComboBoxColumn "value is not valid" dont make sense to me.. btw I am  not useing the wizard as I need to dynamically create Colums.. ok here is some code., shorthand code ----------------------------------------- (assume all sql statments are correct and datagridview is setup) datagridview1.datasource = dtCompany datagridview1.Autogenerate = fa ...Show All

  • .NET Development Why Main must be static in C#?

    Hi all, Why Main must be static in C# Thanks, Suresh. hmm...correct. But in some(or many) occasions we create the instance for the class in the main method. for ex: class SvcClass {     public static void Main()     {        SvcClass obj = new SvcClass();        obj.DoSomething();     } } is it not worthwile the CLR creating the object by default and call Main method(with that instance) and gave a reference to that object so that we can access the members without the need to create object Thanks, Suresh. ...Show All

  • Windows Forms Where do i find my system info?

    I want to know how to find the following stats using windows xp: -Processor Bit Rate -Ram Capacity -Hard Disk Space -Video Storage I need to know this to see which games will actually work on my computer. Please and Thank You P.S.- I dont know if this is the correct forum to ask this! Hi, Please post this in Microsoft newsgroups site as this forum is related to programming issues of WinForms. See the below link: http://support.microsoft.com/newsgroups/default.aspx Thank you, Bhanu. ...Show All

  • Windows Forms regarding panels

    I dragged the splitter container on the form, it created 2 panels for me. The left panel with less width contains 2 buttons, btnGrid and btnReport and the right panel is empty when i click on btnGrid, the right panel should now display Grid and when i click on btnReport, the right panel should remove Grid and display ReportViewer Control How dont know how to implement this, pls help me!!!!!! With regards to showing and hiding the two buttons, when pressing btnGrid in order to hide btnGrid and show btnReport you use this: btnGrid.Visible = false; btnReport.Visible = true; Do note t ...Show All

  • Visual Studio Express Editions Visual Basic 2005 Express Edition Not Installing

    I downloaded the ISO images of Visual Web Developer 2005 Express Edition, Visual Basic 2005 Express Edition, and Visual C# 2005 Express Edition. Burned each to a CD. Practiced installing each on a DEV PC. After witnessing that each installed correctly and without problems, I began to install each on my PROD PC. #1 Visual Web Developer 2005 Express Edition installed without a problem. #2 Visual Basic 2005 Express Edition will not start at all. I continue to get the error message " autorun.exe is not a valid Win32 application ". Both the Visual Web Developer 2005 Express Edition and Visual Basic 2005 Express Edition CD's ...Show All

  • Software Development for Windows Vista Workflows for Express

    I'm still digging through the forum, but thought asking couldn't hurt too badly: will Workflow ever be available for the Express Editions As a .NET hobbiest -- well, I wrote one .NET app for work, does that make me a professional -- I'm not averse to saving up to get VS Standard 2005. I'd mostly just like to know what the rumour mill says. Thanks! Hi Andrew, The workflow designer requires some parts of Visual Studio which are not part of the Express editions. It is possible to use the WF SDK with Visual Studio Express editions as most of the SDK samples (and there are 51 of these samples) do not require Visual Studio at a ...Show All

  • Visual Studio Express Editions Trouble finding/reading file

    Hello everyone I am having the hardest time right now.  I am testing backing all my DB tables to text files and then reading them in to populate the tables.  I am able to create the files without problem.  But when I go to read them in, I am getting the "Could not find file error".  Below is a small sample.  File exists is coming back false and trying to open the delimitede file is throwing the error (which makes sense because it is not being found).  I can see the file withing the directory I specify and when using normal windows search tool, the file is found.  What might I be doing wrong   Thank ...Show All

  • Windows Forms Click-once application doesn't start

    I've having big problems with Click-Once deployment of my application. The application appears to install correctly and adds an entry to the start menu, however it won't run: either from the Start menu or from the web page. The application does seem to work correctly for my colleagues, but not for me (although it used to). I can't see any event log entries, and the application isn't running in task manager. How can I see what is going on I've tried reinstalling .Net 2 framework, but that didn't help :-) Best regards, David Do you see any ClickOnce error dialog If "yes" what does it say in the log I ...Show All

  • Visual C++ Very simple webserver code

    I am making a very simple webserver -it does not need to have any sort of cross-platform compliance, it simply needs to work with IE6.  I have the following code which is simply supposed to read in a web page stored on the disk and serve it to the client.  Code follows (I cannot figure out how to format the text.. it's ugly): void SendLogin ( int clientNum ){ ifstream file ( ".\\HTM\\login.htm" ); if ( file == NULL ) return ; int pointer = 0 ; char ch ; char buf [ 2000 ]; pointer = strlen ( buf ); while (! file . eof ()){ file . get ( ch ); if ( ch == '\0' ) break ; if ( ...Show All

  • SQL Server How to copy a assembly from one db to another db with T-SQL ?

        I have deployed a asembly to db1, it includes 2 CLR stored procedures, I want to copy it to db2 with T-SQL, so db2 has the assembly and the 2 CLR stored procedures. Not to deploy with VS2005 again, can T-SQL do this Hello In "SQL Server Managment Studio" right-click you assembly, script assembly as create, copy and paste. Also do the same with your procedures. Remember to enable CLR on your target machine. -- Snippet sp_configure "clr enabled", 1 go reconfigure go -- From script assembly CREATE ASSEMBLY ... -- From script procedure CREATE PROC ... AS EXTERNAL NAME. -- EoSnippet Gorm Braarvig ...Show All

  • Microsoft ISV Community Center Forums unable to register comsvcs.dll

    Hello, I have a VB application that has been evolving for several years. I have installed and used it on work stations running win95,98,NT,2000 and XP. The developement computer has evolved from a win95 to win2000 machine. Recently, I have begun to experience "an error occured while registering the file ... comsvcs.dll" when installing it on a win98 work station. winxp installs fine. I have always installed dcom98 and mdac prior to the vb setup. I also used the command regsvr32 to attempt to register the dll and received the message "LoadLibrary ("comsvcs.dll") failed. GetLastError returns 0x00000485" I have tri ...Show All

  • Visual Studio Team System Insall Error: 28703 Unable to contect to SQL Server

     I have SQL 2005 installed as a default instance and SQL 2000 as a named instance. Are there issues with this configuration Matt Would you be able to provide a little more information on your configuration What version of TFS are you using/attempting to install (Beta 3, Beta 3 Refresh, December CTP, etc.) Are you installing in a single server scenario (ATDT) or two with the one running the Application Tier (AT) and the other running the databases (DT) Is the Windows (Or a third party) firewall turned on on the Data Tier machine Can you connect to the Data Tier computer from another computer u ...Show All

  • Software Development for Windows Vista When adding a bitmap to a popup menu the item goes black when selected.

    I added a bitmap to a popup menu as a menu item,  however, when the item is selected the area of the bitmap goes black (instead of blue) while the rest of the menu stays blue. Is this a problem with transperancy Laura Since you haven't provided any more information I had to write my own program. Works for me on Windows Vista exactly the same as on XP; I don't see how this is a peculiarly Windows Vista UI question. Start with the scratch program and add this function: void OnContextMenu(HWND hwnd, HWND hwndContext, UINT xPos, UINT yPos) {  HMENU hmenu = CreatePopupMenu();  if (hmenu) {   static const ...Show All

©2008 Software Development Network