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

Software Development Network >> John.Doe's Q&A profile

John.Doe

Member List

Guns
DennisS
AsifHameed1
TrevorW
ktto
Andrea N.
razerredblue
gauthampj
Cla82
rschaeling
Maximus123
Vasanth Thangasamy
Isonduil
Dave987654321
aashta
flerida
Bobby DeRosa
Luislcm
ODP
Ashesman
Only Title

John.Doe's Q&A profile

  • Software Development for Windows Vista Windows workflow in ASP.Net

    Hi, I am using a workflow created by me in my ASP .net application. When I create a WorkflowRuntime object, sometime I was getting an error "Can not create more then one WorkflowRuntime object in same AppDomain". So I put the WorkflowRuntime object in Application State and before creating the new object, I am checking the Application State. Here is the code. WFRuntime = ( WorkflowRuntime )System.Web. HttpContext .Current.Application[ Constants .WPRuntimeId]; if (WFRuntime == null ) { WFRuntime = new WorkflowRuntime (); WFRuntime.AddService( new SqlTrackingService (connectionString)); WFRuntime.AddService( new SqlWorkflowPersistenceService (connectionString, true , new TimeSpan (0, 0, 0, 10, 0), new Ti ...Show All

  • SQL Server Definition of 'Persistent Data'

    What is the definition of 'Persistent Data' as related to the definition of a RDBMS thx, Kat Hello, Data is said to be persistent in RDBMS when the transaction that has written it is commited. One of cornerstones of RDBMS is the ACID contract between the system and the components that issue transactions. ACID stands for Atomicity, Consistency, Isolation, Durability. The Durability property sais that once a transaction has been commited, its modifications are guaranteed to survive any failure of system, once the permanent storage is not damaged. Another term for Duarbility is Persistence(they just use Durability because ACID is the cutest abbreviature one can think of :) ) So, basically, persistent data is the data that has be ...Show All

  • Visual C++ getting all existing windows login names in my computer by VC++ programming.

    Hi all. I want to get all existing windows login names in my computer by VC++ programming. :) Purusothaman A Thanks Einaros. I have seen that link and tested with the given code. The output is, ///////////////////////////////////////////////// User account on (null): -- Administrator -- Guest -- HelpAssistant -- postgres -- Public -- Purusothaman -- Sujith -- SUPPORT_388945a0 Total of 8 entries enumerated Press any key to continue . . . //////////////////////////////////////// But I want only user accounts, not service accounts. In the above list, Administrator, Guest, Public, Purusothaman, Sujith are normal login accounts. I don't want other than normal user login accounts. ...Show All

  • Visual Studio Express Editions Download and Install Not Working

    I downloaded VBSETUP.EXE and when I "Open" it, a bunch of files are copied to a temporary folder, and eventually I get to the Download and Install Progress screen, which contains the following lines: The following items are being downloaded and installed on this computer: Microsoft .Net Framework 2.0 Visual Basic 2005 Express Edition Currently downloading (1 of 2): Microsoft .Net Framework 2.0 The current transfer rate is 0 mb/sec. Total Download Progress: 0 MB/60 MB Then, after a few minutes, the "current transfer" line is replaced with: Status: Re-establishing connection with the server (attempt 1 of 5) Any ideas on how I can get this to work. Thanks. R Forest, ...Show All

  • Visual C++ VS2005 SP1 regression 11.8 [class.access.nest]

    According to what might be the standard, 11.8 Nested classes [class.access.nest] 1 The members of a nested class have no special access to members of an enclosing class, nor to classes or functions that have granted friend ship to an enclosing class; Yet, class Friendly { friend class Touchme; public: Friendly() {} private: int x; }; class Touchme { public: Touchme() {} void works(Friendly* pp) { ++pp->x; } private: class internal_class { void should_not_compile(Friendly* pp) { ++pp->x; } }; }; This code fragment will not compile under VS2005, but does under VS2005 SP1. If the standard is correct, then it should not. And while you're at it, would you fix the intellisense performance problem :) ...Show All

  • Visual Studio Unable to install GAX June CTP - States Visual Studio 8.0 is not installed

    I have the team system developer version of Visual Studio 2005 installed. However when I run GuidanceAutomationExtensions.msi I get this message: Visual Studio .NET 8.0 is not installed. Do you want to see information of the product Click Yes to be directed to a web page, click No to exit. Thanks Hi, I have the same problem and I don't know what to do about it. Dit anyone found a solution for this issue. I can't find anything on the internet, I thought I was the only one who faces this error. I am running vista home premium, latest version of GAX, Feb 2007, should be possible to run on vista. Thanks in advance ...Show All

  • SQL Server Creating Maintenance Plans via the CommandLine.

    Hello All, I've searched high and low for documentation on this to no avail. Basically my goal is to create a maintenance plan in SQLSERVER2005 via the command line. I need to create this plan in a way that it can be seen in the list of Maintenance Plans in the Management Studio Interface. I went into the SSIS designer and created my plan. I now have a DTSX file. I tried the dtutil.exe utility, however i never saw my maintenance plan in the list of plans. I ran dtutil.exe and did /FILE to /SQL but i don't see the plan listed or in a way a user could modify it, which is of the utmost importance to my clients. How do i get my file to turn into a real running Maintenance Plan that is seen in the list of Maintenance Plans via the ...Show All

  • Windows Live Developer Forums WPF (Sparkle) overlays in 3D virtual earth

    Ultimately, we would like to be able to go way beyond simple polyline overlays on maps. I.e. we would like to be able to bring the full power of WPF interactive (sparkle) animated graphic embedded in the 3D space of Virtual Earth. (all geo-located). In addition we would love to be able to download all textures and tiles for a region and work off-line. Of course, this is not possbile yet, But how close are things and what can we fake or mock up to get close to this 1. Can we host the control in a WPF application (outside of IE ) 2. Can we find out the camera vector and bounds of the display region 3. Can we get events and updates when the camer shifts 4. If so we might be able to apply our own 3D overlays on top of the map ...Show All

  • Visual C# System.Threading.Threadstart question...

    Im not sure that this is the correct forum for this but it was the closest that I could find for this particular question. I apologize in advance if this is a newbie question. Im still getting my feet wet in the .Net environment. I wrote a windows service today ( a particularly easy task now with VS 2005 ) and I used a thread to do the work in the service. things work fine when the method that I use in the ThreadStart creation doesnt take any paramaters, but I couldnt figure a way to use a method that takes a paramater. I tried aThread = new Thread ( new ThreadStart (<class> .method(arg))); aThread = new Thread ( new ThreadStart (<class> .method)); But both of those lines would give me compiler errors. I c ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D Sprite Mirroring

    Hi everyone, another noob question I'm afraid After creating my first XNA game (the usual...Pong ) I am now underway with my first "real project", still trying to keep it simple I thought I'd attempt to program a 'clone' of Jetpac (an old ZX spectrum classic). I'm well underway but I'm also trying to go back and improve code I've already done....anyway, to my question: I have created my character using a png which contains different poses. At the moment it contains for example, a left facing walk and a right facing walk... I was just wondering if there was an easy way of mirroring the left walk instead of also having to add the right walk to the sprite image map. Thanks. As stated above ...Show All

  • Software Development for Windows Vista Address Space Layout Randomization (ASLR) doesn't randomize the results of GetProcAddress

    I’ve used link.exe v8.00.50727.762 from Visual Studio 2005 SP1 with "/dynamicbase" command line and changed the ASLR bit of PE header of my application. Stack now shows different base each time I run the executable, code base changes when I reboot the machine, which is OK. Entry points of Windows DLLs seem not not change at all - they are the same as without the ASLR bit. For example, GetProcAddress(GetModuleHandle(’kernel32.dll’), ‘ExitProcess’) each time gives the value of 0×7700D85E, regardless the ASLR bit in the PE header. Why GetProcAddress always gives the same value Can I jump to fixed addresses to call particular API functions like CreateFile() What is the point of ASLR then Thank you in advance! ...Show All

  • Visual Basic Emails

    Is there a way to send emails through outlook all the email addresses are on a server. ok so the for each loop wont work b/c it doesnt read the controls in the right order.... as far as the stringbuilder goes... after i make the stringbuilder how do i put it into the body of the email b/c i get the error "type system.text.stringbuilder cannot be converted to type "string" " ...Show All

  • Visual Studio CustomPaperSource resets and gives a nullreferece

    Hi When printing a CrystalReport CustomPaperSource is sometimes reset to null. the problem only occures after RawKind has been set to giro (which contains "261", the code for a paper source on my printer), and only once in a while. Sample code: System.Drawing.Printing.PaperSource source = new System.Drawing.Printing.PaperSource(); int farge = 259, giro = 260, vanlig = 261; rdReport.PrintOptions.CustomPaperSource = source; if (printoptions == "farge") rdReport.PrintOptions.CustomPaperSource.RawKind = farge; else if (printoptions == "giro") rdReport.PrintOptions.CustomPaperSource.RawKind = giro; else rdReport.PrintOptions.CustomPaperSource.RawKind = vanlig; if (null == rdReport.PrintOptions.Cu ...Show All

  • SQL Server How can we list all the tables without any clustered index within a SQL Server 2005 database?

    Hi ,All, Would please anyone here give me any advice and guidance for how to list all the tables without a clustered key within a SQL Server 2005 database Thanks a lot in advance for that. With best regards, Yours sincerely, Take a look at http://msdn2.microsoft.com/en-us/library/ms345522.aspx#_FAQ1 It answers exactly the question you have asked ...Show All

  • Smart Device Development .NET Compact Framework 2.0 Service Pack 1 is released and available for download.

    Please follow this link for download and list of changes: http://www.microsoft.com/downloads/details.aspx FamilyID=0c1b0a88-59e2-4eba-a70e-4cd851c5fcc4&displaylang=en Note: if you have previous version of NETCF V2 MSI installed on your desktop, please uninstall it first. There are field alignment requirements on different CPUs. Your sample probably violates them by aligning DWORD on odd address. In fact, most likely it needs to be 4 or 8 byte aligned. I would suspect framework on XP simply ignores your incorrect alignment spec and integer offset is not 1 but 4 (or 8 on 64 bit OS). Structure size in that case would be 8, not 5 which you can check using Marshal .SizeOf(). To declare same structure on ...Show All

©2008 Software Development Network