Patrick251's Q&A profile
Windows Forms Listview gridlines overwriting text in Details view - SP1
Having installed SP1 of VS2005, I am now seeing gridlines over the centre of text when in Details List view when scrolling. Is there a patch or workaround yet It is extremely unlikely this is caused by SP1. The ListView control is implemented by Windows. Moreover, the framework wasn't updated. ...Show All
.NET Development <C:\DOCUME~1\32329\LOCALS~1\Temp\IXP000.TMP\bootstrap.exe>. Reason: C:\WINDOWS\system32\advpack.dll
I am getting this error whenever i try to install MSN messenger . <C:\DOCUME~1\32329\LOCALS~1\Temp\IXP000.TMP\ Bootstrap.exe>. Reason: C:\WINDOWS\system32\advpack.dll I tried installing VBrun 6.0 for the latest version of advpack. dll , but still i am not able to install the messenger as it gives me the same error. can anyone help Just before i do anymore work and get stressed out trying to install it, does windows live messenger work on Windows ME (Millenium Edition), and is there anything i have to install to my computer for it to work on my ME computer, or does it just not work... period... ...Show All
Software Development for Windows Vista Microphone data rate changes
I have a DirectShow app that builds a filter graph with the (among others) audio capture filter of the mic. The data is sent over the network. The problem is that the microphone filter sends its data 2 times a second. So if I work at a rate which requires transmitting 44100 bytes a sec, I get 22050 bytes every 0.5 seconds. The problem is that on the other end of the connection, a few more processes which MUST use buffering take care of the poor audio data... All the buffering causes too much delay, and that half second is crucial. Any way to change the rate at which the mic sends data (ten times a second for instance, instead of 2 times). That worked great. Thanks. Well, there was one issue: There's no wa ...Show All
SQL Server Sql 2k5 EE + MSDE = Time outs
I recently installed sharepoint 3.0 on our fileserver, which has our main db using MSDE. I didn't know at the time that it would also install 2k5 embedded edition, but even if I had, I don't think it would have changed my decision. Anyway, soon after, performance on MSDE completely tanked. Queries would execute extremely slowly, or not at all. I checked the CPU and mem usage, and all were fine. No blocked sql commands either. We ended up just killing the Sql 2k5 EE service. We're moving off MSDE eventually, but I would still like to find out why it happened, and if there's a fix or workaround. If anyone has any ideas, I'm all ears. Hi, Their are many things to be considered 1). What is a timeo ...Show All
SQL Server ERREUR to open a data base with SSMSEE
I installed Visual Studio 2005 Standard Edition which contains SQL Server Express. I downloaded and installed SQL Server Management Studio Express. It run ! I established a connection server BellFixe\SQLEXPRESS (BellFixe is the name of my computer). Ok. The command " add " of the function " attach " of SSMSE allows to navigate on the disk and to attach diverse data bases but it refuses to open the directory D:\Documents and Settings\Alain (this path is the base of all my directories of data). This directory appears empty. I cannot thus attach the data bases which are under this directory ! I can open a data base only if it is elsewhere localised. Why this limitation of access and how to resolve this pro ...Show All
Windows Forms DropDownList SelectedIndexChanged not firing
Is there a trick to getting a SlectedIndexChanged event to fire on a DropDownlist control No matter how I select an item this event does not fire. I ahev checked my code, I can do even handling for any of the other controls in the form but nothing on this DropDownList. Thansk in advance. We had same kind of a problem yesterday: the SelectedIndexChanged event of a radiobuttonlist did not fire, no matter what. But the answer was simple, luckily. We had <form> tags in two places in our page, first one on the main .aspx page and the second one on one of the user controls of that .aspx page. We removed the <form> tag from the user control and now the radiobuttonlist works fine! ...Show All
Audio and Video Development Can XPath variables be used in <styling>
I wonder if the xpath variables can be used like : style:x="$style_x" in <styling> in .xmu , and style_x is from document.setXPathVariable("style_x","200px"); in .js . I know the xpath variable can be used in <timing> and <body>. Anybody can help me Thanks in advance. HI there Xpath variables are meant to be used only inside Xpath Expressions (that's why they are called Xpath Variables :) ). I guess at least pre-defined Xpath variables can be used in XMU (inside Xpath Expressions). Author can define her own Xpath Variables in a js file.I am not sure whether author-defined variables can be used in XMU ( inside Xpath Expressions). ...Show All
Smart Device Development Can someone kindly help?
Ok I sorta got my previous problem solved. But now...when I run the mobile application, I get an error.." Unable to start debugging". Doing some research I found a solution to that error..which was to install the loopback adapter...but now...sometimes the error still persists. It would be working fine...and then, as i said the error would come back. Each time it reoccurs I basically add a loopback adapter again and delete the previous one. Can SOMEONE please help me with this error Also I get a message saying "limited or no connectivity" and that I guess has something to do with the sychronisation of the loopback adapter. Please help... 1. 2003 2. pocket pc 2002 emu. 3. I ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creating a terrain using ContentPipeline and XmlImporter (or a custom importer / processor)
Here's my situation: I want to create a text file describing terrain attributes, like heightmap file (raw or an image format), colormap, detailmap and splatting maps. Only the heightmap file and format will be required in this file, so the colormap, detailmap and splatting maps are optional. I then want to add this file to my XNA game project and have it pack a .xnb file containing this data. Ideally, when I do this in my game's LoadContent method: Terrain t = contentManager.Load<Terrain>(@"Content\Terrain\Test"); I should get the terrain object back ready to use, with whatever options I set in it. I couldn't get custom importers and processors to work, so I'll come back to that later, but I did get XmlImporter working with ...Show All
SQL Server "Upgrade" from 2000 to 2005, version still says 8.0.2039
I just installed 2005 and accepted all the defaults to upgrade the default instance of 2000 as prompted. However, when I open the SQL Server Mgnt Studio, my server shows 8.0.2039 as the version which is 2000, and I can't restore a backup from another 2005 server, because it gives an error message like it still thinks its 2000. The whole installation process went fine including sp1. I looked in Services to see if there was more than one instance of SQL Server, and there isn't. Also, all my database files are still in the old 2000 (mssql\data) directory. Any ideas, solutions Thanks. Michael I did not uninstall anything. I just stopped the 2000 service, then reinserted the CD and reinstalled 2005 exactly a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 2D sprite textures with c++
I first made a tileset of random size and store it in my texture interface, then displayed one of the sprites on it, but the sizes do not match. What I displayed on the screen seems like it was enlarged. I remember reading somewhere that all bitmaps we store in textures have to have sizes to the power of 2, so I changed the size of my bitmap tileset to 640x640. But still, the sprite is of different size on screen. Can anyone tell me why is that Yea, I was thinking more as a dividend of 2. I used D3DXCreateTextureFromFileEX(...). My graphics card's up to date I think, it's a GeForce 6800 Ultra. So it seems like the function call stretches my image to the next size of power 2. Everything's working and ...Show All
Windows Forms StartPosition in Windows Forms
Hi All, I have one problem in Windows Forms. I have one form Win1. in that i have set startposition = centerscreen. Now I am calling it in another application. let's that application name is app1. app1 is called by app2 at runtime. and app2 is in another application app3.app3 is main application which is running. now when some event calls app2 and app2 in turns calls app1. app1's Win1 form is not coming in center. win1 is coming at rightcorner....................why One more thing............actually there are two processes........ app2 and app3............. at runtime i m attaching app2 to app3. it's like this......app3 has one label with text 'fixformhere' app2 is searching run time this label text an ...Show All
Visual C# Strongly typeed DictionaryEntry in a Dictionary<T>
How do I efficiently loop through a Dictionary<T> using strongly-typed variables. What I am looking for is sommething like: Dictionary dic = new Dictionary<MyKeyClass , MyValueClass>(); ....some Add()s etc foreach (DictionaryEntry<int,string> de in dic) { MyKeyClass key = de.Key; MyValueClass vvv = de.Value; } ... but DictionaryEntry<T,U> does not exist. I can use DictionaryEntry but it is not strongly typed. In the following the Value lookup is an O(1) operation making it exponentially less efficient than the above (at least I think so). foreach (MyKeyClass key in dic.Keys) MyValueClass vvv = dic.Values[key]; Dictionary< > is enumerated ...Show All
Smart Device Development FTP NLST From WM5 to UNIX
I use th FTP example from Microsoft (kbms-help://MS.VSCC.v80/MS.MSDN.v80/MS.KB.v10.en/enu_kbvbnetkb/vbnetkb/832679.htm)and it connect but in the GetFileList function when reach to line: bytes = cSocket.Receive(m_aBuffer, m_aBuffer.Length, 0) it doesn’t return. It works fine with PPC30 and with WM5 when I connected to my Windows XP with ActiveSync. But when I connected via modem with UNIX it only works with PPC30 and I need the application for the news WM5 PDAs and for the PPC30 also. Can somebody help me with this issue. I am not that familiar with the code in that sample, but I wonder if there is a reason why you don't use the System.Net.FtpWebRequest class to handle the FTP protocol for yo ...Show All
Software Development for Windows Vista July CTP WCF\Cardspace samples problems - ServiceChannel in Faulted State
I tried to run both samples of "infocard" in the WCF samples \Bindings\WS\Infocard\ and I encounter the same errors after submitting a card to the services. The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state. What am I missing Garrett Serack - MSFT wrote: Those are the samples from the SDK Alas, I must apologise--I intended them to be removed before the SDK CTP came out. Those samples have been deprecated. I'll post new ones here this week. Garrett Hi Garrett, I was wondering if the samples are coming out this week soon Thanks. ...Show All
