LindaW567's Q&A profile
Visual Studio Express Editions How to publish ?
I want my program to be install in a particular directory, for example c:\program files\abc, I cant see where can I force the publish wizard to do so. Beside that how do I include an external file into the project Like a readme.txt, or a mdb database which has almost nothing to do with my application Please forgive this one but i am a newbie to VB2005 Express: i am having trouble including a compiled Help File (.chm) with the app so i can deploy it via ClickOnce. The help section basically says go to Solution Explorer, right click, then select Publish from the tabs and select Application files. But there ap ...Show All
Visual Studio Team System Running FxCop plugin from the VS 2005 debugger
Hi It is possible to run an FxCop plugin from the VS 2005 debugger Thanks Just for the record (for anyone else reading), this is certainly possible. You just need to attach the debugger to FxCop.exe or FxCopCmd.exe and set a breakpoint in your rule source. Nick ...Show All
.NET Development Can`t Install .Net Framework
Hello, Sorry if this is posted in the wrong place.I need to install the ms compaitbility Toolkit,but it requires .net framework.I am using winxp sp2,fully updated.When i try install .Net framework from the downloads offered by Microsoft they all seem to be updates and i get an error message each time that .Net Framework is not installed,cannot update.I`ve tried version 1.0, 1.1,but should this program be already built in to windows, or is there somewhere the original program can be dowloaded from. Any help would be appreciated. http://msdn.microsoft.com/netframework/downloads/updates/default.aspx ...Show All
SQL Server an insert
Hello, I need to realize an insert something like the following: Exec GetMyID @tName, @MyId OUTPUT INSERT INTO MyTable2 (MyId,MyName) SELECT @MyId,MyName FROM MyTable1 Here I am getting MyID from a stored procedure and I need to insert this to MyTable2, however I need to get a new MyID for each row in MyTable1. How can I do that I guess you could do a trigger that runs when you insert a name in to MyTable2 ( I assume these names are contrived ), which calls the proc to generate the ID. If an ID exists, why don't you store it in the table and use it throughout the system, regard ...Show All
Visual C++ ifstream 's mistake in vc8, correct in vc7.1
When I use ifstream 's constructor to open a text file, the text file's filename contain chinese char , and the filename is in Multi-Byte Character Set style (const char *), I success in vc7.1 but fail in vc8. Trace the library's source code, I found in vc8, the ifstream will call mbstowcs_s to convert the input filename form MBCS to wide-char, mbstowcs_s will call _mbstowcs_l_helper to do that, but it get the wrong string in my english ver. OS. I am so curious why to do that, it is total excrescent. PS: I use API MultiByteToWideChar can get the correct string. // Convert ANSI string to Unicode int re ...Show All
Visual Basic merging csv files
I have 12000 csv files (all with the same headers) and I need to merge them into one big file with the information from all the small ones. I could do it manually but can anyone help me doing it automatically This should take the data from all the files and merge it into one file. If you ever have a case where you are not sure that the files all have the same header, you will need to add checks to determine that. Also, you could add error handling to this routine. For example, you could catch exceptions that occur while reading files and just move to the next one, otherwise an exception will stop the m ...Show All
SQL Server SQL 2000 taskpad view/access
Hi there, Not sure if this is possible but anyways. Need to restrict access on systems for users and at the moment they are limited to being server and process administrators only. This gives them enough room to do what they need to do, however the taskpad view in Enterprise manager only shows them the Log space used, not the datafiles. The only way to get the TaskPad view to show the datafiles is to add them to the database creators role, which already gives them more permissions than they need. So, just a shot in the dark but is there someway to get Taskpad view to show all the info there about the database ...Show All
Windows Forms App takes forever to load... how to put a loading window...
Hi, My app takes forever to load.... how do I put like a loading window that basically lets the user know that the app is loading Just like popular apps like Dreamweaver or Photoshop... they all have a loading window first and then the app appears.... when I click on my executable it takes about 7 seconds before I see the GUI. Should I make my ma ...Show All
SQL Server Measure Group ID
Hi, What is the thinking behind not allowing us to change the default value of the ID property of a measure group I really don't like the default - I'd like to choose my own. (If thjere is a way to change it in BIDS then plesae let me know!) This wouldn't be a problem except that the XML/A process command references the ID and I would rather have something in there that is intuitive - somehing that represents what the measure group is for. Can I enter this as a feature request (i.e. allow us to change the ID property) at Microsoft Connect Thanks -Jamie OK, this was initially a minor irritat ...Show All
Visual C++ Multiple Namespace Declarations
I have two classes in separate files that I want to put into the same namespace. In some sources I will need only one, in others I will need to include both. How can I do this You can reopen a namespace: // header1.h namespace MyPrivateClasses { class CClass1 { ... }; } // header2.h namespace MyPrivateClasses { class CClass2 { ... }; } ...Show All
Visual Studio Tools for Office Set the cursor's position
How to set the cursor's position using VSTO in WORD Thanks very much! Yuhang You don't give us a lot of context to go on... Basically, you use the Select method of the object you want to select. Often, this will be a range. You can use Range.Find, for example, to search for something, then Range.Select to show that to the user. Note that you usually only want to move the cursor in order to position it for the user to continue. As a rule, you should manipulate Word's object directly, without moving the cursor. If you need help with this concept, it would be best to post to the word.progr ...Show All
SQL Server CustomReportItem Installation
Is there any documentation currently outlining how to make use of the CustomReportItem element or class My thoughts on this are that it might act as a server control for an ASP.NET application. Is that correct I want to be able to add some richer user interactivity to a couple reports that I'm currently authoring (i.e. checkboxes, buttons to access web service functionality, etc...) and I think that I might be able to make use of this class to provide that functionality since RDL doesn't seem to give any support for scripting in HTML entities into the report. Lastly, will support for installing custom report items be included i ...Show All
.NET Development web page publish
hi everyone! i have a problem about c#.net 2005 asp.net application. when i opened my web page in internet explorer 6 my browser take me an error message! XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. Ad gecersiz bir karakterle ba lad . 'http://localhost/DENEME%20PUBLISH/DEFAULT.ASPX' kayna i lenirken hata olu tu. Sat r... <%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_xcp-kflq" %> -^ How can i solve this problem Perhaps ASP.NET is not installed properly. ...Show All
SQL Server Sql stored procedure call hangs from .net
Hello, I'm really stuck on this one, so if anyone can help it's much appreciated. I've written a stored procedure that takes about 3-4 minutes to run in testing. However, when I call the procedure from a C# application the procedure call just hangs..eventually timing out causing an exception. I set the timeout to 60 mins just to check but it just hangs all the way. Does anyone have any ideas why this would be happening As I say, the stored procedure works fine if you run it from Query Analyser in Sql Server. Please help - any thoughts very welcome Hi, Many thanks to both of you for taking the trouble to rep ...Show All
Visual FoxPro .exe does not stay open on desktop
We created a program that has a mix of forms and hard coding that has a .prg file as our main file. Now when we compile and run it within Foxpro it runs fine, with the interface console/form staying open after compile and run. But when we converted it into a .exe file, it just runs the first login and just exits onto desktop. Our program console does not stay open. Please advise. You are missing a READ EVENTS. Read the help on this very important command. In short: Create a prg where you set your environment and instance your main menu and/or form. * Main.prg SET EXCLUSIV ...Show All
