Software Development Network Logo
  • Visual Basic
  • Visual C++
  • Windows Vista
  • Visual FoxPro
  • IE Development
  • SharePoint Products
  • VS Team System
  • Windows Forms
  • Visual C#
  • Visual Studio
  • Game Technologies
  • Audio and Video
  • SQL Server
  • .NET Development
  • Microsoft ISV

Software Development Network >> Couch_Dude's Q&A profile

Couch_Dude

Member List

David_Steele
szolDat
simonvinyl
SriniX
Llorean
Altug Atik
DDarren
braz
OmegaMan
[MSP]Daniel Oliveira
Mark 2334
kidwidahair
Peter Tewkesbury
sanwanas
Ljhopkins
julial77
Anpiro
Richie_C
b-man
Vijay R
Only Title

Couch_Dude's Q&A profile

  • Windows Forms Setup bootstrapper ByPassIf question

    Hi guys I've built a custom bootstrapper that installs some prerequisites of my application. It simply copies 3 .NET assemblies to the GAC. I want to skip installing this if the prerequisites are already installed. In other words, if the 3 dlls are already in the GAC, there's no need to run my boostrappter package. To achieve this, I created the bootstrapper package.xml file with some install conditions: [create the custom properties here to indicate whether the dls are installed in the GAC...] <BypassIf Property="IsMshtmlInstalled" Compare="ValueEqualTo" Value="true" /> <BypassIf Property="IsMsOfficeCoreInstalled" Compare="ValueEqualTo" Value="true" /> ...Show All

  • .NET Development Getting line numbers of CodeDom elements.

    After I call GenerateCodeFromCompileUnit is there any way for me to get the line number for the document's CodeTypeMember objects No, I'm sorry, I don't believe there is. What would you do with it if you could Perhaps there is another way to address your problem. ...Show All

  • SQL Server The query processor ran out of internal resources

    Hi, I have MS SQL Express installed on my local machine and I have problems runnig some unit tests. Precisely, an exception is thrown as follows: System.Data.SqlClient.SqlException : The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information. Nevertheless, everythin is ok on the server, where MS SQL Developer Edition is installed. What can be the reason for such behavior ...Show All

  • Visual Studio 2008 (Pre-release) MSMQ Activation does not work

    Hi, I've developed several WCF services using netMsmqBinding. When receiving new messages from the service client, the server-side service does not automatically start. In order to start the service, I need to open a browser and open the service help-page or WSDL. I've configured the hosting environment (WAS, IIS7, Vista) according to the documentation: 1. The WCF service is using an application pool running under a specific user account. 2. The Net.Msmq Listener Adapter service is running under the same user account. 3. The related MSMQ queues provides Full access for the user account. 4. The Net.Msmq Listener Adapter service is running using unrestricted token (command: sc sidtype netmsmqactivator unrestricted) ...Show All

  • Windows Forms Setting environment variables for a dll

    I have created a activex control which runs in IE. Now I'm creating a deployment project in vc2005. I want to create some environment variables for running this DLL. How can I set these environment variables Thanks Yes. I want to add some variables to the path. The reason is that I'm using a external library to write this dll. That library needs an environment variable to operate. Thanks Supun ...Show All

  • Visual Studio 2008 (Pre-release) Acces to a button in a DataTemplate

    Hello everybody,   In my application, I've got this XAML code: < Page.Resources > < SharepointListItemsViewer:NodeTemplateSelector x:Key = " nodeTemplateSelector " /> </ Page.Resources >   < Graph:Graph Name = " theGraph " NodesBindingPath = " ChildNodes " CoefficientOfDampening = " 0.7 " FrameRate = " 0.5 " NodeTemplateSelector = " {StaticResource nodeTemplateSelector} " > < Graph:Graph.Resources > < Style TargetType = " {x:Type Button} " > < Setter Property = " Template " > < Setter.Value > < ControlTemplate TargetType = " {x:Type Button} " > < Border Name = " theBorder " BorderBrush = " Gray " Bor ...Show All

  • Visual C# Abstract Generic Base Classes... how to refer to the derived type?

    Hello all, my first time posting here on MSDN, so be easy on me. :) I have an abstract base class that takes a generic type parameter to strongly type a member. So, I have something like: public abstract class BusinessObjectBase<INFO> : IBusinessObject where INFO : EntityBase { public IBusinessObject Update() { ... } } ... public sealed class User : BusinessObjectBase<UserEntity> { ... } My issue is, I'd like to have a method pass back a saved version of the business object back from the Update() method; however, there doesn't seem a way to do this in a strongly-typed way. From the User, object, I can only pass back either a type "object", type "IBusinessObject", or type "BusinessObjectBase< ...Show All

  • Visual Studio Express Editions question regarding OnPaint method

    What is the difference between the OnPaint method and the Form_Paint event Is it that it is easier to call the OnPaint method from within the code OnPaint() is important when you create your own control and inherit from the Control class or one of its derived classes. It ensures you get to do the initial painting before any Paint events run. In a form, you ought to use the Paint event. This ensures the form class' basic painting is done before you add your own. Note that OnPaint() should not be called from your own code, use Invalidate() instead. ...Show All

  • Windows Forms slide out pannel

    in VB 2005, Windows forms, is there such a thing as a "Slide out Pannel" I have a form with a split container. I would like to have a button in the left side and when clicked, have another pannel (or something) slide out into the right pannel. Any Ideas THANKS, Carl Check this thread ... ...Show All

  • Visual Basic why my clickonce downloading not completed?

    I made publish for new version of my application, what happen is, One of my customer download 60% of my new version, and stop. what is the problem yes, it happens at two of customers using xp OS this is the error message   ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Download exception occurred while performing an update check for application AccBasicMainFrame.application, Culture=neutral, PublicKeyToken=787091207fcdc7f4, processorArchitecture=msil. Following failure messages were detected: + Downloading http://www.labbaik.com/apps/shomoosnet/accbasicshomos/AccBasicMainFrame.application did not succeed. + The remote name could not be reso ...Show All

  • SQL Server Warning when opening files.

    Is there any way to avoid the Warning: Document contains one or more extremely long lines of text. These lines will cause the editor to respond slowly when you open the file. Do you still want to open the file on every file containing a Script Component I've got a project with about 21 packages, ~ 3/4 of them having multiple Script Components and every single one of them makes me click through the warning dialouge to open the file. That means simply opening the project takes about three minutes and almost complete attention through the entire process. Builds offer the same headache since the creation of a Deployment utility inexplicably requires every file in the project be open. As far as I can tell, the warning is a resul ...Show All

  • Visual Studio Express Editions Compilers: Visual Studio Vs Turbo C++ for DOS version 1.01

    Hi I have a code that compiles using Turbo C++ for DOS version 1.01 from http://community.borland.com/article/0,1410,21751,00.html What is that I need to do so that it cmpiles on Visual Studio as well When I tried it needed some *.h files. I copied them (from the Turbo C environment) and put it in there - now it says "no compiler tool is associated with the file extension" I am not happy with the Turbo C++ for DOS version 1.01. That is why I am trying it on Visual Studio - could someone offer help so that I can make it to work Thanks See what th application does and try moving the appropriate files to VS. There is no direct way of doing that. There will alaways be manual steps there. Thanks ...Show All

  • Visual C# NullReferenceException

    System.NullReferenceException: Object reference not set to an instance of an object. at article.article.addarticle() ASPX file: void add(Object Sender, EventArgs E) {  if (butimage.PostedFile != null)  {   strTemp = DateTime.Now.ToString();   strTemp = strTemp.Replace(":","");   strTemp = strTemp.Replace(" ","");   strTemp = strTemp.Replace("-","");   strImage = "D:/c/upload/" + Session["name"].ToString() + strTemp + ".jpg";   butimage.PostedFile.SaveAs(strImage);  }   article art = new article();  string temp_subject;  temp_subject = Server.HtmlEncode(subject.Text);  temp_subject = temp_subject.Replace("'","`");  art.subject = ...Show All

  • Visual Studio Express Editions Save As animated gif impossible?

    I am working on an image editing application and am on the final step, which is the user saves the 3 images they have edited as one animated gif. I have done a lot of web searches trying to find some code that will accomplish this, but have come up empty. Is it possible If so, how is it done http://radio.weblogs.com/0110109/stories/2002/06/27/thenetPictureboxAndAnimatedGifs.html ...Show All

  • Windows Live Developer Forums How to package emoticons into installation package?

    Is that possible and how to package a bunch of emoticons into a single packaged installation file Appearantly not... If you want to add multiple emoticons all at once, I think there is a Messenger Plus! Live Script to do that. The information about emoticon packages is not public, so you would probably have to figure that out for yourself. ...Show All

©2008 Software Development Network