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

Software Development Network >> Learning VB's Q&A profile

Learning VB

Member List

Gurpreet Singh Gill
Andrzej Martyna
nobs411
kamuixkotori
arkiboys
Dario Aznar
seanf
wls1973
AndyMills
Eric Hausig
Johnny1966
xlordt
suneelpotluri
gf
Yones
jameyer
Misoullee
Randy Trahan
Steve Whitley
sofakng
Only Title

Learning VB's Q&A profile

  • Visual Basic Run My Computer

    Hi there again, I was wondering how i could run "My Computer" on Win XP... Can anyone give me a solution If i'm not clear, what i want is to run Explorer and open it up in the My Computer folder. With Process.Start(Environment.GetfolderPath( Environment.SpecialFolder.MyComputer)) I cannot do it. Thnx a lot; BlueMikey wrote: Yeah, and I had a few more with that code: Private Const MyComputer = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}" Private Const RecycleBin = "::{645FF040-5081-101B-9F08-00AA002F954E}" Private Const NetworkNeighborhood = "::{208D2C60-3AEA-1069-A2D7-08002B30309D}" Private Const ControlPanel = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC202 ...Show All

  • SQL Server Eternal 'Enable Pending' on SQL2005

    Hi! I have this problem... im kinda new to sql2005, and im responsible for creating some notification services. Ive done a lot of tutorials, books and samples and every time, when i reach the step of enabling the instance, i get this... Generator-Enable Pending Distributor-Enable Pending Even doing the Microsoft's Notification Services Tutorial. Ive tried everything I could figure, registering the instance with a user with every permission there could be... doing this local or on a client... and ive been 2 weeks stuck here... Any tip or clue will be thankfull. M.Eng.Leandro Melendez Ouch! That's a pretty drastic step! Glad it worked and thanks for posting the solution. Haven't had that problem before (thank ...Show All

  • Windows Forms Cell Validating Problem

    Hey guys, I currently have a DataGridView with a datasource of business objects. What i am trying to do is make entry into date fields as quick as possible so i have built a simple functions which takes a number and converts it to a date. My problem arises that when the user enters a number to have it converted to a date the cell will not validate and the function will never get called.  I try and set it by going dgvWhatever[e.ColumnIndex, e.RowIndex].Value = aDate; but it wont work because the original cell never validates. I found a workaround which was to cancel the cellValidating event on rows which contain a date and this works but if someone starts editing in a new row a date field then it gets cancelled and the ...Show All

  • SQL Server MS SQL 2000 SP3 (8.00.856) -- Error 1501 Severity 20.

    I am currently encounter a problem whereby my sql 2000 server repetitively generates error 1501 (severity 20) -- Sort Failure. The information available on the web only covers MS SQL 6.5. Apparently, I was informed that this error should not have encountered in MS SQL 2000. So, if there is anybody out there that can help me in troubleshooting this problem, please do help me as I am really stuck. Hi, which state does the error message tell you http://www.lcard.ru/~nail/sybase/error/13243.htm HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Studio Team System Create New Website

    Does anyone know of a good tutorial showing the steps of creating a new website and adding it to souce control I have tried several times with little success. For example, do I start with some sort of project, such as a test project, and then add a new website to that Does it mater if create the web site using http or file system I have many questions and haven't been able to find a good site showing how do to this. Thanks The VS2005-style "web site" may be what is throwing me off. If i use this style, i don't believe there is an .sln file for others to to open from source control. Is this correct Are there any benefits of VS2005-style "web site" over VS2003-style "web projects& ...Show All

  • .NET Development C# SQL INSERT

    I am getting the following error when executing the code(see below): The name 'EnvNo' is not permitted in this context. Only constants, expressions or variables allowed..." string InsertTrans = "INSERT INTO RAS2_Trans (ENV_NO, LINE_NO ) Values(EnvNo, LineNo )" ; SqlCommand cmd = new SqlCommand (InsertTrans, conn1); foreach ( DataRow drRow in DS_DocLines.Tables[0].Rows) { int Envno = Convert .ToInt32(drRow[ "Env_No" ]); int LineNo = Convert .ToInt32(drRow[ "Line_No" ]); //Execuete the SQL command (InsertTrans) cmd.ExecuteNonQuery(); } } //Catch Errors and create notice as applicable catch (System. Exception ex) { Console .WriteLi ...Show All

  • Visual Studio 2008 (Pre-release) WCF and MSMQ 3.5 Not working together?

    Hi I've installed the november versions of .net3, the sdk, and orcas. The MSMQ samples worked fine with this setup and MSMQ 3. I then installed KB897171 (Vista MSMQ beta - May this year), and recreated all the queues. Since then, none of the MSMQ samples are reading the queue (although writing works). The samples worked again once i uninstalled KB897171. Are there any known issues with running WCF with the Vista beta version of MSMQ Thanks Simon Simon, the MSMQ build referred in this KB was meant specifically for WCF Beta 1. It is not needed for WCF to work and is not supported anymore. MSMQ version coming with the operating system is what is needed for WCF, on both Vista ...Show All

  • SharePoint Products and Technologies Trouble after B2tr

    Hey! (Sorry if i've picked the wrong forum). I got sharepoint along with pro plus about 2 months ago and was informed about a month ago that I would need Beta 2 Tech refresh to carry on using Office after the launch. I haven't tried to use sharepoint since until last week. It installed something before trying to open, then didn't open at all. When I tried again to open it, it displays, in a small box in the centre: Microsoft Office SharePoint Designer has encountered a problem and needs to close. We are sorry for the inconvenience. (line about losing work) Please tell microsoft about this problem. (more lines) Debug.....Send Error Report.....Don't send I have tried pretty much everything and don't know what to do. Y ...Show All

  • Visual Studio FileNotFound while dll-debugging

    Hi! I develope a .dll with Visual Studio 2005 Professional and .net-Framework V2.0... I got two Projects(typelibraries) in one Projectfolder lets call them Pa and Pb. Pa is the startproject and has a reference on Pb. They both have >make Com-visible< set to true. On the Properties - Page of Pa under >debugging< is a path inserted to an Application(c:/test/test.exe). This Application test.exe is written by myself in VS 2005 and has references on Pa and Pb (../bin/pa.dll and /bin/Pb.dll) and after compiling I copied the .exe into C:/test/test.exe. If I start my Projectfolder for debugging with F5 test.exe starts and then I got an FileNotFoundException . It says that pa.dll is not found. I observed test.exe with the FileMonitor an ...Show All

  • Smart Device Development Windows CE CAB Installer prompt Compact Framework 1.0

    Hello, when installing a CAB file on windows ce. The installation gives a number of prompts during the install. 1. If already installed, it will ask to re-install 2. It will then ask what folder to install to. However in Windows Mobile, it doesn't prompt any of these messages during the install of the CAB. Is it possible to do the same for Windows CE, so it not ask the user to re-install or where to install to By editing something in the .inf / vsdconfig / dependencies files Many Thanks Hi You can try to launch the wceload utility with the option /noui. This should prevent all user prompts. ...Show All

  • Visual Studio Visual studio 2005 and windows vista buisness edition

    I have windows vista buisness edition, visual studio pro 2005 and when I'm trying to create new web application I get error: front page extensions are not installed..., I activated windows authentication and I'm running vs2005pro as administrator, but the error still ocurrs. I know, that here have already been topic about this, but this solution doesn't work for me ;/ Well, the only reason I can think of why you would get this error is if you try to create a project on a remote server that does not have the Frontpage Server Extensions installed. As far as I know you can not install the FSE on Vista and you do not even need it when you are creating web sites locally. ...Show All

  • Visual Basic Change class template

    Does Visual studio use a template file when adding a class to a project and can we change it I would like that when I add a class that the file automatically contains some comment. Yes visual studio uses template for your class creation...and you can edit the template to insert default comments etc....finding the correct file to edit is a pain if ya don't know where to look Take a look here: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplatesCache\VisualBasic\1033\Class.zip ...Show All

  • .NET Development XSLT output incompatible with standard

    Hi Folks, I am trying to convert XML to CSV format output. I was able to convert it by using the following option: output method ="text" But, the output doesn't seem to adhere to the standard. I was referrring to the following link to refer to the CSV format: http://en.wikipedia.org/wiki/Comma-separated_values Please correct me if i am wrong. TIA Sek If you showed us your XSLT document, what your input looks like, what you expected to happen and what happened it would be easier to tell you what's wrong with it. Setting the output method to text will just cause your XSLT to output text, not text in the CSV format. ...Show All

  • Visual Studio Full text search in Sandcastle gerated CHM files

    Hi, Would'nt it be nice to add full-text search to the CHM files generated by Sandcastle I've added <xsl:text>Full-text search=Yes&#x0a;</xsl:text> to the ReflectionToChmProject stylesheet transformation. That works beautifully ;-) Ideally I'd like to see this line of code move to the standard distribution of Sandcastle, because I will start to pay idiot tax on it when new versions are rolled out (and I will need to continuously re-integrate that change) What do you think, folks WetHat I will be happy yo make this change. The CHM size gets larger by enabling the full-text. If you feel we should add this I will be more than happy to add this in our next CTP drop. Th ...Show All

  • Visual Studio Team System Ordered Tests sometimes loses one of the manual tests

    I have 1 solution with 3 projects I have several manual tests. I have created several ordered tests which contain a combination of my manual tests. Here is the problem: Hours after I have created an ordered test I find that it has a red line thru it. When I open up the ordered test, I see that one or more of my manual tests are ghosted. I also notice that they seem not to know what project they live in. So, I fix my ordered test my removing the orphaned manual tests and finding it in the left side and adding it to the existing ordered tests. Also you should know that on the left side that my tests seem strange. While I am able to find the manual tests to move over to my ordered tests....I see the same test name but it thinks it is ...Show All

©2008 Software Development Network