Greg 3.0's Q&A profile
Visual Basic Word automation in VB .NET 2005
Hi, I just installed VS 2005 Profession Version on my computer. When I opened my project that was working in VS 2003, it gives me error on word application. I have Window XP, Office 2003, VS 2003 and VS 2005 on my computer. After searching from internet, I download Office 2003 PIA and installed. I also followed the steps " How to: Install Office Primary Interop Assemblies (http://msdn2.microsoft.com/en-us/library/kh3965hw.aspx)". But t ...Show All
Visual C# doubt???
hi, actually when the first question loads up, i mark an answer from the given four options. suppose i marked 'A' and then click the 'next' button. a new question comes up. till this its works fine.. but now if i mark my answer as 'B' ...it takes it as the older one i.e 'A' ...hence marks does not get incremented...i have even set the page to 'no cache' but nothin seems to work out.. ...Show All
Windows Forms Default Publish Setting
By default whenever a new album is added the Publishing Settings is set to Upload. How can I make the default in FotoVision only thanks, jeff reed Setting Me.Publish = False in the ReadXml method works for all new albums. Although I&nb ...Show All
Visual Basic Newbi for .NET
I found that MSV6 (VB and C++) still work well on XPSP2. So I'm not sure in the future since .NET was released since few year ago. What info which I should consider to move from MSV6 to .NET Now, I'm developing on XPSP2 and 2K Server and 2K DC. VB6 is likely to work on Microsoft platforms for a long time. The issues to consider are: VB6 support has ended VB.NET is a much better language than VB6. It is, how ...Show All
SQL Server How to use tableadapter wizard with vendor specific keywords?
Hi. I really like the new tableadapter wizards and how they can speed up development. However, I'm running into a problem I need help with. I am using the table adapter against DB2 and there are special keywords that the designer isn't allowing. i.e. Select field1, field2 from table for fetch only with ur ; When I enter this into the query wizard and then move off the SQL pane to another pane, the wizard quotes the sql s ...Show All
Windows Live Developer Forums SoapException on MSN search
The sample program which is included in "MSN Search Web Service SDK Version 0.60 (Beta).msi" does not work anymore. If you have same problems or some good solutions, please give me information. I sent e-mail to mailto:msrchdocf@microsoft.com . (this is include in the document of SDK). But, the e-mail address is invalid and I got an error mail. The sample program displays the following alert: System.Web.Services.Prot ...Show All
.NET Development Security - Data Access Best Practices
Hi there, We're developing an in-house employee self-service portal that allows employees to access and modify various pieces of private data such as vacation requests and so forth. We have the options of either using a smart client application (deployed via ClickOnce) or a web application. If we went with a smart client application, the number one security issue I see with direct database access is the connection string. I don't believ ...Show All
Visual C++ dialogs appearing behind the main window
hey guys, i have a simple problem with my MFC app. the messagebox's and color dialod's r appearing behind the main window. maybe is it because i have directx rendering a static text control in the main window so it always stays in focus or soemthing i dont know here is my code for displaying for displaying a color dialog: CColorDialog cd = CColorDialog(0, CC_ANYCOLOR); cd.DoModal(); when i press the alt button the color dialog appears. is ther ...Show All
Visual Studio 2008 (Pre-release) DataGrid (C#) Sample
I read Microsoft Window SDK readme file. I see DataGrid (C#) example in Window Presentation Foundation section. May i get this example. Everyone have this link, please let me know. Thanks Steven. Hi Steven, Unfortunately at this point we do not have an example that we can point you to. Have you taken a look at our ListView control, which supports GridView Thanks, Tina ...Show All
Visual C++ Timing Question
Hello, I've asked this question before but for some reason or another, my post was deleted. So I decided to try and repost something similar.Anyway, for a long time I've been wondering if it's possible to do certain actions in a loop every once in a while like so: private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { &nb ...Show All
Windows Forms DisplayMember and ValueMember Attributes in Custom Control
I want the user of the Custom Control to see available "Columns" for the selected DataMember. I accomplished this on the DataMmber using: [Editor("System.Windows.Forms.Design.DataMemberListEditor, System.Design", typeof (System.Drawing.Design.UITypeEditor))] I have tried searching for a decent article or something explaing the editors, but nothing useful. Can some ...Show All
Smart Device Development Dns.Resolve timeout...?
Dns.Resolve blocks while it is waiting for DNS to resolve. I'm in a wireless networked environment, and this is causing me problems. Is there a way that I can either set a timeout for Dns.Resolve, or call it async and terminate the call if it doesn't complete within x time frame Thanks! ...Show All
.NET Development Making VB 2005 save in .net 1.1
Thank you to "wacko" for answering my last question. Is there a way to make VB2005 save in framework 1.1 Dwayne Hi, Although there are no direct solutions from Microsoft out of the box, there have been various efforts in that direction: Hack the Build: Targetting .NET Runtime 1.1 Step-by-Step: http://blogs.msdn.com/jomo_fisher/archive/2004/10/01/236879.aspx MSBuild Compatibility Toolkit: http://weblogs.asp. ...Show All
Smart Device Development [C#] [CF] [VS 2005 B2] FileStream ??
How to use afileStream.Position FileStream fileStream = new FileStream (generatedPath, FileMode .OpenOrCreate); StreamWriter streamWriter = new StreamWriter (fileStream); StreamReader streamReader = new StreamReader (fileStream); string line = "" ; CSLogger .Debug( "stream length = " + fileStream.Length); while ( ( line = streamReader.ReadLine() ) != null ) { CSLogger .Debug( "read = " + line + " a ...Show All
Visual Studio Using Properties and Call like NAnt
NAnt has a nice feature where you can use a combination of properties and the call task to repeat operations. For example: <target name="target_one"> <property name="A" value="Value1" /> <property name="B" value="Value2" /> <property name="C" value="Value3" /> <call target="ALongProcessWithManySteps" /> </target> <target name="target_two"> <property name="A" value="Value4" /> <proper ...Show All
