Keith Farmer's Q&A profile
Smart Device Development Developing a horizontal orientation application for Pocket PC in Visual Basic
Hi, I need to rotate my Pocket PC form in Visual Basic 2005 to develop a horizontal-only application. Is there a way to do this The emulator can be rotated, but I also need the design form to be horizontal. Thank you for the lead. I was able to locate information on orientation at: Visual Studio Forum Docs\Developing Orientation and dpi Aware Applications for the _NET Compact Framework.htm ...Show All
Visual Studio How to move VSS 6.0 db to new server and VSS 2005?
I may be making this harder than it needs to be, but I need to migrate an old VSS 6.0 db to a new VSS 2005 db that's on a new server. I'm somewhat of a novice and really having a difficult time figuring out how to do this, even after reading Help docs and forums. Do I need to upgrade the VSS 6.0 install to 2005 before I can migrate Is there an easy way to "move" or "import" the old db info/history to the new server location TIA. Skugga Would I just copy the Data folder and subfolders from the old server (6.0) to the new one (2005) That seems too easy! ...Show All
Visual Studio Team System Code Coverage using Webtests
Hi I am trying to obtain code coverage results for the webtest run. When I enable code coverage, I get an error message "Empty results generated: none of the instrumented binary was used. Look at test run details for any instrumentation problems." in the CodeCoverage results and no data is collected. The detailed error is "Code coverage instrumentation warning while processing file filename.dll: Warning VSP2013 : Instrumenting this image requires it to run as a 32-bit process. The CLR header flags have been updated to reflect this." Can you please explain Thanks & Regards, Deepak Thanks very much i've been searching for 2 weeks how to get code coverage from web tests so that means there i ...Show All
Microsoft ISV Community Center Forums Word: Normal.dot template menu bar
I have programmatically modified the Normal.dot menubar (adding more dummy options), and I want to get rid of all of them, permanently, to return to the original state and appearance of Normal. dot.... How can I achieve that, please thanks Per the engineer: Please try the following steps to locate the Normal.dot : Open Microsoft Word Choose the menu “Tools” and then “Options” In the “Options” window, choose the “File Locations” tab In the list called “File Types” – select “User Templates” and click the button “Modify” The “Modify Location” dialog box would come up. Click on the down-arrow besides the “Look-in” Combobox to know the folder where the Normal.dot and other user templates are stored. ...Show All
Visual Studio Express Editions Absolute disk reads
How is it possible to read&write directly to the disk drives (specifically floppies ), for instance reading sector 12, head 0, track 39 I need to be able to do this with VB Express . Thanks in advance, Mat When I have done this, it's been using C and calls to the bios interrupts in the early ninties with early nineties BIOSes. http://en.wikipedia.org/wiki/BIOS_call and http://en.wikipedia.org/wiki/BIOS_call#INT_13h_AH.3D02h:_Read_Sectors_From_Drive Dot Net is designed in a way that really moves away from this. You might write assembler routines in a library and call them but note that the comments there regard early BIOSes. To be honest, ...Show All
SQL Server Where can I download SQL Server Express SP2?
Where can I download SQL Server Express SP2 This page still refers to SP1: http://msdn.microsoft.com/vstudio/express/sql/download/ Thanks. Same here. I've been watching the SQL Express download page and it has yet to be updated to reflect SP 2. Hopefully they will get this up today - I've been waiting for the Vista support. ...Show All
Visual Studio 2008 (Pre-release) Dwm thumbnails / Milcore / WPF
Is there a way to retrieve thumbnails provided by Dwm in a WPF Brush From what I know, Dwm uses milcore to compose the desktop, as does WPF... Could there be some sort of interoperability using milcore.dll to obtain a Brush for window thumbnails If it does not exist, is there a way to implement it I think I would have some time to loose doing this sort of things. I couldn't wait either. I put together my own WPF Thumbnail Element (using PInvoke) and a sample application here: http://11011.net/archives/000653.html ...Show All
Visual Basic making a trial version
hi, i am making software, but I want clients to be able to experience a 15 day trial of it before deciding to purchase it. Can anyone tell me how i can do this thanks, isaac Thanks but I can't seem to find the kit to make a 30 day trial. Can you please tell me which one you had in mind Anyone else have some more ideas Thanks again. -Isaac ...Show All
SQL Server More installation woes
We have releases a shrink wrapped winforms application that uses SQL Express as its backend. The product has a fairly large take up, and consequently it is being installed on a large numbre of different machines and configurations. We seem to be having quite a common problem with the installation of SQL Express, we launch the installation from our own installation package with the following command line SQLEXPR.EXE /qb ADDLOCAL=ALL SQLAUTOSTART=1 INSTANCENAME=" OURInstanceName " SQLCOLLATION="Latin1_General_BIN" We are seeing time after time that the install fails with the message "The SQL Server service failed to start." Summary.txt points to SQLSetup NNNN _ COMPUTERNAME _SQL.log and this ...Show All
Game Technologies: DirectX, XNA, XACT, etc. release date of font stuff?
on the xna lunch party, they showed some font stuff. do anybody know, when the font stuff will be released i know that there are a lots of classes etc. which implements some stuff equal to the stuff which were showed on the xna lunch party, but i want to know, when we will be able to use some stoff from microsoft I haven't heard anything. However, I picked up on this a few weeks ago. http://blogs.msdn.com/garykac/ Its a lovely utility to convert True Type fonts to a bitmap. XNA framework does not support True type font rendering. Instead, you can draw bitmaps (sprites). With a few tweaks (ContentManager loading rather than file system), it works a treat for font rendering (360 or Windows). Unfor ...Show All
SharePoint Products and Technologies stsadm.exe
Hai, i got an error using the stsadm.exe cmd line tool.When i try to create a site or website iam getting an error. The specified domain either does not exist or could not be contacted. (Exception from HRESULT: 0x8007054B) i got messed with this error message.All n/w connections are working fine.i can able to communicate with AD. Anyone out there help me out hai i am unable to create sites and subsites using stsadm.exe ...Show All
Visual C++ Getting overriding inherited functions to work
I am trying to override a function from a base class, but cannot get my program to use the derived class' fuction at runtime. To test it out, I wrote this: class ClassA { public : ClassA( void ); public : void talk() { cout << "CLASSA" ; } }; class ClassB : public ClassA { public : ClassB( void ); void talk() { cout << "CLASSB" ; } }; int main () { ClassA *B = &ClassB(); (*B).talk(); int i; cin >> i; } To my understanding, (*B).talk(); should result in ClassB's function being called, but when I run the program ClassA's is called. What am I doing wrong Maybe the 3rd tim ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problem rendering
I recently downloaded the beta 2, im trying to compile and run a simple example that renders a model to the screen, it compiles fine, but everytime i debug i get the following error: InvalidOperationException was unhandled Both a valid vertex shader and pixel shader (or valid effect) must be set on the device before draw operations may be performed. Everything was fine for the beta 1. I think it might have to do with my graphics controller, i think. Im no genius when it comes to computer harware, and the like. In the case that it is my graphics controller, i think i have a Intel(R) 82865G Graphics Controller. Does anybody know if i need a new graphics controller, or what else the problem might be. According to Intel's ...Show All
Visual C++ C2555 error in VS C++
I received error C2555 when trying to compile my VS 2005 C++ code. I found the following reference and it said under STATUS it has been fixed in Visual C++ .NET version. http://support.microsoft.com/kb/240862/ Should I not be getting this error anymore or am I missing something I am running Microsoft Visual Studio 2005 Version 8.0.50727.42, .Net 2.0.50727, Visual C++ 2005. Strictly speaking this code is ill-formed. If I use the EDG compiler I get the following error message: "tt9.cpp", line 17: warning: template parameter "OptionType" may not be used in an elaborated type specifier class OptionFactory : public OptionFactoryTemplate<class OptionType> Unf ...Show All
Visual Basic received System.NullReferenceException in hitting Edit button in FormView
The datasource of the formView is a sqldatasource object. But when I hit the "Edit" button in ItemTemplate view to access EditItemTemplate view, I received this error message: System.NullReferenceException: Object reference not set to an instance of an object. Here are my codes: Protected Sub formProf_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles formProf.Load Dim rowView As DataRowView = CType (sender.DataItem, DataRowView) ' Retrieve the state value for the current row. Dim PR_DO As String = rowView( "PR_DO" ).ToString() -- got error at this line ....... end sub I found out that rowView object is nothing. This means that the formview doesn't have ...Show All
