davidwj's Q&A profile
.NET Development App.config and saving the configurations...?
Hello, I've searched the internet but couldn't find what i need.I created a config file: App.config: < xml version="1.0" encoding="utf-8" > <configuration> <appSettings > <add key="Refresh" value="60" /> <add key="File" value ="einstein.jpg"/> </appSettings> </configuration> I created a winform to view and change the information. ...Show All
Smart Device Development gwes.exe data abort in plugin
I used the Microsoft Sample code for developing the Today Screen plugin for the Pocket PC 2003 device. I am facing a problem in the Today Plugin. When I reset the device, I am getting gwes.exe data abort in the Today Screen plugin. I am unable to find the reason for it. Any idea why there is a gwes.exe data abort and how to resolve it Thanks & Regards, Karthikeyan S. ...Show All
Visual J# Problem with first program.
Im working on J# Express. Made first program. There is a button, the text label and the text box. When im writing in text box, label shows "writing", when i press the button, text box i cleared and the label shows Click x (where x is how many times i pushed the button). All working, but after cliking, text box is clear, x is increasing value, but the label still shows "writing". After second clicking it changes. The button co ...Show All
Visual Studio Team System Workaround:: Content Files Bug
This *release* version of VS2005 is dog and I just can't take it anymore. Here is the 3rd bug I've found (I never found any at all in Everett)... Create a test project add an app.config file to the root of the project add another app.config file called reallyImportantFile.config to the root of the project set reallyImportantFile.config to BuildAction=Content and CopyToOutputDirectory=Copy Always compile the project and peek out /bin/d ...Show All
Visual Basic Automaticlly Press enter in a VB Program
Is there anyway the I can make a program to automaticly press Enter after a certain time with a timer.. I tried the SendKeys and that did not work. Any suggsetions would be great Thanks Assuming it's your program that will capture the key press, couldn't you create a function that is called each time the timer expires e.g. Public Sub DoEnterEvent() Do Stuff End Sub Public Sub T ...Show All
Visual Basic Help Me to do my best
Hi S.th new . I have a big list Of Good's name & my user must select it evry row for complet list. I want to do S.th like this: for example my good's name is : pc , notebook , hp notebook , note book hp (I cant say frist chose type then brand) when user type "hp" I want filter and show just the good's that name start with "hp" => hp notebook there is no Problem. But My idea is ...Show All
SQL Server System.Web.Services.Protocols.SoapException: The item '/foldername' cannot be found
I am trying to figure out how to correctly reference the directory to my subscriptions: Dim subs As Subscription() = rs.ListSubscriptions( "/SSS" , Nothing ) System.Web.Services.Protocols.SoapException: The item '/Hedi' cannot be found. ---> FYI: I replaced sss for privacy purposes only here Does /SSS exist in the catalog For ListSubscriptions() to work, the item must exist in the catalog and either be a report or a link ...Show All
Windows Forms Defect in MainForm.MainForm_Load()
Just a note, I discovered a bug. If you have no projects, GetLookUpTables() is never called. As a result, if you goto ManageUsersForm, there's nothing in the list for users. :) I agree...it's the last line of the IF bl ...Show All
Visual Studio Tools for Office VSTO - Word Protection & Change table cell background color
Hi, This question is about Word Document protection. I am using VSTO with Office 2003. I want to change word table row's background color when my document is protected using Word Protect function. Can I do it * Assumptions are: 1. Protection is of type Form Field. (Not Read Only) That is: Application.ActiveDocument.Protect2002(Microsoft.Office.Interop.Word.WdProtectionType.wdAllowOnlyFormFields, ref noReset, re ...Show All
.NET Development DllImport works under .net 2.0 sdk, exceptions under redistributable
I have a C# program that uses a C DLL. Both the C# executable and the DLL are located in the same directory (on the local drive of a computer that was not used for development, so no other copies of either the program or the library exist). Under the .Net 2.0 redistributable, the program exceptions at the point of the first DllImport claiming that the library can not be loaded. If I then install the .Net 2.0 SDK on the machine, without changing ...Show All
Visual Basic Migrating usage of VB6 control arrays to 2005. How do I do this?
Hi again. Need some advice and I'm new to VB2005. In VB6 I used control arrays a lot, and there are no control arrays in 2005. I found out how I can do the same thing by referencing the handles in a sub, but I have another scenario not covered in MS's migration page. To make it simple, let's say I have 10 labels and I want to pick one randomly and display text in it. In VB6 I could have all these labels in an array and do this (quazi code) I = ( ...Show All
Windows Forms DataColumn.Expression IIF problem
I am trying to create an expression column in a typed dataset as follows: dcC.expression = "IIF(dcA=0,0,dcB/dcA)" but when I do this I get a 'System.DivideByZeroException'. Apparently, both the truepart and falsepart of the IIF are being evaluated for e ...Show All
Visual Studio Team System RUP (Features, Use Cases, Supplementary Req) to MSF Agile (or not)
We have been using the RUP (a very scaled down version of it) for quite a while now. We define a vision document with feature requirements that are traced to use cases and supplementary requirements. Our use cases have multiple subflows and define all of the possible alternate flows. They also contain special requirements (like maximum field length, which functions are available under different circumstances, etc.). ...Show All
SQL Server linked server exec stored procdure results in Transaction context in use by another session.
I am using sql 2005 beta Microsoft SQL Server Management Studio (expires in 355 days) 9.00.1116.00 Microsoft Analysis Services Client Tools 2000.090.1116.00 Microsoft Data Access Components (MDAC) 2000.086.1830.00 (srv03_sp1_rtm.050324-1447) Microsoft MSXML 2.6 3.0 6.0 Microsoft Internet Explorer ...Show All
Visual Studio Team System Project creation failing with error "The identity [Project Name]\Project Administrators is not a recognized identity. "
Error The identity [Test]\Project Administrators is not a recognized identity. Explanation The identity [Test]\Project Administrators is not a recognized identity. User Action Warning TF30144: The New Team Project Wizard attempted to roll back all of the steps taken to this point but was unsuccessful. Contact your Team Foundation Server administrator for further instructions. Here is what Team Project Creation log file ...Show All
