garak0410's Q&A profile
Windows Forms error when client using clickonce install
When a client try to install an application by clickonce it receive this error:"Unable to install or Run Application. The Application Requires that assembly stdole Version 7.0.3300.0 be installed in the Global Assembly Cache (GAC) first. Please contact your system administrator" Can I do thank's a lot! I am having the same problem. VERY FRUSTRATING! Unable to install or run the application. The application requ ...Show All
Visual Studio Express Editions set up help, PLEASE
OK, two questions: 1. Is there a "getting started" guide that shows how to start a project WITHOUT the dotNET dependency It seems as though the IDE wants to default to .NET I followed this: http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx where it describes setting up the PlatformSDK. I followed it to a "T", and the part where it says: "From the File menu, click New Project. In the New Project dialog box, ex ...Show All
Windows Search Technologies "Index file types as text" option and reindex question
Does adding an additional extension (.xml) to the "Index file types as text" list cause the index to be rebuilt or does it only affect XML files indexed that point forward (and so i'd have to click on "Rebuild Index" button elsewhere in DS options) ...on a related note: why wouldn't XML be indexed as a text file by default thanks! ilya Hello Ilya, WDS currently indexes .xml by de ...Show All
Visual Basic Accessing a running program's ram
I want my program to access a program's ram (when the program is running in memory) so I can debug it explicitly. I know how to edit a file by storing it in a buffer but how would I do this when a program is running. If suggestions or code samples are given, please make sure they are for vb.net and they are explained. Thanks. Hi! Access memory Your program access it's memory. Access to other program's memory is protected for securit ...Show All
Visual Studio Tools for Office Error: QueryInterface for interface Microsoft.Office.Interop.Word._Application failed.
Hello all, I am working on a project that requires access to Microsoft Word Documents. The program simply opens a designated Word Document when the corresponding button is clicked. The problem that I am having is after the installation process. The installation goes just fine, and the program executes normally, but when a button is clicked on the form, I get the following error: QueryInterface for interface Microsoft.Office.Interop.Word._A ...Show All
Visual C# String.LastIndexOfAny throwing an odd exception
I am running into an unexpected (on my behalf) exception using String.LastIndexOfAny(char[], int, int) that I can't seem to figure out. The following code will replicate this by throwing an ArgumentOutOfRangeException, "Count [3rd variable] must be positive and count must refer to a location within the string/array/collection.", when I call test.LastIndexOfAny(anyOf, start, count) even though "count" will pass if I test for boundaries (0, ...Show All
SQL Server Connecting to a remote data source.
Hi all, I have deployed a report onto the Report Server on a remote machine. When i call the report an error is displayed as follows: An error has occurred during report processing. An error has occurred during report processing. Cannot create a connection to data source 'MydataSource'. For more information about this error navigate to the report server on the local server mac ...Show All
Visual C# Allowing a particular class in other namespace to access a method non public method of a class in other namespace
Could in any way I can enable a particular class in other namespace to access a method(non public) of another class in other namspace That is suppose I have a namespace1 with class1 and a namespace2 with class2 class1 contain a method named OnlyAccessibleByClass2 Could I do it You cannot directly access it, bcoz it is not a static class nor a static function So, in namespace1.class1 , you have to create a object of namespace2. ...Show All
Windows Forms Parent Form Picture Box shows though Child forms!
In my parent form I have a picture box with a logo displayed. When I open any child forms, the picture box shows through the child form! How to I have my main parent form, that houses all the child forms of my application, display&nbs ...Show All
Visual Studio 2008 (Pre-release) Group by count
This is my query select TagId, count(TagId) from ProfileTags Broup by TagId I tried to translate this query in Dlinq as: var q= from t in db.ProfileTags group t by t.TagId into g select new {TagId=g.Key,Count=g.Group.Count()}; but it results in the folowing compile error: Error 49 The type arguments for method 'System.Data.DLinq.QueryExtensions.Count<T>(System.Data.DLinq.Query<T>)' cannot be inferred from ...Show All
Windows Forms Default Enter and Cancel button C# Winforms?
Hi In my winform application I have multiple buttons. Of those buttons, I want one to behave as Enter key by default and other as Escape key. Tried to search for it, but couldn't find a good solution. Please suggest how can I acheive this ...Show All
Visual Studio Problem w/ Crystal Reports
I am trying to create some reports in VB.NET 2005 using the Crystal Reports designer. My problem is whenever I do a report off a particular table it is not grouping correctly. I'm trying to group off a field Called EffectiveDate. What happends in my case is the date 5/7/2006 shows up in bold as the start of a group then all the dates are shown below. The problem is there is no 5/72006 in the database and the report is not grouping by the act ...Show All
Visual C# Why is the C# team allowing this to Happen? and Why do they close threads on the topic?
Since PJ. van de Sande Closed the last thread I opened : Why is the C# team allowing this to happen I guess because he didn't click the link or he didn't like the topic. I brought the link information here..... So I ask again... Why is the C# team allowing this to happen If he closes it again, please respond here From the Blog link: From Tom Archers blog Why so many examples in Visual Basic ...Show All
.NET Development How i get new ID after inserting data in table through command.ExecuteNonQuery
Hi, I want to get newly inserted ID after inserting data in table. I am using command object's ExecuteNonQuery. I don't want to use MAX in another query. Is there any way to do. I am using ad-hoc query not a storedprocedure. Also i don't want to use @@identy because it is a global variable and at the same time if any other insert statement fires the value of @@Identy Thanks in Advance..... Mahseh... @@identity is limi ...Show All
Windows Forms How to Implement an Event Binding Service?
Hi, I have an application that hosts the windows forms designer. I can add controls to my designer and when selected the properties for those controls appear in my property grid. I have also got the eventstab to appear on the properties grid. The next stage of my app is to allow users to add their own code to events I expose on the controls through the property grid. The problem I am facing now is how do I implement an event binding servic ...Show All
