FredV's Q&A profile
Visual Studio 2008 (Pre-release) Typed data template
Hi, I have a collection (called People) that I want display on a list box. The People is a collection of person with each row has a Site instance. The output I want to see is Johnny A Apple Maria B Banana Slick C Custard Apple but kept getting Johnny UserControlXAML.Site Maria UserControlXAML.Site Slick UserControlXAML.Site I have defined two typed data templates one for Person and Site. But it does not seem to recognize the Site. Person has an instance of a Site. Thanks in advance. Regards, PS: Here is my code < Window x:Class = " UserControlXAML.Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/ ...Show All
Architecture .NET data trasfer application architecture - windows service
Hi, I need to develop an application which performs a data transfer one data base to another. I can not use DTS as a solution due to the complex requiremtns of the application. This application needs to run every 30 secs. So I decided to go for windows service. I am new to windows serivces and multithreading. I have developed an application design and would like to get feed back on it. General over view of the design : Application contains the following classes - AccountCreationDTS (WInService class), DTSTimer, DTSController, DTSREquestBin and DTS. AccountCreationDTS.OnStart() starts the DTSTimer. DTSTimer._onTimeElapsed() invokes DTSController.startTask() which initiates a DTS. The code for all the classes is given below : ...Show All
.NET Development "ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".
Hi All, When i tried to connect Oracle database(8i) .I am getting an error "ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified". My Connection string is : "Provider=msdaora;DSN=U500.WORLD;Uid=xyz;Pwd=123;" Please help me out to clear this task. Thanks in Advance Which library are you using, OLEDB or ODBC The connection string uses a mix of OLEDB (msdaora) and ODBC (DSN). This is not a valid syntax combination. http://www.connectionstrings.com/ carrier=oracle ...Show All
Software Development for Windows Vista DTM for Vista RTM ?
Is DTM for Vista as part of the WDK available in final release ...Show All
Visual C++ need a help regarding dwmapi.dll and DwmExtendFrameIntoClientArea function
Dear All, My compiled code asking dwmapi.dll, which is nowhere to find on my windows XP box. using dependency walker, it reports that the "c:\windows\system32\urlmon.dll" is looking for this dll, and the function name is DwmExtendFrameIntoClientArea. I searched internet, and some people say that the IE7 is making this problem. and I am kind of agree, and I have it on my machine. So I need this dll badly, or somebody can give me a way to un-install IE7 quickly Thanks a lot. rcen How is it that there's still no official patch for this problem yet This is still easily reproducible, using nothing but MS software: On an XP machine, download Platform SDK (I'm using Server 2K3 R2, bu ...Show All
Visual Basic filling a bitvector32 in a loop
Dear all, I can fill a bitvector32 like this: Dim InBytes As Int32 dim i for i = 1 to 1000000 InBytes = i 'for example Dim InBitVector As New System.Collections.Specialized.BitVector32(InBytes) next i and then I can read out the individual bits (need this for a graphics conversion). Problem: this gets VERY slow, and I trailed that to the Dim InBitVector statement. Is there ANY way to assign an Int32 number to the InBitVector WITHOUT using the dim statement Thanks, Kees Perhaps it's wise to say what I want in the first place. Perhaps you guys even know a way to prevent extensive coding in solving this problem. I have 12-bit gray-val ...Show All
Software Development for Windows Vista Requirements For Application Compliance on Windows Vista.
1)What are the requirements for an existing application to be comaptible on Windows Vista RC1 How they are different from " Works with Windows Vista" requiremnts Hi VikasAgr, Specifications on both certification types can be found at the InnovateOn Vista site http://www.innovateonvista.com Basic Cert: http://microsoft.mrmpslc.com/InnovateOnWindowsVista/getstarted.aspx Premium Cert: http://microsoft.mrmpslc.com/InnovateOnWindowsVista/getstartedcert.aspx Thanks! Matthew Braun ...Show All
SQL Server SQL Server Express authentication mode greyed out
Having problems connecting to SQL Server Express using 'sa' account and having read threds re problem and MS, advice is that Authenticaion mode needs to be set to both Windows and SQL. I have studio express installed and go to Security from the properties of the Server to change this option to use both authentication modes, however the options are greyed out! Can anyone advise pse. And will amending this option help me to enable the sa login which is refused at the moment, error as follows: Login failed for user 'sa'.The user is not associated with a trusted SQL Server connection Thank you in advance Jens K. Suessmeyer wrote: I Hi Tim, I guess that you didn’t ...Show All
Visual C++ Beginner with MFC's -- Need Help
I found this great tutorial that is geared for beginners in MFC's, but I am having trouble compiling the code. It is a very basic Hello World program that just pops up a window. http://devcentral.iftech.com/articles/MFC/vc6_mfc/2.php The code in the article: [code] //hello.cpp #include <afxwin.h> // Declare the application class class CHelloApp : public CWinApp { public: virtual BOOL InitInstance(); }; // Create an instance of the application class CHelloApp HelloApp; // Declare the main window class class CHelloWindow : public CFrameWnd { CStatic* cs; public: CHelloWindow(); }; // The InitInstance function is called each // time the application first executes. BOOL CHelloApp::InitInstance() { m_pMainWnd = new CHelloWindo ...Show All
Visual Basic Check if remote computer is locked
Is there a way in visual basic to check if a remote computer has been locked Luckily it's still morning here, so my IE history wasn't too big This is the original VB6 article I found http://www.developersdex.com/gurus/code/902.asp ...Show All
Visual Studio Team System Another 29112 setup error on Report Server Configuration
I searched for about 4 hours before posting here and tried to reinstall from scratch etc, using the steps described in the manual. Based on the answers/advices and details posted i need to let you know this: 1. http://localhost/Report it is working. After i pass the HTTP Auth i get redirected to http://localhost/Reports/Pages/Folder.aspx and i can see the report manager. The problem is that I cannot log in using a Domain Controller account (well Active Directory) 2. http://localhost/ReportServer/ shows: localhost/ReportServer - / Hi Iulian, I'm glad you figured it out. Could you walk me through what you did to resolve it Tracking down how RS is wrongly configured is somewhat complicated, and I, and I'm sure others, would appreciat ...Show All
.NET Development XmlWriterSettings and XmlDocument.CreateNavigator().AppendChild()
Is it possible to associate an instance of XmlWriterSettings with the XmlWriter returned by XmlDocument.CreateNavigator().AppendChild() Tad It “would” but not the way you want. Wrapping reader doesn’t modify base reader you wrapping. It can add additional restrictions but can’t relax existing. In your case if xw requires XML to be Document (not a Fragment) setting conformanceLevel.Fragment on xw_new (wrapping reader) doesn’t help. Your attempt to write second root node would be accepted by xw_new but it will write it to its bas reader xw and this *** will throw exception. If you can explain what you want achieve I’d be able to suggest you a solution or workaround. I think that XPathNa ...Show All
Visual C# What is the point of a virtual method?
I have been working under the assumption that: 1) If I have a method that I don't want to define in the base class, I can use the abstract keyword in the base class, and all derived classes will require me to create their own copy of the method. 2) If I want to create a 'default' method for the base and most of the derived classes, I can define it as virtual in the base and then override it if needed in specific derived classes, using the override keyword. But I just noticed that I can override non-private methods (and even fields) using the new keyword. So, why would I bother with the virtual keyword, if I can just override any method using new It seems that I can use new with or without the ...Show All
Smart Device Development Adding Custom Today Screen Item
Actually I need to add a "cutom today screen Item" to Pocket PC automatically when message has been reached to my messenger. I am presently working on Visual Studio.Net 2003( Compact Framework1.1). Actually I have tried this link: C:\Documents and Settings\Administrator\Desktop\malleswar\adding image\Creating a Pocket PC Today Screen Plug-in with the _NET Compact Framework.htm but for building Embedded Visual C++ (eVC) has to be used. If u know better way than this plz guide me. Hi Manav, Thank you very much for giving me response with lot of patience. Manac I have already tried that way which you have suggested and faced this error The project file 'C:\program Fil ...Show All
Windows Forms Handling different resolutions
Can anyone tell me how they handle writing apps for screens with different screen resolutions Some of my screens are set to be maximized, others aren't.. Is it possible Thanks tattoo Hi, You could also try checking the following link. http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.dock.aspx Thank you, Bhanu. ...Show All
