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

Software Development Network >> Pat J's Q&A profile

Pat J

Member List

Prakhar
PeacError
kastanienreis
Madok
Radim Hampel
tkrasinger
orent
Dave Midgley
mitasid
FranklinBAH
jebrown
magicalclick
André Rentes
r3n
Bennie9425
John Knoop
KAAU
Dyna-Cube
ssouki
jkhjgszd
Only Title

Pat J's Q&A profile

  • .NET Development Detecting implemented locales

    Hey all, Is there a way to dynamically detect which locales have been implemented in my application I want to present a list where the user can choose which UI culture they want the app to choose at next startup. I understand that as long as I have a default culture set up in the main assembly, then the user can choose any culture they want and it will be considered valid -- it just won't get them resources from anything other than the default culture. I just want to help narrow down the list to the cultures that will actually provide something I've implemented. The three ideas I have currently are: - Modify the registry whenever a new locale is installed for my app, and just present the values that are registered to the user. ...Show All

  • Visual Studio Automatic removal of unused variables?

    I have migrated my project from VS2003 to VS2005 and now getting lot of warnings such as unused variables.So is there any tool or utility which can remove such warnings --Deepak Hi Deepak, Gabriel is right - using ReSharper Quick Fixes functionality you can delete unused variables one by one, which is not very convenient if you have plenty of them. However, you can easily write a plug-in for ReSharper which does removal of unused variables automatically. ...Show All

  • Visual Studio Express Editions _CrtDumpMemoryLeaks() in visual c++ express ...

    Hi, I have been trying to get memory leak checking to work for the past few hours but have been unssuccessful. I have created a basic win32 program winmain etc .... and have tried to allocate some memory and then not delete it ... but I can't seem to get it to report the memory leak. The basic idea ... WinMain( ... arguments ... ) { allocate some memory _CrtDumpMemoryLeaks(); return 0; } I've also tried setting the following .... _CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF ); _CrtSetReportMode( _CRT_ERROR, _CRTDBG_MODE_DEBUG ); but nothing seems to be working. Anyone know why its not reporting the leak Hi, That's exactly what I ...Show All

  • .NET Development How to send image as XML

    I want to send images as XML via Web Service. How can I do that Is there any limitation e.g. size of image. There is no "real" limitation except performance will suffer beyond certain sizes. The key consideration is deciding how you are going to encode the image for transport, and there are various methods for doing this. Try searching for: web service binary attachments ...Show All

  • Visual FoxPro Better incremental search.

    Hi all; I am looking for an example of how to do a better incremental search than just using a combo box. I need the search to: - Allow back space. - Not be limited time (The user shoudn't type fast in order to search) - Show the entry being picked as I type. Any one can give me a direction, or an example Thanks. I am looking for an example of how to do a better incremental search than just using a combo box DEFINE CLASS cboqfill AS combobox SELECTONENTRY = .T. STYLE = 0 coldexact = "" NAME = "cboqfill" PROCEDURE handlekey LOCAL lcSofar , lnSelStart , lnSelLength , lnRow ...Show All

  • Visual Studio 2008 (Pre-release) applications/tools using WPF+WCF+WF

    Hello All, What kind of unified applications/tools can i develop which embbeds WPF, WCF and WF Please specify any scenario Best Regards Kausar There is a limitless supply of scenarios in which all of those would be useful. A couple that come to mind: - A peer-enabled business desktop application. The application provides some business functionality, and is aware of other users within the enterprise using the business application. This "awareness" not only allows for collaborative features (possibly things such as whiteboarding, chat, file sharing, etc), but can deal with things like record-locking and synchronization issues. The GUI of the application would be rendered with WPF pro ...Show All

  • .NET Development VS2005 - Passing Collection/Array as a Parameter to a Web Service

    I have a web service that I'm trying to call using VS2005. I'm not understanding how to pass a collection as a parameter into my web service. (This does work in VS2003 by modifying the Reference.vb file, which does not exist in VS2005.) Here is a simple web service: <WebMethod()> _ Public Sub TestMethod(ByRef oTestItems As GlobalAccountsClasses.TestItems) End Sub Here is the TestItems collection along with the TestItem class: Public Class TestItems Inherits CollectionBase 'Retrieves an item from the collection by index Default Public Property Item(ByVal Index As Integer) As TestItem Get Return CType(List.Item(Index), TestItem) End Get Set(ByVal Value As TestItem) List.Item ...Show All

  • Visual Studio 2008 (Pre-release) Image inside control library does not show

    Hi, I have a simple control library that contains an Image. I added a .jpg file to the control library project ("myImage.jpg"). Then I set the source of my Image as "\myImage.jpg". Inside E xpression Blend, in the design panel of my user control, the image is shown correctly. However when I create another project (a .exe) and use my control library, the image is not shown anymore. Why Sorry if it's a stupid question, I'm new to WPF but I did not found any solution so far. Thanks Francesco By the way, for future reference, this document explains it all http://msdn2.microsoft.com/en-us/library/aa970069.aspx ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. game time

    hi all, in my main draw function of my game i call a function splash.Draw(gameTime); in the splash.Draw() function i have a line of code Console .WriteLine(( float )gt.ElapsedRealTime.Seconds); this along with every other member of gt just returns zero, i cant figure n e reason this should happen, if i call the same function in the main Update or draw functions of the game it still returns zero, is there a reason it should do this many thanks Try this // place me at the top of the class along with the other private members private float elapsed; public class Game1 : Microsoft.Xna.Framework. Game {     elapsed = 0; } protected override void Update( Ga ...Show All

  • SQL Server dimension design

    In my telco cube, I want to analyze usage. Eg how much sms's a subscriber has sent. The fact table is completely denormalized and has lots of columns with different types of usage. For example, following columns occur: MO_VOI_PEAK MO_VOI_OFFPEAK MO_VOI_WEEK MO_VOI_WEEKEND Now the sum of these fields overlap. Evenings during the week are also offpeak... This is only an example. Different categories occur for different products, like voice, sms, mms and so on. And not all categories apply to all products. Eg, mms does not have the peak and offpeak distinction. Is it possible to put this into one dimension, without aggregating double I have already normalised the fact table, meaning tha ...Show All

  • Visual Studio Project templates do not appear in VS 2005 Pro after installing GAX and GAT?

    After successfully running the 2 separate installers as an administrator, the only project template that appears in the New Project dialog window is to create a new Guidance Package, and no other items from the GAX appear at all. A reboot and un-/re-installation had no effect, and the Guidance menu item does not appear in VS 2005's "Tools" menu. Any ideas I really want to get into this! Thank you! ...Show All

  • .NET Development Problem Hosting .NET Win UserControl in Internet Explorer in ASP.NET project. System.IO.FileLoadException

    Hello all. I've created a .NET Windows Control Library that I'd like to host in Internet Explorer. I've done quite a bit of research on the subject and got it working -- but with some problems. I'll be as descriptive as possible with my situation so that what I've learned thus far can help someone starting out. For my first test, I compiled my control library into a dll. Then I loaded .NET Framework 2.0 Configuration MMC-Snap in from Control Panel->Administrative tools. I proceeded to My Computer-> Runtime Security Policy -> Machine -> Code Groups -> All_Code. From there I created a new Code Group with a Membership Condition of All Code and a Permission set of Full Trust. With this in place, I created a vir ...Show All

  • Visual Studio Express Editions Open an output file

    Hi there. I am using a serially connected camera with a C# application. My camera replies to the application with a visible ACK and then wirh non-visible bytes. I can read the bytes sucessfully but I cannot print them in an output *.txt file. The application opens the file but nothing is printed on it. In addition, I would like see on my screen only the ACK reply and not the symbol of the non-visible bytes (255 dec. in ASCII code). Here is the code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO.Ports; using System.IO; namespace serialport3 { public partial class Fo ...Show All

  • SQL Server Replicar SQL 7 ( Publisher ) y SQL 2005 ( Subscriber )

    Quisiera saber si se puede y como llevar a cabo la replicacion con SQL 7 (Publisher) y SQL 2005 (Subscriber). Desde ya muchas gracias. For your SQL 7.0 publisher and SQL 2005 subscriber, only Transactional/Snapshot Replication is supported. You will limited to the functionality of 7.0 publications. ...Show All

  • Visual Basic Picture's Height and Width

    hey may i ask how can i get the pictures height and width in terms of pixel count i used this before: text1.text = picture1.picture.height text2.text= picture1.picture.width   this gave me a value of unknown integer (what is the numeric value of the output of this code )   and how can i get the real dimentions of a picture interms of pixel im new in programming..thanks Dim i As Image = Image . FromFile ( FilePath ) Dim hr As Single = i . HorizontalResolution Dim vr As Single = i . VerticalResolution ...Show All

©2008 Software Development Network