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

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

IXOYE333

Member List

ahmedWebDev
smckinney
hrubesh
Konstantin_T
carbontrans
Cody55
wanda
Toby Broom
yog_23
Roshan_wp
Han Qiao
BeckyB
MrJP
Gaoqiang
UtterMan
Sorin Sandu
re infecta
cdolor
Grahame Edwards
Al Chu
Only Title

IXOYE333's Q&A profile

  • Visual Studio 2008 (Pre-release) visualstyles for WPF window in xp

    Hi, I am using .Net 3.0 RC1 on XP. I found that WPF window applications are not using any kind of visualstyles. How do I enable it In .Net 2.0, we are using Application.EnableVisualStyles(), is there any equivalent in .Net 3.0 Is there a foolproof way to get the Aero theme to render the Titlebar and buttons I have used the following resource dictionary within my application: < ResourceDictionary Source = " /PresentationFramework.Aero, Version=3.0.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=MSIL;component/themes/aero.normalcolor.xaml " /> This line will cause all Aero themes to work on controls, but does not affect the application ti ...Show All

  • Visual C# Parsing from scientific notation

    Hi Im trying to read in values from a file containing numbers that are a mix of "normal" doubles (i.e. 3.23124) and numbers written in scientific notation (i.e. -12e3). I guess this has something to do with the format of the string. Im trying to feed the values into a custum struct called Matrix, which takes doubles... The code I'm using is:   if (numberOfRows>0 && numberOfColumns>0) { Matrix M = new Matrix (numberOfRows,numberOfColumns); fs.Position = 0; int i=0; while ((line = reader.ReadLine()) != null ) { string [] split = line.Split( new Char [] { ' ' }); for ( int j =0; j<split.Length; j++) M[i,j]= Double .Parse(split[ i ]); i++; } fs.Close(); r ...Show All

  • Visual Studio Adding Solution items

    Does anyone know an easy way to add solution items e.g. readme.txt, log4net config files to a solution using gat. I dont think the normal vstemplate method supports this. I also need to process the files to replace parameters in these files Yes, unfortunately there is a bug in VS causing the "auto-open" of added files which is really a pain if you're adding multiple items at the same time. Although I seem to recall that my team used an alternative way that didn't opened the files, I'll check this tomorrow and give you an update if there may be a way to avoid this. ...Show All

  • Windows Forms Basic: Start Menu shortcut and uninstall option

    hi I want in my setup project to add shortcuts to the Start menu and also I want in the Start menu to be the uninstall option. How can I accomplish that HI I'm using a "Setup & Deployment" project And there is something else I need to do. In the app directory I have to create some files txt. I have notice that when I unistall the application the folder and those files I have created inside are not removed..and I need to remove everything from the user machine...so How thks ...Show All

  • Windows Forms .net framework setup

    I have a .NET Window app that is going to install on target pc which do not have .NET Framework.....i use the following step which i found online to create a setup.exe....But the problem is, the setup.exe only can work with the existing of other files (dotnetfx, config.ini........).....how can i bind all these files into the setup.exe because if i dont pack it together,if the user accidentally delete one of the file, the setup cannot work..... Pls help....thank you.... To install the .NET Framework with a Setup project Make sure that the Visual Studio .NET Framework Bootstrapper Plug-in is installed. Select the Setup project in Solution Explorer. On the Project menu, choose Properties . Set the Bootstrapper property to Windows ...Show All

  • Visual C# Differences between 2003 and 2005

    Apologies if this is a FAQ - I'm sure it is but couldn't find the answer. I use C# under VS 2003, and am going to upgrade to 2005. Can someone point me to some doc on what the major new features are that I'll be getting after I upgrade Thanks! - Dave Here's a pretty good list, although not much on explanation http://www.codeproject.com/books/net2_cs2_newfeatures.asp#CSharp2 Mike ...Show All

  • Architecture Stored procedure vs standard query

    hi, I am in process of evaluating that for simple CRUD operations(select,update,delete,insert), should we use stored procedures or should we fire queries directly from DAL for performance enhancement leaving aside the fact the stored procedure pproach will mix the data access and business logic . If somebody could provide any microsoft URL link giving clearcut recommendation on the same,it would be of great help to me. Regards Roger's answer was well said. I've worked on applications with a dynamic "chatty" dal that was very hard to optimize. The get method of many objects was tied to a sql statment to read on column. Often simple crud operations aren't performed on all tables and s ...Show All

  • Windows Forms monthcalendar fires on each monthly scroll

    I'm trying to allow the user to pick several dates from the monthcalendar, and have these dates show in a listbox as each is picked. Clicking a button after all of the picked dates have been collected will then move the listbox dates to a column in datagridview. My problem is that the code allows duplicate picks into the listbox, and also fires new [& double duplicate] dates into the listbox during the scroll. I want to disallow pick of any/all duplicate dates. I've solved the duplicate date pick with: If ListBox4.Items.Contains( CStr (e.Start.Date())) Then 'leaving this line blank causes "nothing" to occur, and removes duplicates...tho still fires on monthly scroll Else ListBox4.Items.Add( CStr (e.Start.Dat ...Show All

  • Software Development for Windows Vista IVMRWindowlessControl9.GetCurrentImage returns black frames.

    Hi, I am extracting frames from a DVR-MS file created by Vista Media Center. It works fine but sometimes IVMRWindowlessControl9.GetCurrentImage(IntPtr iDIB); returns a black frame. If I run the graph and pause the thread of my application for a second and get than the current image - it works just fine. So it looks like it needs a few ms to get the frame etc... Fyi, I am using C# and develop under Vista. Is it possible to "wait" till the current frame is available and not still a black frame Thanks, Olcay I converted your code to VB.Net and I got black frames when I first ran It. I changed your ctlContainer.Handle to my Form's handle and changed the scan0 IntPtr to the offset of the BitmapInfoHeade ...Show All

  • Smart Device Development Having Trouble With WebBrowser Control

    Hello I'm creating an application on Windows Mobile 5 using c#. This application uses the WebBrowser control to show a specific website. The problem that i am having occurs when the app runs on the device. (Motorola Q). For some strange reason the application shuts down as soon as it gets to the line : this.webBrowser1 = new System.Windows.Forms.WebBrowser(); which is in the InitializeComponent() method. It does this without an exception. When i connect the device and debug from VS.net 2005. The app shut off and i get a cannot connect to this device message. I'd try these two things: 1. You could try hooking the AppDomain.CurrentDomain.UnHandledException event, and see if you get anywhere. 2 ...Show All

  • .NET Development writing an advanced filestream class

    I am trying to create a stream that writes text to a file and: automatically creates a new file once the current file exceeds a certain size makes it possible to be used by multiple threads and/or processes so that multiple threads/processes can write to the same file (all threads use the same instance of the stream, processes use a different instance but still may point to the same file) Could you point me in the correct direction how this would ideally be implemented What class should I derive from How would I solve the problem of multiple threads acessing the same stream or multiple processes acess the same file Additional information that might be helpful: The stream will be used with TraceListener (passed ...Show All

  • Visual Studio Team System "Missing file" link error with TFS build

    Hi, We are trying to build automatically one VS 2005 solution containing various VC++ project (one exe and several dlls). This solution and its projects make use of custom configuration (this help us to define various preprocessor #defines used in our C++ code). When building this solution with one configuration through via VS 2005 on a desktop computer, everything builds fine. But after creating a TFS build type and running it on the build server we see this error: LINK(0,0): error LNK1104: cannot open file 'D:\Build\RootFolder\TFSProjectName\BuildTypeName\Binaries\PlatformName\ConfigurationName\DesignerLocale.lib' (D:\Build\RootFolder being our build directory path) It is strange that TFS build look for lib files in the 'D:\Buil ...Show All

  • SQL Server 1-Many Join dlimena

    Hi people, I am trying to create a view based on 2 tables. A header and a detail table. However, in the header table is a couple of fields that I only want ot appear once for each header record. For example, Budget and Area which are columns in the Header table should only appear for the first joined record not in every row for that column. If I just do a normal join then I get this appearing in every row. I know I can use Distinct Agg functions to eliminate calculations later but there is an issue with SQL reporting serives that has major limitations. This is the ideal scenario. How is this achieved with T-SQL JH.JOB JH.BUDGET JH.AREA JD.AMOUNT JD Description would give 123 $2300 254 $3000 Toilet rolls 123 $2300 254 $3200 C ...Show All

  • Visual C++ error C2665: 'operator new' : none of the 5 overloads can convert parameter 1 from type 'const char [71]'

    When I try to compile the programe in VC7, I got some errors mensioned below, how to resolve them, suggest me. c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xmemory(34) : error C2665: 'operator new' : none of the 5 overloads can convert parameter 1 from type 'const char [71]' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\new.h(100): could be 'void *operator new(size_t,const std::nothrow_t &) throw()' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\new.h(108): or 'void *operator new(size_t,void *)' while trying to match the argument list '(const char [71], int)' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xmemory(137) : see reference to function te ...Show All

  • SQL Server DecryptByPassPhrase not decrypting varchar columns after copying a database

    I have an encrypted column of data that is encrypted by a passphrase. The passphrase was encrypted by a symetric key in a key pair. The passphrase also is stored in a table. I can get the passphrase as needed to encrypt/decrypt the columns. I copied the production database to a new database for development. Subsequently I had to create a new symmetric/asymmetic key pair and recreated my passphrase with the new key pair. Now the passphrase will decrypt a text column but it will not decrypt two other columns which are of type varchar in the database. Here is an example: DECLARE @pss varchar ( 30 ) EXEC [dbo] . [uspPassPhraseGet] @pss OUTPUT SELECT DISTINCT contactid , uissueid , createdby , created_dt , CONVERT ( varchar ( max ...Show All

©2008 Software Development Network