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

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

glx2074

Member List

WoFe
Sigfuss
mveit
Pravi4u
krwell
rohit nagesh
ogs
deen
Scorpiuscat
Computer Guy69146
redneon
Learning VB
vidalsasoon
Tom Cast
Allen Razdow
sounddoc
aa807
ennisb
Jeff Weber
Srikanth Ramakrishnan
Only Title

glx2074's Q&A profile

  • Windows Forms ListView gridline rendering issue

    I've got a ListView that fails to correctly repaint gridlines when the vertical scrollbar is clicked. Dragging the thumb works fine, but clicking anywhere in the scrollbar region results in either too many "compressed" gridlines, or too few. This is on WinXP.  Is this a known issue   set DoubleBuffered = true; to reduce flickering and hook up scroll events in listview, this works rather well for me. Code Block private const int WM_HSCROLL = 0x114; privat ...Show All

  • Visual C++ psdk feb 2003 installation problem

    when i downloaded psdk feb 2003 from http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm , and followed the instruction to extract these cab files, an error message will show in the console: Error: Cabinet file PSDK_FULL.2.cab is corrupted. I downloaded this specific file again and again, still with this error when extract. you may suggest me to order a CD version, but i'm in China, how am i supposed to do that. anyone have chance could solve this annoying corrupted cab file, please help me out. thanks in advanced. Please follow your previous post at http://forums.microsoft.com/MSDN/ShowPost. ...Show All

  • Silverlight (formerly WPF/E) WPF/E vs. XBap

    Hello Community! I was recently trying to evaluate why there is seemingly two ways to write web-based applications with WPF. Am I way off Can anyone explain to me when I would use an XBap over a straight up WPF/E application Thanks, Alan Alan Z wrote: I was recently trying to evaluate why there is seemingly two ways to write web-based applications with WPF. Am I way off At the moment, yes you are way off. WPF/E has no UI controls, no layouts, and no ability to write code (other than Javascript). These things may be added to WPF/E at some point in the future, possibly before it's released to the world. So you can't "write web-based applications" using WPF/E... Unless ...Show All

  • SQL Server SQL Timeout through ADO but not from Query Analyser

    I have a strange problem running a stored proc in SQL 2000. The proc returns XML and I'm using ADO to call the proc and return the data as a stream. When I call the proc through ADO, it times out because it is taking 40 seconds to run and my command timeout is set to 30. I can increase this no problem but the strange thing is that when I run the same proc from within query analyser, it completes in under a second. I put profiler on it tracing the command start and finish events and it's definitely taking 40 seconds between start and finish. The proc is used with various input parameters and the timeout is only occurring for some combinations of inputs, but it always seems to take much longer than it does when run from query analyser. Can ...Show All

  • Internet Explorer Development IE7 and changing an image in a different frame

    We have a series of GIS mapping applications that run using ESRI's ArcIMS software with a javascript based html viewer. We use a series of frames on a single page to display the base map, legend, table of contents, and an overview map. The applications have been running for about 4 years without any major browser issues. However, the document object coding that we use to update and switch the overview images does not work in IE7: < SCRIPT LANGUAGE =JAVASCRIPT > < !-- ... parent.OverviewFrame.document.images['ovImage'].src = 'image.gif'; ... //--></SCRIPT> Anybody know how to get this working again Thanks! Pasayten I just copie ...Show All

  • Windows Forms Filling a ListView with a ImageList

    Hi all.... Probably this is the most basic question about Listview's stuff but I really want to know how can I fill a Listview with the images of an ImageList control by code ... I need to show some icons in a listview created by code.. not in design time... Thanks everyone..!! Please forget it!! Is just in the same line of code... lstvTables.Items.Add("content",0); the 0 is the index of the image in a ImageList Regards ...Show All

  • Visual C++ Linking an app in debug mode (with /MDd) against static lib built in release mode (with /MD)

    I remember this sort of mixing used to work fine prior to VS2005. But now it doesn't seem to. This suggests that one has to have a debug and a release versions of each library to be able to compile a debug and a release version of the application. The following short example results in an access violation exception: Compile A.* into a.lib in release mode with /MD (it doesn't matter if compiled with or without optimization): File A.h: #include <vector> class A { public : std::vector< double > v; A( int x) {} ~A(); }; File A.cpp: #include "A.h" A::~A() { } Compile app.cpp in debug mode with /MDd: File app.cpp: #include "A.h" void main() { A a(4); } The ex ...Show All

  • Software Development for Windows Vista Vista 'Sleep' Issue

    Hi All, I am facing a issue with 'Sleep' mechanism in Vista. I am doing certain asynchronous I/O operation on my device when I receive 'PBT_APMRESUMESUSPEND' through 'WM_POWERBROADCAST' message. 'PBT_APMRESUMESUSPEND' is the message we get from Window's when it comes out of sleep mode. But while doing so I receive 'ERROR_IO_PENDING' error. Are anyone facing similar problems I did not face any such issues on Windows XP and 2000. I have read that in Vista 'Sleep' is replaced with 'Hybrid Sleep'. Does that make any difference Regards, Anmol Hi All, The error is not IO Pending but it is 'The system cannot find the file specified' or sometimes it is 'Device Not Connected' Sorry for the wrong informati ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Community Website

    With the announcement of the XNA Game Studio Express (Beta) we decided to create a community site where everyone can post Games, Articles, Tutorials, Pictures, and more. We hope XNASpot will be a place where anyone at any programming level can come to learn more about XNA game development. One tutorial is already in the works. But we need feedback on what everyone would like to see on the site. Is there any specific tutorial, article, code sample everyone would like to see If you have a site or blog you would like us to link to please feel free to shoot us an email. Please let us know what you think. http://www.XNASpot.com We decided to hold off on a forum for now becau ...Show All

  • SQL Server I can't connect to my local database.mdf file

    I have just upgraded to Microsoft SQL Server 2005 Express Edition with Advanced Services SP2. Now I can't connect to my local database.mdf file. When trying to open or doubleclick or expand my .mdf file the following message pops up: Generating user instances in SQL Server is disabled. Use sp_configure 'user instance enabled' to generate user instances. What is the solution for this problem Hi Andrea. I have entered your code in the query editor and saved it as SQLQuery5.sql. SQL server is restarted. I right clicked in the query editor and hit Execute and get the folloving error: Msg 233, Level 20, State 0, Line 0 A transport-level error has occurred when sending the request to the server. (provider: Shared ...Show All

  • Visual Studio Team System Attaching an attachment from one bug to another

    I am trying to create a new bug which is based on another bug, how can I get the attachments from the original bug to the new bug I tried downloading the attachment and creating a new attachment object, but this does not seem to work. Thanks for any help... For v1, TFS delegated attachment downloads to the default web browser (essentially returns a url). Please note that downloading attachments via our code is not a supported scenario - even though it is possible through laborious means If you want to attach the same file to another work item, you would need to write an HTTP Get Request to download the file locally, then attach it via the Object Model to another work item. The url to get a file ...Show All

  • Visual Studio Tools for Office Is Microsoft taking problems serious?

    Today i came back from a 2 week holiday, before my holiday i had to investigate or InfoPath could be of use of one of our customers, i installed infopath 2007, and was looking for some developer tools for VS2005, since we want to use infopath serverside/webbased. After installing several servicepacks (why are those not advised in the microsoft updates ) i finally got what i want! (took me 4 hours). Using infopath in VS, but when creating a blank infopath c# solution i get some stupid memory error. Offcourse there is no clear error, like in 99% of all MS errors it only tells what's the problem, not what's causing it, and offcourse not how to fix it! After using The Google for 2 hours, i gave up, since the error could be caused by ever ...Show All

  • SQL Server Error when issuing BACKUP LOG mydb with truncate_only

    Hi, Following error appears in the SQL Server error log when I execute BACKUP Log db with truncate_only using a stored procedure. The stored proc I am using is as follows: CREATE procedure spm_tranlog as declare @DBName as Varchar(120) select @DBName = DB_name() dump transaction @DBName with truncate_only GO There are data import processes running in the night, before starting the processes we are executing spm_tranlog procedure to clear the transaction logs. The following error appears in log after executing the spm_tranlog: “BACKUP failed to complete the command exec spm_tranlog” This always happens after weekly server maintenance tasks. The scheduled main ...Show All

  • .NET Development How to set UseDefaultCredentials to true as default for webservice

    Is there a way to setup a webservice so when it is instantiated, the UseDefaultCredentials is automatically set to true Maybe some setting in web.config I have a web service that requires authentication, but I want the ObjectDataSource to be able to bind to it. I am not sure about your first question.. But the way I handle the ObjectDataSource issue is to add code to the ObjectCreated event of the datasource. In this event you can get an instance of the object and set the properties you need. Protected Sub ObjectDataSource_ObjectCreated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ObjectDataSourceEventArgs) Handles ObjectDataSource.ObjectCreated Dim wsproxy As WebServiceProxy. ...Show All

  • Windows Forms Problem with big form

    I try to make big form but i cant make it bigger than 1036; 780. I set property MaximumSize to 1200;1200 but still i cant make bigger form than 1036; 780. Please help me :) Hi, It's a problem. But you can add such code to your application. protected override CreateParams CreateParams { get { CreateParams cp = base .CreateParams; cp.Height = 2000; cp.Width = 2000; return cp; } } You can set the height and width to any pixels. Then the limitation is gone. Thanks the anonymous user in this post . ...Show All

©2008 Software Development Network