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

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

Tryin2Bgood

Member List

c0dem0nkey1519
mvid
Jonathan Cran
Aaron Moore
crogenicdude
MJC2006
Malleswar
fhunter
tfrazier
nikki01
Tryst
dfl
Steve Stilwell
DMAR330
Sourabh Khatri
Asbj0rn
Rabbi Joseph Gordon
IBRAHIM ERSOY
markgoldin
Franco Finstad
Only Title

Tryin2Bgood's Q&A profile

  • Visual C++ Memory mapped file size limit

    I have a program that creates memory mapped files (shared memory) and are not mapped to a file directly. When I try to allocate a bunch of memory mapped files, it works fine with 128MB and 256MB chunks but fails with 512MB and 1GB chunks. CreateFileMapping succeeds but MapViewofFile fails with GetLastError 8 (ERROR_NOT_ENOUGH_MEMORY). This is on a Windows 2003 server 32-bit edition SP1 with 4GB ram and the page file size is set to 'System managed'. Any ideas as to why allocation of say, five 256MB memory mapped files works fine but allocation of one 1GB memory mapped file fails with ERROR_NOT_ENOUGH_MEMORY Thanks in advance, Shashi. I apologize for posting the question here. I found the answe ...Show All

  • Software Development for Windows Vista Subscription service and persistence service

    I've implemented a custom subscription service that inherits from WorkflowSubscriptionService. I have a state machine workflow that's been published as a web service. In my workflow I have a CallExternalMethod activity that sends an e-mail message, and a HandleExternalMethod activity that listens for incoming e-mail. I'm using my subscription service to get the WorkflowInstanceId based on a message ID that I embed in the e-mail message. I've tested this and traced my workflow and everything works. When my workflow sends out the e-mail, it calls CreateSubscription on the subscription service. When the event is received, it calls DeleteSubscription. This would seem to be the correct behaviour. Then I added the SQL persistence service a ...Show All

  • .NET Development 'System.TypeLoadException' occurred in mscorlib.dll...Please Help Me

    Hello, I got the following C# exception When i created an Application Domain and Itried To load An object in that Application Domain The Exception Is: An unhandled exception of type 'System.TypeLoadException' occurred in mscorlib.dll Additional information: Could not load type MyClass from assembly MyLiberary, Version=1.0.2441.24027, Culture=neutral, PublicKeyToken=null. The Following Is The CodeThat Caused This Exception : using System; using MyLiberary; using System.Runtime.Remoting; using System.Reflection; namespace test { class Class1 { [STAThread] static void Main( string [] args) { //Create AppDomaun AppDomain ad; ad=AppDomain.CreateDomain("NewDoma ...Show All

  • Visual Basic Problem with checking an object is nothing

    I'm currently building myself a new object class and am having a problem checking wether an object has been instanciated or not. I'll show the code then i'll explain whats ment to be happening Private objRiskInformation As RiskInformation Public ReadOnly Property RiskInformation() As RiskInformation Get If objRiskInformation Is Nothing Then objRiskInformation = New RiskInformation objRiskInformation.getAccountRiskInformation(intID, strDBConnectionString) End If RiskInformation = objRiskInformation End Get End Property This property is in my main class and is ment to allow access to the risk information ...Show All

  • Visual Studio Tools for Office Determine the location of the template

    Hi, I have started to create an add-in that will interact with a SharePoint list when the a new document is created from a SharePoint document library. The add-in is created and reacts on the NewDocument event, but I can not find any property on the Word application object (or in ActiveDocument) that tells me from which location the template was loaded/started. What I want to know is: Which document library have the user used for creating this new document Regards, // Henrik Hi Henrik Note that most people here have no experience or special knowledge concerning SharePoint. You may need to ask in a SharePoint newsgroup if the information I give you isn't appropriate to your scena ...Show All

  • Software Development for Windows Vista Database Update Concept

    Hi, We often need to query or update data from/to Database within the business processes. If we use WF Workflow to handle those process, which of the following practices is recommended: 1) Use the SQLDatabase Activity to query or update the database by the Workflow engine directly, or 2) Use the CallExternalMethod to ask the Host Application to perform the query or update. For example, in a bank money withdraw workflow, it might involves a Query (for available balance), and Update (latest balance after the withdrawal). Andy Either of these approaches will work, it just depends on where you want to keep your logic and how you want to structure your application. If you already have logic ...Show All

  • Software Development for Windows Vista Free E-Learning on .NET 3..0

    Microsoft Learning has released 3 2-hour e-learning clinics on .NET 3.0 which are free until .NET FX launch. Collection 5134: Developing Rich Experiences with MicrosoftR .NET Framework 3.0 and Visual StudioR 2005 This collection of 3 2-hour premium clinics teaches about the new capabilities provided by the .NET Framework 3.0. These clinics are for experienced Developers and Software Architects who are looking to adopt Microsoft's next generation technology within their solutions. Topics covered within the collection include: Windows Presentation Foundation Windows Workflow Foundation Windows Communication Foundation Link: https://www.microsoftelearning.com/eLearning/offerDetail.aspx offerPriceId=109340 Thanks for your ...Show All

  • Smart Device Development Updated images for Windows Mobile 5? / AKU2 for A2DP Devices

    Does anyone know when or if the Windows Mobile 5 images included in the Pocket PC or Smartphone SDKs will be updated I suspect the versions in the SDKs are not the same as the versions included with WM5 devices. Thanks, Frank yes - the newer AKUs have a fix to RAPI access to CEDB databases in the default object store.  The current emulator image is not useful for testing sync apps that need such access.       ...Show All

  • Visual Basic CheckBox Service control (VB, VS 05)

    I decided to try and expand my project, I now wish to have the (current, I'm adding more as I find out which aren't required ) two processes here's a brief on what stage the additions are at. I have added 4 check boxes named; SpoolCheck1 SpoolCheck2 MDMCheck1 MDMCheck2 (more will be added as I find out more that can be stopped) and two command buttons named; StopCheckedButton StartCheckedButton I would like to 'link' the check boxes to the command buttons, but the checkboxes job (when checked, then clicking the start/stop command buttons) is to start/stop the selected program/process, in this case spool and mdm. I have these codes for starting and stopping the processes and return a message if there is a problem. ...Show All

  • Visual Studio Team System SQL Server2005 for TFS - using same database for project database

    I'm new to VS2005 and about to start using TFS/VS2005 for a new project. I've already setup TFS and it's ready for use. One of the existing project that I need to update is using VS2003/AccessDB. I'm assuming that I should be upgrading this project to VS2005/SQLServer2005 since I need to use the replication feature of SQL Server for this coming year. I remember reading somewhere that SQL Server installed as part of TFS should be used strictly for source code control only So I should not be using this SQL Server database for storing my project data Should I install another SQL Server on another machine just served as database server only or can I use the same SQL Server hosted on the TFS machine It d ...Show All

  • Visual C++ CFileDialog OnTypeChange and file already exists dialog

    I derived a class from CFileDialog and overrode the OnTypeChange() function in order to automatically change or append the new extension when the user changes the type dropdown similar to dialog in office. That part is working as expected. My problem is that when the user enters a filename with an invalid extension and clicks save, the correct extension is appended but it performs the file already exists check on the original filename and would not prompt the user. For example: 1. Book1.xml.zip exists in the directory. 2. The .zip type is already selected in the file dialog. 3. The user types Book1.xml into the filename and clicks save. The filename is changed to Book1.xml.zip and returned as the filename but the user is never prompted to ...Show All

  • Visual Studio Express Editions Deserialization

    This is very aggrevating!!! I have serialized three simple questions (textboxes) that is entered by the user. I cannot figure out how deserialize and have the three textboxes show what I have serialized My code (Visual Basic Express) on my main form is as follows: Imports System.Xml Imports System.Xml.Serialization Imports System.IO Public Class Form1 Private theCollectionOfPatients As New ArrayList() Private Sub DoSerializePatient( ByVal patientcollection As ArrayList) Dim theTypes(1) As Type theTypes(0) = GetType (ArrayList) theTypes(1) = GetType (Patient) Dim theSerializer As New XmlSerializer( GetType (ArrayList), theTypes) Dim theWriter As New FileStream ...Show All

  • Internet Explorer Development How to know when a tab is switched in IE7

    Hi, i'm developing a toolbar to IE7 using the example in codeproject, using .net (c#). for each tab i get a new toolbar created, and i want to know whenever the tab is changed in IE. meaning, i need some kind of event, like a "tabchanged" event to register to. does anyone know about such an event is there anything similar that i can work with (SHDocVw or something) thanks Thanks, however, this event is a kind of "onfocus" event, and it fires each time the tab recieves focus. while when the tab is switched it receives focus and the event is fired, it fired at other occurrences as well: for example if we switch windows (say to other application than IE), and the focus returns to the tab ...Show All

  • SQL Server Transformation from 10 views oracle to sql server

    I have to come up with a SSIS package to tranform data from oracle database to our sql server database. This oracle db is managed by a third party , I have been given 10 views from oracle so I can extarct information I need. How should I design my SSIS package Do I have to have 10 different data flows or there is an eaier way to run my 10 select statements from these views Is there any article that can give me some ideas on how to design SSIS packages to extract information from oracle Thanks a lot Yes, if you only need to do the import only once, the import/export wizard is the easiest way. If you need to run the package periodically (which I assumed), you need to be careful. If you generate ...Show All

  • Windows Forms visual .net vs visual 2005

    Hi. I'm interesting in buy the lastest version of Visual Studio but I have a doubt. What is the lastest version Visual Studio .Net or Visual Studio 2005. Thanks for your answers ...Show All

©2008 Software Development Network