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

Software Development Network >> AE from SFO's Q&A profile

AE from SFO

Member List

smalamas
tryanothername
Frances83
Gabriel Souza
Andrew Buyan
dotnetsekar
Focus
seco
dolot
eshashishekhar
biscuitlad
ranadheer mac
Abongs
Heathermack
paso
Tonnie
Leon Tayson
Alatar
JWhite
Lionb
Only Title

AE from SFO's Q&A profile

  • Windows Forms Error code 2869 with Vista

    We have our application Setup program created using Visual Studio 2005 (Setup & Deployment project). Our application setup program runs fine on Windows XP / 2003, however we get the following error message when we try to run the setup program under Vista: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869. According to the Windows Installer documentation, error 2869 means "The dialog [2] has the error style bit set, but is not an error dialog." I don't understand what the issue could be here Do we need to create/build a separate installer for Windows Vista The source of problems ...Show All

  • Visual Studio Express Editions DATABASE CONNECTIVITY

    I dont know how to connect mySQL with VB .NET 2005. Can u please guide me. Dim conn As New SqlConnection() conn.ConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Northwind.mdf;Integrated Security=True;User Instance=True" This code is one of the snippets included in vb express, the easy way to access this is, When your in the code window right click and insert snippet, hope this helps ...Show All

  • Windows Forms RichTextBox Drag & Drop

    Hi, This is a project which contains a few rich text box controls. Some with drag and drop feature enabled. The problem happens when the application starts, and for only the first drag and drop operation. The drag & drop does not take place and the cursor though changes to the circle with the cross diameter in the target, does not switch to arrow and plus sign in the target box. From the second drag and drop attempt then on, everything works accrodingly. The AllowDrop property is set to true for the intended text boxes, and the code elements commonly recommended for the DragDrop, DragEnter, DragOver, and MouseLeave events are all tried and removed with no success to eliminate the problem. It seems the framework does not require a ...Show All

  • .NET Development dll form behaving like an MDI Child form.

    Hi all, Just wondering if there's a quick and easy way of doing this In VB 6, we use API call to made the dll form to behave like a child form of an MDI application. Do any one know of a way to do this in VB .NET I use reflection to call my dll which bring out a form. But this form behave like another separate entity. I want it to behave like a child form to the MDI application i called from. Seems like there's a way to do this in Delphi by passing in Application.Handle to the dll form. Just need some insight. Thanks for reading this far. Dan I had no trouble doing this, but didn't use reflection. Load your Windows Forms project, File + Add, New Project, pick the Windows Control library template. Add your n ...Show All

  • .NET Development can we generate sql server table from dataset

    The purpose is to avoid typing all the field again in sql server when we have them in a dataset. 2/ can we do the same thing fro an xsd file Thanks. 1) Usually we generate the dataset from the database by dragging tables from the server explorer to the dataset designer. You could generate the the sql tables, but you have to write the code to do this yourself. Same for 2. Regards, Charles ...Show All

  • SQL Server How to specify a retension period for backups in SQL

    Is there a way already built into SQL 2005 to specify a retension period for how long SQL database backups are kept For example, deleting all backup files older than 1 week. ...Show All

  • Windows Forms Need same event handlers for all controls within a container control.

    Hello, I need ideas how to solve following: I have a UserControl containing several Labels and Panels which provide static information to user. The whole thing shall act as a single component when it comes to handling mouse and/or kbd events, i.e. user input. That means that wherever the user clicks it, the same event handlers or popup menu shall be invoked. If a kind of transparent panel covering the whole UserControl and capturing all input events could be achieved, that would be a solution, however I don't know if that's possible. I don't wish to specify all the same event handlers for each label and panel inside the control as that makes designing less comfy and it's about to forget setting all the handlers properly anyways. Any ideas ...Show All

  • Visual C++ Strange Compiler Error!!!!!!!!

    Hello, I have recently begun programming in DirectX. I am compiling a single file(.cpp), that requires nothing but a link to DirectX in Visual Studio 2005 Professional (Which I own). I have linked everything to the DirectX SDK files, but I receive the following errors. error C2065: 'index' : undeclared identifier error C2228: left of '.x' must have class/struct/union error C2228: left of '.y' must have class/struct/union These seem familiar with "C" style errors, but I'm using C++. I might have the compiler settings wrong, so that it could think that it was C, not C++, as .x, and .y is straight C++ so somethign is wrong here, there is nothing wrong with the code, as it is from a book and have given it to other ...Show All

  • Visual Studio Express Editions how can iimport data from txt/excel file to a databasee?

    how can iimport data from txt/excel file to a databasee an how can export data from a datagridview to a txt/excel file is there any exsiting function that we can use directily thanks Examples are some of the best way to learn... Check out the very robust SQL project examples as found in the Starter Kits . Also there are 101 Samples for Visual Studio 2005 which is a robust, initial development tasks to more involved tasks for winforms, web development etc which may help you in other areas. Also out some of the VB/C# examples for the basic operations . ...Show All

  • Visual Studio Express Editions File I/O problem with V C++ 2005 Express

    Hi, I use a really simple macro for logging to help me debug, and I can't seem to get it to work in C++ 2005. I get these errors from the macro below, which works fine in Borland :[ Very new to C++ -- does anyone know what I'm doing wrong Is there a better way to do IO in VC++ 2005 Thanks!, Jim #include <iostream> // I/O #include <fstream> // file I/O #include <iomanip> // format manipulation #define LOG_DEBUG( x ) { \ std::cout << x << std:: endl; \ ofstream fout;\ fout.open("C:\\myfile.txt", ios::app);\ fout << x << "\r\n";\ fout.close();\ } 1>------ Build started: Project: Engine, Configuration: Release Win32 ------ 1>Compiling... 1>Engin ...Show All

  • SQL Server Massive SQL server slowdown.

    Problem: The SQL server slows down immensely, and the OS status shows a HUGE page size usage compared to normal, the processor usage constantly remains between 90-100%. The applications querying the server slows down due to the slow response from the server. This occurs for the same queries, which at some earlier time in the day ran much faster. Some requests also times out. The problem ocurs as the usage time increases - at fist after fresh bootup, the performance is normal. Server configuration: OS: Windows Server 2003, R2 SQL Server 2000 Developement environment in workstation machines: ASP.NET 1.1 Any idea of which areas to troubleshoot The SQL Server configurations Where The OS configurations Thanks in advance. ...Show All

  • Visual Studio Team System TreeDiff question

    Hi All I like the treediff feature. In our company we have been using 'BeyondCompare' to see tree differences. Compare does it well except for the fact I can't export it or even get a print out of it. I was wondering could I export this treediff compare resultset to an excel file somehow or even print out the report somehow   just wondering any hidden option somewhere that I might not be aware of Thanks. That is good enough. But the thing is that it doesn't let me copy and paste in word. print screen won't help coz the number of files changed are more than the screen size. and obviously there isn't any export option. how do u want me to paste it in word ...Show All

  • .NET Development How to get a list of colors used in Image...

    Is there a way to get a list of colors used in a Bitmap Right now I am sampling every pixel in the bitmap and counting the color usage. Is there a better way to get the colors used and the frequence of that color use Thanks! Bob I rarely get hit with the "smiley" bug in the forums software. The "coffee cup" is [ c ] without the spaces... ...Show All

  • Visual Studio 2008 (Pre-release) Updating custom control

    I am working on an WPF media player control (for various reasons I cannot use MediaControl). I have the video up and running now, but I am in doubt if I am doing the right thing when it comes to updating the control. Currently I am calling InvalidateVisual on the control and then doing the drawing in OnRender, but I seem to remember that invalidate is very expensive. So, how should it be done I would recommend binding the background of a panel to a BitmapSource Dependency property on an object, using the SampleGrabber filter from DirectShow and updating the property within the SampleCallback or the BufferCallback. There is a thread around here on creating a WPF-based webcam application that gives some ...Show All

  • Smart Device Development Issue with app Icon on the title bar

      Dear ppl, I have written a windows mobile 5.0 application with 4 forms in it. The first form opens second, the second form opens third and third opens fourth. Each form opens the next form as Modal form. What I need to do is when the Main Form (first form) is loaded, an icon should appear in the Title bar. Now when the user click that icon, the application should hide and vice versa. So if the user is on the 3rd form and when he clicks the icon , all the application forms should hide (fist,second,third), and when the user clicks the icon again, he gets back to the third form and when he close the third form, he gets back to the second form and so on. I have manage to get the icon on the title tray using " Microsoft.Windo ...Show All

©2008 Software Development Network