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

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

petro_zn

Member List

ChuckB
Kai Huener
MartinGleeson
rsm1235
PCZ
Monique555
DavidShen
Martin Sawicki
Chris Tacke
Chaitanya Tyagi
Welles
Kevin O Donovan
sibot13
samstolz
Hyperion_20
StoneWasHere
Pete Wojtkowiak
Ajoseph
Vadim G
antonioa - msft
Only Title

petro_zn's Q&A profile

  • SQL Server Updating Table Structures

    Colleagues: When I try to save changes made to tables in SQL Server 2005, I get a time out error about 30 seconds after I initiate the save to the changes made to the table. I then have to back out of the "modify table" operation and I lose my changes.  I never had this problem with SQL Server 2000, even in tables with millions of rows - it would take a while, but I wouldn't get the time out messagand the updates would be saved.  Any ideas as to what's going on Thanks, SMM 29.11.2005 Hi Christian: Thanks for writing - here's the error message I get after initaiting a save of a change to a tab ...Show All

  • Visual Basic Modifying App.comfig programmatically from an application

    I am a developer moving up from VB6 to Visual Studio 2005 (VB of course). I really like the concept of the app.config file and want to use it. However, I need to be able to allow users to update the app.config file from the program to change the databases that they are using. For example, I have a multi-company accounting application. I would like to store the connection string for the Database of the first company in the app.config file. I would then like the client to be able to Select the second database from my app and have that written to the app config file. Another example would be a customer that starts out as a single user ...Show All

  • Visual Studio Inter-item dependencies

    I have a .targets file that I have created that will take an item list of VcFiles and create a nice archive lib file.  It will also preprocess YaccFiles.  You just specify your items like so: <Project Targets="Build">     <ItemGroup>         <YaccFiles Include="MyParser.y" />         <VcFiles Include="foo.cpp;bar.cpp;baz.c" />     </ItemGroup>     <Import Project="$(MSBuildProjectDirectory)\..\Master.targets" /> </Project> That's really nice and simple.  However, in t ...Show All

  • Visual Basic Pre-requisites installation in Setup & Deployment

    Hi, I have designed a program which requires certain pre-requisites like the SQL Server 2005 Express edition, .NET framework etc. These pre-reqs could be loaded by using the Publish manager in visual basic 2005. But how do I get to check whether they are installed or not on a host system Plus if they are not installed, how can I get setup and deplyment to install the pre-reqs I have the setup for the pre-reqs that I need. Would be extremely grateful if someone could tell me. Regards, Arun Hi, Arun, You can find the prerequisites page for the project by bringing up the property pages for the pro ...Show All

  • Visual Studio 2008 (Pre-release) HeaderedContentControl template

    Hi! I am trying to create a control template for a TabControl and its TabItems <Style TargetType="{x:Type TabItem}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate> <Grid> <Rectangle Fill="{StaticResource BackgroundGradientBrush}"/> <ContentPresenter Content="{TemplateBinding Property=ContentControl.Content}"/> </Grid> </ControlTemplate> </Setter.Value> </Setter> <Setter Property="HeaderTemplate"> <Setter.Value> <DataTemplate> <Conten ...Show All

  • Windows Forms WSUS Install Fails; There is a problem with this Windows Installer package.

    I am trying to install WSUS on Windows Server 2003 R2 and the installer fails with the above error message. The log files are shown here: ********** **** 2006-06-01 14:29:15 13:29:15 Executing External Command: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -ir ***** ***** 2006-06-01 14:29:26 13:29:26 External Command Exited, Return Code: 0 ***** Running a transacted installation. Beginning the Install phase of the installation. See the contents of the log file for the C:\Program Files\Update Services\Setup\bin\Microsoft.UpdateServices.Setup.CustomActions.dll assembly's progress. The file is located at ...Show All

  • .NET Development convert from double to float...

    OK this has got to be easy, how do I convert from double to float.  I can't figure this out, perhaps a point in the right direction. Thanks, Devin double d = 22; float f = 0; f = ( float )d;   Be careful though there are significant size differences between a double and a float. Double http://msdn.microsoft.com/library/default.asp url=/library/en-us/csref/html/vclrfFloat_PG.asp Float http://msdn.microsoft.com/library/default.asp url=/library/en-us/csref/html/vclrfFloat_PG.asp - David Sandor ...Show All

  • Windows Forms Changing Tooltip text

    I thought I could change the text of a tooltip, just before it's displayed, by handling the tooltip's PopUp event.  After all, it's called just before the tooltip is displayed. However, any changes I make to the text while inside the PopUp event handler appear to take effect after the tooltip is displayed.   For example, suppose the tooltip text is intially "Hello". Inside the tooltip's PopUp handler I change it to "Goodbye".  When the tooltip is finally displayed, it still reads "Hello".  It's not until the next time the tooltip appears that the new text value is displayed. Here's the code I'm running inside the PopUp ...Show All

  • Windows Forms Showing a Collection Editor from a Smart Tag

    Hi folks, This must be easy, but I can't find anywhere that explains how to do it. I want to add a Smart Tag to my component which is a LinkLabel that says "Edit Items", just like the ListBox, ListView or TreeView has. My component has a property, for example called "Foos" which is of type List<Foo>. I can bring up the default collection editor from the Properties window, but I'd also like the option of showing this editor from a smart tag. Any pointers I have found the "CollectionEditor" class but can't work out how to show its form for my "Foos" property. ...Show All

  • Visual Studio Document Explorer crashes

    Thought I'd start a new thread, since I'm using Visual C# Express, rather than full VS2005. Windows XP Pro SP2, Visual Studio 2003 Pro, SQL Server 2000 Developer Edition, Visual C# Express, Visual Web Developer Express, SQL Express 2005, MSDE. I also have Virtual Server 2005 SP1 beta installed. Problem just started this weekend. Whenever I click on any topic in the Index, Document Explorer crashes. I've tried Repair on Visual C# Express, Visual Web Developer Express and MSDN 2005 Express. Same problem. It was working fine last week, I'm not sure what's changed. I have previously had VS2005 beta2 installed, but I removed that by following the ...Show All

  • Visual Studio Tools for Office File Download feature in ASP.NET

    Hi All, I need to know how do we implement a file download feature in ASP.NET. As we see in the MSDN sites (say when we try to download the .NET famework) , refer this URL http://www.microsoft.com/downloads/details.aspx FamilyID=262d25e3-f589-4842-8157-034d1e7cf3a3&displaylang=en On click of a download button we get a pop up window which will ask the user to either run or save the file . How do this implemented I have a requirement to either give the user an option to save or run a exe located on a webserver. I tried some thing like this : <IFRAME SRC=" \\ipaddress\shared\xyz.exe " title="L ...Show All

  • Windows Forms AppUpdater without directory browsing enabled

    Just started using the AppUpdater, and it's very cool. But I'd like to use it with a webhost running linux. I haven't been able to get it working properly. The AppUpdater successfully downloads the manifest off the server, but then doesn't ever download any of the files. I believe that the problem is that "directory browsing" is not enabled. Can the&nb ...Show All

  • .NET Development Sending Email with Credentials

    I am trying to send mail to a server that requires credentials to send through. However, C# seems to be having issue with my code. I sent email successfully through another server without authentication, so i know that that portion of code works. I sent email successfully from Outlook Express using the username / password combo through the authenticated server, so i know my username/password is valid. -------------- Start Code Snippet ------------------- System.Net.Mail. MailMessage msg = new System.Net.Mail. MailMessage (); msg.From = new System.Net.Mail. MailAddress (sMailFrom, "Application Change Request" ); ...Show All

  • Visual J# vj# security warning

    Hi, We are having code-behind html project in vj# and this project is packaged into a .dll file which is hosted on the browser using <object> tag in a html page. But when we access this page using web server, we are getting vj# .net security warning as "This page contains components that are potentially unsafe. Do you wish to continue " We need to block this warning. I found same kind of problem in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=300668&SiteID=1 , but i don't find any solution there. I would like to know if there is any way to block that warning. Regards, Sumathi ...Show All

  • Visual C# Closing a page

    Hi, I am a beginner and have a (probably) simple question... I would like to know how to add code so I can display a message to the user when they click on close application (the x in the top right). Thanks for your help.. This is a Windows Forms post, so next time questions similar to this should be posted in the Windows Forms General  forum. To do this override the OnFormClosing method with your Form class, for example:         protected override void OnFormClosing(FormClosingEventArgs e)         {      &nb ...Show All

©2008 Software Development Network