BuddyBoy2006's Q&A profile
Visual Basic Question on message box
Hi, im doing a web based personal info form. it allows users to enter their names, email , weburl and other info. the progam will check if the user enter correct info. for example in a email textbox , the user will need to enter a @ sign for email to work. else a error message will pop up. but since there are many textboxs need to be check each would pop a message box telling the user where they did wrong, i want to know if there is any way after i click the submit button that all the error will appear in one message box. thank you please do not duplicate post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=779480&SiteID=1 The thing you failed to mention in the original post is that you are creat ...Show All
Visual Studio 2008 (Pre-release) Using ADO.NET vNEXT in Vista RC1
Has anyone tried installing ADO.NET vNext in Vista RC1. Visual Studio does not seem to recognise the EDM Model diagrams, there is no EDM model designer, and there is no EDM model template in the Add Item dialog. However, there are the project templates though for creating a ADO.NET vNEXT projects Does anyone know what settings might not be configured correctly Ahh there you go. Maybe i was too excited after seeing Pablo on Channel 9 using the designer. Cant wait to see the finished product. I think this could be the answer to our ORM woes. ...Show All
Visual Studio 2008 (Pre-release) Why NULL values in the CustomerID column?
Hello, I used the Customers and Orders tables from Northwind, I produced the code using SQLMetal this time. I launched the same code used in my previous thread: NorthwindDataContext ndc = new NorthwindDataContext (); Customer customer = ndc.Customers.Single(c => c.CustomerID == "TOMSP" ); ndc.Customers.Remove(customer); ndc.SubmitChanges(); All the records in the Orders table now have a NULL value in the CustomerID column! What is it ! Another bug Why the code doesn't remove them Thanks. Removing the Customer, simply breaks the association between the Customer and the Order, which as you are seeing set the Order's CustomerID to null. The Customer's Orders are not deleted automatically with an ...Show All
.NET Development About Ngen
What is the purpose of Ngen and why we require it The GacUtil is used to maintain the Glocal Assembly Cache of a computer. The GAC is used for assemblies that are intended to be shared along multiple applications on the same computer. By installing an assembly in the GAC, you can make it available to different applications. Installing an assembly in the GAC, does not generates a native image of the assembly. The assemblies in the GAC are still in MSIL and have to be JIT compiled when needed. For more information about the GAC, see http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconglobalassemblycache.asp Regards, ...Show All
SQL Server scheduling snapshot and synchronization is missing on the generate scripts
hello all, i need to bring down the entire replication solution but just before i do that i need to script. The EM has a generate script feature but it lacks the schedule for snapshot generation and synchronization by the way, whats the fastest way of melting the entire replication solution and then brinnging them back again. Can i do replication backup and restore regards, joey use <published db name> exec sp_removedbreplication <published db name> go use master sp_dropdistributor 1 go You can use sp_removedbreplication on the subscriber database as well, and if you have a remote distributor, you can run sp_dropdistributor 1 to remove the distributor. After ...Show All
Visual Studio My 'Visual Studio 2005 Professional Disc 2' not working
Hi, Recently I have ordered the 90-day trial version of VS2005 Professional edition. But surprisingly the disc 2 is not detected and my PC keep on asking to insert disc 2. To my surprise, my roommate has got another set and even he too has the same problem. I even tried to go througth the disc from command line, but whenever I click on my CD drive, it just popping out the disc 2 and asking for disc 2. Any help will be appriaciated.Thanks in advance. there isnt a url for each ISO but rather the full DVD image: http://www.microsoft.com/downloads/details.aspx FamilyId=B2C27A7F-D875-47D5-B226-E2578A116E12&displaylang=en ...Show All
Visual Studio Team System MSF 4.0 related exams
Is there any MCP exam related to MSF 4.0 Not yet. In the short term we will have one for TFS as a whole. A specific MSF4 exam is still in the planning stage. Regards, Clementino Mendonca ...Show All
Visual Studio Express Editions Form resize based on end-user settings
What is the best way to keep a form's layout uniform accross different user settings For example, I have a program with textboxes, groupboxes, buttons and radio buttons. In the visual designer, everything is laid out in a uniform manner. Now, if I change the size of my system font or change DPI settings, the form's layout gets distorted, text no longer fits on the form or in the groupboxes, buttons are getting pushed off sides or the bottom, etc. I've messed around with the forms autosize properties, based off of font/DPI settings and that does work somewhat, things fit on the screen, but the layout then appears distorted or controls overlap. What I'm looking for are some tips on how to resize the controls on the form so it is still usabl ...Show All
SQL Server A previous prgram installation created a pending file operations on the installation machine
I know there is a help file on how to do this...its something i need to do in the regedit but i cant find the site that had anyone have the link thanks http://support.microsoft.com/kb/312995/ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Woeful XNA GSE Install
I've uninstalled my XNA GSE Beta 1 and everything but I get that stupid error message whenever the installer gets around to installing the DX Runtime. I never had this error when I installed GSE Beta 1, so why now i get that to, i had beta 1 as well. but i think it stuffs up for me because im on windows vista now and its not compatible with that yet. ...Show All
Visual C# Different ShortDateString Format with Windows
I have a windows service that writes to a .txt file DateTime.Now.ToShortDateString(), the windows service wrote 7/21/2006, but when I use another program to print the DateTime.Now.ToShortDateString() using message box, it prints 7-21-2006. I created that windows service about 2 weeks ago and I changed the date time format last week. I tried rebuilding the windows service, then re-install it, still got the same date format. I added some new functionality to the windows service, the functionality worked, but I still get the same format. Is there any way to solve this problem thanks another thought the ToShortDateString() is formmating acording to the the pattern ShortDatePa ...Show All
Windows Forms application not starting
I have a clickonce application, when one particular user click on the install button, the pre-requisites gets installed but it will not launch the application. When the user click the 'launch' button then also nothing happens. I checked the registry entries and file association for .application and he does have those entries. Could someone give me an idea what could be causing the .application not to run at all Nothing happens when running .application. But no other clients have problem. Anyone run into this problem at all Thanks. I started the task manager and saw nothing happening so I looks like something is blocking .application to be launched from internet. I made the site as the trusted site as well just to make sure i ...Show All
SQL Server Where is the tutorial File: "Customers.xls"?
In Lesson1 of SSIS Tutorial, section "Running the Wizard to Create the Basic Package", is stated "Specify the data source. You will use the Excel workbook, Customers.xls, as the data source..." I have both AdventureWorks databases installed on my box as well as a host of samples but I can't find that file. Any pointers much appreciated. TIA, barker This file is found inside customers.cab in C:\Program Files\Microsoft SQL Server\90\Samples\Integration Services\Package Samples\ExecuteProcess Sample\DataFiles. -Doug ...Show All
Windows Live Developer Forums DIV Help!
How do I get my own <div>, and not a custom control to stay on the map at 3D mode I remember seeing that in the wiki... I see the "el." specs and they seem to relate to using the custom control from the sdk. I am trying to display a div there... Or do I just change the "el" to the div id ...Show All
Visual Basic create key/value pair for filename/path_filename to use in combobox.
What is the best way to create a key value pair for a filename and filepath with filename. 1. Obtain files within a directory for a known suffix (eg. html) 2. Set variable to filename only using GetFileName() 3 Add filename to Listbox, ComboBox, etc. 4. When user selects FileName, use value (path and filename c:/xxx/xxx/filename to use as argument for Process.Start(PathFileName) Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load For Each filePath In IO.Directory.GetFiles(path, "*.html", IO.SearchOption.AllDirectories) Dim fileName As String = System.IO.Path. GetFileName ( filePath ) ListBox1.Items.Add( filePath ) Next filePath End Sub Priv ...Show All
