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

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

figo2476

Member List

Brian Lawson
Martyn775
Ooi Kim Hong
Barry Kwok
dbeau
Intuit Recruiter
dimitrod
xplosiv_1
selva_kumar
progames25
Naftis
MaggieChan
Siegfried Van Haelst
Ecrofirt
David Maynard
Ori'
Melterx12
MuscleHead
keltak
hr0nix
Only Title

figo2476's Q&A profile

  • Silverlight (formerly WPF/E) WPF/e vs. HTML

    After reading Mike Harsh's blog post What WPF/e Really is . I'm kind of disappointed with the approach that the Architects are taking with WPF/e, as in that it augments HTML instead of replacing it. Why not Personaly I find that HTML slows me down in producing rich content for my users (something that WPF promises). Sure its easy, its fast, and we should keep it (not every website needs rotating letters). However, as I see .NET being used -alot- for mission critical application, I would only EXPECT WPF/e to take the fore front and upgrading the way we provide commericial services on the Internet in a fast, uniform way. Flash is doing this, Flex is not 'augmenting' the Web, its rewriting it. Share your thoughts. I thin ...Show All

  • Visual Studio Team System branching files twice to the same branch

    Hello, We are moving our source code control system from pvcs to tfs. During this process I encountered the following strange behaviour during a branch operation. I'll list the actions I performed. 1. create a directory with a file under source control : $repository/main/A/file0.txt 2. branch the 'main' folder to branch 'test', using the branch UI. This generates $repository/test/A/file0.txt 3. I then found out that I forget to add file1.txt to directory A and to branch that too. So I created $repository/main/A/file1.txt 4. I did exactly the same branch operation as in 2., i.e. branching main to test 5. The result is not that $repository/test/A/file1.txt is created as pending branch checkin, but that the entire main ...Show All

  • Windows Forms what is IWin32Window interface plz give me example

    how to use IWin32Window inteface to customize messeage box There are some methods of messagebox to display messages in front of certain object. public static DialogResult Show ( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton ) All controls implement the IWin32Windows interface, so you can pass the instance of certain controls as the first parameters. ...Show All

  • .NET Development Enable/Disable network card

    Hi. Is there any possibility to control the network card ( enable/disable) using c# in .NET Framework 1.1 Thanks.Mircea Although I have never done this in code, I beleive this can be done using WMI.  The following links should provide the information you need: http://msdn.microsoft.com/library/default.asp url=/library/en-us/wmisdk/wmi/wmi_tasks__networking.asp http://www.codeproject.com/csharp/wmimadeeasy.asp ...Show All

  • Visual C++ Drawing to a MemDC with CRichEditCtrl

    I'm trying to have my CRichEditCtrl's render to a memory dc. I was expecting to be able to just use SetTargetDevice( MyMemDC, ...) but it doesn't work. Any ideas most appreciated. Also, please let me know if there's a more appropriate place for this question. I looked for Win32 and/or MFC forum but couldn't find one. Brian, Thanks for pointing this out. However, when I click on your link above I get: a dialog box entitled: "Unknown Error" Is there a better link to the Win32 Developer Forum Mike ...Show All

  • Visual Studio Express Editions PictureBox position

    I would like to change a PictureBox position with a button click. It must be possible but has so far eluded me...thanks to change the position: Me.thePictureBox.Location = new Point(x, y) where x and y are the co-ordinates of where you wish to place the picturebox on your form ...Show All

  • Customer Care Framework CCF WorkFlow

    Hi all, I have this problem: when i open Agent Desktop, the first workflow in the workflow list starts automatically. How can i stop this process Is there an option to set somewhere or should i make a change in the code Thanks all, Gianfra The AgentDesktop code provided with CCF is provided as Sample code… It is preconfigured with some default behaviors.. To stop it from AutoLaunching the first workflow, in Desktop.cs Locate and comment this line: this .workFlowControl.StartWorkflowByIndex(0); Matt B - MS ...Show All

  • Windows Forms Gridview binding to an arraylist

    I have a gridview on my form and its source is set to an arraylist. This arraylist keeps changing dynamically. The problem, whenever the arraylist contents are changed, the gridview contents are not being refreshed dynamically. Any help on this issue is appreciated!! Thanks, Satya. Try invalidating the cell after you change its value Public Class Form1 Dim ar As New ArrayList Private Sub Form1_Load( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles MyBase .Load Dim c1 As New BindTo Dim c2 As New BindTo Dim c3 As New BindTo With c1 .Name = "A" .Id = 1 End With With c2 .Name = "B" .Id = 2 E ...Show All

  • Windows Forms Image Manipulation

    I have a application that allows users to upload image files to the server. The form for doing it contains a PictureBox and a Browse button. Clicking the button opens the FileOpen dialog, where user can select an image to upload. There are a few things I would like to know. Although I can set the filter criteria for images, the user can still select a non-image file by typing *.* in the File name text box. Attempting to assign a non-image file to picturebox generates an 'Out of memory' exception. Can I display a message to the user after he/she selects a non-image file without explicitly checking out the extension of the file. I also want to manipulate the image before uploading it. Specifically, I want to convert it to jpg format (I know ...Show All

  • .NET Development Write data on webserver.

    Hi, I wants to create a xml file in the webservices virtual directory from C# desktop application. can any one help me out No, it's totally related w'th asp.net, if you are running a desktop app and if that app is at the webserver, then you know it's location (could be something like c:\inetpub\wwwroot\....) or if it is under a virtual path that you can findout that path from your IIS panel at administrator control panel... ...Show All

  • SQL Server Printing differences between RTM and SP2

    Using SQL Server 2000 SP4 and SQL Server 2000 Reporting Services I'm using the code from http://blogs.msdn.com/bryanke/articles/71491.aspx and have discovered a problem with the printed report between the RTM version of Reporting Services and SP2. Our development server had not been upgraded to SP2 and using Bryan's code the reports were printing without any issues at all. Now the server has had SP2 applied the report footer is missing and data on the right-hand margin is truncated. Anyone got any ideas why this would be the case What can I check to see why this would be happening Thanks I'm not sure what would have changed to cause this behavior. The only other thing I can think to try is ...Show All

  • Visual Basic Folderbrowserdialog ContextSwitchDeadlock

    I have had a problem resulting in ContextSwitchDeadlock and a consequent build up in memory use. The following is a snippet which results in the error when using a Folderbrowserdialog control. How can the ContextSwitchDeadlock be avoided Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click FolderBrowserDialog1.ShowDialog() Dim tstart As Double tstart = DateAndTime.Timer Do While DateAndTime.Timer < tstart + 70.0 TextBox1.Text = DateAndTime.Timer - tstart Refresh() Loop End Sub A context switch deadlock is a fairly common problem with the IDE. Be sure to test the release versio ...Show All

  • Visual C# Passing parameters in C#

    Hello Members, I am trying to call a sql function in C# ,it work fine when I call for SqlCommand cmd = new SqlCommand("SELECT dbo.Calc(1, 18, 4) as totalCost ",cnn); But when I try to so the same with calling parameters it doesn't show the result. e.g SqlCommand cmd = new SqlCommand("SELECT dbo.Calc(Par1,Par2,Par3) as totalCost ",cnn); Any answers You'll need to pass the values of the 'parameters', not the names: SqlCommand cmd = new SqlCommand("SELECT dbo.Calc(" + Par1.ToString() + ", " + Par2.ToString() + ", " + Par3.ToString() + ") as totalCost  ",cnn); Also, it's highly recommended to use stored procedures rather than constructing sql strings in code. David Anton w ...Show All

  • Smart Device Development TypeLoadException - need help with loader log

    I have a CF project that has been working for quite a while. Recently, I began doing unit testing of some CF assemblies from a desktop targeted project. For some reason, the code no longer runs on the device. It gives the following exception: Could not load type 'System.Collections.Generic.List`1' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=969DB8053D3322AC'. I'm not sure if I've somehow used generics in a way thats not supported on the CF but yet is still allowed to be compiled (since it runs from the desktop unit test projects). I have no idea what's going on. I've tried reinstallation of .NET CF 2.0 SP1. Here's a portion of the output of the loader log: ====================================== ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can anyone confirm this potential BUG with Spritebatch / RenderTarget...

    Hi all, I'm experiencing a strange problem that I can only attribute to one of the following... 1) My own incompetence :-) 2) A flaw in the Spritebatch code. Can anyone confirm that it is the latter please. Some background... In order to ensure the correct look when running at a variety of resolutions and aspect ratios I am wanting to spritebatch all of my 2D stuff to a RenderTarget and then spritebatch the RenderTarget to the BackBuffer in the correct scaling (either full screen for widescreen or not quite full height for normal TV). I am creating a Texture2D as a RenderTarget of 1280x720, Default resource, 1 level, SurtfaceFormat.Color, etc. The problem... I stash the backbuffer, set the rendertarget to ...Show All

©2008 Software Development Network