TamirB's Q&A profile
Visual Studio Parameter Dialog Looks Different
When a report is displayed from within Visual Studio using the MainReportPreview tab the dialogs that are displayed to obtain parameter values have a distinctly different look than the dialogs that are displayed from a running application displaying the same report and requesting the same parameters. The application runtime dialogs look virtually the same as the dialogs displayed by the application compiled using VS 2003. It almost looks like th ...Show All
Visual C++ filename text?
Hello, I would like to save data using createfile() with visual C++ 2005. I try to compile this: string filename="../myFile.txt"; HANDLE file = CreateFile(TEXT(filename),GENERIC_WRITE,0,NULL,CREATE_ALWAYS,FILE_ATTRIBUTE_NORMAL,NULL); And I obtain the error message: error C2065: 'Lfilename' : undeclared identifier It works only if I write: TEXT("../myFile.txt") but I need to change sometime the filename. ...Show All
Windows Forms Default Font Size for Labels
In VB.NET is there somewhere that the font size for all labels in a project can be set Thanks, Tony From a purely OO point of view, going with Form inheritance as Erik suggests is the way to go. But that are so many&nbs ...Show All
Visual Studio Express Editions Is there a place to download the MSDN Beta Library?
The library failed to install properly when installing Web Developer Express, C# Express and SQL 2005. It has some of the information in it but not all of it. Derek I followed the Express edition uninstall on three machines now and after the install of Web Developer from the Internet Download option, I have no ASP.NET classes in the Class Reference section of the MSDN library. At this point I'm using the online version until I ...Show All
Visual Studio 2008 (Pre-release) Workaround
App was running fine under VS.NET 2005 B2. Clean installed VS.NET C# Express 2005 and now get to compile-run my app once, all following runs yield the enclosed error. I'm assuming such fineness has been addressed and I'm posting this for emphasis. - System.Windows.Serialization.BamlParseException was unhandled Message="Error at element 'Setter' in markup file '' : Invalid value '0,1,0,Auto' for property 'Margin'.." Source="Presen ...Show All
Visual C++ forward reference to class template - template param not in scope
I'm seeing what look like buggy results from the compiler where it chokes on the use of a T<X>& to a declared but undefined class template T (a forward reference), iff the fwd reference is to a dependent type name (e.g. X is a template parameter). Looks rather like a 2-phase name lookup bug of some kind - an area where the compiler has had conformance issues with the C++ Standard. Here is a file I wrote that reproduces the problem as ...Show All
Windows Forms Problems while publishing project
Hi, I am using VS 2005 Express edition on windows XP machine with 5.1 IIS. when i publish my application it get sucessfully. But when i to intsall it i get following error. Please help me out how i can fix that. PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0.50727.42 (RTM.050727-4200) dfdll.dll : 2.0.50727. ...Show All
Visual C# How do I return a string from a csv file?
Hi, I am trying to search a csv file until it hits a null value. The csv file is set up in such a way that I can search line by line until the first cell is blank (MB/Code). At the moment I just want to find this null cell and get the program to return the value, and then I can find the Res-Code and do some further calculations. Below is an example of the file I am searchi ...Show All
.NET Development Remote Connect to MS Access DB using a static IP
I am working on a project in VB.net where I have to connect to an MS Access database that is located on a remote computer and I have to connect to it over Internet using that computer's IP Address. Any ideas how the connection string should look like I tried to connect to the computer by going to Start >> Run and then ran the command \\xxx.xxx.xx.xxx but it says the computer cannot be found. Is this because I'm not on the same netw ...Show All
.NET Development How to consume WSE 3.0 enabled webservice
Hi, Is it possible to consume a WSE 3.0 enabled webservice in a console application which is developed in .Net 1.1 framework I tried to call this web service from console application, but is asking for a policy to be set. since my console application is developed under .NET 1.1 framework, how can I set the policy. What I understood from WSE 3.0 concept is, In order to consume WSE 3.0 enabled webservice, the consumer application should ...Show All
Visual Studio Tools for Office Cant create new Project or Open Project
My studio 2005 just crashes when I go File -> New Project (or New WebSite). Everything else works just fine, if I use the recent project list or double click a sln file everything works. This seemed to happen after installing VS tools for office. Ive uninstalled that and tried the repair option in VS setup. Anyone have any other ideas Strange, I've never heard of VSTO causing such a problem. What versi ...Show All
.NET Development i want the script to clear the value of a static variable once user leaves that particular page
hi, i am using AsP.net C# i want the script to clear the value of a static variable once user leaves that particular page. by leaving that particular page i mean he either closes browser, navigate to another page, but not post back like postback from a button that brings the user back to the same page. help thanks Khawar, thanks for the question. This issue sounds like it would best be answered by the ASP.NET group. If you reopen ...Show All
SQL Server a newbie question on SQL database use
Hi there, I am a longtime programmer in OO Visual dBASE environment migrating to C#, MS Visual Studio and FoxPro 9 all at once. it is hard for me to formulate questions since I have a somewhat visceral understanding as to what I need, so I need a general advice. I am abandoning dBASE since it does not provide .NET capabilities. But I do have extensive database tables accumulated over many years. How can I use my dBASE tables for instance in this ...Show All
Visual Studio Express Editions Request related to ADO
Hello, I studied ADO .net in C# but I forgot too many things aboud it, Specially I forgot how to work with SQL Server so please If any one just make a small example contains code of (Add, Delete, Insert, Search) in Sql Server database I searched about that in many sites but I didn`t a completely code that I want. I`ll continou searching and tring to get it and I hope you help me too Thanks hi, you can check this thread h ...Show All
.NET Development Reading files from Temporary Internet Files directory
Greetingz, i'm trying to read files from the Temporary Internet Files in order to delete them in a .Net 2.0 app. Therefore I used for example My .Computer.FileSystem.GetFiles(sPath ) in VB or System.IO. Directory .GetFiles(sPath , "*.*" ); in c#. Finally only one file called "desktop.ini" is found in that directory, which is simply wrong because there are serveral more files in that directory. I used that way of checking files out ...Show All
