OceanDude's Q&A profile
Windows Forms Localizing Assemblies
I'm working on a 3-layer application. 1.Data Access Layer 2.API Layer (also Busines Logic Layer) 3.Web Service Layer Each layer is a different project with it's own DLL. The application needs to be localised to Australia and the date format needs to be "dd/MM/yyyy". If I add ' culture="en-AU" ' into the Globalization tag of my web.config file in the We ...Show All
Smart Device Development ActiveSync + VS 2005
Hi, I'm using VS 2005 Beta to try out developing for my ipaq. During emulation, everything is fine, however when I try to deploy my program to my device, I get an error saying that the ActiveSync version I am using is not supported, and to download the newest version from microsoft. Did that, nothing changes. What's the deal If this continues not to work, can I just drop an EXE onto the device and have it work Has anybody used the new version. I have to say that I have had it up to here with my frustration with both ActiveSync 3.8 and VS.NET 2003's integration or lack thereof. The number ...Show All
Visual Studio Team System Logging an Error message
Hello, I would like to thow an error if a Webservice request returns no data. It does not look like there is a verification event handler for a WebService request. What is the best way to flag an error if the XML returned does not have any data Here is an example of the code I am using... this .BeginTransaction( "GetDateList" ); wsResults = GetDateListRequest.GetDateList( "1234" , "127" ); this .EndTransaction( "GetDateList" ); reader = new XmlNodeReader (wsResults); docNav = new XPathDocument (reader); nav = docNav.CreateNavigator(); strExpression = "ROOT/DATA/row" ; NodeIter = nav.Sele ...Show All
Visual Studio VS 2005 Script Explorer/Running Docs
How can I set a break point in client side javascript In VS2003, I could run the web application, then in the Debug menu choose Running Documents, and see all the script files - just open one up and set a break point. Easy Now in VS 2005, the Running Documents window is renamed Script Explorer, and I can see all scripts sent to the client, but when I try to set a break point, I get a message that says "This is not a valid location for a break point." I have enabled script debugging in Internet Explorer. This use to work well in VS 2003. Bill Thank you very much! That did the trick. Now I can set break points in my javascript code. Goo ...Show All
Visual C# Robotics Studio 2006
Hello, I am trying to get Microsoft Robotics Studio to work. I am using Visual Studio 2003. I am getting errors at every stage (ie. installing references, opening the sample projects) and I am wondering if it only runs on Visual Studio 2005. Thanks. Hi Steve, Probably the easiest way is to follow some of the tutorials installed with Robotics Studio. There's a shortcut called "Microsoft Robotics Studio Tutorials" installed in the Robotics Studio program group which has a few examples on how to use it with VB.NET. Most of the exmples are in C# though, howver there should be enough VB ones to ...Show All
.NET Development Error while trying to open Access Database File
Hi all, This may appear very basic question, but I cannot figure out why I get an error at MyConn.Open() line while I try to open the db file from VB.Net. The path is perfectly provided from OpenFileDialog when the file is slected. The code is as below, Dim OpenDBPath As New OpenFileDialog() Dim MyConn As New OleDb.OleDbConnection() MyConn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;UserID=Admin;Password=mypass;Data Source=" & OpenDBPath.FileName() & ";" MyConn.Open() Can anyone help me please Please post the complete trace or the exact error message that is being generated. The 'System. ...Show All
Visual Studio Workes with Beta2, but not with RC1
I have a Crystal Reports project that uses data from a dataset that is already filled - no database connection needed. It runs fine with Beta2, but under the exactly same conditions with RC1 it asks for a (non existant) database login before displaying the report. I have checked the dataset that is passed to CR - it is filled and fine. Any suggestion where to look Thanks - Thomas At runtime you can only pass one single dataset to the report. However at design time one can use more than one dataset. In Beta 2 it was possible to merge all the datasets on which the report is based at runtime thus passing al ...Show All
Windows Forms when i menimised the form it should not appear in the toolbar
i have form which calls another form when the object of the form is created the the form is show in the toolbar of the window i doesnot want it to show it in the tool bar when it open the form is there any sol to it other than using MDI container regards RpM ...Show All
Windows Forms openfiledialog default view....fixed yet?
is it possible to change the default view of the openfiledialog box i need "details", not "list" thanks found the answer in another forum http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vstechart/html/vbpowerpack.asp ...Show All
SQL Server Record set to file
Any tips on how to get a recordset into a file. I want the result of a stored procedure (multiple rows) written to a flat file. I've tried a data flow task with an OLE DB Source linked to Raw File destination but that produces gibberish in the file - I need the raw rows returned from the s/p Any tips much appreciated. Greg. I understood SSIS was the new DTS. Any pointers on how I can go about this Mike Greg. ...Show All
Visual C# Updating Database
Hi I am receiving an error message "Error 1 'System.Data.DataRow.DataRow(System.Data.DataRowBuilder)' is inaccessible due to its protection level ",when i try to update the database programtically through datagridview control placed in my from. I want to edit and update a database at run time while changing the corresponding cell values of my datagridview control. Please,provide me the appropriate code snippet with a brief note.... The DataRowBuilder class is not intended to be used directly from your code. The class is sealed and doesn't have a public constructor. Because this class doesn't have ...Show All
Visual Basic How to save data from a form to a xml file?
i'm trying to find a way to store data entered in a form into a xml file i have found some codes~ it worked~ but when i want to store another set of data~ it replaces the one i enter before~ it's like it's creating a new xml file each time i store data in the xml file the code i used is this Dim xmlTW As New XmlTextWriter("..\CYFmembers.xml", Nothing) With xmlTW .Formatting = Formatting.Indented .Indentation = 2 .WriteStartDocument() .WriteStartElement("CYFMembers") .WriteStartElement("Members") .WriteElementString("FirstName", txt_fname.Text) .WriteElementString(&q ...Show All
Visual Studio Tools for Office How to (programmatically )get rid from the actionpane reference ?
I have a vsto doc with an actionpane containing a button containing code to get rid of the actionpane before a user saves a document instance in a sharepoint library. The code basically is : Globals .ThisDocument.RemoveCustomization(); Globals .ThisDocument.ActionsPane.Clear(); When an instance is opened the content of the actionspane is indeed cleared, however I still get a message to choose an xml expansion pack (actionpane), cause the actionpane schema is still linked I think ( If a uncheck it and save the document the message no longer pops up) How can I programmatically remove the action pane schema link ...Show All
Windows Forms Window / Form refreshing issue
hi, this is the first time i've looked at windows forms and i know that im just doing something very silly. I have a simple form which creates a filesystemwatcher with associated events. When a folder has images dropped in it my code is called which updates a ListBox, does some image processing, updates a database and updates a viewer control on the&nb ...Show All
Visual C++ Books about VC++ 2005
Does anyone know if there are any books for someone to learn about VC++ 2005, specifically with the new syntax I have the 2003 book, but I can't compile anyone of the programs in it because the language has gone through extensive changes. The MSDN library doesn't give really good tutorials with the new syntax. Thanks for the help. You're talking about managed C++ then - that changed significantly. C++ itself has not changed, nor could it. The book you want is not quite out yet: http://blog.voidnish.com/ ( scroll down to the May 10 entry ) http://www.manning.com/catalog/dotnet/ ...Show All
