Alterfritz2's Q&A profile
Smart Device Development Device Emulator 1.0 can not fire user notifications!
Hi all, I have installed device emulator 1.0 preview recently. It almost works very well but user notification and spy++. For SPY++ problem, i had found an answer from a blog page said that it is indeed disabled. Of cause, it is best to verify from more pages or experts. So, i hope got an authoritative opinion for that from here. For user notification problem, i have not found any answer from internet. I am not sure whether it is emulator bug or my installation problem. It not only didn't fire my application's user notification but also deny alarm set by emulator system SETTINGS. It only fires alarm ...Show All
Visual C# How can I call a static function for a generic class?
I have a class SwatchPanel which takes Swatch as a parameter type. How can I call a static function within the Swatch class For example the code below fails on TSwatch.Exists. How can I get the call to work Suggestions would be very welcome. Thanks, Steve public class SwatchPanel <TSwatch> : System.Windows.Forms. Panel where TSwatch : Swatch { protected virtual bool SetOkButtonState() { if ( TSwatch.Exists (ColorDescription)) do something } } ...Show All
Windows Forms Binding on EndEdit reset datagrid!
Hello Everybody, I have a datagridview with an bindingsource that consumes a webservice dataset I edit my datagridview(its inside a Tabcontrol) and change a lot of rows values without problems.... but when i press the save button, I coded my binding source do the endedit and i get the changes to Update my dataset...... But the ENDEDIT() or the VALIDATION() methods... reset all the values of my datagrid to the Original values...... thats the save button code: private void btnSalvar_Click(object sender, EventArgs e) { string message = "Voce esta alterando a data de importacao do sistema. Voce confirma a operacao &quo ...Show All
Visual Studio Express Editions How do I perform the Button1_Click subroutine?
I coded in a Button1_Click event and it works properly when Button1 is clicked. Now, I want to also "perform" this Button1_Click subroutine from my Button2_Click subroutine. My Button2_Click event (labeled "Back") subtracts 1 from a counter. Then I want to perform the Button1_Click event (labeled "Next"). How do I "perform" the Button1_Click subroutine (without clicking on Button1) Just double-click on your "Next" button on your form & insert the code to increment your counter. How did you do your "Back" button event ...Show All
Visual Studio Express Editions SDK for WinXP x64
Good day, I have AMD64 processor with winXPPro x64 and tried to download the x86 SDK but it wouldn't install (I thought it would install into the x86 folder). I then downloaded the AMD64 SDK and installed from the web...well, I thought I had...but when I went into the "Program Files\Microsoft SDK" folder (after getting a success message) I discovered that none of the sub-directories (include, bin, etc) had installed there. I found them one level up in the Program Files directory. My Question's: 1. Will the AMD64 SDK work with VC++ express to learn how to make win32 apps (I am starting with the Petzold book, ...Show All
Visual Studio Express Editions Development error on seperate OS
Hi, i installed the .net frame work on my development pc , xp pro and a win 98. I was testing my program and on 98 and xp pro i get an error just when my splash screen has finished loading, but on my development pc it works fine...howcome. I copy the bin folder accross and run the exe on the 98 and xp and it dont work... and on my development pc i do the same and that works. It's a system secuity issue. My program just haults even if i disable JIT... am i gona have to go throught and put on error resume next for the module it says causes the problem Thx Ahh i was using a Mapped network drive to do it. I have to copy to local Hd ...Show All
Visual Studio Team System TFS Analysys Services service stops all the time
The Event log is logging this error; The description for Event ID ( 22 ) in Source ( MSSQLServerOLAPService ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Internal error: An unexpected exception occured.. I went to see the log files SQLDUMPER_ERRORLOG.log in C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Log And I see this every time the service goes down: 0 ...Show All
Visual Studio 2008 (Pre-release) The Digital Identity Control panel applet failed to start
When I double click on "Digital Identities" icon I get the following error message: "The Digital Identoty control panel applet failed to start. Error: 0x80070002. Message: The system cannot find the file specified." I checked and the Infocard service was missing. The I ran the following command: installutil infocard.exe and I got the following error message: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>installutil infocard.exe Microsoft (R) .NET Framework Installation utility Version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. Exception occurred while initializing the installation: ...Show All
Visual Basic VS2003 WebServices from VS2005
Is it possible to add a Web reference to one WebService written with VS2003, from one VS2005 project ...Show All
Visual C# Things I would like to see in C# 3.0
Hi all. Over the last few months while working on projects, I have become... Frustrated, if you will, at a lack of some features from other languages, that can be put into C#. The My feature from VB. This is one handy little feature ;) The union keyword. Creating unions through attributes is just plain tedious. Default parameters. These save writing extra functions, especially when you have more than five or so default parameters. Other than that, C# is a very sexy language :D Is the My-features the MyBase and MyClass I never used VB myself. Doesen't base and typeof(this) do the same thing ...Show All
SQL Server RPC/SP Complete trace time difference ?
Hi There I have been tracing some long running sp's in our database. Now 95% of the time the RPC Complete: that exec's a sp and the SP Complete: events in the trace duration times are almost identical. Somtimes i find the following situation. RPC Complete : exec sp_bps_all_auth_not_invoiced @startDate = 'Sep 25 2005 12:00:32:000AM', @endDate = 'Sep 28 2005 10:36:32:000PM' - Duration 71 seconds. SP Complete : exec sp_bps_all_auth_not_invoiced @startDate = 'Sep 25 2005 12:00:32:000AM', @endDate = 'Sep 28 2005 10:36:32:000PM' - Duration 31 seconds. I am wondering why does the sp take 31 seconds but the RPC that exec's the s ...Show All
Windows Forms NetworkStream and StreamReader/StreamWriter
I've got an app that uses the TcpListener and TcpClient classes to accept a connection and assign it to a NetworkStream which is then assigned to a StreamReader and StreamWriter. The program uses a Do Loop to read data from the stream as it becomes available. This all works great. The problem comes when the connection is lost. I need ...Show All
Windows Forms Setting the ScrollableControl.AutoScrollPosition property
Every time I set the AutoScrollPosition of a Form (or Panel) I get a {0, 0} value. Is this a bug Related info: http://dotnet247.com/247reference/msgs/4/22432.aspx For those who are interested, here is what I found in MSDN: AutoScrollPosition represents the location of the scrollable control's display rectangle. The X and Y coordinate values retrieved are negativ ...Show All
Software Development for Windows Vista Could I use WWF in such scenario?
In many business application, some database records should be viewed and modified by many person by sequence. In general, at anytime there should be only one person to modify the record, after this person "commit" his modification, another person could go on to modify the record (on another machine in the network) and when the record is being modified, other person could only view the record. Sometimes the record may be withdrawn or rollbacked to previous node in the workflow and such rollback should be logged. A typical scenario is bug tracking application, or order form process system. I am wondering if I could use WWF in s ...Show All
.NET Development msvcr71.dll redistribution license details
I'm looking for exact license documentation that msvcr71.dll this is a freely re-distributable dll without any restrictions. I can find this file on the web with no problems... just want to make sure that it is legal. This is the 7.1 version of the MS C RTL and is redistributable. However like most MS files it is not a simple matter of copying a file across as this file may have dependencies that must be updated and/or may already be in use by the OS and therefore not directly replaceable. You must therefore run the redistribution binary for the RTL in order to install it. All installation programs should already support this throug ...Show All
