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

Software Development Network >> A.F.B's Q&A profile

A.F.B

Member List

Boy from Turkey
Jessica Alba
Anthony von LA
enric vives
Steveiwonder
Dunce Hat
dbabe13
VincentSteenvoorden
Alex Wied
Eissing
gala123
LouisPeter
Karaner
AJ13
winstonSmith
Michael Herman - Parallelspace
lbeguin
vbjunkie
qadirsyed
zybernau
Only Title

A.F.B's Q&A profile

  • Visual Studio Team System LoadTest PerfCounters and 64Bits WebServer

    Hi all. I'm running ASP.Net2.0 in a 64b server. When I run LoadTests from a 32b machine, the ASP.Net related perf counters are empty. To see this counters with perfmon (locally in the server) I changed the key: HKLM\System\CurrentControlSet\Services\Sysmonlog\imagepath to %SystemRoot%\syswow64\smlogsvc.exe It works fine in the server, but not when I use perfmon from remote (32b) machines How can I include 64b the perf counters in the LoadTest Session inside a VS 32b Thx in advance rido check out the following link. Reading 32-bit counters on a 64-bit machine ...Show All

  • SQL Server Reinstalling sql 2005

    please ... really need some guidance... I have removed the old and reinstalled SQL server 2005 standard... Getting the following message: Your OS doesn't meet Service pack levels requirements for this SQL server release So I installed Microsoft SQL Server 2005 Service Pack 1 (SP1) Getting the following message: This machine does not have a product that matches this installation package. I have Windows XP Professional 2002 32-bit (Dell), Windows XP Service Pack 2, IIS, NET Framework 2.0., 13GB , processor intel 1,5 GHz, 256MB RAM Thank you so much! Actually I need SQL standard or develope, but it didn't work yet. So the trial version will not work, or Windows XP Professional Version 5.1 (Build 2600.xpsp_sp2_gdr.050301-1519: Ser ...Show All

  • Visual C++ Raising exception in one thread, handling in another..

    Hi, I am a bit curious.. Can I raise exception (with RaiseException() ) in one thread and get it handled in another thread This is needed for operation stop-functionality. I thought it would be nice to have one dialog where is stop button, and it stops whatever the main thread is doing.. To the visual studio part of the question ;) Does anybody know how it is done in Visual Studio It's possible to freeze the debugged process anytime, when debugging. Best wishes, Andy One approach to exception handling across threads is part of my cross thread call library, ThreadSynch. It can be found at http://www.codeproject.com/useritems/threadsynch.asp , should you wish to have a poke at it. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What can XNA be used for?

    Hey, i was just wondering if XNA is for homebrew games only, or can it be used for other software such as operating systems, emulators, internet browsers etc For example, could it be used to port linux over to the 360 Cheers! wargasm wrote: Hey, i was just wondering if XNA is for homebrew games only, or can it be used for other software such as operating systems, emulators, internet browsers etc For example, could it be used to port linux over to the 360 Cheers! ' (Moved to XNA Game Studio Express Forum) You can use it to build games. You will not have access directly to the underlying hardware, except through the XNA Framework API. You will definitely not be able to write new operati ...Show All

  • Visual Studio Tools for Office Undo Disabled in Excel 2003 using VSTO 2005

    Hi All, I appear to have run in to an intractable problem in Excel 2003. I am developing an auditing addin that monitors cell changes. I am capturing the SheetChangedEvent and this disables the UNDO feature. I have not seen this defined formally as being the case anywhere from MS. If this is the case could someone  let me know and point me to the resource If this is the case, can someone point me to a possible solution I have looked at _Application.OnUndo(), but this appears to require me to have have macros on my spreadsheet, which defeats the purpose. Any help would be very much appreciated. p.s. I have got it down to UsedRange method caousing the problem, if that is any insi ...Show All

  • Visual Basic jagged array

    I am trying to pass an two-dimensional array to a webservice but it says to use a jagged array instead. How do I put a two-dimensional array in a jagged array My two-dimensional array consists of several rows and 1 column. I am completely lost. I still don't understand how I use a jagged array to accomplish the same thing as a two-dimenssional array. This just adds one value to the array, correct Dim formValues As String()() = New String(Request.Form().Count - 1)() {} For i As Integer = 0 To Request.Form().Count - 1 formValues(i) = New String(1) {} Next I am looking form something like this col1 col2 -------------------- 1 FirstName 2 LastName 3 Email I assu ...Show All

  • Visual Studio Can a .proj file be run from within VS?

    The .proj contains instructions for MSBuild to copy sets of files, run Mage.exe, run bootstrapper etc, all for a nice ClickOnce deployment. This is currently done from the command line, and I run it after the main solution for the project is built. So I'm wondering if it's possible to integrate this last step (running the .proj) from within VS as the last part of the overall build somehow. Yogesh, yes I've seen the pre and post build scripting boxes in the project setup in VS. I see there are a number of predefined macro templates to select from etc. But, can my msbuild project (.proj) which does the clickoncedeployment be executed from here I wouldn't know the syntax. ...Show All

  • Visual C# Interfacing a mobile phone

    Hello everybody, Is there a way to connect a standard mobile phone with PC and and write code to send/receive SMS(plain text messages) to other mobile devices from PC using the mobile phone that is connected Thanks. Hi, It is possible to develop such a software with windows moblie SDK, if the moblie device is with windows CE. Pls reference to: http://msdn.microsoft.com/windowsmobile/ Thank you ...Show All

  • Windows Forms Web Publishing with multiple connection strings

    Hi, We have two environments available to all users, one for testing and user training, pointing to a database and a live environment pointing to another database. A third is on the developer machines and we all have our own DB running locally. I publish to two different locations for users (live and test) and two links on the users desktop point to either environment, which need different connection strings. Here's my problem: Before publishing, I change the connection string to say "Data Source=testserver", but when users start the test app it will fail and the log says: ********** http://d9k2cn1j/Golfbreaks.TheClubhouse/Test/Golfbreaks.TheClubhouse_1_0_0_6/Golfbreaks.TheClubhouse.exe.config did not succeed. ******* ...Show All

  • SQL Server Analyzing a Query in SQL Server

    I have to duplicate a bunch of reports that were produced by a VB6 app. Now I'm using C#, ASP.net and Crystal Reports via VS2003. Each executes a stored procedure in SQL Server (before and now). For each report I have a Stored Procedure and a View. The View's SQL code is identical to the Stored Procedure except that the two input parameters (startDate and endDate) are removed because Views don't allow parameters. Some of the reports work perfectly right off the bat. But others are timing out. My initial test of the timing out is to just display the View. If it fails then I know that the the report engine will fail too. So now I'm trying out the SQL Query Analyzer tool to execute the code in one of the Views. It's now at 29 minutes and stil ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Developing solely on the XBox 360

    What major disadvantages are there in developing only on an XBox 360 My laptop here is not exactly a top-of-the-line gaming machine, which means that I can't run XNA games on it (no shaders). One option would be to just get a new PC, but for a student that's not exactly cheap, and I might not want to get a new one anyways before Vista comes out. One thing I heard might be a problem is profiling my code. I understand the only thing for profiling on the 360 is the GC profiler, which might not be quite enough. Will the situation get better in the future Should I just get a new PC or would the 360 be a good inexpensive solution for game development Actually, the most straightforward reason is that the subscri ...Show All

  • Visual Basic Is a ColorMatrix the fastest way to edit bitmaps? (LockBits)

    I've made a function that makes bitmaps transparent via a ColorMatrix but now I'm wondering if that is truly the fastest way, because I can see that it takes a while (not that much, but enough to notice) to update the picture when I use a slider to adjust the transparency. Is there perhaps an imageformat that takes an alpha-value for the whole picture instead of per pixel, so that I don't have to use a colormatrix to go through every pixel to update the transparency Edit1: for example, setting the opacity of a form updates instantly, so how can I change a bitmap's transparency that fast in managed code - or is that just asking too much of VB Edit2: LockBits seems to promise better speeds - examples are welcome :) Edit3: okay, I tried b ...Show All

  • SQL Server How to create a CLR integrated trigger on table in schema?

    In CLR integrated trigger: If I want to make a trigger: - For Insert - With name: NewEmployeeInserted - On table dbo.Employees I add the following attribute above the desired .net method logic: [ SqlTrigger (Event = "For Insert" , Name = "NewEmployeeInserted" , Target = "Employees" )] How to make a trigger on for example: Production.Employees table where Production is the schema where this table resides. Thank you. Hi, this was discussed in an earlier thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=132062&SiteID=1 Normally you should be able to only prefix the Schema before the table target. HTH, Jens K. Suessmeyer. --- http://www.sqlserver ...Show All

  • .NET Development Disassembling code (ILDASM)

    Hi, I know a little about the utility ILDASM. Using this or any other means, is it possible for someone to recover the source code (classes, methods..) if they have the .exe file of an application I have a program which is one executable file and represented by numberous classes and code. I am wondering if someone would be able to recover my vast programming effort from the .exe file that I am distributing Thanks Be aware that even using obfuscation, .NET code (regardless of the language it originates in) is considered much easier to backwards-engineer than unmanaged languages such as C++, because it is much more self-describing. Someone may not be able to run a program and end up with ...Show All

  • Windows Forms how to get the name of the image in Picture box

    Hi i have a small problem.I saving an image that is displaying in the picture box. i already has a default image in the picture box before capturing the image from a webcam name default.jpg my problem is i want to know the name of the image so that i will ensure whether i'm saving the newly captured image or the default image. hope i conveyed my problem correctly.looking forward for a solution -regards GRK You can store the file name information in the Tag object, something like this: pictureBox1.Image = Image.FromFile(@"D:\test.jpg", true ); pictureBox1.Image.Tag = @"d:\test.jpg"; Then the Image.Tag property can be retrieved as a symbol whether it's a default image or not, of course you ...Show All

©2008 Software Development Network