FrankMucerary's Q&A profile
Visual C# Events, how it works?
Hi, Let me just start with two questions, 1) Microsoft say custom EventArgs (eg-: TestEventArgs) must derive from the EventArgs base class, why so What benefits are we going get by using a class inherited from the EventArgs base class rather than using a concrete class (Test class) as EventHandler parameter 2) Now the most important one, a) I have a delegate declared as below, public d ...Show All
Smart Device Development MobileForm background color not being rendering with WML
I have a MobileForm that has a background color set, but when I browse to that form via a device that expects WML, the background color is not sent to the browser. If I browse to the form with a device that expects html it is fine. Question is: Can .NET create the WML properly and send the style attribute of the card element in wml to set the background color Thanks! Erik, I belive you are in the wrong for ...Show All
SQL Server Report only generates 1 page output
I'm fairly new to Reporting Services, so I'm sure this is a dumb question. I have a stored proc that returns 38 rows that I am using in a report. The report is fairly simple, with no page headers or footers. I used the Report Wizard to create the report, but ended up deleting all the generated fields and started with a blank report. Now the report only generates 1 page of output. Any ideas Thanks, Mike Did you g ...Show All
.NET Development (.NET 2) SSL Stream ans async write
Hello, im using the new SSLStream class from the .NET framework version 2.0. My stream is using async functions BeginRead and BeginWrite. When i send multiple packets very fast with multiple BeginWrite calls then i get the following exception: "The BeginWrite method cannot be called when another write operation is pending" Is there smth i do wrong Shouldnt the stream itself take care about pending packets and queue them I never had problems ...Show All
Visual Studio 2008 (Pre-release) Mobile 5 development questions
First of all, thanks for the great information. I am in the process of developing a Windows Mobile 5 app. I have a few questions: 1) From what I've read, WPF/e is not available yet. Any idea when something will be available for developers 2) Without WPF/e, can I still work toward the goal of a WPF UI I'm pretty sure I could use Interactive Designer to begin the UI, and I have some classes written, but at what point will I hit a brick wall ...Show All
Windows Forms Multithread output display
Hi all, how do you display the output of the multithreads on window form. All the example listed are using console.write. I tried using label and textbox, but keep getting exception error as the threads are accesing the same label/textbox at the&nbs ...Show All
Visual Basic Weeknumber
How do i get the weeknumber in Visual Basic 2005 Express edition Well that doesn't work for me. There's an interesting article about this here http://www.thecodeproject.com/csharp/GregToISO.asp msg=396665 The code is in C# but shouldn't be too difficult to convert ...Show All
.NET Development JScript Editor like VBA
I would like to know if there is an JScript that maybe embeded on my application where i can expose my application object model and have Intellisense technology and debuging. Somehitng like the VBA but using JScript. Thanks in advance, Juan. ...Show All
Windows Forms Check box data binding, AddNew doesn't work
I am having problems with binding to a check box. It works fine until I attempt to add a new record to the dataset through the binding context object. The code that adds the new record to the dataset is listed below Me.BindingContext(dsDataSet, TableName).End ...Show All
Visual Studio Team System TFS Install error
I'm installing what I think is the newest release of TFS from MSDN (downloaded on 3/9/2006). It's a clean install on a brand new server setup (server 2003 standard run on Virtual server 2005). At about 1/3 of the installation I get the following error: Error 32000. The Commandline "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Bin\Stsadm.exe" ...' returned non-zero value: -2130246302 I've been trying res ...Show All
Visual C# writing regular expression for validating special characters
hello guys, i want to write a regular expression that can validate the following: --> alphabets [a-zA-z] -->numbers [0-9] --> and apostrophe ['] i am just able to write the expression as[0-9a-zA-Z] . now how do i modify my expression to validate for apostrophe also. plz send me the expression. let it me guys i had done it. its simple the expression is like this [0-9a-zA-Z;/ ...Show All
Windows Forms SVG
Does anybody have an idea how to display SVG graphics with windows forms. We have a requirement to display and print SVG and to have an editable layer on top of the SVG graphics. is there a XAML component that is already working with the .net 2.0 framework. We can't ship a comunity technology preview. thanks for any help Chris There is no XAML component apart from the CTP stuff. SVG runs in a browse ...Show All
Visual Studio Team System Assistance With Goal Based Load Pattern
Hi, I am running a goal based load test for the overall Avg. Response Time counter with these settings Initial user count - 1 Max user count - 2000 max. user increment and decrement - 5 min user count -1 stop adjusting user count when goal reaches - true test time between iterations - 30sec I am recording the results for the above scenario and need some help understanding them. The userload shows as 1 for the first 3 ...Show All
Visual Basic .config in control
Hi all, i've got a .config file wich i use in a application (vb.net 2003) i'm binding (dynamic properties) the .config file to properties in a control. When i drag n drop the control on a form i got a error and the instance of the control is removed from the form The error is something like this Exception occurred while trying to make a instance of subformacties "The key sql.connectionstr does not exist in the configuratio ...Show All
Windows Forms Strongly Typed Dataset Problem
Hi, I’m trying to generate a strongly typed dataset using the Server Explorer in Visual Studio. It works fine when I drag a table to a form to begin the process. But I get the following error for both the update and delete statement ...Show All
